Skip to content

Support for complete strict concurrency and Swift 6 migration #2103

Support for complete strict concurrency and Swift 6 migration

Support for complete strict concurrency and Swift 6 migration #2103

Triggered via pull request July 30, 2024 17:44
Status Failure
Total duration 46m 25s
Artifacts 5

smoke-checks.yml

on: pull_request
Test LLC (Debug)
19m 7s
Test LLC (Debug)
Test SwiftUI (Debug)
15m 22s
Test SwiftUI (Debug)
Test UIKit (Debug)
12m 5s
Test UIKit (Debug)
Automated Code Review
1m 22s
Automated Code Review
Build Test App and Frameworks
15m 7s
Build Test App and Frameworks
Build SDKs (Xcode 15.0)
5m 43s
Build SDKs (Xcode 15.0)
Launch Allure TestOps
24s
Launch Allure TestOps
Build Demo Apps
9m 10s
Build Demo Apps
Matrix: Test E2E UI (Debug)
Fit to window
Zoom out
Zoom in

Annotations

46 errors and 53 warnings
Test UIKit (Debug): StreamVideoUIKitTests/CallViewController_Tests.swift#L26
test_callViewController_outgoingSnapshot, failed - Snapshot "default.light" does not match reference.
Test UIKit (Debug): StreamVideoUIKitTests/CallViewController_Tests.swift#L26
test_callViewController_outgoingSnapshot, failed - Snapshot "default.dark" does not match reference.
Test UIKit (Debug)
Tests Failed: 2 failed, 0 skipped, 1 total (1.408 seconds)
Test UIKit (Debug)
Process completed with exit code 1.
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallingViews/CallConnectingView_Tests.swift#L30
test_callConnectingView_snapshot, failed - Snapshot "default.light" does not match reference.
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallingViews/CallConnectingView_Tests.swift#L30
test_callConnectingView_snapshot, failed - Snapshot "default.dark" does not match reference.
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallView/CallControls/Stateful/CallControlsView_Tests.swift#L16
test_callControlsView_snapshot, failed - Snapshot "default.light" does not match reference.
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallView/CallControls/Stateful/CallControlsView_Tests.swift#L16
test_callControlsView_snapshot, failed - Snapshot "default.dark" does not match reference.
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallView/CallDurationView_Tests.swift#L46
test_callDurationView_durationIsGreaterThanZero_viewWasConfiguredCorrectly, failed - Snapshot "default.light" does not match reference.
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallView/CallDurationView_Tests.swift#L46
test_callDurationView_durationIsGreaterThanZero_viewWasConfiguredCorrectly, failed - Snapshot "default.dark" does not match reference.
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallView/CallDurationView_Tests.swift#L52
test_callDurationView_durationIsGreaterThanZeroAndCallIsRecording_viewWasConfiguredCorrectly, failed - Snapshot "default.light" does not match reference.
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallView/CallDurationView_Tests.swift#L52
test_callDurationView_durationIsGreaterThanZeroAndCallIsRecording_viewWasConfiguredCorrectly, failed - Snapshot "default.dark" does not match reference.
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallView/ControlBadgeView_Tests.swift#L24
test_controlBadgeView_valueIsLessThan100_viewWasConfiguredCorrectly, failed - Snapshot "default.dark" does not match reference.
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallView/ControlBadgeView_Tests.swift#L16
test_controlBadgeView_valueIsLessThanZero_viewWasConfiguredCorrectly, failed - Snapshot "default.dark" does not match reference.
Build SDKs (Xcode 15.0): Sources/StreamVideo/Utils/Sorting.swift#L171
expressions are not allowed at the top level
Build SDKs (Xcode 15.0): Sources/StreamVideo/Utils/Sorting.swift#L171
consecutive statements on a line must be separated by ';'
Build SDKs (Xcode 15.0): Sources/StreamVideo/StreamVideoEnvironment.swift#L72
expected 'var' keyword in property declaration
Build SDKs (Xcode 15.0): Sources/StreamVideo/StreamVideoEnvironment.swift#L72
consecutive declarations on a line must be separated by ';'
Build SDKs (Xcode 15.0): Sources/StreamVideo/CallKit/CallKitService.swift#L528
expected 'var' keyword in property declaration
Build SDKs (Xcode 15.0): Sources/StreamVideo/CallKit/CallKitService.swift#L528
consecutive declarations on a line must be separated by ';'
Build SDKs (Xcode 15.0): Sources/StreamVideo/CallKit/CallKitPushNotificationAdapter.swift#L159
expected 'var' keyword in property declaration
Build SDKs (Xcode 15.0): Sources/StreamVideo/CallKit/CallKitPushNotificationAdapter.swift#L159
consecutive declarations on a line must be separated by ';'
Build SDKs (Xcode 15.0): Sources/StreamVideo/DependencyInjection/InjectedValues.swift#L27
expected 'var' keyword in property declaration
Build SDKs (Xcode 15.0): Sources/StreamVideo/DependencyInjection/InjectedValues.swift#L27
consecutive declarations on a line must be separated by ';'
Build Test App and Frameworks: SwiftUIDemoAppUITests/Tests/StreamTestCase.swift#L56
call to main actor-isolated instance method 'setEnvironmentVariables' in a synchronous nonisolated context
Build Test App and Frameworks: SwiftUIDemoAppUITests/Tests/StreamTestCase.swift#L79
call to main actor-isolated instance method 'landscape()' in a synchronous nonisolated context
Build Test App and Frameworks: SwiftUIDemoAppUITests/Robots/UserRobot.swift#L16
call to main actor-isolated instance method 'obtainKeyboardFocus()' in a synchronous nonisolated context
Build Test App and Frameworks: SwiftUIDemoAppUITests/Robots/UserRobot.swift#L19
call to main actor-isolated instance method 'clear()' in a synchronous nonisolated context
Build Test App and Frameworks: SwiftUIDemoAppUITests/Robots/UserRobot.swift#L27
call to main actor-isolated instance method 'wait(timeout:)' in a synchronous nonisolated context
Build Test App and Frameworks: SwiftUIDemoAppUITests/Robots/UserRobot.swift#L36
call to main actor-isolated instance method 'wait(timeout:)' in a synchronous nonisolated context
Build Test App and Frameworks: SwiftUIDemoAppUITests/Robots/UserRobot.swift#L45
call to main actor-isolated instance method 'wait(timeout:)' in a synchronous nonisolated context
Build Test App and Frameworks: SwiftUIDemoAppUITests/Robots/UserRobot.swift#L46
call to main actor-isolated instance method 'wait(timeout:)' in a synchronous nonisolated context
Build Test App and Frameworks: SwiftUIDemoAppUITests/Robots/UserRobot.swift#L47
call to main actor-isolated instance method 'wait(timeout:)' in a synchronous nonisolated context
Build Test App and Frameworks: SwiftUIDemoAppUITests/Robots/UserRobot.swift#L53
call to main actor-isolated instance method 'safeTap()' in a synchronous nonisolated context
Test E2E UI (Debug) (1)
Process completed with exit code 1.
Test E2E UI (Debug) (0)
Process completed with exit code 1.
Build Demo Apps: SwiftUIDemoAppUITests/Robots/UserRobot+Asserts.swift#L23
call to main actor-isolated instance method 'waitForText(_:timeout:mustBeEqual:)' in a synchronous nonisolated context
Build Demo Apps: SwiftUIDemoAppUITests/Robots/UserRobot+Asserts.swift#L23
call to main actor-isolated instance method 'wait(timeout:)' in a synchronous nonisolated context
Build Demo Apps: SwiftUIDemoAppUITests/Robots/UserRobot+Asserts.swift#L63
main actor-isolated property 'isOn' can not be referenced from a non-isolated autoclosure
Build Demo Apps: SwiftUIDemoAppUITests/Robots/UserRobot+Asserts.swift#L63
call to main actor-isolated instance method 'waitForValue(_:timeout:mustBeEqual:)' in a synchronous nonisolated context
Build Demo Apps: SwiftUIDemoAppUITests/Robots/UserRobot+Asserts.swift#L63
call to main actor-isolated instance method 'wait(timeout:)' in a synchronous nonisolated context
Build Demo Apps: SwiftUIDemoAppUITests/Robots/UserRobot+Asserts.swift#L66
main actor-isolated property 'isOff' can not be referenced from a non-isolated autoclosure
Build Demo Apps: SwiftUIDemoAppUITests/Robots/UserRobot+Asserts.swift#L66
call to main actor-isolated instance method 'waitForValue(_:timeout:mustBeEqual:)' in a synchronous nonisolated context
Build Demo Apps: SwiftUIDemoAppUITests/Robots/UserRobot+Asserts.swift#L66
call to main actor-isolated instance method 'wait(timeout:)' in a synchronous nonisolated context
Build Demo Apps: SwiftUIDemoAppUITests/Robots/UserRobot+Asserts.swift#L74
call to main actor-isolated instance method 'wait(timeout:)' in a synchronous nonisolated context
Build Demo Apps: SwiftUIDemoAppUITests/Robots/UserRobot+Asserts.swift#L81
call to main actor-isolated instance method 'wait(timeout:)' in a synchronous nonisolated context
Automated Code Review
buildcache: unable to delete buildcache.log Error: ENOENT: no such file or directory, unlink '/Users/runner/work/stream-video-swift/stream-video-swift/.buildcache/buildcache.log'
Automated Code Review
The following actions use a deprecated Node.js version and will be forced to run on node20: mikehardy/buildcache-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test UIKit (Debug)
The following actions use a deprecated Node.js version and will be forced to run on node20: mikehardy/buildcache-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test UIKit (Debug): Sources/StreamVideo/WebRTC/WebRTCEventDecoder.swift#L10
'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
Test UIKit (Debug): Sources/StreamVideo/protobuf/sfu/signal_rpc/signal.twirp.swift#L70
'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
Test UIKit (Debug)
Bootstrap not run, please run ./Scripts/bootstrap.sh
Test UIKit (Debug): Sources/StreamVideoSwiftUI/CallView/VideoRenderer/VideoRendererView.swift#L124
cannot access property 'dismantle' with a non-sendable type '(() -> Void)?' from non-isolated deinit; this is an error in Swift 6
Test UIKit (Debug): Sources/StreamVideo/WebRTC/WebRTCEventDecoder.swift#L10
'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
Test UIKit (Debug): Sources/StreamVideo/protobuf/sfu/signal_rpc/signal.twirp.swift#L70
'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
Test UIKit (Debug)
Bootstrap not run, please run ./Scripts/bootstrap.sh
Test UIKit (Debug): Sources/StreamVideoSwiftUI/CallView/VideoRenderer/VideoRendererView.swift#L124
cannot access property 'dismantle' with a non-sendable type '(() -> Void)?' from non-isolated deinit; this is an error in Swift 6
Test UIKit (Debug): spm_cache/checkouts/stream-chat-swift-test-helpers/Sources/TestHelpers/UI/SnapshotTesting/SnapshotVariant.swift#L53
static property 'defaultLight' 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
Test UIKit (Debug): spm_cache/checkouts/stream-chat-swift-test-helpers/Sources/TestHelpers/UI/SnapshotTesting/SnapshotVariant.swift#L47
static property 'defaultDark' 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
Test SwiftUI (Debug)
The following actions use a deprecated Node.js version and will be forced to run on node20: mikehardy/buildcache-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test SwiftUI (Debug): Sources/StreamVideo/WebRTC/WebRTCEventDecoder.swift#L10
'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
Test SwiftUI (Debug): Sources/StreamVideo/protobuf/sfu/signal_rpc/signal.twirp.swift#L70
'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
Test SwiftUI (Debug)
Bootstrap not run, please run ./Scripts/bootstrap.sh
Test SwiftUI (Debug): Sources/StreamVideoSwiftUI/CallView/VideoRenderer/VideoRendererView.swift#L124
cannot access property 'dismantle' with a non-sendable type '(() -> Void)?' from non-isolated deinit; this is an error in Swift 6
Test SwiftUI (Debug)
Bootstrap not run, please run ./Scripts/bootstrap.sh
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallingViews/CallConnectingView_Tests.swift#L12
main actor-isolated class 'CallConnectingView_Tests' has different actor isolation from nonisolated superclass 'StreamVideoUITestCase'; this is an error in Swift 6
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallView/ControlBadgeView_Tests.swift#L13
main actor-isolated class 'ControlBadgeView_Tests' has different actor isolation from nonisolated superclass 'StreamVideoUITestCase'; this is an error in Swift 6
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallView/ReconnectionView_Tests.swift#L12
main actor-isolated class 'ReconnectionView_Tests' has different actor isolation from nonisolated superclass 'StreamVideoUITestCase'; this is an error in Swift 6
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallView/ParticipantsGridLayout_Tests.swift#L14
capture of 'self' with non-sendable type 'ParticipantsGridLayout_Tests' in a `@Sendable` closure
Test SwiftUI (Debug): StreamVideoSwiftUITests/CallView/ParticipantsGridLayout_Tests.swift#L14
main actor-isolated default value in a nonisolated context; this is an error in Swift 6
Test LLC (Debug)
The following actions use a deprecated Node.js version and will be forced to run on node20: mikehardy/buildcache-action@v2, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build SDKs (Xcode 15.0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build SDKs (Xcode 15.0): Sources/StreamVideo/StreamVideoEnvironment.swift#L64
reference to static property 'backgroundTaskSchedulerBuilder' is not concurrency-safe because it involves shared mutable state
Build Test App and Frameworks
The following actions use a deprecated Node.js version and will be forced to run on node20: mikehardy/buildcache-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build Test App and Frameworks: Sources/StreamVideo/WebRTC/WebRTCEventDecoder.swift#L10
'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
Build Test App and Frameworks: Sources/StreamVideo/protobuf/sfu/signal_rpc/signal.twirp.swift#L70
'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
Build Test App and Frameworks
Bootstrap not run, please run ./Scripts/bootstrap.sh
Build Test App and Frameworks: Sources/StreamVideoSwiftUI/CallView/VideoRenderer/VideoRendererView.swift#L124
cannot access property 'dismantle' with a non-sendable type '(() -> Void)?' from non-isolated deinit; this is an error in Swift 6
Build Test App and Frameworks: DemoApp/Sources/Views/CallView/DemoCallsViewModel.swift#L25
non-sendable type 'UnsecureRepository' in asynchronous access to main actor-isolated property 'unsecureRepository' cannot cross actor boundary
Build Test App and Frameworks: DemoApp/Sources/Components/Chat/DemoChatViewFactory.swift#L19
main actor-isolated instance method 'makeReactionsOverlayView(channel:currentSnapshot:messageDisplayInfo:onBackgroundTap:onActionExecuted:)' cannot be used to satisfy nonisolated protocol requirement
Build Test App and Frameworks: DemoApp/Sources/Views/CallView/DemoSessionTimerView.swift#L13
cannot form key path to main actor-isolated property 'formatters'; this is an error in Swift 6
Build Test App and Frameworks: DemoApp/Sources/Controls/DemoMoreControls/DemoReactionButton.swift#L16
cannot form key path to main actor-isolated property 'orientationAdapter'; this is an error in Swift 6
Build Test App and Frameworks: DemoApp/Sources/Components/Snapshot/SnapshotTrigger.swift#L41
main actor-isolated static property 'currentValue' cannot be used to satisfy nonisolated protocol requirement
Build Test App and Frameworks: DemoApp/Sources/Components/Snapshot/LocalParticipantSnapshotViewModel.swift#L182
main actor-isolated static property 'currentValue' cannot be used to satisfy nonisolated protocol requirement
Test E2E UI (Debug) (1)
buildcache: unable to delete buildcache.log Error: ENOENT: no such file or directory, unlink '/Users/runner/work/stream-video-swift/stream-video-swift/.buildcache/buildcache.log'
Test E2E UI (Debug) (1)
The following actions use a deprecated Node.js version and will be forced to run on node20: mikehardy/buildcache-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test E2E UI (Debug) (0)
buildcache: unable to delete buildcache.log Error: ENOENT: no such file or directory, unlink '/Users/runner/work/stream-video-swift/stream-video-swift/.buildcache/buildcache.log'
Test E2E UI (Debug) (0)
The following actions use a deprecated Node.js version and will be forced to run on node20: mikehardy/buildcache-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build Demo Apps
The following actions use a deprecated Node.js version and will be forced to run on node20: mikehardy/buildcache-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build Demo Apps: Sources/StreamVideo/WebRTC/WebRTCEventDecoder.swift#L10
'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
Build Demo Apps: Sources/StreamVideo/protobuf/sfu/signal_rpc/signal.twirp.swift#L70
'init(serializedData:extensions:partial:options:)' is deprecated: replaced by 'init(serializedBytes:extensions:partial:options:)'
Build Demo Apps
Bootstrap not run, please run ./Scripts/bootstrap.sh
Build Demo Apps: Sources/StreamVideoSwiftUI/CallView/VideoRenderer/VideoRendererView.swift#L124
cannot access property 'dismantle' with a non-sendable type '(() -> Void)?' from non-isolated deinit; this is an error in Swift 6
Build Demo Apps: DemoApp/Sources/Views/CallView/DemoCallsViewModel.swift#L25
non-sendable type 'UnsecureRepository' in asynchronous access to main actor-isolated property 'unsecureRepository' cannot cross actor boundary
Build Demo Apps: DemoApp/Sources/Components/Chat/DemoChatViewFactory.swift#L19
main actor-isolated instance method 'makeReactionsOverlayView(channel:currentSnapshot:messageDisplayInfo:onBackgroundTap:onActionExecuted:)' cannot be used to satisfy nonisolated protocol requirement
Build Demo Apps: DemoApp/Sources/Views/CallView/DemoSessionTimerView.swift#L13
cannot form key path to main actor-isolated property 'formatters'; this is an error in Swift 6
Build Demo Apps: DemoApp/Sources/Controls/DemoMoreControls/DemoReactionButton.swift#L16
cannot form key path to main actor-isolated property 'orientationAdapter'; this is an error in Swift 6
Build Demo Apps: DemoApp/Sources/Components/Snapshot/SnapshotTrigger.swift#L41
main actor-isolated static property 'currentValue' cannot be used to satisfy nonisolated protocol requirement
Build Demo Apps: DemoApp/Sources/Components/Snapshot/LocalParticipantSnapshotViewModel.swift#L182
main actor-isolated static property 'currentValue' cannot be used to satisfy nonisolated protocol requirement

Artifacts

Produced during runtime
Name Size
E2E Test Data 0 Expired
726 Bytes
E2E Test Data 1 Expired
726 Bytes
SwiftUI Test Data Expired
11.6 MB
UIKit Test Data Expired
1020 KB
cache-derived-data Expired
37.4 MB