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-structured-headers, reference 1.6.0 (76d762), with Swift 6.2 for Wasm on 12 Nov 2025 19:44:32 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-http-structured-headers.git
Reference: 1.6.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-structured-headers
 * tag               1.6.0      -> FETCH_HEAD
HEAD is now at 76d7627 Add support for Windows (#73)
Cloned https://github.com/apple/swift-http-structured-headers.git
Revision (git rev-parse @):
76d7627bd88b47bf5a0f8497dd244885960dde0b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-http-structured-headers.git at 1.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-http-structured-headers.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
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date 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
Building for debugging...
[0/8] Write sources
[3/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Emitting module RawStructuredFieldValues
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/PseudoDecimal.swift:25:8: error: Unsupported OS
 23 | import WinSDK
 24 | #else
 25 | #error("Unsupported OS")
    |        `- error: Unsupported OS
 26 | #endif
 27 |
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/ComponentTypes.swift:80:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
 78 | @available(*, deprecated)
 79 | extension BareItem: ExpressibleByStringLiteral {
 80 |     public init(stringLiteral value: StringLiteralType) {
    |                                      `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
 81 |         if value.structuredHeadersIsValidToken {
 82 |             self = .token(value)
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
  |                  `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/ComponentTypes.swift:170:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
168 |
169 | extension RFC9651BareItem: ExpressibleByStringLiteral {
170 |     public init(stringLiteral value: StringLiteralType) {
    |                                      `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
171 |         if value.structuredHeadersIsValidToken {
172 |             self = .token(value)
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
  |                  `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/Errors.swift:70:9: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
68 | extension StructuredHeaderError: CustomStringConvertible {
69 |     public var description: String {
70 |         String(describing: self.base)
   |         `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
71 |     }
72 | }
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/PseudoDecimal.swift:229:49: error: cannot find 'pow' in scope
227 | extension Double {
228 |     public init(_ pseudoDecimal: PseudoDecimal) {
229 |         self = Double(pseudoDecimal.mantissa) * pow(10, Double(pseudoDecimal.exponent))
    |                                                 `- error: cannot find 'pow' in scope
230 |     }
231 | }
[6/10] Compiling RawStructuredFieldValues ASCII.swift
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/PseudoDecimal.swift:25:8: error: Unsupported OS
 23 | import WinSDK
 24 | #else
 25 | #error("Unsupported OS")
    |        `- error: Unsupported OS
 26 | #endif
 27 |
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/ComponentTypes.swift:80:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
 78 | @available(*, deprecated)
 79 | extension BareItem: ExpressibleByStringLiteral {
 80 |     public init(stringLiteral value: StringLiteralType) {
    |                                      `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
 81 |         if value.structuredHeadersIsValidToken {
 82 |             self = .token(value)
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
  |                  `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/ComponentTypes.swift:170:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
168 |
169 | extension RFC9651BareItem: ExpressibleByStringLiteral {
170 |     public init(stringLiteral value: StringLiteralType) {
    |                                      `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
171 |         if value.structuredHeadersIsValidToken {
172 |             self = .token(value)
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
  |                  `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/Errors.swift:70:9: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
68 | extension StructuredHeaderError: CustomStringConvertible {
69 |     public var description: String {
70 |         String(describing: self.base)
   |         `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
71 |     }
72 | }
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/PseudoDecimal.swift:229:49: error: cannot find 'pow' in scope
227 | extension Double {
228 |     public init(_ pseudoDecimal: PseudoDecimal) {
229 |         self = Double(pseudoDecimal.mantissa) * pow(10, Double(pseudoDecimal.exponent))
    |                                                 `- error: cannot find 'pow' in scope
230 |     }
231 | }
BUILD FAILURE 6.2 wasm