Build Information
Successful build of warplink-ios-sdk, reference v1.3.0 (2dd846), with Swift 6.1 for macOS (SPM) on 5 Nov 2026 06:06:05 UTC.
Swift 6 data race errors: 36
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var apiClient: APIClient?
17 | static var storage: Storage?
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink.swift:16:16: warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static var options: WarpLinkOptions?
15 | static var logger: Logger?
16 | static var apiClient: APIClient?
| |- warning: static property 'apiClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'apiClient' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var storage: Storage?
18 | static var fingerprintCollector: FingerprintCollector?
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink.swift:17:16: warning: static property 'storage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var logger: Logger?
16 | static var apiClient: APIClient?
17 | static var storage: Storage?
| |- warning: static property 'storage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'storage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'storage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static var fingerprintCollector: FingerprintCollector?
19 |
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink.swift:18:16: warning: static property 'fingerprintCollector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | static var apiClient: APIClient?
17 | static var storage: Storage?
18 | static var fingerprintCollector: FingerprintCollector?
| |- warning: static property 'fingerprintCollector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fingerprintCollector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fingerprintCollector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | static var apiKeyValidState: Bool?
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink.swift:20:16: warning: static property 'apiKeyValidState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | static var fingerprintCollector: FingerprintCollector?
19 |
20 | static var apiKeyValidState: Bool?
| |- warning: static property 'apiKeyValidState' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKeyValidState' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'apiKeyValidState' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | // Not private: `releaseDuplicateClaim` drops the claim beside the failure
22 | // branch that causes it, which lives in the resolve extension.
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink.swift:23:16: warning: static property 'lastHandledURLString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // Not private: `releaseDuplicateClaim` drops the claim beside the failure
22 | // branch that causes it, which lives in the resolve extension.
23 | static var lastHandledURLString: String?
| |- warning: static property 'lastHandledURLString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastHandledURLString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastHandledURLString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static var lastHandledURLAt: TimeInterval?
25 |
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink.swift:24:16: warning: static property 'lastHandledURLAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | // branch that causes it, which lives in the resolve extension.
23 | static var lastHandledURLString: String?
24 | static var lastHandledURLAt: TimeInterval?
| |- warning: static property 'lastHandledURLAt' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastHandledURLAt' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastHandledURLAt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Monotonic seconds for the dedupe window. Deliberately NOT `Date()`:
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink.swift:34:16: warning: static property 'monotonicNow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | /// `systemUptime` cannot run backwards. Injectable so a test can drive the
33 | /// backward step this exists to survive. Restored by `reset()`.
34 | static var monotonicNow: () -> TimeInterval = { ProcessInfo.processInfo.systemUptime }
| |- warning: static property 'monotonicNow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'monotonicNow' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'monotonicNow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// Guards a deferred attribution check so an auto-fire from `configure()`
36 | /// racing a manual `checkDeferredDeepLink(completion:)` collapses into one
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink.swift:38:16: warning: static property 'deferredCheckInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | /// racing a manual `checkDeferredDeepLink(completion:)` collapses into one
37 | /// `/attribution/match` (parity with Android's `deferredCheckInFlight`).
38 | static var deferredCheckInFlight = false
| |- warning: static property 'deferredCheckInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deferredCheckInFlight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'deferredCheckInFlight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// Bumped whenever `configure()`/`reset()` abandons an in-flight check, so
40 | /// the abandoned check can tell it is stale and leave its successor's
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink.swift:42:16: warning: static property 'deferredCheckGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | /// the abandoned check can tell it is stale and leave its successor's
41 | /// in-flight claim and parked callers alone.
42 | static var deferredCheckGeneration = 0
| |- warning: static property 'deferredCheckGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deferredCheckGeneration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'deferredCheckGeneration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | static let defaultDomain = "aplnk.to"
[10/63] Compiling WarpLink ReferralEvidenceStore.swift
[11/63] Compiling WarpLink ReferralHTTP.swift
[12/63] Compiling WarpLink ReferralInvitation.swift
[13/63] Compiling WarpLink ReferralMatch.swift
[14/63] Compiling WarpLink ReferralMessages.swift
[15/63] Compiling WarpLink ReferralPendingStore.swift
[16/63] Compiling WarpLink WarpLink+Domains.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:21:16: warning: static property 'localDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | /// Hosts known without a network call: `aplnk.to`, `options.linkDomains`,
20 | /// and the Info.plist declaration. Established synchronously by `configure()`.
21 | static var localDomains: Set<String> = [WarpLink.defaultDomain]
| |- warning: static property 'localDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'localDomains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'localDomains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Hosts learned from `/sdk/validate`: the live response, or the copy cached
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:25:16: warning: static property 'serverDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// Hosts learned from `/sdk/validate`: the live response, or the copy cached
24 | /// from an earlier launch.
25 | static var serverDomains: Set<String> = []
| |- warning: static property 'serverDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serverDomains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serverDomains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Where the Info.plist declaration is read from. Injectable for tests, and
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:30:16: warning: static property 'domainDeclarationSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// restored to `Bundle.main` by `reset()` so an injected stub cannot leak
29 | /// into another test.
30 | static var domainDeclarationSource: LinkDomainDeclaring = Bundle.main
| |- warning: static property 'domainDeclarationSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domainDeclarationSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'domainDeclarationSource' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// The current set of hosts the SDK treats as WarpLink link domains: the
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:18:16: warning: static property 'tapGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// before each retry and before delivering, so a newer tap stops the older
17 | /// one's retries and keeps it silent.
18 | static var tapGeneration = 0
| |- warning: static property 'tapGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tapGeneration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tapGeneration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The resolve attempt a tap currently has on the wire, if any.
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:25:16: warning: static property 'inFlightTap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// goes on holding its connection for the rest of its timeout unless
24 | /// somebody cancels it, on the connection least able to spare it.
25 | static var inFlightTap: HTTPTask?
| |- warning: static property 'inFlightTap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlightTap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlightTap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Whether `generation` is still the newest tap. Nil is a manual caller,
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:85:16: warning: static property 'inFlightDeferredCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | /// be abandoned mid-retry, and its connection would otherwise stay open for
84 | /// the whole of its timeout.
85 | static var inFlightDeferredCheck: HTTPTask?
| |- warning: static property 'inFlightDeferredCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlightDeferredCheck' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlightDeferredCheck' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Whether `generation` is still the live deferred check. The comparison
[17/63] Compiling WarpLink WarpLink+HostDelegates.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:21:16: warning: static property 'localDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | /// Hosts known without a network call: `aplnk.to`, `options.linkDomains`,
20 | /// and the Info.plist declaration. Established synchronously by `configure()`.
21 | static var localDomains: Set<String> = [WarpLink.defaultDomain]
| |- warning: static property 'localDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'localDomains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'localDomains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Hosts learned from `/sdk/validate`: the live response, or the copy cached
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:25:16: warning: static property 'serverDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// Hosts learned from `/sdk/validate`: the live response, or the copy cached
24 | /// from an earlier launch.
25 | static var serverDomains: Set<String> = []
| |- warning: static property 'serverDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serverDomains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serverDomains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Where the Info.plist declaration is read from. Injectable for tests, and
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:30:16: warning: static property 'domainDeclarationSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// restored to `Bundle.main` by `reset()` so an injected stub cannot leak
29 | /// into another test.
30 | static var domainDeclarationSource: LinkDomainDeclaring = Bundle.main
| |- warning: static property 'domainDeclarationSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domainDeclarationSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'domainDeclarationSource' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// The current set of hosts the SDK treats as WarpLink link domains: the
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:18:16: warning: static property 'tapGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// before each retry and before delivering, so a newer tap stops the older
17 | /// one's retries and keeps it silent.
18 | static var tapGeneration = 0
| |- warning: static property 'tapGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tapGeneration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tapGeneration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The resolve attempt a tap currently has on the wire, if any.
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:25:16: warning: static property 'inFlightTap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// goes on holding its connection for the rest of its timeout unless
24 | /// somebody cancels it, on the connection least able to spare it.
25 | static var inFlightTap: HTTPTask?
| |- warning: static property 'inFlightTap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlightTap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlightTap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Whether `generation` is still the newest tap. Nil is a manual caller,
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:85:16: warning: static property 'inFlightDeferredCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | /// be abandoned mid-retry, and its connection would otherwise stay open for
84 | /// the whole of its timeout.
85 | static var inFlightDeferredCheck: HTTPTask?
| |- warning: static property 'inFlightDeferredCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlightDeferredCheck' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlightDeferredCheck' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Whether `generation` is still the live deferred check. The comparison
[18/63] Compiling WarpLink WarpLink+KeyValidation.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:21:16: warning: static property 'localDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | /// Hosts known without a network call: `aplnk.to`, `options.linkDomains`,
20 | /// and the Info.plist declaration. Established synchronously by `configure()`.
21 | static var localDomains: Set<String> = [WarpLink.defaultDomain]
| |- warning: static property 'localDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'localDomains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'localDomains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Hosts learned from `/sdk/validate`: the live response, or the copy cached
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:25:16: warning: static property 'serverDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// Hosts learned from `/sdk/validate`: the live response, or the copy cached
24 | /// from an earlier launch.
25 | static var serverDomains: Set<String> = []
| |- warning: static property 'serverDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serverDomains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serverDomains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Where the Info.plist declaration is read from. Injectable for tests, and
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:30:16: warning: static property 'domainDeclarationSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// restored to `Bundle.main` by `reset()` so an injected stub cannot leak
29 | /// into another test.
30 | static var domainDeclarationSource: LinkDomainDeclaring = Bundle.main
| |- warning: static property 'domainDeclarationSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domainDeclarationSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'domainDeclarationSource' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// The current set of hosts the SDK treats as WarpLink link domains: the
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:18:16: warning: static property 'tapGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// before each retry and before delivering, so a newer tap stops the older
17 | /// one's retries and keeps it silent.
18 | static var tapGeneration = 0
| |- warning: static property 'tapGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tapGeneration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tapGeneration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The resolve attempt a tap currently has on the wire, if any.
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:25:16: warning: static property 'inFlightTap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// goes on holding its connection for the rest of its timeout unless
24 | /// somebody cancels it, on the connection least able to spare it.
25 | static var inFlightTap: HTTPTask?
| |- warning: static property 'inFlightTap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlightTap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlightTap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Whether `generation` is still the newest tap. Nil is a manual caller,
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:85:16: warning: static property 'inFlightDeferredCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | /// be abandoned mid-retry, and its connection would otherwise stay open for
84 | /// the whole of its timeout.
85 | static var inFlightDeferredCheck: HTTPTask?
| |- warning: static property 'inFlightDeferredCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlightDeferredCheck' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlightDeferredCheck' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Whether `generation` is still the live deferred check. The comparison
[19/63] Compiling WarpLink WarpLink+ReactNativeBridge.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:21:16: warning: static property 'localDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | /// Hosts known without a network call: `aplnk.to`, `options.linkDomains`,
20 | /// and the Info.plist declaration. Established synchronously by `configure()`.
21 | static var localDomains: Set<String> = [WarpLink.defaultDomain]
| |- warning: static property 'localDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'localDomains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'localDomains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Hosts learned from `/sdk/validate`: the live response, or the copy cached
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:25:16: warning: static property 'serverDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// Hosts learned from `/sdk/validate`: the live response, or the copy cached
24 | /// from an earlier launch.
25 | static var serverDomains: Set<String> = []
| |- warning: static property 'serverDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serverDomains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serverDomains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Where the Info.plist declaration is read from. Injectable for tests, and
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:30:16: warning: static property 'domainDeclarationSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// restored to `Bundle.main` by `reset()` so an injected stub cannot leak
29 | /// into another test.
30 | static var domainDeclarationSource: LinkDomainDeclaring = Bundle.main
| |- warning: static property 'domainDeclarationSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domainDeclarationSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'domainDeclarationSource' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// The current set of hosts the SDK treats as WarpLink link domains: the
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:18:16: warning: static property 'tapGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// before each retry and before delivering, so a newer tap stops the older
17 | /// one's retries and keeps it silent.
18 | static var tapGeneration = 0
| |- warning: static property 'tapGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tapGeneration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tapGeneration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The resolve attempt a tap currently has on the wire, if any.
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:25:16: warning: static property 'inFlightTap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// goes on holding its connection for the rest of its timeout unless
24 | /// somebody cancels it, on the connection least able to spare it.
25 | static var inFlightTap: HTTPTask?
| |- warning: static property 'inFlightTap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlightTap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlightTap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Whether `generation` is still the newest tap. Nil is a manual caller,
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:85:16: warning: static property 'inFlightDeferredCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | /// be abandoned mid-retry, and its connection would otherwise stay open for
84 | /// the whole of its timeout.
85 | static var inFlightDeferredCheck: HTTPTask?
| |- warning: static property 'inFlightDeferredCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlightDeferredCheck' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlightDeferredCheck' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Whether `generation` is still the live deferred check. The comparison
[20/63] Compiling WarpLink WarpLink+Resolve.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:21:16: warning: static property 'localDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | /// Hosts known without a network call: `aplnk.to`, `options.linkDomains`,
20 | /// and the Info.plist declaration. Established synchronously by `configure()`.
21 | static var localDomains: Set<String> = [WarpLink.defaultDomain]
| |- warning: static property 'localDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'localDomains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'localDomains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Hosts learned from `/sdk/validate`: the live response, or the copy cached
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:25:16: warning: static property 'serverDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// Hosts learned from `/sdk/validate`: the live response, or the copy cached
24 | /// from an earlier launch.
25 | static var serverDomains: Set<String> = []
| |- warning: static property 'serverDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serverDomains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serverDomains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Where the Info.plist declaration is read from. Injectable for tests, and
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:30:16: warning: static property 'domainDeclarationSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// restored to `Bundle.main` by `reset()` so an injected stub cannot leak
29 | /// into another test.
30 | static var domainDeclarationSource: LinkDomainDeclaring = Bundle.main
| |- warning: static property 'domainDeclarationSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domainDeclarationSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'domainDeclarationSource' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// The current set of hosts the SDK treats as WarpLink link domains: the
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:18:16: warning: static property 'tapGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// before each retry and before delivering, so a newer tap stops the older
17 | /// one's retries and keeps it silent.
18 | static var tapGeneration = 0
| |- warning: static property 'tapGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tapGeneration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tapGeneration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The resolve attempt a tap currently has on the wire, if any.
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:25:16: warning: static property 'inFlightTap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// goes on holding its connection for the rest of its timeout unless
24 | /// somebody cancels it, on the connection least able to spare it.
25 | static var inFlightTap: HTTPTask?
| |- warning: static property 'inFlightTap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlightTap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlightTap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Whether `generation` is still the newest tap. Nil is a manual caller,
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:85:16: warning: static property 'inFlightDeferredCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | /// be abandoned mid-retry, and its connection would otherwise stay open for
84 | /// the whole of its timeout.
85 | static var inFlightDeferredCheck: HTTPTask?
| |- warning: static property 'inFlightDeferredCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlightDeferredCheck' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlightDeferredCheck' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Whether `generation` is still the live deferred check. The comparison
[21/63] Compiling WarpLink WarpLink+Supersede.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:21:16: warning: static property 'localDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | /// Hosts known without a network call: `aplnk.to`, `options.linkDomains`,
20 | /// and the Info.plist declaration. Established synchronously by `configure()`.
21 | static var localDomains: Set<String> = [WarpLink.defaultDomain]
| |- warning: static property 'localDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'localDomains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'localDomains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Hosts learned from `/sdk/validate`: the live response, or the copy cached
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:25:16: warning: static property 'serverDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// Hosts learned from `/sdk/validate`: the live response, or the copy cached
24 | /// from an earlier launch.
25 | static var serverDomains: Set<String> = []
| |- warning: static property 'serverDomains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'serverDomains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'serverDomains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Where the Info.plist declaration is read from. Injectable for tests, and
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Domains.swift:30:16: warning: static property 'domainDeclarationSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// restored to `Bundle.main` by `reset()` so an injected stub cannot leak
29 | /// into another test.
30 | static var domainDeclarationSource: LinkDomainDeclaring = Bundle.main
| |- warning: static property 'domainDeclarationSource' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domainDeclarationSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'domainDeclarationSource' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// The current set of hosts the SDK treats as WarpLink link domains: the
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:18:16: warning: static property 'tapGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// before each retry and before delivering, so a newer tap stops the older
17 | /// one's retries and keeps it silent.
18 | static var tapGeneration = 0
| |- warning: static property 'tapGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tapGeneration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tapGeneration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The resolve attempt a tap currently has on the wire, if any.
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:25:16: warning: static property 'inFlightTap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// goes on holding its connection for the rest of its timeout unless
24 | /// somebody cancels it, on the connection least able to spare it.
25 | static var inFlightTap: HTTPTask?
| |- warning: static property 'inFlightTap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlightTap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlightTap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Whether `generation` is still the newest tap. Nil is a manual caller,
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+Supersede.swift:85:16: warning: static property 'inFlightDeferredCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | /// be abandoned mid-retry, and its connection would otherwise stay open for
84 | /// the whole of its timeout.
85 | static var inFlightDeferredCheck: HTTPTask?
| |- warning: static property 'inFlightDeferredCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inFlightDeferredCheck' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'inFlightDeferredCheck' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Whether `generation` is still the live deferred check. The comparison
[22/63] Compiling WarpLink WarpLinkUIPasteButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+DeferredDeepLink.swift:65:16: warning: static property 'parkedDeferredCompletions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | /// `endDeferredCheck(generation:)` so every caller sees the same result.
64 | /// Non-private so `reset()` can clear it alongside `deferredCheckInFlight`.
65 | static var parkedDeferredCompletions:
| |- warning: static property 'parkedDeferredCompletions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'parkedDeferredCompletions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'parkedDeferredCompletions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [(Result<WarpLinkDeepLink?, WarpLinkError>) -> Void] = []
67 |
[23/63] Compiling WarpLink WarpLink+AbandonedCheck.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+DeferredDeepLink.swift:65:16: warning: static property 'parkedDeferredCompletions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | /// `endDeferredCheck(generation:)` so every caller sees the same result.
64 | /// Non-private so `reset()` can clear it alongside `deferredCheckInFlight`.
65 | static var parkedDeferredCompletions:
| |- warning: static property 'parkedDeferredCompletions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'parkedDeferredCompletions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'parkedDeferredCompletions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [(Result<WarpLinkDeepLink?, WarpLinkError>) -> Void] = []
67 |
[24/63] Compiling WarpLink WarpLink+AttributionMatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+DeferredDeepLink.swift:65:16: warning: static property 'parkedDeferredCompletions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | /// `endDeferredCheck(generation:)` so every caller sees the same result.
64 | /// Non-private so `reset()` can clear it alongside `deferredCheckInFlight`.
65 | static var parkedDeferredCompletions:
| |- warning: static property 'parkedDeferredCompletions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'parkedDeferredCompletions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'parkedDeferredCompletions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [(Result<WarpLinkDeepLink?, WarpLinkError>) -> Void] = []
67 |
[25/63] Compiling WarpLink WarpLink+ClearAttribution.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+DeferredDeepLink.swift:65:16: warning: static property 'parkedDeferredCompletions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | /// `endDeferredCheck(generation:)` so every caller sees the same result.
64 | /// Non-private so `reset()` can clear it alongside `deferredCheckInFlight`.
65 | static var parkedDeferredCompletions:
| |- warning: static property 'parkedDeferredCompletions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'parkedDeferredCompletions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'parkedDeferredCompletions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [(Result<WarpLinkDeepLink?, WarpLinkError>) -> Void] = []
67 |
[26/63] Compiling WarpLink WarpLink+DeferredDeepLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+DeferredDeepLink.swift:65:16: warning: static property 'parkedDeferredCompletions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | /// `endDeferredCheck(generation:)` so every caller sees the same result.
64 | /// Non-private so `reset()` can clear it alongside `deferredCheckInFlight`.
65 | static var parkedDeferredCompletions:
| |- warning: static property 'parkedDeferredCompletions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'parkedDeferredCompletions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'parkedDeferredCompletions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [(Result<WarpLinkDeepLink?, WarpLinkError>) -> Void] = []
67 |
[27/63] Compiling WarpLink WarpLink+Dispatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/WarpLink+DeferredDeepLink.swift:65:16: warning: static property 'parkedDeferredCompletions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | /// `endDeferredCheck(generation:)` so every caller sees the same result.
64 | /// Non-private so `reset()` can clear it alongside `deferredCheckInFlight`.
65 | static var parkedDeferredCompletions:
| |- warning: static property 'parkedDeferredCompletions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'parkedDeferredCompletions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'parkedDeferredCompletions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [(Result<WarpLinkDeepLink?, WarpLinkError>) -> Void] = []
67 |
[28/63] Compiling WarpLink URL+WarpLink.swift
[29/63] Compiling WarpLink APIClient+Attribution.swift
[30/63] Compiling WarpLink APIClient+ResolveLink.swift
[31/63] Compiling WarpLink APIClient.swift
[32/63] Compiling WarpLink AttemptWatchdog.swift
[33/63] Compiling WarpLink AttributionResponse.swift
[34/63] Compiling WarpLink KeychainStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:30:16: warning: static property 'makeTransport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// single instance because `configure()` may replace the client, and each
29 | /// one should get a transport in the state the environment is in then.
30 | static var makeTransport: () -> HTTPTransport = liveTransport
| |- warning: static property 'makeTransport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'makeTransport' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'makeTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Hands a completed result back to the host. Every SDK callback goes
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:34:16: warning: static property 'deliver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | /// Hands a completed result back to the host. Every SDK callback goes
33 | /// through here, so overriding it redirects all of them at once.
34 | static var deliver: (@escaping () -> Void) -> Void = liveDelivery
| |- warning: static property 'deliver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deliver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'deliver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Runs `work` after `delay` seconds. The third boundary: a bounded retry
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:39:16: warning: static property 'schedule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | /// has to wait between attempts, and a test that really waited would spend
38 | /// the budget it exists to check. Overriding this runs the retry inline.
39 | static var schedule: (TimeInterval, @escaping () -> Void) -> Void = liveSchedule
| |- warning: static property 'schedule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'schedule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'schedule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Runs `work` after `delay` seconds and hands back a handle that calls it
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:49:16: warning: static property 'armWatchdog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | /// abandoned before it was even sent. It also has to be cancellable, which a
48 | /// wait never is.
49 | static var armWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = liveWatchdog
| |- warning: static property 'armWatchdog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'armWatchdog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'armWatchdog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Builds the `Storage` for the key environment `configure()` chose. A
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:54:16: warning: static property 'makeStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | /// test returns one over in-memory stores, so it never touches the host's
53 | /// real defaults, Keychain or Application Support directory.
54 | static var makeStorage: (KeyEnvironment) -> Storage = liveStorage
| |- warning: static property 'makeStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'makeStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'makeStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Restore the shipping behaviour.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:67:24: warning: static property 'liveStorage' is not concurrency-safe because non-'Sendable' type '(KeyEnvironment) -> Storage' may have shared mutable state; this is an error in the Swift 6 language mode
65 | // MARK: - Private
66 |
67 | private static let liveStorage: (KeyEnvironment) -> Storage = { Storage(environment: $0) }
| |- warning: static property 'liveStorage' is not concurrency-safe because non-'Sendable' type '(KeyEnvironment) -> Storage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | private static let liveTransport: () -> HTTPTransport = { URLSessionTransport() }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:69:24: warning: static property 'liveTransport' is not concurrency-safe because non-'Sendable' type '() -> any HTTPTransport' may have shared mutable state; this is an error in the Swift 6 language mode
67 | private static let liveStorage: (KeyEnvironment) -> Storage = { Storage(environment: $0) }
68 |
69 | private static let liveTransport: () -> HTTPTransport = { URLSessionTransport() }
| |- warning: static property 'liveTransport' is not concurrency-safe because non-'Sendable' type '() -> any HTTPTransport' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// The host contract: results arrive on the main thread, so a handler can
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:73:24: warning: static property 'liveDelivery' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
71 | /// The host contract: results arrive on the main thread, so a handler can
72 | /// touch UI without hopping itself.
73 | private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
| |- warning: static property 'liveDelivery' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveDelivery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | DispatchQueue.main.async(execute: work)
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:74:43: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
71 | /// The host contract: results arrive on the main thread, so a handler can
72 | /// touch UI without hopping itself.
73 | private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
| `- note: parameter 'work' is implicitly non-sendable
74 | DispatchQueue.main.async(execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
75 | }
76 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:79:24: warning: static property 'liveSchedule' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> Void' (aka '(Double, @escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
77 | /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 | /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 | private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
| |- warning: static property 'liveSchedule' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> Void' (aka '(Double, @escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveSchedule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 | deadline: .now() + delay, execute: work
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
77 | /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 | /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 | private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
| `- note: parameter 'work' is implicitly non-sendable
80 | DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 | deadline: .now() + delay, execute: work
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
82 | )
83 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:88:24: warning: static property 'liveWatchdog' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> any ScheduledWork' (aka '(Double, @escaping () -> ()) -> any ScheduledWork') may have shared mutable state; this is an error in the Swift 6 language mode
86 | /// `DispatchWorkItem` rather than a bare closure because the attempt that
87 | /// answers in time has to be able to call its watchdog off.
88 | private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
| |- warning: static property 'liveWatchdog' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> any ScheduledWork' (aka '(Double, @escaping () -> ()) -> any ScheduledWork') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveWatchdog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | delay, work in
90 | let item = DispatchWorkItem(block: work)
[35/63] Compiling WarpLink LinkDomainNormalizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:30:16: warning: static property 'makeTransport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// single instance because `configure()` may replace the client, and each
29 | /// one should get a transport in the state the environment is in then.
30 | static var makeTransport: () -> HTTPTransport = liveTransport
| |- warning: static property 'makeTransport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'makeTransport' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'makeTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Hands a completed result back to the host. Every SDK callback goes
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:34:16: warning: static property 'deliver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | /// Hands a completed result back to the host. Every SDK callback goes
33 | /// through here, so overriding it redirects all of them at once.
34 | static var deliver: (@escaping () -> Void) -> Void = liveDelivery
| |- warning: static property 'deliver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deliver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'deliver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Runs `work` after `delay` seconds. The third boundary: a bounded retry
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:39:16: warning: static property 'schedule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | /// has to wait between attempts, and a test that really waited would spend
38 | /// the budget it exists to check. Overriding this runs the retry inline.
39 | static var schedule: (TimeInterval, @escaping () -> Void) -> Void = liveSchedule
| |- warning: static property 'schedule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'schedule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'schedule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Runs `work` after `delay` seconds and hands back a handle that calls it
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:49:16: warning: static property 'armWatchdog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | /// abandoned before it was even sent. It also has to be cancellable, which a
48 | /// wait never is.
49 | static var armWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = liveWatchdog
| |- warning: static property 'armWatchdog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'armWatchdog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'armWatchdog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Builds the `Storage` for the key environment `configure()` chose. A
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:54:16: warning: static property 'makeStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | /// test returns one over in-memory stores, so it never touches the host's
53 | /// real defaults, Keychain or Application Support directory.
54 | static var makeStorage: (KeyEnvironment) -> Storage = liveStorage
| |- warning: static property 'makeStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'makeStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'makeStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Restore the shipping behaviour.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:67:24: warning: static property 'liveStorage' is not concurrency-safe because non-'Sendable' type '(KeyEnvironment) -> Storage' may have shared mutable state; this is an error in the Swift 6 language mode
65 | // MARK: - Private
66 |
67 | private static let liveStorage: (KeyEnvironment) -> Storage = { Storage(environment: $0) }
| |- warning: static property 'liveStorage' is not concurrency-safe because non-'Sendable' type '(KeyEnvironment) -> Storage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | private static let liveTransport: () -> HTTPTransport = { URLSessionTransport() }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:69:24: warning: static property 'liveTransport' is not concurrency-safe because non-'Sendable' type '() -> any HTTPTransport' may have shared mutable state; this is an error in the Swift 6 language mode
67 | private static let liveStorage: (KeyEnvironment) -> Storage = { Storage(environment: $0) }
68 |
69 | private static let liveTransport: () -> HTTPTransport = { URLSessionTransport() }
| |- warning: static property 'liveTransport' is not concurrency-safe because non-'Sendable' type '() -> any HTTPTransport' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// The host contract: results arrive on the main thread, so a handler can
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:73:24: warning: static property 'liveDelivery' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
71 | /// The host contract: results arrive on the main thread, so a handler can
72 | /// touch UI without hopping itself.
73 | private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
| |- warning: static property 'liveDelivery' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveDelivery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | DispatchQueue.main.async(execute: work)
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:74:43: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
71 | /// The host contract: results arrive on the main thread, so a handler can
72 | /// touch UI without hopping itself.
73 | private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
| `- note: parameter 'work' is implicitly non-sendable
74 | DispatchQueue.main.async(execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
75 | }
76 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:79:24: warning: static property 'liveSchedule' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> Void' (aka '(Double, @escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
77 | /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 | /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 | private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
| |- warning: static property 'liveSchedule' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> Void' (aka '(Double, @escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveSchedule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 | deadline: .now() + delay, execute: work
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
77 | /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 | /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 | private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
| `- note: parameter 'work' is implicitly non-sendable
80 | DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 | deadline: .now() + delay, execute: work
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
82 | )
83 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:88:24: warning: static property 'liveWatchdog' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> any ScheduledWork' (aka '(Double, @escaping () -> ()) -> any ScheduledWork') may have shared mutable state; this is an error in the Swift 6 language mode
86 | /// `DispatchWorkItem` rather than a bare closure because the attempt that
87 | /// answers in time has to be able to call its watchdog off.
88 | private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
| |- warning: static property 'liveWatchdog' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> any ScheduledWork' (aka '(Double, @escaping () -> ()) -> any ScheduledWork') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveWatchdog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | delay, work in
90 | let item = DispatchWorkItem(block: work)
[36/63] Compiling WarpLink Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:30:16: warning: static property 'makeTransport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// single instance because `configure()` may replace the client, and each
29 | /// one should get a transport in the state the environment is in then.
30 | static var makeTransport: () -> HTTPTransport = liveTransport
| |- warning: static property 'makeTransport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'makeTransport' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'makeTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Hands a completed result back to the host. Every SDK callback goes
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:34:16: warning: static property 'deliver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | /// Hands a completed result back to the host. Every SDK callback goes
33 | /// through here, so overriding it redirects all of them at once.
34 | static var deliver: (@escaping () -> Void) -> Void = liveDelivery
| |- warning: static property 'deliver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deliver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'deliver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Runs `work` after `delay` seconds. The third boundary: a bounded retry
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:39:16: warning: static property 'schedule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | /// has to wait between attempts, and a test that really waited would spend
38 | /// the budget it exists to check. Overriding this runs the retry inline.
39 | static var schedule: (TimeInterval, @escaping () -> Void) -> Void = liveSchedule
| |- warning: static property 'schedule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'schedule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'schedule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Runs `work` after `delay` seconds and hands back a handle that calls it
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:49:16: warning: static property 'armWatchdog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | /// abandoned before it was even sent. It also has to be cancellable, which a
48 | /// wait never is.
49 | static var armWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = liveWatchdog
| |- warning: static property 'armWatchdog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'armWatchdog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'armWatchdog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Builds the `Storage` for the key environment `configure()` chose. A
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:54:16: warning: static property 'makeStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | /// test returns one over in-memory stores, so it never touches the host's
53 | /// real defaults, Keychain or Application Support directory.
54 | static var makeStorage: (KeyEnvironment) -> Storage = liveStorage
| |- warning: static property 'makeStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'makeStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'makeStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Restore the shipping behaviour.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:67:24: warning: static property 'liveStorage' is not concurrency-safe because non-'Sendable' type '(KeyEnvironment) -> Storage' may have shared mutable state; this is an error in the Swift 6 language mode
65 | // MARK: - Private
66 |
67 | private static let liveStorage: (KeyEnvironment) -> Storage = { Storage(environment: $0) }
| |- warning: static property 'liveStorage' is not concurrency-safe because non-'Sendable' type '(KeyEnvironment) -> Storage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | private static let liveTransport: () -> HTTPTransport = { URLSessionTransport() }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:69:24: warning: static property 'liveTransport' is not concurrency-safe because non-'Sendable' type '() -> any HTTPTransport' may have shared mutable state; this is an error in the Swift 6 language mode
67 | private static let liveStorage: (KeyEnvironment) -> Storage = { Storage(environment: $0) }
68 |
69 | private static let liveTransport: () -> HTTPTransport = { URLSessionTransport() }
| |- warning: static property 'liveTransport' is not concurrency-safe because non-'Sendable' type '() -> any HTTPTransport' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// The host contract: results arrive on the main thread, so a handler can
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:73:24: warning: static property 'liveDelivery' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
71 | /// The host contract: results arrive on the main thread, so a handler can
72 | /// touch UI without hopping itself.
73 | private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
| |- warning: static property 'liveDelivery' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveDelivery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | DispatchQueue.main.async(execute: work)
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:74:43: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
71 | /// The host contract: results arrive on the main thread, so a handler can
72 | /// touch UI without hopping itself.
73 | private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
| `- note: parameter 'work' is implicitly non-sendable
74 | DispatchQueue.main.async(execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
75 | }
76 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:79:24: warning: static property 'liveSchedule' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> Void' (aka '(Double, @escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
77 | /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 | /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 | private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
| |- warning: static property 'liveSchedule' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> Void' (aka '(Double, @escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveSchedule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 | deadline: .now() + delay, execute: work
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
77 | /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 | /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 | private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
| `- note: parameter 'work' is implicitly non-sendable
80 | DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 | deadline: .now() + delay, execute: work
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
82 | )
83 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:88:24: warning: static property 'liveWatchdog' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> any ScheduledWork' (aka '(Double, @escaping () -> ()) -> any ScheduledWork') may have shared mutable state; this is an error in the Swift 6 language mode
86 | /// `DispatchWorkItem` rather than a bare closure because the attempt that
87 | /// answers in time has to be able to call its watchdog off.
88 | private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
| |- warning: static property 'liveWatchdog' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> any ScheduledWork' (aka '(Double, @escaping () -> ()) -> any ScheduledWork') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveWatchdog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | delay, work in
90 | let item = DispatchWorkItem(block: work)
[37/63] Compiling WarpLink RateLimit.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:30:16: warning: static property 'makeTransport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// single instance because `configure()` may replace the client, and each
29 | /// one should get a transport in the state the environment is in then.
30 | static var makeTransport: () -> HTTPTransport = liveTransport
| |- warning: static property 'makeTransport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'makeTransport' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'makeTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Hands a completed result back to the host. Every SDK callback goes
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:34:16: warning: static property 'deliver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | /// Hands a completed result back to the host. Every SDK callback goes
33 | /// through here, so overriding it redirects all of them at once.
34 | static var deliver: (@escaping () -> Void) -> Void = liveDelivery
| |- warning: static property 'deliver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deliver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'deliver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Runs `work` after `delay` seconds. The third boundary: a bounded retry
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:39:16: warning: static property 'schedule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | /// has to wait between attempts, and a test that really waited would spend
38 | /// the budget it exists to check. Overriding this runs the retry inline.
39 | static var schedule: (TimeInterval, @escaping () -> Void) -> Void = liveSchedule
| |- warning: static property 'schedule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'schedule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'schedule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Runs `work` after `delay` seconds and hands back a handle that calls it
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:49:16: warning: static property 'armWatchdog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | /// abandoned before it was even sent. It also has to be cancellable, which a
48 | /// wait never is.
49 | static var armWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = liveWatchdog
| |- warning: static property 'armWatchdog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'armWatchdog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'armWatchdog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Builds the `Storage` for the key environment `configure()` chose. A
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:54:16: warning: static property 'makeStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | /// test returns one over in-memory stores, so it never touches the host's
53 | /// real defaults, Keychain or Application Support directory.
54 | static var makeStorage: (KeyEnvironment) -> Storage = liveStorage
| |- warning: static property 'makeStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'makeStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'makeStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Restore the shipping behaviour.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:67:24: warning: static property 'liveStorage' is not concurrency-safe because non-'Sendable' type '(KeyEnvironment) -> Storage' may have shared mutable state; this is an error in the Swift 6 language mode
65 | // MARK: - Private
66 |
67 | private static let liveStorage: (KeyEnvironment) -> Storage = { Storage(environment: $0) }
| |- warning: static property 'liveStorage' is not concurrency-safe because non-'Sendable' type '(KeyEnvironment) -> Storage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | private static let liveTransport: () -> HTTPTransport = { URLSessionTransport() }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:69:24: warning: static property 'liveTransport' is not concurrency-safe because non-'Sendable' type '() -> any HTTPTransport' may have shared mutable state; this is an error in the Swift 6 language mode
67 | private static let liveStorage: (KeyEnvironment) -> Storage = { Storage(environment: $0) }
68 |
69 | private static let liveTransport: () -> HTTPTransport = { URLSessionTransport() }
| |- warning: static property 'liveTransport' is not concurrency-safe because non-'Sendable' type '() -> any HTTPTransport' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// The host contract: results arrive on the main thread, so a handler can
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:73:24: warning: static property 'liveDelivery' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
71 | /// The host contract: results arrive on the main thread, so a handler can
72 | /// touch UI without hopping itself.
73 | private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
| |- warning: static property 'liveDelivery' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveDelivery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | DispatchQueue.main.async(execute: work)
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:74:43: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
71 | /// The host contract: results arrive on the main thread, so a handler can
72 | /// touch UI without hopping itself.
73 | private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
| `- note: parameter 'work' is implicitly non-sendable
74 | DispatchQueue.main.async(execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
75 | }
76 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:79:24: warning: static property 'liveSchedule' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> Void' (aka '(Double, @escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
77 | /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 | /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 | private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
| |- warning: static property 'liveSchedule' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> Void' (aka '(Double, @escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveSchedule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 | deadline: .now() + delay, execute: work
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
77 | /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 | /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 | private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
| `- note: parameter 'work' is implicitly non-sendable
80 | DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 | deadline: .now() + delay, execute: work
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
82 | )
83 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:88:24: warning: static property 'liveWatchdog' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> any ScheduledWork' (aka '(Double, @escaping () -> ()) -> any ScheduledWork') may have shared mutable state; this is an error in the Swift 6 language mode
86 | /// `DispatchWorkItem` rather than a bare closure because the attempt that
87 | /// answers in time has to be able to call its watchdog off.
88 | private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
| |- warning: static property 'liveWatchdog' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> any ScheduledWork' (aka '(Double, @escaping () -> ()) -> any ScheduledWork') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveWatchdog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | delay, work in
90 | let item = DispatchWorkItem(block: work)
[38/63] Compiling WarpLink RetryPolicy.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:30:16: warning: static property 'makeTransport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// single instance because `configure()` may replace the client, and each
29 | /// one should get a transport in the state the environment is in then.
30 | static var makeTransport: () -> HTTPTransport = liveTransport
| |- warning: static property 'makeTransport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'makeTransport' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'makeTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Hands a completed result back to the host. Every SDK callback goes
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:34:16: warning: static property 'deliver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | /// Hands a completed result back to the host. Every SDK callback goes
33 | /// through here, so overriding it redirects all of them at once.
34 | static var deliver: (@escaping () -> Void) -> Void = liveDelivery
| |- warning: static property 'deliver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deliver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'deliver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Runs `work` after `delay` seconds. The third boundary: a bounded retry
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:39:16: warning: static property 'schedule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | /// has to wait between attempts, and a test that really waited would spend
38 | /// the budget it exists to check. Overriding this runs the retry inline.
39 | static var schedule: (TimeInterval, @escaping () -> Void) -> Void = liveSchedule
| |- warning: static property 'schedule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'schedule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'schedule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Runs `work` after `delay` seconds and hands back a handle that calls it
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:49:16: warning: static property 'armWatchdog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | /// abandoned before it was even sent. It also has to be cancellable, which a
48 | /// wait never is.
49 | static var armWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = liveWatchdog
| |- warning: static property 'armWatchdog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'armWatchdog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'armWatchdog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Builds the `Storage` for the key environment `configure()` chose. A
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:54:16: warning: static property 'makeStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | /// test returns one over in-memory stores, so it never touches the host's
53 | /// real defaults, Keychain or Application Support directory.
54 | static var makeStorage: (KeyEnvironment) -> Storage = liveStorage
| |- warning: static property 'makeStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'makeStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'makeStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Restore the shipping behaviour.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:67:24: warning: static property 'liveStorage' is not concurrency-safe because non-'Sendable' type '(KeyEnvironment) -> Storage' may have shared mutable state; this is an error in the Swift 6 language mode
65 | // MARK: - Private
66 |
67 | private static let liveStorage: (KeyEnvironment) -> Storage = { Storage(environment: $0) }
| |- warning: static property 'liveStorage' is not concurrency-safe because non-'Sendable' type '(KeyEnvironment) -> Storage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | private static let liveTransport: () -> HTTPTransport = { URLSessionTransport() }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:69:24: warning: static property 'liveTransport' is not concurrency-safe because non-'Sendable' type '() -> any HTTPTransport' may have shared mutable state; this is an error in the Swift 6 language mode
67 | private static let liveStorage: (KeyEnvironment) -> Storage = { Storage(environment: $0) }
68 |
69 | private static let liveTransport: () -> HTTPTransport = { URLSessionTransport() }
| |- warning: static property 'liveTransport' is not concurrency-safe because non-'Sendable' type '() -> any HTTPTransport' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// The host contract: results arrive on the main thread, so a handler can
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:73:24: warning: static property 'liveDelivery' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
71 | /// The host contract: results arrive on the main thread, so a handler can
72 | /// touch UI without hopping itself.
73 | private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
| |- warning: static property 'liveDelivery' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveDelivery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | DispatchQueue.main.async(execute: work)
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:74:43: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
71 | /// The host contract: results arrive on the main thread, so a handler can
72 | /// touch UI without hopping itself.
73 | private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
| `- note: parameter 'work' is implicitly non-sendable
74 | DispatchQueue.main.async(execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
75 | }
76 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:79:24: warning: static property 'liveSchedule' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> Void' (aka '(Double, @escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
77 | /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 | /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 | private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
| |- warning: static property 'liveSchedule' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> Void' (aka '(Double, @escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveSchedule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 | deadline: .now() + delay, execute: work
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
77 | /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 | /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 | private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
| `- note: parameter 'work' is implicitly non-sendable
80 | DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 | deadline: .now() + delay, execute: work
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
82 | )
83 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:88:24: warning: static property 'liveWatchdog' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> any ScheduledWork' (aka '(Double, @escaping () -> ()) -> any ScheduledWork') may have shared mutable state; this is an error in the Swift 6 language mode
86 | /// `DispatchWorkItem` rather than a bare closure because the attempt that
87 | /// answers in time has to be able to call its watchdog off.
88 | private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
| |- warning: static property 'liveWatchdog' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> any ScheduledWork' (aka '(Double, @escaping () -> ()) -> any ScheduledWork') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveWatchdog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | delay, work in
90 | let item = DispatchWorkItem(block: work)
[39/63] Compiling WarpLink SDKEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:30:16: warning: static property 'makeTransport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// single instance because `configure()` may replace the client, and each
29 | /// one should get a transport in the state the environment is in then.
30 | static var makeTransport: () -> HTTPTransport = liveTransport
| |- warning: static property 'makeTransport' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'makeTransport' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'makeTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Hands a completed result back to the host. Every SDK callback goes
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:34:16: warning: static property 'deliver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | /// Hands a completed result back to the host. Every SDK callback goes
33 | /// through here, so overriding it redirects all of them at once.
34 | static var deliver: (@escaping () -> Void) -> Void = liveDelivery
| |- warning: static property 'deliver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deliver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'deliver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Runs `work` after `delay` seconds. The third boundary: a bounded retry
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:39:16: warning: static property 'schedule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | /// has to wait between attempts, and a test that really waited would spend
38 | /// the budget it exists to check. Overriding this runs the retry inline.
39 | static var schedule: (TimeInterval, @escaping () -> Void) -> Void = liveSchedule
| |- warning: static property 'schedule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'schedule' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'schedule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Runs `work` after `delay` seconds and hands back a handle that calls it
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:49:16: warning: static property 'armWatchdog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | /// abandoned before it was even sent. It also has to be cancellable, which a
48 | /// wait never is.
49 | static var armWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = liveWatchdog
| |- warning: static property 'armWatchdog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'armWatchdog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'armWatchdog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Builds the `Storage` for the key environment `configure()` chose. A
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:54:16: warning: static property 'makeStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | /// test returns one over in-memory stores, so it never touches the host's
53 | /// real defaults, Keychain or Application Support directory.
54 | static var makeStorage: (KeyEnvironment) -> Storage = liveStorage
| |- warning: static property 'makeStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'makeStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'makeStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Restore the shipping behaviour.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:67:24: warning: static property 'liveStorage' is not concurrency-safe because non-'Sendable' type '(KeyEnvironment) -> Storage' may have shared mutable state; this is an error in the Swift 6 language mode
65 | // MARK: - Private
66 |
67 | private static let liveStorage: (KeyEnvironment) -> Storage = { Storage(environment: $0) }
| |- warning: static property 'liveStorage' is not concurrency-safe because non-'Sendable' type '(KeyEnvironment) -> Storage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | private static let liveTransport: () -> HTTPTransport = { URLSessionTransport() }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:69:24: warning: static property 'liveTransport' is not concurrency-safe because non-'Sendable' type '() -> any HTTPTransport' may have shared mutable state; this is an error in the Swift 6 language mode
67 | private static let liveStorage: (KeyEnvironment) -> Storage = { Storage(environment: $0) }
68 |
69 | private static let liveTransport: () -> HTTPTransport = { URLSessionTransport() }
| |- warning: static property 'liveTransport' is not concurrency-safe because non-'Sendable' type '() -> any HTTPTransport' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveTransport' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// The host contract: results arrive on the main thread, so a handler can
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:73:24: warning: static property 'liveDelivery' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
71 | /// The host contract: results arrive on the main thread, so a handler can
72 | /// touch UI without hopping itself.
73 | private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
| |- warning: static property 'liveDelivery' is not concurrency-safe because non-'Sendable' type '(@escaping () -> Void) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveDelivery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | DispatchQueue.main.async(execute: work)
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:74:43: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
71 | /// The host contract: results arrive on the main thread, so a handler can
72 | /// touch UI without hopping itself.
73 | private static let liveDelivery: (@escaping () -> Void) -> Void = { work in
| `- note: parameter 'work' is implicitly non-sendable
74 | DispatchQueue.main.async(execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
75 | }
76 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:79:24: warning: static property 'liveSchedule' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> Void' (aka '(Double, @escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
77 | /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 | /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 | private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
| |- warning: static property 'liveSchedule' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> Void' (aka '(Double, @escaping () -> ()) -> ()') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveSchedule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 | deadline: .now() + delay, execute: work
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:81:48: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
77 | /// Off the main queue: the work it schedules is an HTTP round trip, and the
78 | /// hop back onto main happens in `SDKEnvironment.deliver` as it always did.
79 | private static let liveSchedule: (TimeInterval, @escaping () -> Void) -> Void = { delay, work in
| `- note: parameter 'work' is implicitly non-sendable
80 | DispatchQueue.global(qos: .userInitiated).asyncAfter(
81 | deadline: .now() + delay, execute: work
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
82 | )
83 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/SDKEnvironment.swift:88:24: warning: static property 'liveWatchdog' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> any ScheduledWork' (aka '(Double, @escaping () -> ()) -> any ScheduledWork') may have shared mutable state; this is an error in the Swift 6 language mode
86 | /// `DispatchWorkItem` rather than a bare closure because the attempt that
87 | /// answers in time has to be able to call its watchdog off.
88 | private static let liveWatchdog: (TimeInterval, @escaping () -> Void) -> ScheduledWork = {
| |- warning: static property 'liveWatchdog' is not concurrency-safe because non-'Sendable' type '(TimeInterval, @escaping () -> Void) -> any ScheduledWork' (aka '(Double, @escaping () -> ()) -> any ScheduledWork') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'liveWatchdog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | delay, work in
90 | let item = DispatchWorkItem(block: work)
[40/63] Compiling WarpLink Storage.swift
[41/63] Compiling WarpLink StorageKeys.swift
[42/63] Compiling WarpLink JSONValue.swift
[43/63] Compiling WarpLink MatchType.swift
[44/63] Compiling WarpLink APIClient+RecoveryRedeem.swift
[45/63] Compiling WarpLink APIClient+ReferralClaim.swift
[46/63] Compiling WarpLink BoundedRetry.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:90:78: warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
86 | func send(
87 | _ request: URLRequest,
88 | completion: @escaping (Data?, URLResponse?, Error?) -> Void
| `- note: parameter 'completion' is implicitly non-sendable
89 | ) -> HTTPTask {
90 | let task = currentSession.dataTask(with: request, completionHandler: completion)
| `- warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
91 | task.resume()
92 | return task
[47/63] Compiling WarpLink DeclaredLinkDomains.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:90:78: warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
86 | func send(
87 | _ request: URLRequest,
88 | completion: @escaping (Data?, URLResponse?, Error?) -> Void
| `- note: parameter 'completion' is implicitly non-sendable
89 | ) -> HTTPTask {
90 | let task = currentSession.dataTask(with: request, completionHandler: completion)
| `- warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
91 | task.resume()
92 | return task
[48/63] Compiling WarpLink FingerprintCollector.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:90:78: warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
86 | func send(
87 | _ request: URLRequest,
88 | completion: @escaping (Data?, URLResponse?, Error?) -> Void
| `- note: parameter 'completion' is implicitly non-sendable
89 | ) -> HTTPTask {
90 | let task = currentSession.dataTask(with: request, completionHandler: completion)
| `- warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
91 | task.resume()
92 | return task
[49/63] Compiling WarpLink HTTPTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:90:78: warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
86 | func send(
87 | _ request: URLRequest,
88 | completion: @escaping (Data?, URLResponse?, Error?) -> Void
| `- note: parameter 'completion' is implicitly non-sendable
89 | ) -> HTTPTask {
90 | let task = currentSession.dataTask(with: request, completionHandler: completion)
| `- warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
91 | task.resume()
92 | return task
[50/63] Compiling WarpLink InstallMarkerStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:90:78: warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
86 | func send(
87 | _ request: URLRequest,
88 | completion: @escaping (Data?, URLResponse?, Error?) -> Void
| `- note: parameter 'completion' is implicitly non-sendable
89 | ) -> HTTPTask {
90 | let task = currentSession.dataTask(with: request, completionHandler: completion)
| `- warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
91 | task.resume()
92 | return task
[51/63] Compiling WarpLink KeyEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Internal/HTTPTransport.swift:90:78: warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
86 | func send(
87 | _ request: URLRequest,
88 | completion: @escaping (Data?, URLResponse?, Error?) -> Void
| `- note: parameter 'completion' is implicitly non-sendable
89 | ) -> HTTPTask {
90 | let task = currentSession.dataTask(with: request, completionHandler: completion)
| `- warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
91 | task.resume()
92 | return task
[52/63] Compiling WarpLink AttributionEvidence.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/KeychainPendingStore.swift:17:24: warning: static property 'accessibility' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | #if canImport(Security)
17 | private static let accessibility = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
| `- warning: static property 'accessibility' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/KeychainPendingStore.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
2 | #if canImport(Security)
3 | import Security
:
15 |
16 | #if canImport(Security)
17 | private static let accessibility = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
| |- note: add '@MainActor' to make static property 'accessibility' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #endif
19 |
[53/63] Compiling WarpLink KeychainPendingStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/KeychainPendingStore.swift:17:24: warning: static property 'accessibility' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | #if canImport(Security)
17 | private static let accessibility = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
| `- warning: static property 'accessibility' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/KeychainPendingStore.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
2 | #if canImport(Security)
3 | import Security
:
15 |
16 | #if canImport(Security)
17 | private static let accessibility = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
| |- note: add '@MainActor' to make static property 'accessibility' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #endif
19 |
[54/63] Compiling WarpLink RecoveryRedeemOutcome.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/KeychainPendingStore.swift:17:24: warning: static property 'accessibility' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | #if canImport(Security)
17 | private static let accessibility = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
| `- warning: static property 'accessibility' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/KeychainPendingStore.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
2 | #if canImport(Security)
3 | import Security
:
15 |
16 | #if canImport(Security)
17 | private static let accessibility = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
| |- note: add '@MainActor' to make static property 'accessibility' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #endif
19 |
[55/63] Compiling WarpLink ReferralBoundedCall.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/KeychainPendingStore.swift:17:24: warning: static property 'accessibility' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | #if canImport(Security)
17 | private static let accessibility = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
| `- warning: static property 'accessibility' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/KeychainPendingStore.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
2 | #if canImport(Security)
3 | import Security
:
15 |
16 | #if canImport(Security)
17 | private static let accessibility = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
| |- note: add '@MainActor' to make static property 'accessibility' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #endif
19 |
[56/63] Compiling WarpLink ReferralClaimEvidence.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/KeychainPendingStore.swift:17:24: warning: static property 'accessibility' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | #if canImport(Security)
17 | private static let accessibility = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
| `- warning: static property 'accessibility' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/KeychainPendingStore.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
2 | #if canImport(Security)
3 | import Security
:
15 |
16 | #if canImport(Security)
17 | private static let accessibility = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
| |- note: add '@MainActor' to make static property 'accessibility' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #endif
19 |
[57/63] Compiling WarpLink ReferralClaimResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/KeychainPendingStore.swift:17:24: warning: static property 'accessibility' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | #if canImport(Security)
17 | private static let accessibility = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
| `- warning: static property 'accessibility' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/KeychainPendingStore.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
2 | #if canImport(Security)
3 | import Security
:
15 |
16 | #if canImport(Security)
17 | private static let accessibility = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
| |- note: add '@MainActor' to make static property 'accessibility' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #endif
19 |
[58/63] Compiling WarpLink ReferralRedeemer.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:7:16: warning: static property 'pendingStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | enum ReferralServices {
6 |
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
| |- warning: static property 'pendingStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pendingStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pendingStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | static var evidenceStore = ReferralEvidenceStore()
9 | static var now: () -> Date = Date.init
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:8:16: warning: static property 'evidenceStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
8 | static var evidenceStore = ReferralEvidenceStore()
| |- warning: static property 'evidenceStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'evidenceStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'evidenceStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static var now: () -> Date = Date.init
10 |
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:9:16: warning: static property 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
8 | static var evidenceStore = ReferralEvidenceStore()
9 | static var now: () -> Date = Date.init
| |- warning: static property 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /// The environment the stores above belong to.
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:12:29: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The environment the stores above belong to.
12 | private(set) static var environment = KeyEnvironment.production
| |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bumped whenever a redeem run in flight must not apply its answer: the key
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:17:29: warning: static property 'epoch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// changed, or the attribution it would feed was cleared. Written under
16 | /// `WarpLink.lock`, which a redeem holds while it checks and applies.
17 | private(set) static var epoch = 0
| |- warning: static property 'epoch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'epoch' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'epoch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Points the stores at `environment`'s namespace and orphans any redeem run
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:42:29: warning: static property 'redeemInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | /// True while a redeem run is on the wire. A paste and a launch resume that
41 | /// meet are collapsed into one request, so one token is delivered once.
42 | private(set) static var redeemInFlight = false
| |- warning: static property 'redeemInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'redeemInFlight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'redeemInFlight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | private static let lock = NSLock()
44 |
[59/63] Compiling WarpLink ReferralServices.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:7:16: warning: static property 'pendingStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | enum ReferralServices {
6 |
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
| |- warning: static property 'pendingStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pendingStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pendingStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | static var evidenceStore = ReferralEvidenceStore()
9 | static var now: () -> Date = Date.init
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:8:16: warning: static property 'evidenceStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
8 | static var evidenceStore = ReferralEvidenceStore()
| |- warning: static property 'evidenceStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'evidenceStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'evidenceStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static var now: () -> Date = Date.init
10 |
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:9:16: warning: static property 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
8 | static var evidenceStore = ReferralEvidenceStore()
9 | static var now: () -> Date = Date.init
| |- warning: static property 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /// The environment the stores above belong to.
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:12:29: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The environment the stores above belong to.
12 | private(set) static var environment = KeyEnvironment.production
| |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bumped whenever a redeem run in flight must not apply its answer: the key
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:17:29: warning: static property 'epoch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// changed, or the attribution it would feed was cleared. Written under
16 | /// `WarpLink.lock`, which a redeem holds while it checks and applies.
17 | private(set) static var epoch = 0
| |- warning: static property 'epoch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'epoch' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'epoch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Points the stores at `environment`'s namespace and orphans any redeem run
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:42:29: warning: static property 'redeemInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | /// True while a redeem run is on the wire. A paste and a launch resume that
41 | /// meet are collapsed into one request, so one token is delivered once.
42 | private(set) static var redeemInFlight = false
| |- warning: static property 'redeemInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'redeemInFlight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'redeemInFlight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | private static let lock = NSLock()
44 |
[60/63] Compiling WarpLink WarpLink+RedeemedMatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:7:16: warning: static property 'pendingStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | enum ReferralServices {
6 |
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
| |- warning: static property 'pendingStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pendingStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pendingStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | static var evidenceStore = ReferralEvidenceStore()
9 | static var now: () -> Date = Date.init
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:8:16: warning: static property 'evidenceStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
8 | static var evidenceStore = ReferralEvidenceStore()
| |- warning: static property 'evidenceStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'evidenceStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'evidenceStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static var now: () -> Date = Date.init
10 |
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:9:16: warning: static property 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
8 | static var evidenceStore = ReferralEvidenceStore()
9 | static var now: () -> Date = Date.init
| |- warning: static property 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /// The environment the stores above belong to.
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:12:29: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The environment the stores above belong to.
12 | private(set) static var environment = KeyEnvironment.production
| |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bumped whenever a redeem run in flight must not apply its answer: the key
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:17:29: warning: static property 'epoch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// changed, or the attribution it would feed was cleared. Written under
16 | /// `WarpLink.lock`, which a redeem holds while it checks and applies.
17 | private(set) static var epoch = 0
| |- warning: static property 'epoch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'epoch' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'epoch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Points the stores at `environment`'s namespace and orphans any redeem run
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:42:29: warning: static property 'redeemInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | /// True while a redeem run is on the wire. A paste and a launch resume that
41 | /// meet are collapsed into one request, so one token is delivered once.
42 | private(set) static var redeemInFlight = false
| |- warning: static property 'redeemInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'redeemInFlight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'redeemInFlight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | private static let lock = NSLock()
44 |
[61/63] Compiling WarpLink WarpLink+Referral.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:7:16: warning: static property 'pendingStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | enum ReferralServices {
6 |
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
| |- warning: static property 'pendingStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pendingStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pendingStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | static var evidenceStore = ReferralEvidenceStore()
9 | static var now: () -> Date = Date.init
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:8:16: warning: static property 'evidenceStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
8 | static var evidenceStore = ReferralEvidenceStore()
| |- warning: static property 'evidenceStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'evidenceStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'evidenceStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static var now: () -> Date = Date.init
10 |
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:9:16: warning: static property 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
8 | static var evidenceStore = ReferralEvidenceStore()
9 | static var now: () -> Date = Date.init
| |- warning: static property 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /// The environment the stores above belong to.
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:12:29: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The environment the stores above belong to.
12 | private(set) static var environment = KeyEnvironment.production
| |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bumped whenever a redeem run in flight must not apply its answer: the key
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:17:29: warning: static property 'epoch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// changed, or the attribution it would feed was cleared. Written under
16 | /// `WarpLink.lock`, which a redeem holds while it checks and applies.
17 | private(set) static var epoch = 0
| |- warning: static property 'epoch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'epoch' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'epoch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Points the stores at `environment`'s namespace and orphans any redeem run
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:42:29: warning: static property 'redeemInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | /// True while a redeem run is on the wire. A paste and a launch resume that
41 | /// meet are collapsed into one request, so one token is delivered once.
42 | private(set) static var redeemInFlight = false
| |- warning: static property 'redeemInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'redeemInFlight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'redeemInFlight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | private static let lock = NSLock()
44 |
[62/63] Compiling WarpLink WarpLink+ReferralClaim.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:7:16: warning: static property 'pendingStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | enum ReferralServices {
6 |
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
| |- warning: static property 'pendingStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pendingStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pendingStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | static var evidenceStore = ReferralEvidenceStore()
9 | static var now: () -> Date = Date.init
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:8:16: warning: static property 'evidenceStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
8 | static var evidenceStore = ReferralEvidenceStore()
| |- warning: static property 'evidenceStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'evidenceStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'evidenceStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static var now: () -> Date = Date.init
10 |
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:9:16: warning: static property 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
8 | static var evidenceStore = ReferralEvidenceStore()
9 | static var now: () -> Date = Date.init
| |- warning: static property 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /// The environment the stores above belong to.
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:12:29: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The environment the stores above belong to.
12 | private(set) static var environment = KeyEnvironment.production
| |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bumped whenever a redeem run in flight must not apply its answer: the key
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:17:29: warning: static property 'epoch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// changed, or the attribution it would feed was cleared. Written under
16 | /// `WarpLink.lock`, which a redeem holds while it checks and applies.
17 | private(set) static var epoch = 0
| |- warning: static property 'epoch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'epoch' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'epoch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Points the stores at `environment`'s namespace and orphans any redeem run
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:42:29: warning: static property 'redeemInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | /// True while a redeem run is on the wire. A paste and a launch resume that
41 | /// meet are collapsed into one request, so one token is delivered once.
42 | private(set) static var redeemInFlight = false
| |- warning: static property 'redeemInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'redeemInFlight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'redeemInFlight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | private static let lock = NSLock()
44 |
[63/63] Compiling WarpLink WarpLinkPasteButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:7:16: warning: static property 'pendingStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | enum ReferralServices {
6 |
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
| |- warning: static property 'pendingStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pendingStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pendingStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | static var evidenceStore = ReferralEvidenceStore()
9 | static var now: () -> Date = Date.init
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:8:16: warning: static property 'evidenceStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
8 | static var evidenceStore = ReferralEvidenceStore()
| |- warning: static property 'evidenceStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'evidenceStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'evidenceStore' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static var now: () -> Date = Date.init
10 |
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:9:16: warning: static property 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | static var pendingStore: ReferralPendingStore = KeychainPendingStore()
8 | static var evidenceStore = ReferralEvidenceStore()
9 | static var now: () -> Date = Date.init
| |- warning: static property 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /// The environment the stores above belong to.
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:12:29: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// The environment the stores above belong to.
12 | private(set) static var environment = KeyEnvironment.production
| |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// Bumped whenever a redeem run in flight must not apply its answer: the key
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:17:29: warning: static property 'epoch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// changed, or the attribution it would feed was cleared. Written under
16 | /// `WarpLink.lock`, which a redeem holds while it checks and applies.
17 | private(set) static var epoch = 0
| |- warning: static property 'epoch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'epoch' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'epoch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Points the stores at `environment`'s namespace and orphans any redeem run
/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/Referral/ReferralServices.swift:42:29: warning: static property 'redeemInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | /// True while a redeem run is on the wire. A paste and a launch resume that
41 | /// meet are collapsed into one request, so one token is delivered once.
42 | private(set) static var redeemInFlight = false
| |- warning: static property 'redeemInFlight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'redeemInFlight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'redeemInFlight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | private static let lock = NSLock()
44 |
Build complete! (10.35s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "warplink-ios-sdk",
"name" : "warplink-ios-sdk",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "WarpLink",
"targets" : [
"WarpLink"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WarpLinkTests",
"module_type" : "SwiftTarget",
"name" : "WarpLinkTests",
"path" : "Tests/WarpLinkTests",
"sources" : [
"APIClientAttributionTests.swift",
"APIClientMatchGuaranteedTests.swift",
"APIClientResolveLinkTests.swift",
"APIClientTests.swift",
"BackupExcludedFileStoreTests.swift",
"BoundedResolveRetryTests.swift",
"BoundedRetryDriverTests.swift",
"CancellableAttemptTests.swift",
"CheckDeferredDeepLinkTests.swift",
"ClearAttributionRaceTests.swift",
"ClearAttributionTests.swift",
"DeclaredLinkDomainsTests.swift",
"DeferredCheckRetryTests.swift",
"DrippingAttemptTests.swift",
"FingerprintCollectorTests.swift",
"FirstAttemptBoundedTests.swift",
"FreshConnectionAfterTimeoutTests.swift",
"GatedTransport.swift",
"HandleDeepLinkTests.swift",
"IsWarpLinkURLTests.swift",
"JSONValueTests.swift",
"KeyEnvironmentTests.swift",
"LegacyUpgradeAttributionTests.swift",
"LinkDomainNormalizerTests.swift",
"OSCancelledRetryTests.swift",
"RateLimitRetryTests.swift",
"ReactNativeBridgeResolveTests.swift",
"ReferralClaimTests.swift",
"ReferralDeferredRaceTests.swift",
"ReferralEnvironmentTests.swift",
"ReferralEvidenceStoreTests.swift",
"ReferralInvitationTests.swift",
"ReferralKeychainStoreTests.swift",
"ReferralNoPasteboardTests.swift",
"ReferralRedeemTests.swift",
"ReferralResultFieldsTests.swift",
"ReferralResumeTests.swift",
"ReferralRetryTests.swift",
"ReferralTestSupport.swift",
"ResolveParamsTests.swift",
"RetryPolicyTests.swift",
"RoutelessMatchTests.swift",
"SDKEnvironmentTests.swift",
"SdkVersionTests.swift",
"ServerDomainsCacheTests.swift",
"ServerRejectionWarningTests.swift",
"StorageCachedAttributionTests.swift",
"StorageEnvironmentTests.swift",
"StorageReinstallTests.swift",
"StorageTests.swift",
"SynchronousSDK.swift",
"TapIdHeaderTests.swift",
"TestSupport.swift",
"TransportDoubles.swift",
"URLWarpLinkTests.swift",
"WarpLinkAutoWireTests.swift",
"WarpLinkConfigureTests.swift",
"WarpLinkDedupeClockTests.swift",
"WarpLinkDeepLinkTests.swift",
"WarpLinkErrorTests.swift",
"WarpLinkLinkDomainsTests.swift",
"WarpLinkOptionsTests.swift",
"WarpLinkTests.swift"
],
"target_dependencies" : [
"WarpLink"
],
"type" : "test"
},
{
"c99name" : "WarpLink",
"module_type" : "SwiftTarget",
"name" : "WarpLink",
"path" : "Sources/WarpLink",
"product_memberships" : [
"WarpLink"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WarpLink/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Extensions/URL+WarpLink.swift",
"Internal/APIClient+Attribution.swift",
"Internal/APIClient+ResolveLink.swift",
"Internal/APIClient.swift",
"Internal/AttemptWatchdog.swift",
"Internal/AttributionResponse.swift",
"Internal/BoundedRetry.swift",
"Internal/DeclaredLinkDomains.swift",
"Internal/FingerprintCollector.swift",
"Internal/HTTPTransport.swift",
"Internal/InstallMarkerStore.swift",
"Internal/KeyEnvironment.swift",
"Internal/KeychainStore.swift",
"Internal/LinkDomainNormalizer.swift",
"Internal/Logger.swift",
"Internal/RateLimit.swift",
"Internal/RetryPolicy.swift",
"Internal/SDKEnvironment.swift",
"Internal/Storage.swift",
"Internal/StorageKeys.swift",
"JSONValue.swift",
"MatchType.swift",
"Referral/APIClient+RecoveryRedeem.swift",
"Referral/APIClient+ReferralClaim.swift",
"Referral/AttributionEvidence.swift",
"Referral/KeychainPendingStore.swift",
"Referral/RecoveryRedeemOutcome.swift",
"Referral/ReferralBoundedCall.swift",
"Referral/ReferralClaimEvidence.swift",
"Referral/ReferralClaimResult.swift",
"Referral/ReferralEvidenceStore.swift",
"Referral/ReferralHTTP.swift",
"Referral/ReferralInvitation.swift",
"Referral/ReferralMatch.swift",
"Referral/ReferralMessages.swift",
"Referral/ReferralPendingStore.swift",
"Referral/ReferralRedeemer.swift",
"Referral/ReferralServices.swift",
"Referral/WarpLink+RedeemedMatch.swift",
"Referral/WarpLink+Referral.swift",
"Referral/WarpLink+ReferralClaim.swift",
"Referral/WarpLinkPasteButton.swift",
"Referral/WarpLinkUIPasteButton.swift",
"WarpLink+AbandonedCheck.swift",
"WarpLink+AttributionMatch.swift",
"WarpLink+ClearAttribution.swift",
"WarpLink+DeferredDeepLink.swift",
"WarpLink+Dispatch.swift",
"WarpLink+Domains.swift",
"WarpLink+HostDelegates.swift",
"WarpLink+KeyValidation.swift",
"WarpLink+ReactNativeBridge.swift",
"WarpLink+Resolve.swift",
"WarpLink+Supersede.swift",
"WarpLink.swift",
"WarpLinkDeepLink.swift",
"WarpLinkError.swift",
"WarpLinkOptions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.