Skip to content

fix(realtime): prevent sending expired tokens #738

fix(realtime): prevent sending expired tokens

fix(realtime): prevent sending expired tokens #738

Triggered via pull request December 4, 2024 15:06
Status Failure
Total duration 5m 35s
Artifacts

ci.yml

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

Annotations

28 errors and 43 warnings
linux (5.10)
Process completed with exit code 1.
xcodebuild (test, IOS)
error: The package product 'JWTKit' requires minimum platform version 15.0 for the iOS platform, but this target supports 13.0 (in target 'RealtimeTests' from project 'Supabase')
xcodebuild (test, IOS)
Process completed with exit code 2.
xcodebuild (WATCHOS)
The job was canceled because "test_IOS" failed.
xcodebuild (test, WATCHOS)
The job was canceled because "test_IOS" failed.
xcodebuild (test, TVOS)
The job was canceled because "test_IOS" failed.
xcodebuild (test, MACOS)
The job was canceled because "test_IOS" failed.
xcodebuild (test, MAC_CATALYST)
The job was canceled because "test_IOS" failed.
xcodebuild (TVOS)
The job was canceled because "test_IOS" failed.
xcodebuild (IOS)
The job was canceled because "test_IOS" failed.
xcodebuild (IOS)
The operation was canceled.
xcodebuild (MAC_CATALYST)
The job was canceled because "test_IOS" failed.
xcodebuild (MAC_CATALYST)
The operation was canceled.
xcodebuild (MACOS)
The job was canceled because "test_IOS" failed.
xcodebuild (MACOS)
The operation was canceled.
xcodebuild-macOS-14 (IOS)
Process completed with exit code 2.
xcodebuild-macOS-14 (WATCHOS)
The job was canceled because "IOS" failed.
xcodebuild-macOS-14 (test, MACOS)
The job was canceled because "IOS" failed.
xcodebuild-macOS-14 (test, IOS)
The job was canceled because "IOS" failed.
xcodebuild-macOS-14 (test, WATCHOS)
The job was canceled because "IOS" failed.
xcodebuild-macOS-14 (TVOS)
The job was canceled because "IOS" failed.
xcodebuild-macOS-14 (test, TVOS)
The job was canceled because "IOS" failed.
xcodebuild-macOS-14 (MACOS)
The job was canceled because "IOS" failed.
xcodebuild-macOS-14 (MACOS)
The operation was canceled.
xcodebuild-macOS-14 (test, MAC_CATALYST)
The job was canceled because "IOS" failed.
xcodebuild-macOS-14 (test, MAC_CATALYST)
The operation was canceled.
xcodebuild-macOS-14 (MAC_CATALYST)
The job was canceled because "IOS" failed.
xcodebuild-macOS-14 (MAC_CATALYST)
The operation was canceled.
linux (5.10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
xcodebuild (IOS): 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
xcodebuild (IOS): 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
xcodebuild (IOS): 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
xcodebuild (IOS): 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
xcodebuild (IOS): 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
xcodebuild (IOS): 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
xcodebuild (IOS): 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
xcodebuild (IOS): 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
xcodebuild (IOS): 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
xcodebuild (MAC_CATALYST): 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
xcodebuild (MAC_CATALYST): 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
xcodebuild (MAC_CATALYST): 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
xcodebuild (MAC_CATALYST): 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
xcodebuild (MAC_CATALYST): 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
xcodebuild (MAC_CATALYST): 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
xcodebuild (MAC_CATALYST): 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
xcodebuild (MAC_CATALYST): 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
xcodebuild (MAC_CATALYST): 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
xcodebuild (MACOS): 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
xcodebuild (MACOS): 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
xcodebuild (MACOS): 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
xcodebuild (MACOS): 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
xcodebuild (MACOS): 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
xcodebuild (MACOS): 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
xcodebuild (MACOS): 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
xcodebuild (MACOS): 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
xcodebuild (MACOS): 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: Examples/SlackClone/UserStore.swift#L90
default will never be executed
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
Examples: Examples/UserManagement/ProfileView.swift#L174
'upload(path:file:options:)' is deprecated: renamed to 'upload(_:data:options:)'