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-types, reference 1.4.0 (a0a57e), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 15:13:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/apple/swift-http-types.git
Reference: 1.4.0
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/apple/swift-http-types
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at a0a57e9 Enable macOS CI on pull requests (#97)
Cloned https://github.com/apple/swift-http-types.git
Revision (git rev-parse @):
a0a57e949a8903563aba4615869310c0ebf14c03
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-http-types.git at 1.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-http-types.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling HTTPTypes ISOLatin1String.swift
[5/12] Emitting module HTTPTypes
/host/spi-builder-workspace/Sources/HTTPTypes/NIOLock.swift:194:35: warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
141 | //
142 | // See also: https://github.com/apple/swift/pull/40000
143 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
    |             `- note: 'LockStorage<Value>' inherits conformance to protocol 'Sendable' from superclass here
144 |
145 |     static func create(value: Value) -> Self {
    :
192 | }
193 |
194 | extension LockStorage: @unchecked Sendable {}
    |                                   `- warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
195 |
196 | extension UnsafeMutablePointer {
[6/12] Compiling HTTPTypes HTTPParsedFields.swift
[7/12] Compiling HTTPTypes HTTPRequest.swift
[8/12] Compiling HTTPTypes HTTPResponse.swift
[9/12] Compiling HTTPTypes NIOLock.swift
/host/spi-builder-workspace/Sources/HTTPTypes/NIOLock.swift:194:35: warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
141 | //
142 | // See also: https://github.com/apple/swift/pull/40000
143 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
    |             `- note: 'LockStorage<Value>' inherits conformance to protocol 'Sendable' from superclass here
144 |
145 |     static func create(value: Value) -> Self {
    :
192 | }
193 |
194 | extension LockStorage: @unchecked Sendable {}
    |                                   `- warning: conformance of 'LockStorage<Value>' to protocol 'Sendable' is already unavailable
195 |
196 | extension UnsafeMutablePointer {
[10/12] Compiling HTTPTypes HTTPFields.swift
[11/12] Compiling HTTPTypes HTTPFieldName.swift
[12/12] Compiling HTTPTypes HTTPField.swift
[14/19] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 | import HTTPTypes
 17 |
[15/19] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 | import HTTPTypes
 17 |
[16/19] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 | import HTTPTypes
 17 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/19] Emitting module HTTPTypesFoundation
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 | import HTTPTypes
 17 |
[18/19] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 | import HTTPTypes
 17 |
[19/19] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift:15:8: error: no such module 'Foundation'
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | import Foundation
    |        `- error: no such module 'Foundation'
 16 | import HTTPTypes
 17 |
BUILD FAILURE 6.2 wasm