Skip to content

Support Strict Concurrency and Swift 6.0 beta 1 #670

Support Strict Concurrency and Swift 6.0 beta 1

Support Strict Concurrency and Swift 6.0 beta 1 #670

Triggered via pull request July 30, 2024 11:25
Status Failure
Total duration 5m 18s
Artifacts

review.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build: Tests/IO/IOStreamRecorderTests.swift#L8
cannot find type 'IOStreamRecorderDelegate' in scope
build: Tests/RTMP/RTMPChunkBufferTests.swift#L94
cannot find 'RTMPChunk' in scope
build: Tests/RTMP/RTMPChunkBufferTests.swift#L103
cannot find 'RTMPChunk' in scope
build: Tests/Screen/ScreenObjectTests.swift#L28
'render' is inaccessible due to 'private' protection level
build: Tests/Screen/ScreenObjectTests.swift#L9
call to global actor 'ScreenActor'-isolated initializer 'init()' in a synchronous nonisolated context
build: Tests/Screen/ScreenObjectTests.swift#L11
call to global actor 'ScreenActor'-isolated initializer 'init()' in a synchronous nonisolated context
build: Tests/Screen/ScreenObjectTests.swift#L12
global actor 'ScreenActor'-isolated property 'size' can not be mutated from a non-isolated context
build: Tests/Screen/ScreenObjectTests.swift#L13
global actor 'ScreenActor'-isolated property 'horizontalAlignment' can not be mutated from a non-isolated context
build: Tests/Screen/ScreenObjectTests.swift#L15
call to global actor 'ScreenActor'-isolated initializer 'init()' in a synchronous nonisolated context
build: Tests/Screen/ScreenObjectTests.swift#L16
global actor 'ScreenActor'-isolated property 'size' can not be mutated from a non-isolated context
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/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/IO/IOMixer.swift#L296
main actor-isolated class property 'didEnterBackgroundNotification' can not be referenced on a non-isolated actor instance; this is an error in Swift 6
build: Sources/IO/IOMixer.swift#L304
main actor-isolated class property 'willEnterForegroundNotification' can not be referenced on a non-isolated actor instance; 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/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