Build Information
Failed to build swift-http-structured-headers, reference main (db6eea
), with Swift 6.1 for Wasm on 31 May 2025 02:43:18 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-http-structured-headers.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/apple/swift-http-structured-headers
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at db6eea3 Update StructuredFieldValueParser to add missing visionOS guard (#67)
Cloned https://github.com/apple/swift-http-structured-headers.git
Revision (git rev-parse @):
db6eea3692638a65e2124990155cd220c2915903
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-http-structured-headers.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/apple/swift-http-structured-headers.git
https://github.com/apple/swift-http-structured-headers.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "swift-http-structured-headers",
"name" : "swift-http-structured-headers",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "StructuredFieldValues",
"targets" : [
"StructuredFieldValues"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RawStructuredFieldValues",
"targets" : [
"RawStructuredFieldValues"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "sh-parser",
"targets" : [
"sh-parser"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "sh_parser",
"module_type" : "SwiftTarget",
"name" : "sh-parser",
"path" : "Sources/sh-parser",
"product_memberships" : [
"sh-parser"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"RawStructuredFieldValues"
],
"type" : "executable"
},
{
"c99name" : "StructuredFieldValuesTests",
"module_type" : "SwiftTarget",
"name" : "StructuredFieldValuesTests",
"path" : "Tests/StructuredFieldValuesTests",
"sources" : [
"Base32.swift",
"Fixtures.swift",
"StructuredFieldDecoderTests.swift",
"StructuredFieldEncoderTests.swift",
"StructuredFieldParserTests.swift",
"StructuredFieldSerializerTests.swift"
],
"target_dependencies" : [
"RawStructuredFieldValues",
"StructuredFieldValues"
],
"type" : "test"
},
{
"c99name" : "StructuredFieldValues",
"module_type" : "SwiftTarget",
"name" : "StructuredFieldValues",
"path" : "Sources/StructuredFieldValues",
"product_memberships" : [
"StructuredFieldValues"
],
"sources" : [
"Decoder/BareInnerListDecoder.swift",
"Decoder/BareItemDecoder.swift",
"Decoder/DictionaryKeyedContainer.swift",
"Decoder/KeyedInnerListDecoder.swift",
"Decoder/KeyedItemDecoder.swift",
"Decoder/KeyedTopLevelListDecoder.swift",
"Decoder/ParametersDecoder.swift",
"Decoder/StructuredFieldValueDecoder.swift",
"Decoder/StructuredHeaderCodingKey.swift",
"Decoder/TopLevelListDecoder.swift",
"DisplayString.swift",
"Encoder/StructuredFieldKeyedEncodingContainer.swift",
"Encoder/StructuredFieldUnkeyedEncodingContainer.swift",
"Encoder/StructuredFieldValueEncoder.swift",
"StructuredFieldValue.swift"
],
"target_dependencies" : [
"RawStructuredFieldValues"
],
"type" : "library"
},
{
"c99name" : "RawStructuredFieldValues",
"module_type" : "SwiftTarget",
"name" : "RawStructuredFieldValues",
"path" : "Sources/RawStructuredFieldValues",
"product_memberships" : [
"StructuredFieldValues",
"RawStructuredFieldValues",
"sh-parser"
],
"sources" : [
"ASCII.swift",
"ComponentTypes.swift",
"Errors.swift",
"FieldParser.swift",
"FieldSerializer.swift",
"OrderedMap.swift",
"PseudoDecimal.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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/16] Emitting module RawStructuredFieldValues
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/PseudoDecimal.swift:23:8: error: Unsupported OS
21 | import Android
22 | #else
23 | #error("Unsupported OS")
| `- error: Unsupported OS
24 | #endif
25 |
[6/16] Compiling RawStructuredFieldValues PseudoDecimal.swift
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/PseudoDecimal.swift:23:8: error: Unsupported OS
21 | import Android
22 | #else
23 | #error("Unsupported OS")
| `- error: Unsupported OS
24 | #endif
25 |
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/PseudoDecimal.swift:227:49: error: cannot find 'pow' in scope
225 | extension Double {
226 | public init(_ pseudoDecimal: PseudoDecimal) {
227 | self = Double(pseudoDecimal.mantissa) * pow(10, Double(pseudoDecimal.exponent))
| `- error: cannot find 'pow' in scope
228 | }
229 | }
[7/16] Compiling RawStructuredFieldValues FieldParser.swift
[8/16] Compiling RawStructuredFieldValues Errors.swift
[9/16] Compiling RawStructuredFieldValues OrderedMap.swift
[10/16] Compiling RawStructuredFieldValues FieldSerializer.swift
[11/16] Compiling RawStructuredFieldValues ComponentTypes.swift
[12/16] Compiling RawStructuredFieldValues ASCII.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling RawStructuredFieldValues PseudoDecimal.swift
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/PseudoDecimal.swift:23:8: error: Unsupported OS
21 | import Android
22 | #else
23 | #error("Unsupported OS")
| `- error: Unsupported OS
24 | #endif
25 |
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/PseudoDecimal.swift:227:49: error: cannot find 'pow' in scope
225 | extension Double {
226 | public init(_ pseudoDecimal: PseudoDecimal) {
227 | self = Double(pseudoDecimal.mantissa) * pow(10, Double(pseudoDecimal.exponent))
| `- error: cannot find 'pow' in scope
228 | }
229 | }
[3/13] Compiling RawStructuredFieldValues OrderedMap.swift
[4/13] Compiling RawStructuredFieldValues FieldSerializer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/13] Compiling RawStructuredFieldValues ComponentTypes.swift
[6/13] Emitting module RawStructuredFieldValues
/host/spi-builder-workspace/Sources/RawStructuredFieldValues/PseudoDecimal.swift:23:8: error: Unsupported OS
21 | import Android
22 | #else
23 | #error("Unsupported OS")
| `- error: Unsupported OS
24 | #endif
25 |
[7/13] Compiling RawStructuredFieldValues ASCII.swift
[8/13] Compiling RawStructuredFieldValues Errors.swift
[9/13] Compiling RawStructuredFieldValues FieldParser.swift
BUILD FAILURE 6.1 wasm