The Swift Package Index logo.Swift Package Index

Build Information

Failed to build openai-async-image-swiftui, reference main (cb9ace), with Swift 6.3 for Wasm on 16 Apr 2026 18:06:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftuiux/openai-async-image-swiftui.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/swiftuiux/openai-async-image-swiftui
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cb9ace5 Update Package.resolved
Cloned https://github.com/swiftuiux/openai-async-image-swiftui.git
Revision (git rev-parse @):
cb9ace51bedae632d78d0bdf15a669be3bbc0da0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftuiux/openai-async-image-swiftui.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/swiftuiux/openai-async-image-swiftui.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftuiux/async-task.git
[1/411] Fetching async-task
Fetched https://github.com/swiftuiux/async-task.git from cache (0.47s)
Fetching https://github.com/swiftuiux/async-http-client.git
[1/904] Fetching async-http-client
Fetched https://github.com/swiftuiux/async-http-client.git from cache (0.54s)
Computing version for https://github.com/swiftuiux/async-http-client.git
Computed https://github.com/swiftuiux/async-http-client.git at 1.5.0 (1.42s)
Fetching https://github.com/swiftuiux/retry-policy-service.git
[1/101] Fetching retry-policy-service
Fetched https://github.com/swiftuiux/retry-policy-service.git from cache (0.69s)
Computing version for https://github.com/swiftuiux/retry-policy-service.git
Computed https://github.com/swiftuiux/retry-policy-service.git at 1.0.1 (1.56s)
Creating working copy for https://github.com/swiftuiux/retry-policy-service.git
Working copy of https://github.com/swiftuiux/retry-policy-service.git resolved at 1.0.1
Creating working copy for https://github.com/swiftuiux/async-task.git
Working copy of https://github.com/swiftuiux/async-task.git resolved at main (fa9543e)
Creating working copy for https://github.com/swiftuiux/async-http-client.git
Working copy of https://github.com/swiftuiux/async-http-client.git resolved at 1.5.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/17] Compiling async_task Type.swift
/host/spi-builder-workspace/.build/checkouts/async-task/Sources/async-task/task/ObservableSingleTask.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | #if compiler(>=5.9) && canImport(Observation)
[7/17] Compiling async_task SingleTask.swift
/host/spi-builder-workspace/.build/checkouts/async-task/Sources/async-task/task/ObservableSingleTask.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | #if compiler(>=5.9) && canImport(Observation)
[8/17] Compiling async_task ObservableSingleTask.swift
/host/spi-builder-workspace/.build/checkouts/async-task/Sources/async-task/task/ObservableSingleTask.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | #if compiler(>=5.9) && canImport(Observation)
[9/17] Compiling async_task TaskProperty.swift
/host/spi-builder-workspace/.build/checkouts/async-task/Sources/async-task/task/ObservableSingleTask.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | #if compiler(>=5.9) && canImport(Observation)
[10/17] Compiling async_task State.swift
/host/spi-builder-workspace/.build/checkouts/async-task/Sources/async-task/task/ObservableSingleTask.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | #if compiler(>=5.9) && canImport(Observation)
[11/17] Compiling retry_policy_service DispatchTimeInterval.swift
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/ext/DispatchTimeInterval.swift:13:11: error: cannot find type 'DispatchTimeInterval' in scope
11 |
12 | // DispatchTimeInterval Extension for toDouble method
13 | extension DispatchTimeInterval {
   |           `- error: cannot find type 'DispatchTimeInterval' in scope
14 |
15 |     /// Convert to Double
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/ext/DispatchTimeInterval.swift:35:11: error: cannot find type 'DispatchTimeInterval' in scope
33 | }
34 |
35 | extension DispatchTimeInterval {
   |           `- error: cannot find type 'DispatchTimeInterval' in scope
36 |     func toDispatchTimeInterval() -> DispatchTimeInterval {
37 |         switch self {
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/ext/DispatchTimeInterval.swift:36:38: error: cannot find type 'DispatchTimeInterval' in scope
34 |
35 | extension DispatchTimeInterval {
36 |     func toDispatchTimeInterval() -> DispatchTimeInterval {
   |                                      `- error: cannot find type 'DispatchTimeInterval' in scope
37 |         switch self {
38 |         case .seconds(let value):
[12/17] Compiling async_task Async.swift
/host/spi-builder-workspace/.build/checkouts/async-task/Sources/async-task/task/ObservableSingleTask.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | #if compiler(>=5.9) && canImport(Observation)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/17] Emitting module async_task
/host/spi-builder-workspace/.build/checkouts/async-task/Sources/async-task/task/ObservableSingleTask.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | #if compiler(>=5.9) && canImport(Observation)
[14/17] Compiling retry_policy_service RetryService.swift
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:27:23: error: cannot find type 'DispatchTimeInterval' in scope
25 |             retry: UInt = 3,
26 |             multiplier: Double = 2.0,
27 |             duration: DispatchTimeInterval = .seconds(2),
   |                       `- error: cannot find type 'DispatchTimeInterval' in scope
28 |             timeout: DispatchTimeInterval = .seconds(Int.max)
29 |         )
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:28:22: error: cannot find type 'DispatchTimeInterval' in scope
26 |             multiplier: Double = 2.0,
27 |             duration: DispatchTimeInterval = .seconds(2),
28 |             timeout: DispatchTimeInterval = .seconds(Int.max)
   |                      `- error: cannot find type 'DispatchTimeInterval' in scope
29 |         )
30 |
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/RetryService.swift:42:30: error: cannot find type 'DispatchTime' in scope
40 |
41 |         /// A time after which stop producing sequence
42 |         public let deadline: DispatchTime
   |                              `- error: cannot find type 'DispatchTime' in scope
43 |
44 |         /// - Parameter service: Retry service ``RetryService``
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:19:23: error: cannot find type 'DispatchTimeInterval' in scope
17 |         case constant(
18 |             retry: UInt = 5,
19 |             duration: DispatchTimeInterval = .seconds(2),
   |                       `- error: cannot find type 'DispatchTimeInterval' in scope
20 |             timeout: DispatchTimeInterval = .seconds(Int.max)
21 |         )
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:20:22: error: cannot find type 'DispatchTimeInterval' in scope
18 |             retry: UInt = 5,
19 |             duration: DispatchTimeInterval = .seconds(2),
20 |             timeout: DispatchTimeInterval = .seconds(Int.max)
   |                      `- error: cannot find type 'DispatchTimeInterval' in scope
21 |         )
22 |
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:48:22: error: cannot find type 'DispatchTimeInterval' in scope
46 |
47 |         /// Max time before stop iterating
48 |         var timeout: DispatchTimeInterval {
   |                      `- error: cannot find type 'DispatchTimeInterval' in scope
49 |             switch self {
50 |             case .constant(_, _, let timeout): return timeout
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/RetryService.swift:56:28: error: '_' can only appear in a pattern or on the left side of an assignment
54 |
55 |             switch strategy {
56 |             case .constant(_, let duration, _):
   |                            `- error: '_' can only appear in a pattern or on the left side of an assignment
57 |                 if let value = duration.toDouble() {
58 |                     let delay = value * 1e+9
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/RetryService.swift:73:32: error: reference to member 'now' cannot be resolved without a contextual type
71 |         /// Validate current iteration
72 |         var isValid: Bool {
73 |             guard deadline >= .now() else { return false }
   |                                `- error: reference to member 'now' cannot be resolved without a contextual type
74 |             let max = strategy.maximumRetries
75 |             guard max > retries && max != 0 else { return false }
[15/17] Compiling retry_policy_service Strategy.swift
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:19:23: error: cannot find type 'DispatchTimeInterval' in scope
17 |         case constant(
18 |             retry: UInt = 5,
19 |             duration: DispatchTimeInterval = .seconds(2),
   |                       `- error: cannot find type 'DispatchTimeInterval' in scope
20 |             timeout: DispatchTimeInterval = .seconds(Int.max)
21 |         )
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:20:22: error: cannot find type 'DispatchTimeInterval' in scope
18 |             retry: UInt = 5,
19 |             duration: DispatchTimeInterval = .seconds(2),
20 |             timeout: DispatchTimeInterval = .seconds(Int.max)
   |                      `- error: cannot find type 'DispatchTimeInterval' in scope
21 |         )
22 |
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:27:23: error: cannot find type 'DispatchTimeInterval' in scope
25 |             retry: UInt = 3,
26 |             multiplier: Double = 2.0,
27 |             duration: DispatchTimeInterval = .seconds(2),
   |                       `- error: cannot find type 'DispatchTimeInterval' in scope
28 |             timeout: DispatchTimeInterval = .seconds(Int.max)
29 |         )
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:28:22: error: cannot find type 'DispatchTimeInterval' in scope
26 |             multiplier: Double = 2.0,
27 |             duration: DispatchTimeInterval = .seconds(2),
28 |             timeout: DispatchTimeInterval = .seconds(Int.max)
   |                      `- error: cannot find type 'DispatchTimeInterval' in scope
29 |         )
30 |
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:40:23: error: cannot find type 'DispatchTimeInterval' in scope
38 |
39 |         /// Duration between retries
40 |         var duration: DispatchTimeInterval {
   |                       `- error: cannot find type 'DispatchTimeInterval' in scope
41 |             switch self {
42 |             case .constant(_, let duration, _): return duration
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:48:22: error: cannot find type 'DispatchTimeInterval' in scope
46 |
47 |         /// Max time before stop iterating
48 |         var timeout: DispatchTimeInterval {
   |                      `- error: cannot find type 'DispatchTimeInterval' in scope
49 |             switch self {
50 |             case .constant(_, _, let timeout): return timeout
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/17] Emitting module retry_policy_service
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:27:23: error: cannot find type 'DispatchTimeInterval' in scope
25 |             retry: UInt = 3,
26 |             multiplier: Double = 2.0,
27 |             duration: DispatchTimeInterval = .seconds(2),
   |                       `- error: cannot find type 'DispatchTimeInterval' in scope
28 |             timeout: DispatchTimeInterval = .seconds(Int.max)
29 |         )
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:28:22: error: cannot find type 'DispatchTimeInterval' in scope
26 |             multiplier: Double = 2.0,
27 |             duration: DispatchTimeInterval = .seconds(2),
28 |             timeout: DispatchTimeInterval = .seconds(Int.max)
   |                      `- error: cannot find type 'DispatchTimeInterval' in scope
29 |         )
30 |
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/RetryService.swift:42:30: error: cannot find type 'DispatchTime' in scope
40 |
41 |         /// A time after which stop producing sequence
42 |         public let deadline: DispatchTime
   |                              `- error: cannot find type 'DispatchTime' in scope
43 |
44 |         /// - Parameter service: Retry service ``RetryService``
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:19:23: error: cannot find type 'DispatchTimeInterval' in scope
17 |         case constant(
18 |             retry: UInt = 5,
19 |             duration: DispatchTimeInterval = .seconds(2),
   |                       `- error: cannot find type 'DispatchTimeInterval' in scope
20 |             timeout: DispatchTimeInterval = .seconds(Int.max)
21 |         )
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:20:22: error: cannot find type 'DispatchTimeInterval' in scope
18 |             retry: UInt = 5,
19 |             duration: DispatchTimeInterval = .seconds(2),
20 |             timeout: DispatchTimeInterval = .seconds(Int.max)
   |                      `- error: cannot find type 'DispatchTimeInterval' in scope
21 |         )
22 |
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:40:23: error: cannot find type 'DispatchTimeInterval' in scope
38 |
39 |         /// Duration between retries
40 |         var duration: DispatchTimeInterval {
   |                       `- error: cannot find type 'DispatchTimeInterval' in scope
41 |             switch self {
42 |             case .constant(_, let duration, _): return duration
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/Strategy.swift:48:22: error: cannot find type 'DispatchTimeInterval' in scope
46 |
47 |         /// Max time before stop iterating
48 |         var timeout: DispatchTimeInterval {
   |                      `- error: cannot find type 'DispatchTimeInterval' in scope
49 |             switch self {
50 |             case .constant(_, _, let timeout): return timeout
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/ext/DispatchTimeInterval.swift:13:11: error: cannot find type 'DispatchTimeInterval' in scope
11 |
12 | // DispatchTimeInterval Extension for toDouble method
13 | extension DispatchTimeInterval {
   |           `- error: cannot find type 'DispatchTimeInterval' in scope
14 |
15 |     /// Convert to Double
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/ext/DispatchTimeInterval.swift:35:11: error: cannot find type 'DispatchTimeInterval' in scope
33 | }
34 |
35 | extension DispatchTimeInterval {
   |           `- error: cannot find type 'DispatchTimeInterval' in scope
36 |     func toDispatchTimeInterval() -> DispatchTimeInterval {
37 |         switch self {
[17/17] Compiling async_task IAsyncTask.swift
/host/spi-builder-workspace/.build/checkouts/async-task/Sources/async-task/task/ObservableSingleTask.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | #if compiler(>=5.9) && canImport(Observation)
BUILD FAILURE 6.3 wasm