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 main (89a9bc), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 16:18:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 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 89a9bc3 Update README.md
Cloned https://github.com/swiftuiux/openai-async-image-swiftui.git
Revision (git rev-parse @):
89a9bc357f1a0f634ac453edafb982bfcf90dfce
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.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-4606859-2":/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/397] Fetching async-task
[398/1301] Fetching async-task, async-http-client
Fetched https://github.com/swiftuiux/async-task.git from cache (0.47s)
Fetched https://github.com/swiftuiux/async-http-client.git from cache (0.47s)
Computing version for https://github.com/swiftuiux/async-task.git
Computed https://github.com/swiftuiux/async-task.git at 1.2.5 (1.10s)
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.61s)
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.26s)
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.91s)
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
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/retry-policy-service.git
Working copy of https://github.com/swiftuiux/retry-policy-service.git resolved at 1.0.1
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/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.
[8/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.
[9/17] Compiling async_task SingleTask.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.
[10/17] Compiling async_task Type.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.
[11/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 |
[12/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 |
[13/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 |
[14/17] Compiling async_task State.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.
[15/17] Compiling async_task TaskProperty.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.
[16/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.
[17/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.
BUILD FAILURE 6.2 wasm