The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build openai-async-image-swiftui, reference 1.2.3 (5cec6b), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 16:19:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftuiux/openai-async-image-swiftui.git
Reference: 1.2.3
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
 * tag               1.2.3      -> FETCH_HEAD
HEAD is now at 5cec6b9 update
Cloned https://github.com/swiftuiux/openai-async-image-swiftui.git
Revision (git rev-parse @):
5cec6b959315a1cbe760927c5ac03e279e19bed9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftuiux/openai-async-image-swiftui.git at 1.2.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
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-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftuiux/async-http-client.git
Fetching https://github.com/swiftuiux/async-task.git
[1/904] Fetching async-http-client
[246/1301] Fetching async-http-client, async-task
Fetched https://github.com/swiftuiux/async-task.git from cache (0.27s)
Fetched https://github.com/swiftuiux/async-http-client.git from cache (0.27s)
Computing version for https://github.com/swiftuiux/async-task.git
Computed https://github.com/swiftuiux/async-task.git at 1.2.5 (0.70s)
Computing version for https://github.com/swiftuiux/async-http-client.git
Computed https://github.com/swiftuiux/async-http-client.git at 1.5.0 (0.41s)
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.24s)
Computing version for https://github.com/swiftuiux/retry-policy-service.git
Computed https://github.com/swiftuiux/retry-policy-service.git at 1.0.1 (0.68s)
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 1.2.5
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 retry_policy_service RetryService.swift
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/RetryService.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/17] Emitting module retry_policy_service
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/RetryService.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[8/17] Compiling retry_policy_service DispatchTimeInterval.swift
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/RetryService.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/17] Emitting module async_task
/host/spi-builder-workspace/.build/checkouts/async-task/Sources/async-task/Async.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A namespace for organizing type aliases and types related to asynchronous operations.
[10/17] Compiling retry_policy_service Strategy.swift
/host/spi-builder-workspace/.build/checkouts/retry-policy-service/Sources/retry-policy-service/RetryService.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[11/17] Compiling async_task ObservableSingleTask.swift
/host/spi-builder-workspace/.build/checkouts/async-task/Sources/async-task/Async.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A namespace for organizing type aliases and types related to asynchronous operations.
[12/17] Compiling async_task Async.swift
/host/spi-builder-workspace/.build/checkouts/async-task/Sources/async-task/Async.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A namespace for organizing type aliases and types related to asynchronous operations.
[13/17] Compiling async_task IAsyncTask.swift
/host/spi-builder-workspace/.build/checkouts/async-task/Sources/async-task/Async.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A namespace for organizing type aliases and types related to asynchronous operations.
/host/spi-builder-workspace/.build/checkouts/async-task/Sources/async-task/Async.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A namespace for organizing type aliases and types related to asynchronous operations.
BUILD FAILURE 6.2 wasm