Skip to content

fix: build for Swift 5.9 #643

fix: build for Swift 5.9

fix: build for Swift 5.9 #643

Triggered via pull request October 23, 2024 18:09
@grdsdevgrdsdev
synchronize #577
fix/swift59
Status Cancelled
Total duration 1m 45s
Artifacts

ci.yml

on: pull_request
Matrix: linux
Matrix: xcodebuild
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 21 warnings
linux (5.9)
Process completed with exit code 1.
linux (5.10)
The job was canceled because "_5_9" failed.
linux (5.10)
The operation was canceled.
xcodebuild (MACOS, 15.4)
The run was canceled by @grdsdev.
xcodebuild (MAC_CATALYST, 16.0)
The run was canceled by @grdsdev.
xcodebuild (WATCHOS, 15.4)
The run was canceled by @grdsdev.
xcodebuild (test, IOS, 15.4)
The run was canceled by @grdsdev.
xcodebuild (TVOS, 16.0)
The run was canceled by @grdsdev.
xcodebuild (test, MACOS, 16.0)
The run was canceled by @grdsdev.
xcodebuild (test, WATCHOS, 16.0)
The run was canceled by @grdsdev.
xcodebuild (MACOS, 16.0)
The run was canceled by @grdsdev.
xcodebuild (test, WATCHOS, 15.4)
The run was canceled by @grdsdev.
xcodebuild (test, TVOS, 16.0)
The run was canceled by @grdsdev.
xcodebuild (WATCHOS, 16.0)
The run was canceled by @grdsdev.
xcodebuild (TVOS, 15.4)
The run was canceled by @grdsdev.
xcodebuild (test, MACOS, 15.4)
The run was canceled by @grdsdev.
xcodebuild (test, MAC_CATALYST, 15.4)
The run was canceled by @grdsdev.
xcodebuild (test, IOS, 16.0)
The run was canceled by @grdsdev.
xcodebuild (test, MAC_CATALYST, 16.0)
The run was canceled by @grdsdev.
xcodebuild (test, TVOS, 15.4)
The run was canceled by @grdsdev.
xcodebuild (MAC_CATALYST, 15.4)
The run was canceled by @grdsdev.
xcodebuild (MAC_CATALYST, 15.4)
The operation was canceled.
Examples
The run was canceled by @grdsdev.
Examples
The operation was canceled.
xcodebuild (IOS, 16.0)
The run was canceled by @grdsdev.
xcodebuild (IOS, 16.0)
The operation was canceled.
xcodebuild (IOS, 15.4)
The run was canceled by @grdsdev.
xcodebuild (IOS, 15.4)
The operation was canceled.
linux (5.9)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
xcodebuild (MAC_CATALYST, 15.4): Sources/Realtime/Defaults.swift#L36
static property 'reconnectSteppedBackOff' 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
xcodebuild (MAC_CATALYST, 15.4): Sources/Realtime/Defaults.swift#L41
static property 'rejoinSteppedBackOff' 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
xcodebuild (MAC_CATALYST, 15.4): Sources/Realtime/Defaults.swift#L48
static property 'encode' 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
xcodebuild (MAC_CATALYST, 15.4): Sources/Realtime/Defaults.swift#L57
static property 'decode' 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
xcodebuild (MAC_CATALYST, 15.4): Sources/Realtime/Presence.swift#L116
static property 'defaults' 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
Examples: Sources/Realtime/Defaults.swift#L36
static property 'reconnectSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
Examples: Sources/Realtime/Defaults.swift#L41
static property 'rejoinSteppedBackOff' is not concurrency-safe because non-'Sendable' type '(Int) -> TimeInterval' (aka '(Int) -> Double') may have shared mutable state; this is an error in the Swift 6 language mode
Examples: Sources/Realtime/Defaults.swift#L48
static property 'encode' is not concurrency-safe because non-'Sendable' type '(Any) -> Data' may have shared mutable state; this is an error in the Swift 6 language mode
Examples: Sources/Realtime/Defaults.swift#L57
static property 'decode' is not concurrency-safe because non-'Sendable' type '(Data) -> Any?' may have shared mutable state; this is an error in the Swift 6 language mode
Examples: Sources/Realtime/PhoenixTransport.swift#L140
non-final class 'URLSessionTransport' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
Examples: Sources/Realtime/PhoenixTransport.swift#L148
stored property 'session' of 'Sendable'-conforming class 'URLSessionTransport' is mutable; this is an error in the Swift 6 language mode
Examples: Sources/Realtime/Presence.swift#L116
static property 'defaults' is not concurrency-safe because non-'Sendable' type 'Presence.Options' may have shared mutable state; this is an error in the Swift 6 language mode
Examples: Sources/Realtime/Push.swift#L26
'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
Examples: Sources/Realtime/Push.swift#L65
'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md
Examples: Sources/Realtime/RealtimeChannel.swift#L1007
'RealtimeChannel' is deprecated: Use new RealtimeChannelV2 class instead. See migration guide: https://github.com/supabase-community/supabase-swift/blob/main/docs/migrations/RealtimeV2%20Migration%20Guide.md