Build Information
Failed to build swift-sls-adapter, reference 0.2.1 (45d8ac
), with Swift 6.1 for Wasm on 29 May 2025 06:06:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/swift-serverless/swift-sls-adapter.git
Reference: 0.2.1
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/swift-serverless/swift-sls-adapter
* tag 0.2.1 -> FETCH_HEAD
HEAD is now at 45d8ac7 Merge pull request #1 from swift-sprinter/feature/support-webhook
Cloned https://github.com/swift-serverless/swift-sls-adapter.git
Revision (git rev-parse @):
45d8ac77d323c90d7f94cfb5b928e4cfcd7fb3c9
SUCCESS checkout https://github.com/swift-serverless/swift-sls-adapter.git at 0.2.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swift-serverless/swift-sls-adapter.git
https://github.com/swift-serverless/swift-sls-adapter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-sls-adapter",
"name" : "swift-sls-adapter",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SLSAdapter",
"targets" : [
"SLSAdapter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SLSAdapterTests",
"module_type" : "SwiftTarget",
"name" : "SLSAdapterTests",
"path" : "Tests/SLSAdapterTests",
"product_dependencies" : [
"Yams"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/SLSAdapterTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"HttpAPILambdaParams.swift",
"SLSAdapterTests.swift",
"ServerlessConfig+Exensions.swift",
"ServerlessHttpAPILambdaTests.swift"
],
"target_dependencies" : [
"SLSAdapter"
],
"type" : "test"
},
{
"c99name" : "SLSAdapter",
"module_type" : "SwiftTarget",
"name" : "SLSAdapter",
"path" : "Sources/SLSAdapter",
"product_dependencies" : [
"Yams"
],
"product_memberships" : [
"SLSAdapter"
],
"sources" : [
"CodableDefault.swift",
"Function+Extensions.swift",
"Function.swift",
"Package.swift",
"Provider.swift",
"Region.swift",
"Resource.swift",
"ServerlessConfig.swift",
"YAMLContent.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/jpsim/Yams.git
[1/2049] Fetching swift-docc-plugin
[247/12706] Fetching swift-docc-plugin, yams
Fetched https://github.com/apple/swift-docc-plugin from cache (1.05s)
Fetched https://github.com/jpsim/Yams.git from cache (1.08s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.58s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.98s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.49s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/11] Write sources
[4/11] Compiling reader.c
[5/11] Compiling api.c
[6/11] Compiling parser.c
[7/11] Compiling emitter.c
[8/11] Compiling writer.c
[9/11] Write swift-version-24593BA9C3E375BF.txt
[10/11] Compiling scanner.c
[12/31] Emitting module Yams
[13/33] Compiling Yams YamlError.swift
[14/33] Compiling Yams YamlTagProviding.swift
[15/33] Compiling Yams AliasDereferencingStrategy.swift
[16/33] Compiling Yams Anchor.swift
[17/33] Compiling Yams Constructor.swift
[18/33] Compiling Yams Resolver.swift
[19/33] Compiling Yams String+Yams.swift
[20/33] Compiling Yams Tag.swift
[21/33] Compiling Yams YamlAnchorProviding.swift
[22/33] Compiling Yams Mark.swift
[23/33] Compiling Yams Node.Alias.swift
[24/33] Compiling Yams Node.Mapping.swift
[25/33] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[26/33] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[27/33] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[28/33] Compiling Yams Node.Scalar.swift
[29/33] Compiling Yams Node.Sequence.swift
[30/33] Compiling Yams Node.swift
[31/33] Compiling Yams Decoder.swift
[32/33] Compiling Yams Emitter.swift
[33/33] Compiling Yams Encoder.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/23] Emitting module Yams
[5/25] Compiling Yams Resolver.swift
[6/25] Compiling Yams String+Yams.swift
[7/25] Compiling Yams Tag.swift
[8/25] Compiling Yams YamlAnchorProviding.swift
[9/25] Compiling Yams Node.Scalar.swift
[10/25] Compiling Yams Node.Sequence.swift
[11/25] Compiling Yams Node.swift
[12/25] Compiling Yams Mark.swift
[13/25] Compiling Yams Node.Alias.swift
[14/25] Compiling Yams Node.Mapping.swift
[15/25] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[16/25] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[17/25] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[18/25] Compiling Yams YamlError.swift
[19/25] Compiling Yams YamlTagProviding.swift
[20/25] Compiling Yams AliasDereferencingStrategy.swift
[21/25] Compiling Yams Anchor.swift
[22/25] Compiling Yams Constructor.swift
[23/25] Compiling Yams Decoder.swift
[24/25] Compiling Yams Emitter.swift
[25/25] Compiling Yams Encoder.swift
BUILD FAILURE 6.1 wasm