Skip to content

Support Strict Concurrency and Swift 6.0 beta 1 #673

Support Strict Concurrency and Swift 6.0 beta 1

Support Strict Concurrency and Swift 6.0 beta 1 #673

Triggered via pull request July 30, 2024 15:07
Status Failure
Total duration 14m 38s
Artifacts

review.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
build: Tests/Screen/ScreenObjectTests.swift#L33
testPAT, XCTAssertEqual failed: ("(0.0, 0.0, 0.0, 0.0)") is not equal to ("(750.0, 0.0, 100.0, 100.0)")
build: Tests/Screen/ScreenObjectTests.swift#L34
testPAT, XCTAssertEqual failed: ("(0.0, 0.0, 0.0, 0.0)") is not equal to ("(1500.0, 0.0, 100.0, 100.0)")
build
Tests Failed: 2 failed, 0 skipped, 75 total (1.411 seconds)
build
Process completed with exit code 1.
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/RTMP/RTMPStream.swift#L748
non-sendable type 'AVAudioEngine?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'attachAudioEngine' cannot cross actor boundary
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/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/Codec/VideoCodec.swift#L149
main actor-isolated class property 'willEnterForegroundNotification' can not be referenced from a non-isolated context; this is an error in Swift 6
build: Sources/Codec/VideoCodec.swift#L172
main actor-isolated class property 'willEnterForegroundNotification' can not be referenced from a non-isolated context; this is an error in Swift 6
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/RTMP/RTMPStream.swift#L748
non-sendable type 'AVAudioEngine?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'attachAudioEngine' cannot cross actor boundary
build: Sources/RTMP/RTMPStream.swift#L749
passing argument of non-sendable type 'AVAudioEngine?' into actor-isolated context may introduce data races
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