Skip to content

fix can't compile macCatalyst 1.9.x #764

fix can't compile macCatalyst 1.9.x

fix can't compile macCatalyst 1.9.x #764

Triggered via pull request November 5, 2024 11:46
Status Failure
Total duration 7m 0s
Artifacts

review.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build: Tests/RTMP/RTMPTimestampTests.swift#L18
call can throw but is not marked with 'try'
build: Tests/RTMP/RTMPTimestampTests.swift#L19
call can throw but is not marked with 'try'
build: Tests/RTMP/RTMPTimestampTests.swift#L20
call can throw but is not marked with 'try'
build: Tests/RTMP/RTMPTimestampTests.swift#L21
call can throw but is not marked with 'try'
build: Tests/RTMP/RTMPTimestampTests.swift#L22
call can throw but is not marked with 'try'
build: Tests/RTMP/RTMPTimestampTests.swift#L23
call can throw but is not marked with 'try'
build: Tests/RTMP/RTMPTimestampTests.swift#L36
call can throw but is not marked with 'try'
build: Tests/RTMP/RTMPTimestampTests.swift#L37
call can throw but is not marked with 'try'
build: Tests/RTMP/RTMPTimestampTests.swift#L38
call can throw but is not marked with 'try'
build: Tests/RTMP/RTMPTimestampTests.swift#L39
call can throw but is not marked with 'try'
build: Sources/IO/IOVideoUnit.swift#L15
associated value 'failedToSetOption(status:option:)' of 'Sendable'-conforming enum 'IOVideoUnitError' has non-sendable type 'VTSessionOption'
build: Sources/IO/IOVideoUnit.swift#L110
capture of 'self' with non-sendable type 'IOVideoUnit' in a `@Sendable` closure
build: Sources/Util/Constants.swift#L7
let 'logger' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
build: Sources/IO/MTHKView.swift#L21
main actor-isolated property 'videoOrientation' cannot be used to satisfy nonisolated protocol requirement
build: Sources/IO/MTHKView.swift#L30
main actor-isolated property 'isCaptureVideoPreviewEnabled' cannot be used to satisfy nonisolated protocol requirement
build: Sources/IO/MTHKView.swift#L160
main actor-isolated instance method 'attachStream' cannot be used to satisfy nonisolated protocol requirement
build: Sources/IO/MTHKView.swift#L170
main actor-isolated instance method 'enqueue' cannot be used to satisfy nonisolated protocol requirement
build: Sources/IO/IOStream.swift#L38
static property 'audioEngineHolder' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
build: Sources/RTMP/RTMPStream.swift#L178
capture of 'self' with non-sendable type 'RTMPStream' in a `@Sendable` closure
build: Sources/RTMP/RTMPStream.swift#L196
capture of 'self' with non-sendable type 'RTMPStream' in a `@Sendable` closure