Build Information
Failed to build cloudflare-swift, reference main (da1e01), with Swift 6.2 for Wasm on 28 Oct 2025 02:09:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zunda-pixel/cloudflare-swift.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/zunda-pixel/cloudflare-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at da1e012 Bump github.com/apple/swift-http-types from 1.5.0 to 1.5.1 (#42)
Cloned https://github.com/zunda-pixel/cloudflare-swift.git
Revision (git rev-parse @):
da1e0129edca72a8e797cdc61a392e0d80c79a85
SUCCESS checkout https://github.com/zunda-pixel/cloudflare-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/zunda-pixel/cloudflare-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
e6fdc8487bfe: Already exists
ba82835be630: Already exists
0b92c96fac7b: Already exists
f0e7151ab008: Already exists
aed73a869cc2: Pulling fs layer
55df2de18312: Pulling fs layer
aed73a869cc2: Verifying Checksum
aed73a869cc2: Download complete
55df2de18312: Verifying Checksum
aed73a869cc2: Pull complete
55df2de18312: Pull complete
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/zunda-pixel/http-client
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/vapor/multipart-kit
[1/3552] Fetching multipart-kit
[428/4491] Fetching multipart-kit, swift-http-types
[958/4640] Fetching multipart-kit, swift-http-types, http-client
Fetched https://github.com/zunda-pixel/http-client from cache (1.52s)
Fetched https://github.com/apple/swift-http-types from cache (1.52s)
Fetched https://github.com/vapor/multipart-kit from cache (1.60s)
Computing version for https://github.com/zunda-pixel/http-client
Computed https://github.com/zunda-pixel/http-client at 0.3.1 (1.97s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (0.42s)
Computing version for https://github.com/vapor/multipart-kit
Computed https://github.com/vapor/multipart-kit at 5.0.0-alpha.5 (0.37s)
Fetching https://github.com/apple/swift-collections.git
[1/18239] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (2.10s)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.5.1
Creating working copy for https://github.com/zunda-pixel/http-client
Working copy of https://github.com/zunda-pixel/http-client resolved at 0.3.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/vapor/multipart-kit
Working copy of https://github.com/vapor/multipart-kit resolved at 5.0.0-alpha.5
Building for debugging...
[0/14] Write sources
[13/14] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/18] Emitting module HTTPTypes
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest+URL.swift:18:8: error: no such module 'Foundation'
16 | import FoundationEssentials
17 | #else // canImport(FoundationEssentials)
18 | import Foundation
| `- error: no such module 'Foundation'
19 | #if canImport(CoreFoundation)
20 | import CoreFoundation
[16/18] Compiling HTTPTypes HTTPField.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypes/HTTPRequest+URL.swift:18:8: error: no such module 'Foundation'
16 | import FoundationEssentials
17 | #else // canImport(FoundationEssentials)
18 | import Foundation
| `- error: no such module 'Foundation'
19 | #if canImport(CoreFoundation)
20 | import CoreFoundation
[17/18] Emitting module InternalCollectionsUtilities
BUILD FAILURE 6.2 wasm