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 swift-http-field-types, reference 0.3.5 (bf6bae), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 02:39:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/edonv/swift-http-field-types.git
Reference: 0.3.5
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/edonv/swift-http-field-types
 * tag               0.3.5      -> FETCH_HEAD
HEAD is now at bf6bae8 Update HTTPCookieField.swift
Cloned https://github.com/edonv/swift-http-field-types.git
Revision (git rev-parse @):
bf6bae82338d1d5023fc1db781f179770ac1dfe0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edonv/swift-http-field-types.git at 0.3.5
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/edonv/swift-http-field-types.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/apple/swift-http-types.git
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.46s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.88s)
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Emitting module HTTPTypes
[5/11] Compiling HTTPTypes HTTPField.swift
[6/12] Compiling HTTPTypes HTTPResponse.swift
[7/12] Compiling HTTPTypes ISOLatin1String.swift
[8/12] Compiling HTTPTypes HTTPParsedFields.swift
[9/12] Compiling HTTPTypes HTTPRequest.swift
[10/12] Compiling HTTPTypes NIOLock.swift
[11/12] Compiling HTTPTypes HTTPFieldName.swift
[12/12] Compiling HTTPTypes HTTPFields.swift
[14/25] Compiling HTTPFieldTypes HTTPRange+Unit.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Fields/HTTPCookieField.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 | import HTTPTypes
10 |
[15/26] Compiling HTTPFieldTypes HTTPRangeField.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Fields/HTTPCookieField.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 | import HTTPTypes
10 |
[16/26] Compiling HTTPFieldTypes HTTPContentRangeField.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Fields/HTTPCookieField.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 | import HTTPTypes
10 |
[17/26] Compiling HTTPFieldTypes HTTPFields+CookieFields.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Fields/HTTPCookieField.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 | import HTTPTypes
10 |
[18/26] Compiling HTTPFieldTypes HTTPFields+RangeFields.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Fields/HTTPCookieField.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 | import HTTPTypes
10 |
[19/26] Compiling HTTPFieldTypes HTTPDate.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Fields/HTTPCookieField.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 | import HTTPTypes
10 |
[20/26] Compiling HTTPFieldTypes HTTPFieldValue.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Fields/HTTPCookieField.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 | import HTTPTypes
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/26] Emitting module HTTPFieldTypes
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Fields/HTTPCookieField.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 | import HTTPTypes
10 |
[22/26] Compiling HTTPFieldTypes HTTPCookieField.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Fields/HTTPCookieField.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 | import HTTPTypes
10 |
[23/26] Compiling HTTPFieldTypes HTTPSetCookieField.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Fields/HTTPCookieField.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 | import HTTPTypes
10 |
[24/26] Compiling HTTPFieldTypes HTTPCookie.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Fields/HTTPCookieField.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 | import HTTPTypes
10 |
[25/26] Compiling HTTPFieldTypes HTTPSetCookie+Attributes.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Fields/HTTPCookieField.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 | import HTTPTypes
10 |
[26/26] Compiling HTTPFieldTypes HTTPRange.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Fields/HTTPCookieField.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 | import HTTPTypes
10 |
BUILD FAILURE 6.2 wasm