Build Information
Failed to build NetworkLayer, reference main (2ff5f4), with Swift 6.1 for Wasm on 18 Nov 2026 16:42:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/network-layer.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/space-code/network-layer
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2ff5f44 chore(deps): update dependency swiftformat to v0.64.7 (#124)
Cloned https://github.com/space-code/network-layer.git
Revision (git rev-parse @):
2ff5f44741c3235ebee47c3d7dc03c008bc4883e
SUCCESS checkout https://github.com/space-code/network-layer.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/space-code/network-layer.git
https://github.com/space-code/network-layer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:46373e069458549b0fb0727bf4d0f0bb9d8a18a2e211e19b57193bdf60e4b3d5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/WeTransfer/Mocker
Fetching https://github.com/space-code/atomic
Fetching https://github.com/space-code/typhoon
[1/1746] Fetching typhoon
[19/2576] Fetching typhoon, atomic
[36/4489] Fetching typhoon, atomic, mocker
Fetched https://github.com/space-code/atomic from cache (0.44s)
Fetched https://github.com/space-code/typhoon from cache (0.44s)
Fetched https://github.com/WeTransfer/Mocker from cache (0.46s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.1 (1.42s)
Computing version for https://github.com/space-code/typhoon
Computed https://github.com/space-code/typhoon at 3.0.0 (0.23s)
Computing version for https://github.com/space-code/atomic
warning: 'atomic': /Package.swift:12:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
10 | .iOS(.v13),
11 | .watchOS(.v6),
12 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
13 | .visionOS(.v1),
14 | ],
Computed https://github.com/space-code/atomic at 1.1.0 (0.23s)
Creating working copy for https://github.com/space-code/typhoon
Working copy of https://github.com/space-code/typhoon resolved at 3.0.0
Creating working copy for https://github.com/WeTransfer/Mocker
Working copy of https://github.com/WeTransfer/Mocker resolved at 3.0.1
Creating working copy for https://github.com/space-code/atomic
Working copy of https://github.com/space-code/atomic resolved at 1.1.0
warning: 'atomic': /host/spi-builder-workspace/.build/checkouts/atomic/Package.swift:12:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
10 | .iOS(.v13),
11 | .watchOS(.v6),
12 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
13 | .visionOS(.v1),
14 | ],
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/26] Compiling Typhoon RetryIterator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:20:50: error: cannot find type 'DispatchTimeInterval' in scope
18 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
19 | /// ``constant(retry:duration:)`` with Swift's `Duration` type instead.
20 | case constant(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
21 |
22 | /// A retry strategy with a linearly increasing delay.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:30:48: error: cannot find type 'DispatchTimeInterval' in scope
28 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
29 | /// ``linear(retry:duration:)`` with Swift's `Duration` type instead.
30 | case linear(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
31 |
32 | /// A retry strategy with a Fibonacci-based delay progression.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:40:51: error: cannot find type 'DispatchTimeInterval' in scope
38 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
39 | /// ``fibonacci(retry:duration:)`` with Swift's `Duration` type instead.
40 | case fibonacci(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
41 |
42 | /// A retry strategy with exponential increase in duration between retries and added jitter.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:57:22: error: cannot find type 'DispatchTimeInterval' in scope
55 | retry: UInt,
56 | jitterFactor: Double = 0.1,
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
| `- error: cannot find type 'DispatchTimeInterval' in scope
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:59:27: error: cannot find type 'DispatchTimeInterval' in scope
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
60 | )
61 |
[7/26] Compiling Typhoon RetrySequence.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:20:50: error: cannot find type 'DispatchTimeInterval' in scope
18 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
19 | /// ``constant(retry:duration:)`` with Swift's `Duration` type instead.
20 | case constant(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
21 |
22 | /// A retry strategy with a linearly increasing delay.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:30:48: error: cannot find type 'DispatchTimeInterval' in scope
28 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
29 | /// ``linear(retry:duration:)`` with Swift's `Duration` type instead.
30 | case linear(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
31 |
32 | /// A retry strategy with a Fibonacci-based delay progression.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:40:51: error: cannot find type 'DispatchTimeInterval' in scope
38 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
39 | /// ``fibonacci(retry:duration:)`` with Swift's `Duration` type instead.
40 | case fibonacci(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
41 |
42 | /// A retry strategy with exponential increase in duration between retries and added jitter.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:57:22: error: cannot find type 'DispatchTimeInterval' in scope
55 | retry: UInt,
56 | jitterFactor: Double = 0.1,
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
| `- error: cannot find type 'DispatchTimeInterval' in scope
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:59:27: error: cannot find type 'DispatchTimeInterval' in scope
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
60 | )
61 |
[8/28] Compiling Typhoon ILogger.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/28] Compiling Typhoon RetryAction.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/28] Compiling Typhoon RetryPolicyError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/28] Compiling Typhoon ExponentialDelayStrategy.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:14:19: error: cannot find type 'DispatchTimeInterval' in scope
12 | ///
13 | /// This value acts as the base interval for exponential backoff.
14 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
15 |
16 | /// The exponential growth multiplier.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:32:22: error: cannot find type 'DispatchTimeInterval' in scope
30 | ///
31 | /// If specified, the computed delay will never exceed this value.
32 | let maxInterval: DispatchTimeInterval?
| `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 | // MARK: Initialization
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:37:19: error: cannot find type 'DispatchTimeInterval' in scope
35 |
36 | init(
37 | duration: DispatchTimeInterval,
| `- error: cannot find type 'DispatchTimeInterval' in scope
38 | multiplier: Double = 2.0,
39 | jitterFactor: Double = 0.1,
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:40:22: error: cannot find type 'DispatchTimeInterval' in scope
38 | multiplier: Double = 2.0,
39 | jitterFactor: Double = 0.1,
40 | maxInterval: DispatchTimeInterval? = .seconds(60)
| `- error: cannot find type 'DispatchTimeInterval' in scope
41 | ) {
42 | self.duration = duration
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:68:57: error: cannot convert value of type 'String' to expected argument type 'Double'
66 | let jitterRange = base * jitterFactor
67 | let jittered = Double.random(
68 | in: max(0, base - jitterRange) ... min(base + jitterRange, Double(maxDelayNanos))
| `- error: cannot convert value of type 'String' to expected argument type 'Double'
69 | )
70 |
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:68:29: error: cannot convert value of type 'Duration' to expected argument type 'Double'
66 | let jitterRange = base * jitterFactor
67 | let jittered = Double.random(
68 | in: max(0, base - jitterRange) ... min(base + jitterRange, Double(maxDelayNanos))
| `- error: cannot convert value of type 'Duration' to expected argument type 'Double'
69 | )
70 |
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/FibonacciDelayStrategy.swift:20:19: error: cannot find type 'DispatchTimeInterval' in scope
18 | /// Each retry multiplies this value by
19 | /// the corresponding Fibonacci number.
20 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
21 |
22 | // MARK: - IRetryDelayStrategy
[12/28] Compiling Typhoon FibonacciDelayStrategy.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:14:19: error: cannot find type 'DispatchTimeInterval' in scope
12 | ///
13 | /// This value acts as the base interval for exponential backoff.
14 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
15 |
16 | /// The exponential growth multiplier.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:32:22: error: cannot find type 'DispatchTimeInterval' in scope
30 | ///
31 | /// If specified, the computed delay will never exceed this value.
32 | let maxInterval: DispatchTimeInterval?
| `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 | // MARK: Initialization
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:37:19: error: cannot find type 'DispatchTimeInterval' in scope
35 |
36 | init(
37 | duration: DispatchTimeInterval,
| `- error: cannot find type 'DispatchTimeInterval' in scope
38 | multiplier: Double = 2.0,
39 | jitterFactor: Double = 0.1,
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:40:22: error: cannot find type 'DispatchTimeInterval' in scope
38 | multiplier: Double = 2.0,
39 | jitterFactor: Double = 0.1,
40 | maxInterval: DispatchTimeInterval? = .seconds(60)
| `- error: cannot find type 'DispatchTimeInterval' in scope
41 | ) {
42 | self.duration = duration
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:68:57: error: cannot convert value of type 'String' to expected argument type 'Double'
66 | let jitterRange = base * jitterFactor
67 | let jittered = Double.random(
68 | in: max(0, base - jitterRange) ... min(base + jitterRange, Double(maxDelayNanos))
| `- error: cannot convert value of type 'String' to expected argument type 'Double'
69 | )
70 |
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:68:29: error: cannot convert value of type 'Duration' to expected argument type 'Double'
66 | let jitterRange = base * jitterFactor
67 | let jittered = Double.random(
68 | in: max(0, base - jitterRange) ... min(base + jitterRange, Double(maxDelayNanos))
| `- error: cannot convert value of type 'Duration' to expected argument type 'Double'
69 | )
70 |
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/FibonacciDelayStrategy.swift:20:19: error: cannot find type 'DispatchTimeInterval' in scope
18 | /// Each retry multiplies this value by
19 | /// the corresponding Fibonacci number.
20 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
21 |
22 | // MARK: - IRetryDelayStrategy
[13/28] Compiling Typhoon ChainDelayStrategy.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ConstantDelayStrategy.swift:14:19: error: cannot find type 'DispatchTimeInterval' in scope
12 | ///
13 | /// This value does not change based on the retry index.
14 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
15 |
16 | // MARK: - IRetryDelayStrategy
[14/28] Compiling Typhoon ConstantDelayStrategy.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ConstantDelayStrategy.swift:14:19: error: cannot find type 'DispatchTimeInterval' in scope
12 | ///
13 | /// This value does not change based on the retry index.
14 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
15 |
16 | // MARK: - IRetryDelayStrategy
[15/28] Compiling Typhoon RetryPolicyService.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetryPolicyService/RetryPolicyService.swift:60:35: error: cannot find type 'DispatchTimeInterval' in scope
58 |
59 | /// Optional maximum total duration allowed for all retry attempts.
60 | private let maxTotalDuration: DispatchTimeInterval?
| `- error: cannot find type 'DispatchTimeInterval' in scope
61 |
62 | /// An optional logger used to record retry attempts and related events.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetryPolicyService/RetryPolicyService.swift:76:27: error: cannot find type 'DispatchTimeInterval' in scope
74 | public init(
75 | strategy: RetryPolicyStrategy,
76 | maxTotalDuration: DispatchTimeInterval? = nil,
| `- error: cannot find type 'DispatchTimeInterval' in scope
77 | logger: ILogger? = nil
78 | ) {
[16/28] Compiling Typhoon IRetryDelayStrategy.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetryPolicyService/RetryPolicyService.swift:60:35: error: cannot find type 'DispatchTimeInterval' in scope
58 |
59 | /// Optional maximum total duration allowed for all retry attempts.
60 | private let maxTotalDuration: DispatchTimeInterval?
| `- error: cannot find type 'DispatchTimeInterval' in scope
61 |
62 | /// An optional logger used to record retry attempts and related events.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetryPolicyService/RetryPolicyService.swift:76:27: error: cannot find type 'DispatchTimeInterval' in scope
74 | public init(
75 | strategy: RetryPolicyStrategy,
76 | maxTotalDuration: DispatchTimeInterval? = nil,
| `- error: cannot find type 'DispatchTimeInterval' in scope
77 | logger: ILogger? = nil
78 | ) {
[17/28] Compiling Typhoon RetryResult.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:20:50: error: cannot find type 'DispatchTimeInterval' in scope
18 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
19 | /// ``constant(retry:duration:)`` with Swift's `Duration` type instead.
20 | case constant(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
21 |
22 | /// A retry strategy with a linearly increasing delay.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:30:48: error: cannot find type 'DispatchTimeInterval' in scope
28 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
29 | /// ``linear(retry:duration:)`` with Swift's `Duration` type instead.
30 | case linear(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
31 |
32 | /// A retry strategy with a Fibonacci-based delay progression.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:40:51: error: cannot find type 'DispatchTimeInterval' in scope
38 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
39 | /// ``fibonacci(retry:duration:)`` with Swift's `Duration` type instead.
40 | case fibonacci(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
41 |
42 | /// A retry strategy with exponential increase in duration between retries and added jitter.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:57:22: error: cannot find type 'DispatchTimeInterval' in scope
55 | retry: UInt,
56 | jitterFactor: Double = 0.1,
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
| `- error: cannot find type 'DispatchTimeInterval' in scope
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:59:27: error: cannot find type 'DispatchTimeInterval' in scope
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
60 | )
61 |
[18/28] Compiling Typhoon IRetryPolicyService.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:20:50: error: cannot find type 'DispatchTimeInterval' in scope
18 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
19 | /// ``constant(retry:duration:)`` with Swift's `Duration` type instead.
20 | case constant(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
21 |
22 | /// A retry strategy with a linearly increasing delay.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:30:48: error: cannot find type 'DispatchTimeInterval' in scope
28 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
29 | /// ``linear(retry:duration:)`` with Swift's `Duration` type instead.
30 | case linear(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
31 |
32 | /// A retry strategy with a Fibonacci-based delay progression.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:40:51: error: cannot find type 'DispatchTimeInterval' in scope
38 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
39 | /// ``fibonacci(retry:duration:)`` with Swift's `Duration` type instead.
40 | case fibonacci(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
41 |
42 | /// A retry strategy with exponential increase in duration between retries and added jitter.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:57:22: error: cannot find type 'DispatchTimeInterval' in scope
55 | retry: UInt,
56 | jitterFactor: Double = 0.1,
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
| `- error: cannot find type 'DispatchTimeInterval' in scope
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:59:27: error: cannot find type 'DispatchTimeInterval' in scope
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
60 | )
61 |
[19/28] Emitting module Typhoon
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:8:11: error: cannot find type 'DispatchTimeInterval' in scope
6 | import Foundation
7 |
8 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
9 | /// Converts a `DispatchTimeInterval` value into nanoseconds represented as `UInt64`.
10 | ///
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetryPolicyService/RetryPolicyService.swift:60:35: error: cannot find type 'DispatchTimeInterval' in scope
58 |
59 | /// Optional maximum total duration allowed for all retry attempts.
60 | private let maxTotalDuration: DispatchTimeInterval?
| `- error: cannot find type 'DispatchTimeInterval' in scope
61 |
62 | /// An optional logger used to record retry attempts and related events.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetryPolicyService/RetryPolicyService.swift:76:27: error: cannot find type 'DispatchTimeInterval' in scope
74 | public init(
75 | strategy: RetryPolicyStrategy,
76 | maxTotalDuration: DispatchTimeInterval? = nil,
| `- error: cannot find type 'DispatchTimeInterval' in scope
77 | logger: ILogger? = nil
78 | ) {
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:20:50: error: cannot find type 'DispatchTimeInterval' in scope
18 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
19 | /// ``constant(retry:duration:)`` with Swift's `Duration` type instead.
20 | case constant(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
21 |
22 | /// A retry strategy with a linearly increasing delay.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:30:48: error: cannot find type 'DispatchTimeInterval' in scope
28 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
29 | /// ``linear(retry:duration:)`` with Swift's `Duration` type instead.
30 | case linear(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
31 |
32 | /// A retry strategy with a Fibonacci-based delay progression.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:40:51: error: cannot find type 'DispatchTimeInterval' in scope
38 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
39 | /// ``fibonacci(retry:duration:)`` with Swift's `Duration` type instead.
40 | case fibonacci(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
41 |
42 | /// A retry strategy with exponential increase in duration between retries and added jitter.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:57:22: error: cannot find type 'DispatchTimeInterval' in scope
55 | retry: UInt,
56 | jitterFactor: Double = 0.1,
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
| `- error: cannot find type 'DispatchTimeInterval' in scope
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:59:27: error: cannot find type 'DispatchTimeInterval' in scope
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
60 | )
61 |
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ConstantDelayStrategy.swift:14:19: error: cannot find type 'DispatchTimeInterval' in scope
12 | ///
13 | /// This value does not change based on the retry index.
14 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
15 |
16 | // MARK: - IRetryDelayStrategy
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:14:19: error: cannot find type 'DispatchTimeInterval' in scope
12 | ///
13 | /// This value acts as the base interval for exponential backoff.
14 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
15 |
16 | /// The exponential growth multiplier.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:32:22: error: cannot find type 'DispatchTimeInterval' in scope
30 | ///
31 | /// If specified, the computed delay will never exceed this value.
32 | let maxInterval: DispatchTimeInterval?
| `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 | // MARK: Initialization
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:37:19: error: cannot find type 'DispatchTimeInterval' in scope
35 |
36 | init(
37 | duration: DispatchTimeInterval,
| `- error: cannot find type 'DispatchTimeInterval' in scope
38 | multiplier: Double = 2.0,
39 | jitterFactor: Double = 0.1,
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:40:22: error: cannot find type 'DispatchTimeInterval' in scope
38 | multiplier: Double = 2.0,
39 | jitterFactor: Double = 0.1,
40 | maxInterval: DispatchTimeInterval? = .seconds(60)
| `- error: cannot find type 'DispatchTimeInterval' in scope
41 | ) {
42 | self.duration = duration
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/FibonacciDelayStrategy.swift:20:19: error: cannot find type 'DispatchTimeInterval' in scope
18 | /// Each retry multiplies this value by
19 | /// the corresponding Fibonacci number.
20 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
21 |
22 | // MARK: - IRetryDelayStrategy
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/LinearDelayStrategy.swift:17:19: error: cannot find type 'DispatchTimeInterval' in scope
15 |
16 | /// The base delay interval.
17 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
18 |
19 | // MARK: IRetryDelayStrategy
[20/28] Compiling Typhoon DispatchTimeInterval+Double.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:8:11: error: cannot find type 'DispatchTimeInterval' in scope
6 | import Foundation
7 |
8 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
9 | /// Converts a `DispatchTimeInterval` value into nanoseconds represented as `UInt64`.
10 | ///
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:31:47: error: cannot find type 'DispatchTimeInterval' in scope
29 |
30 | @available(iOS 16, macOS 13, tvOS 16, watchOS 9, *)
31 | static func from(_ duration: Duration) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
32 | let seconds = duration.components.seconds
33 | let nanos = duration.components.attoseconds / 1_000_000_000
[21/28] Compiling Typhoon Logger+ILogger.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:8:11: error: cannot find type 'DispatchTimeInterval' in scope
6 | import Foundation
7 |
8 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
9 | /// Converts a `DispatchTimeInterval` value into nanoseconds represented as `UInt64`.
10 | ///
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:31:47: error: cannot find type 'DispatchTimeInterval' in scope
29 |
30 | @available(iOS 16, macOS 13, tvOS 16, watchOS 9, *)
31 | static func from(_ duration: Duration) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
32 | let seconds = duration.components.seconds
33 | let nanos = duration.components.attoseconds / 1_000_000_000
[22/28] Compiling Typhoon URLSession+RetryPolicy.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:8:11: error: cannot find type 'DispatchTimeInterval' in scope
6 | import Foundation
7 |
8 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
9 | /// Converts a `DispatchTimeInterval` value into nanoseconds represented as `UInt64`.
10 | ///
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:31:47: error: cannot find type 'DispatchTimeInterval' in scope
29 |
30 | @available(iOS 16, macOS 13, tvOS 16, watchOS 9, *)
31 | static func from(_ duration: Duration) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
32 | let seconds = duration.components.seconds
33 | let nanos = duration.components.attoseconds / 1_000_000_000
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/28] Compiling Atomic ILock.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/28] Emitting module Atomic
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:15:29: error: cannot find type 'os_unfair_lock_t' in scope
13 |
14 | /// The underlying `os_unfair_lock` used for synchronization.
15 | private let unfairLock: os_unfair_lock_t
| `- error: cannot find type 'os_unfair_lock_t' in scope
16 |
17 | // MARK: Initialization
[25/28] Compiling Atomic Atomic.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:15:29: error: cannot find type 'os_unfair_lock_t' in scope
13 |
14 | /// The underlying `os_unfair_lock` used for synchronization.
15 | private let unfairLock: os_unfair_lock_t
| `- error: cannot find type 'os_unfair_lock_t' in scope
16 |
17 | // MARK: Initialization
[26/28] Compiling Atomic UnfairLock.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:15:29: error: cannot find type 'os_unfair_lock_t' in scope
13 |
14 | /// The underlying `os_unfair_lock` used for synchronization.
15 | private let unfairLock: os_unfair_lock_t
| `- error: cannot find type 'os_unfair_lock_t' in scope
16 |
17 | // MARK: Initialization
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:21:23: error: cannot infer contextual base in reference to member 'allocate'
19 | /// Initializes an UnfairLock instance.
20 | init() {
21 | unfairLock = .allocate(capacity: 1)
| `- error: cannot infer contextual base in reference to member 'allocate'
22 | unfairLock.initialize(to: os_unfair_lock())
23 | }
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:22:35: error: cannot find 'os_unfair_lock' in scope
20 | init() {
21 | unfairLock = .allocate(capacity: 1)
22 | unfairLock.initialize(to: os_unfair_lock())
| `- error: cannot find 'os_unfair_lock' in scope
23 | }
24 |
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:35:9: error: cannot find 'os_unfair_lock_lock' in scope
33 | extension UnfairLock: ILock {
34 | func lock() {
35 | os_unfair_lock_lock(unfairLock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
36 | }
37 |
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:39:9: error: cannot find 'os_unfair_lock_unlock' in scope
37 |
38 | func unlock() {
39 | os_unfair_lock_unlock(unfairLock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
40 | }
41 | }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:46373e069458549b0fb0727bf4d0f0bb9d8a18a2e211e19b57193bdf60e4b3d5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'atomic': /host/spi-builder-workspace/.build/checkouts/atomic/Package.swift:12:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
10 | .iOS(.v13),
11 | .watchOS(.v6),
12 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
13 | .visionOS(.v1),
14 | ],
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling Typhoon ChainDelayStrategy.swift
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ConstantDelayStrategy.swift:14:19: error: cannot find type 'DispatchTimeInterval' in scope
12 | ///
13 | /// This value does not change based on the retry index.
14 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
15 |
16 | // MARK: - IRetryDelayStrategy
[3/22] Compiling Typhoon ConstantDelayStrategy.swift
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ConstantDelayStrategy.swift:14:19: error: cannot find type 'DispatchTimeInterval' in scope
12 | ///
13 | /// This value does not change based on the retry index.
14 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
15 |
16 | // MARK: - IRetryDelayStrategy
[4/24] Compiling Atomic UnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:15:29: error: cannot find type 'os_unfair_lock_t' in scope
13 |
14 | /// The underlying `os_unfair_lock` used for synchronization.
15 | private let unfairLock: os_unfair_lock_t
| `- error: cannot find type 'os_unfair_lock_t' in scope
16 |
17 | // MARK: Initialization
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:21:23: error: cannot infer contextual base in reference to member 'allocate'
19 | /// Initializes an UnfairLock instance.
20 | init() {
21 | unfairLock = .allocate(capacity: 1)
| `- error: cannot infer contextual base in reference to member 'allocate'
22 | unfairLock.initialize(to: os_unfair_lock())
23 | }
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:22:35: error: cannot find 'os_unfair_lock' in scope
20 | init() {
21 | unfairLock = .allocate(capacity: 1)
22 | unfairLock.initialize(to: os_unfair_lock())
| `- error: cannot find 'os_unfair_lock' in scope
23 | }
24 |
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:35:9: error: cannot find 'os_unfair_lock_lock' in scope
33 | extension UnfairLock: ILock {
34 | func lock() {
35 | os_unfair_lock_lock(unfairLock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
36 | }
37 |
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:39:9: error: cannot find 'os_unfair_lock_unlock' in scope
37 |
38 | func unlock() {
39 | os_unfair_lock_unlock(unfairLock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
40 | }
41 | }
[5/24] Compiling Atomic ILock.swift
[6/24] Compiling Typhoon DispatchTimeInterval+Double.swift
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:8:11: error: cannot find type 'DispatchTimeInterval' in scope
6 | import Foundation
7 |
8 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
9 | /// Converts a `DispatchTimeInterval` value into nanoseconds represented as `UInt64`.
10 | ///
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:31:47: error: cannot find type 'DispatchTimeInterval' in scope
29 |
30 | @available(iOS 16, macOS 13, tvOS 16, watchOS 9, *)
31 | static func from(_ duration: Duration) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
32 | let seconds = duration.components.seconds
33 | let nanos = duration.components.attoseconds / 1_000_000_000
[7/24] Compiling Typhoon Logger+ILogger.swift
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:8:11: error: cannot find type 'DispatchTimeInterval' in scope
6 | import Foundation
7 |
8 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
9 | /// Converts a `DispatchTimeInterval` value into nanoseconds represented as `UInt64`.
10 | ///
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:31:47: error: cannot find type 'DispatchTimeInterval' in scope
29 |
30 | @available(iOS 16, macOS 13, tvOS 16, watchOS 9, *)
31 | static func from(_ duration: Duration) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
32 | let seconds = duration.components.seconds
33 | let nanos = duration.components.attoseconds / 1_000_000_000
[8/24] Compiling Typhoon URLSession+RetryPolicy.swift
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:8:11: error: cannot find type 'DispatchTimeInterval' in scope
6 | import Foundation
7 |
8 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
9 | /// Converts a `DispatchTimeInterval` value into nanoseconds represented as `UInt64`.
10 | ///
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:31:47: error: cannot find type 'DispatchTimeInterval' in scope
29 |
30 | @available(iOS 16, macOS 13, tvOS 16, watchOS 9, *)
31 | static func from(_ duration: Duration) -> DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
32 | let seconds = duration.components.seconds
33 | let nanos = duration.components.attoseconds / 1_000_000_000
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/24] Emitting module Typhoon
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Extensions/DispatchTimeInterval+Double.swift:8:11: error: cannot find type 'DispatchTimeInterval' in scope
6 | import Foundation
7 |
8 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
9 | /// Converts a `DispatchTimeInterval` value into nanoseconds represented as `UInt64`.
10 | ///
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetryPolicyService/RetryPolicyService.swift:60:35: error: cannot find type 'DispatchTimeInterval' in scope
58 |
59 | /// Optional maximum total duration allowed for all retry attempts.
60 | private let maxTotalDuration: DispatchTimeInterval?
| `- error: cannot find type 'DispatchTimeInterval' in scope
61 |
62 | /// An optional logger used to record retry attempts and related events.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetryPolicyService/RetryPolicyService.swift:76:27: error: cannot find type 'DispatchTimeInterval' in scope
74 | public init(
75 | strategy: RetryPolicyStrategy,
76 | maxTotalDuration: DispatchTimeInterval? = nil,
| `- error: cannot find type 'DispatchTimeInterval' in scope
77 | logger: ILogger? = nil
78 | ) {
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:20:50: error: cannot find type 'DispatchTimeInterval' in scope
18 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
19 | /// ``constant(retry:duration:)`` with Swift's `Duration` type instead.
20 | case constant(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
21 |
22 | /// A retry strategy with a linearly increasing delay.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:30:48: error: cannot find type 'DispatchTimeInterval' in scope
28 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
29 | /// ``linear(retry:duration:)`` with Swift's `Duration` type instead.
30 | case linear(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
31 |
32 | /// A retry strategy with a Fibonacci-based delay progression.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:40:51: error: cannot find type 'DispatchTimeInterval' in scope
38 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
39 | /// ``fibonacci(retry:duration:)`` with Swift's `Duration` type instead.
40 | case fibonacci(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
41 |
42 | /// A retry strategy with exponential increase in duration between retries and added jitter.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:57:22: error: cannot find type 'DispatchTimeInterval' in scope
55 | retry: UInt,
56 | jitterFactor: Double = 0.1,
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
| `- error: cannot find type 'DispatchTimeInterval' in scope
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:59:27: error: cannot find type 'DispatchTimeInterval' in scope
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
60 | )
61 |
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ConstantDelayStrategy.swift:14:19: error: cannot find type 'DispatchTimeInterval' in scope
12 | ///
13 | /// This value does not change based on the retry index.
14 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
15 |
16 | // MARK: - IRetryDelayStrategy
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:14:19: error: cannot find type 'DispatchTimeInterval' in scope
12 | ///
13 | /// This value acts as the base interval for exponential backoff.
14 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
15 |
16 | /// The exponential growth multiplier.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:32:22: error: cannot find type 'DispatchTimeInterval' in scope
30 | ///
31 | /// If specified, the computed delay will never exceed this value.
32 | let maxInterval: DispatchTimeInterval?
| `- error: cannot find type 'DispatchTimeInterval' in scope
33 |
34 | // MARK: Initialization
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:37:19: error: cannot find type 'DispatchTimeInterval' in scope
35 |
36 | init(
37 | duration: DispatchTimeInterval,
| `- error: cannot find type 'DispatchTimeInterval' in scope
38 | multiplier: Double = 2.0,
39 | jitterFactor: Double = 0.1,
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/ExponentialDelayStrategy.swift:40:22: error: cannot find type 'DispatchTimeInterval' in scope
38 | multiplier: Double = 2.0,
39 | jitterFactor: Double = 0.1,
40 | maxInterval: DispatchTimeInterval? = .seconds(60)
| `- error: cannot find type 'DispatchTimeInterval' in scope
41 | ) {
42 | self.duration = duration
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/FibonacciDelayStrategy.swift:20:19: error: cannot find type 'DispatchTimeInterval' in scope
18 | /// Each retry multiplies this value by
19 | /// the corresponding Fibonacci number.
20 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
21 |
22 | // MARK: - IRetryDelayStrategy
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetrySequence/Strategies/LinearDelayStrategy.swift:17:19: error: cannot find type 'DispatchTimeInterval' in scope
15 |
16 | /// The base delay interval.
17 | let duration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
18 |
19 | // MARK: IRetryDelayStrategy
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/24] Compiling Atomic Atomic.swift
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:15:29: error: cannot find type 'os_unfair_lock_t' in scope
13 |
14 | /// The underlying `os_unfair_lock` used for synchronization.
15 | private let unfairLock: os_unfair_lock_t
| `- error: cannot find type 'os_unfair_lock_t' in scope
16 |
17 | // MARK: Initialization
[11/24] Emitting module Atomic
/host/spi-builder-workspace/.build/checkouts/atomic/Sources/Atomic/Classes/Helpers/Lock/UnfairLock.swift:15:29: error: cannot find type 'os_unfair_lock_t' in scope
13 |
14 | /// The underlying `os_unfair_lock` used for synchronization.
15 | private let unfairLock: os_unfair_lock_t
| `- error: cannot find type 'os_unfair_lock_t' in scope
16 |
17 | // MARK: Initialization
[12/24] Compiling Typhoon RetryResult.swift
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:20:50: error: cannot find type 'DispatchTimeInterval' in scope
18 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
19 | /// ``constant(retry:duration:)`` with Swift's `Duration` type instead.
20 | case constant(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
21 |
22 | /// A retry strategy with a linearly increasing delay.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:30:48: error: cannot find type 'DispatchTimeInterval' in scope
28 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
29 | /// ``linear(retry:duration:)`` with Swift's `Duration` type instead.
30 | case linear(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
31 |
32 | /// A retry strategy with a Fibonacci-based delay progression.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:40:51: error: cannot find type 'DispatchTimeInterval' in scope
38 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
39 | /// ``fibonacci(retry:duration:)`` with Swift's `Duration` type instead.
40 | case fibonacci(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
41 |
42 | /// A retry strategy with exponential increase in duration between retries and added jitter.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:57:22: error: cannot find type 'DispatchTimeInterval' in scope
55 | retry: UInt,
56 | jitterFactor: Double = 0.1,
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
| `- error: cannot find type 'DispatchTimeInterval' in scope
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:59:27: error: cannot find type 'DispatchTimeInterval' in scope
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
60 | )
61 |
[13/24] Compiling Typhoon IRetryPolicyService.swift
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:20:50: error: cannot find type 'DispatchTimeInterval' in scope
18 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
19 | /// ``constant(retry:duration:)`` with Swift's `Duration` type instead.
20 | case constant(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
21 |
22 | /// A retry strategy with a linearly increasing delay.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:30:48: error: cannot find type 'DispatchTimeInterval' in scope
28 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
29 | /// ``linear(retry:duration:)`` with Swift's `Duration` type instead.
30 | case linear(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
31 |
32 | /// A retry strategy with a Fibonacci-based delay progression.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:40:51: error: cannot find type 'DispatchTimeInterval' in scope
38 | /// - Note: On iOS 16+, macOS 13+, tvOS 16+, watchOS 9+, prefer using
39 | /// ``fibonacci(retry:duration:)`` with Swift's `Duration` type instead.
40 | case fibonacci(retry: UInt, dispatchDuration: DispatchTimeInterval)
| `- error: cannot find type 'DispatchTimeInterval' in scope
41 |
42 | /// A retry strategy with exponential increase in duration between retries and added jitter.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:57:22: error: cannot find type 'DispatchTimeInterval' in scope
55 | retry: UInt,
56 | jitterFactor: Double = 0.1,
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
| `- error: cannot find type 'DispatchTimeInterval' in scope
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/Strategy/RetryPolicyStrategy.swift:59:27: error: cannot find type 'DispatchTimeInterval' in scope
57 | maxInterval: DispatchTimeInterval? = .seconds(60),
58 | multiplier: Double = 2,
59 | dispatchDuration: DispatchTimeInterval
| `- error: cannot find type 'DispatchTimeInterval' in scope
60 | )
61 |
[14/24] Compiling Typhoon RetryPolicyService.swift
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetryPolicyService/RetryPolicyService.swift:60:35: error: cannot find type 'DispatchTimeInterval' in scope
58 |
59 | /// Optional maximum total duration allowed for all retry attempts.
60 | private let maxTotalDuration: DispatchTimeInterval?
| `- error: cannot find type 'DispatchTimeInterval' in scope
61 |
62 | /// An optional logger used to record retry attempts and related events.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetryPolicyService/RetryPolicyService.swift:76:27: error: cannot find type 'DispatchTimeInterval' in scope
74 | public init(
75 | strategy: RetryPolicyStrategy,
76 | maxTotalDuration: DispatchTimeInterval? = nil,
| `- error: cannot find type 'DispatchTimeInterval' in scope
77 | logger: ILogger? = nil
78 | ) {
[15/24] Compiling Typhoon IRetryDelayStrategy.swift
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetryPolicyService/RetryPolicyService.swift:60:35: error: cannot find type 'DispatchTimeInterval' in scope
58 |
59 | /// Optional maximum total duration allowed for all retry attempts.
60 | private let maxTotalDuration: DispatchTimeInterval?
| `- error: cannot find type 'DispatchTimeInterval' in scope
61 |
62 | /// An optional logger used to record retry attempts and related events.
/host/spi-builder-workspace/.build/checkouts/typhoon/Sources/Typhoon/Classes/RetryPolicyService/RetryPolicyService.swift:76:27: error: cannot find type 'DispatchTimeInterval' in scope
74 | public init(
75 | strategy: RetryPolicyStrategy,
76 | maxTotalDuration: DispatchTimeInterval? = nil,
| `- error: cannot find type 'DispatchTimeInterval' in scope
77 | logger: ILogger? = nil
78 | ) {
BUILD FAILURE 6.1 wasm