Build Information
Failed to build BreezeLambdaDynamoDBAPI, reference 1.0.0-beta.1 (7e13b4
), with Swift 6.1 for Wasm on 30 Jul 2025 22:41:17 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-serverless/BreezeLambdaDynamoDBAPI.git
Reference: 1.0.0-beta.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/BreezeLambdaDynamoDBAPI
* tag 1.0.0-beta.1 -> FETCH_HEAD
HEAD is now at 7e13b47 Merge pull request #4 from swift-serverless/feature/2.0.0-beta.1
Cloned https://github.com/swift-serverless/BreezeLambdaDynamoDBAPI.git
Revision (git rev-parse @):
7e13b475fc925eecafb3f620699041e39bc63a0a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-serverless/BreezeLambdaDynamoDBAPI.git at 1.0.0-beta.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swift-serverless/BreezeLambdaDynamoDBAPI.git
https://github.com/swift-serverless/BreezeLambdaDynamoDBAPI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-aws-lambda-runtime",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0-beta.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-aws-lambda-runtime.git"
},
{
"identity" : "swift-aws-lambda-events",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-aws-lambda-events.git"
},
{
"identity" : "swift-service-lifecycle",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-service-lifecycle.git"
},
{
"identity" : "soto",
"requirement" : {
"range" : [
{
"lower_bound" : "7.0.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/soto-project/soto.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.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" : "BreezeLambdaDynamoDBAPI",
"name" : "BreezeLambdaDynamoDBAPI",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "BreezeDynamoDBService",
"targets" : [
"BreezeDynamoDBService"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BreezeLambdaAPI",
"targets" : [
"BreezeLambdaAPI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BreezeLambdaItemAPI",
"targets" : [
"BreezeLambdaItemAPI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "BreezeLambdaItemAPI",
"module_type" : "SwiftTarget",
"name" : "BreezeLambdaItemAPI",
"path" : "Sources/BreezeLambdaItemAPI",
"product_memberships" : [
"BreezeLambdaItemAPI"
],
"sources" : [
"BreezeLambdaItemAPI.swift"
],
"target_dependencies" : [
"BreezeLambdaAPI"
],
"type" : "executable"
},
{
"c99name" : "BreezeLambdaAPITests",
"module_type" : "SwiftTarget",
"name" : "BreezeLambdaAPITests",
"path" : "Tests/BreezeLambdaAPITests",
"product_dependencies" : [
"AWSLambdaRuntime",
"ServiceLifecycle",
"ServiceLifecycleTestKit"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/BreezeLambdaAPITests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"APIGatewayV2Response.swift",
"BreezeDynamoDBManagerMock.swift",
"BreezeLambdaAPIServiceTests.swift",
"BreezeLambdaHandlerTests.swift",
"BreezeOperationTests.swift",
"Fixtures.swift",
"Lambda.swift",
"Product.swift"
],
"target_dependencies" : [
"BreezeLambdaAPI"
],
"type" : "test"
},
{
"c99name" : "BreezeLambdaAPI",
"module_type" : "SwiftTarget",
"name" : "BreezeLambdaAPI",
"path" : "Sources/BreezeLambdaAPI",
"product_dependencies" : [
"AWSLambdaRuntime",
"AWSLambdaEvents",
"ServiceLifecycle"
],
"product_memberships" : [
"BreezeLambdaAPI",
"BreezeLambdaItemAPI"
],
"sources" : [
"APIGatewayV2Request+Extensions.swift",
"APIGatewayV2Response+Extensions.swift",
"BreezeAPIConfiguration.swift",
"BreezeEmptyResponse.swift",
"BreezeLambdaAPI.swift",
"BreezeLambdaAPIError.swift",
"BreezeLambdaHandler.swift",
"BreezeLambdaService.swift",
"BreezeOperation.swift"
],
"target_dependencies" : [
"BreezeDynamoDBService"
],
"type" : "library"
},
{
"c99name" : "BreezeDynamoDBServiceTests",
"module_type" : "SwiftTarget",
"name" : "BreezeDynamoDBServiceTests",
"path" : "Tests/BreezeDynamoDBServiceTests",
"product_dependencies" : [
"AWSLambdaRuntime",
"ServiceLifecycle",
"ServiceLifecycleTestKit"
],
"sources" : [
"BreezeDynamoDBManagerMock.swift",
"BreezeDynamoDBManagerTests.swift",
"BreezeDynamoDBServiceTests.swift",
"LocalStackDynamoDB.swift"
],
"target_dependencies" : [
"BreezeDynamoDBService"
],
"type" : "test"
},
{
"c99name" : "BreezeDynamoDBService",
"module_type" : "SwiftTarget",
"name" : "BreezeDynamoDBService",
"path" : "Sources/BreezeDynamoDBService",
"product_dependencies" : [
"SotoDynamoDB",
"ServiceLifecycle",
"Logging"
],
"product_memberships" : [
"BreezeDynamoDBService",
"BreezeLambdaAPI",
"BreezeLambdaItemAPI"
],
"sources" : [
"BreezeCodable.swift",
"BreezeDynamoDBConfig.swift",
"BreezeDynamoDBManager.swift",
"BreezeDynamoDBManaging.swift",
"BreezeDynamoDBService.swift",
"BreezeHTTPClientConfig.swift",
"Foundation+Extension.swift",
"ListResponse.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/soto-project/soto.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/swift-server/swift-aws-lambda-events.git
[1/2433] Fetching swift-service-lifecycle
[683/4992] Fetching swift-service-lifecycle, swift-aws-lambda-events
[1328/8872] Fetching swift-service-lifecycle, swift-aws-lambda-events, swift-log
[3038/10966] Fetching swift-service-lifecycle, swift-aws-lambda-events, swift-log, swift-docc-plugin
Fetched https://github.com/swift-server/swift-aws-lambda-events.git from cache (0.86s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.87s)
Fetched https://github.com/apple/swift-log.git from cache (0.87s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.87s)
[1/141808] Fetching soto
Fetching https://github.com/swift-server/swift-aws-lambda-runtime.git
[141809/154552] Fetching soto, swift-aws-lambda-runtime
Fetched https://github.com/soto-project/soto.git from cache (117.14s)
[765/12744] Fetching swift-aws-lambda-runtime
Fetched https://github.com/swift-server/swift-aws-lambda-runtime.git from cache (2.74s)
Computing version for https://github.com/swift-server/swift-aws-lambda-events.git
Computed https://github.com/swift-server/swift-aws-lambda-events.git at 0.5.0 (119.79s)
Fetching https://github.com/apple/swift-http-types.git
[1/917] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.09s)
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.84s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.59s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3438] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.59s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.63s)
Computing version for https://github.com/soto-project/soto.git
Computed https://github.com/soto-project/soto.git at 7.9.0 (7.78s)
Fetching https://github.com/soto-project/soto-core.git
[1/60173] Fetching soto-core
Fetched https://github.com/soto-project/soto-core.git from cache (3.61s)
Computing version for https://github.com/soto-project/soto-core.git
Computed https://github.com/soto-project/soto-core.git at 7.8.0 (4.49s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/jmespath/jmespath.swift.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/653] Fetching jmespath.swift
[73/2872] Fetching jmespath.swift, swift-metrics
[517/7928] Fetching jmespath.swift, swift-metrics, swift-distributed-tracing
[691/10629] Fetching jmespath.swift, swift-metrics, swift-distributed-tracing, swift-nio-transport-services
[6381/24688] Fetching jmespath.swift, swift-metrics, swift-distributed-tracing, swift-nio-transport-services, async-http-client
Fetched https://github.com/jmespath/jmespath.swift.git from cache (0.72s)
[10242/24035] Fetching swift-metrics, swift-distributed-tracing, swift-nio-transport-services, async-http-client
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.74s)
[7884/21334] Fetching swift-metrics, swift-distributed-tracing, async-http-client
[8227/36319] Fetching swift-metrics, swift-distributed-tracing, async-http-client, swift-nio-ssl
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-metrics.git from cache (0.96s)
[10501/34100] Fetching swift-distributed-tracing, async-http-client, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
[16848/35908] Fetching swift-distributed-tracing, async-http-client, swift-nio-ssl, swift-atomics
[21955/51835] Fetching swift-distributed-tracing, async-http-client, swift-nio-ssl, swift-atomics, swift-crypto
Fetched https://github.com/apple/swift-atomics.git from cache (0.97s)
[23819/127100] Fetching swift-distributed-tracing, async-http-client, swift-nio-ssl, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (2.08s)
Fetched https://github.com/swift-server/async-http-client.git from cache (2.10s)
[11420/107985] Fetching swift-nio-ssl, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.36s)
[62917/93000] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (4.60s)
[51639/77073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.91s)
Computing version for https://github.com/jmespath/jmespath.swift.git
Computed https://github.com/jmespath/jmespath.swift.git at 1.0.3 (15.65s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.77s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (0.76s)
Fetching https://github.com/apple/swift-service-context.git
[1/1088] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.35s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.23s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.92s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/6123] Fetching swift-nio-extras
[3675/12082] Fetching swift-nio-extras, swift-algorithms
[6014/23743] Fetching swift-nio-extras, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.76s)
[8642/17620] Fetching swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (1.95s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.95s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.0 (2.88s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.85.0 (1.31s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4792] Fetching swift-system
[2493/21708] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.79s)
Fetched https://github.com/apple/swift-collections.git from cache (1.84s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (2.79s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (0.92s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.87s)
Fetching https://github.com/apple/swift-numerics.git
[1/5769] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.60s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.62s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.05s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/4995] Fetching swift-async-algorithms
[251/6171] Fetching swift-async-algorithms, swift-http-structured-headers
[1586/12615] Fetching swift-async-algorithms, swift-http-structured-headers, swift-certificates
[2341/14244] Fetching swift-async-algorithms, swift-http-structured-headers, swift-certificates, swift-asn1
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.84s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.84s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.85s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.85s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.72s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.98s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.97s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.11.0 (1.07s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (5.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.1 (0.85s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.13.3 (2.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.31s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.87s)
Computing version for https://github.com/swift-server/swift-aws-lambda-runtime.git
Computed https://github.com/swift-server/swift-aws-lambda-runtime.git at 2.0.0-beta.1 (0.85s)
Creating working copy for https://github.com/swift-server/swift-aws-lambda-runtime.git
Working copy of https://github.com/swift-server/swift-aws-lambda-runtime.git resolved at 2.0.0-beta.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.11.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.0
Creating working copy for https://github.com/soto-project/soto.git
Working copy of https://github.com/soto-project/soto.git resolved at 7.9.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.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.5
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.0
Creating working copy for https://github.com/soto-project/soto-core.git
Working copy of https://github.com/soto-project/soto-core.git resolved at 7.8.0
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
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.85.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
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
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.13.3
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.1
Creating working copy for https://github.com/swift-server/swift-aws-lambda-events.git
Working copy of https://github.com/swift-server/swift-aws-lambda-events.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/jmespath/jmespath.swift.git
Working copy of https://github.com/jmespath/jmespath.swift.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.33.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin AWSLambdaPackager
Building for debugging...
[3/891] Write sources
[8/891] Compiling i2d_pr.cc
[9/891] Compiling a_i2d_fp.cc
[9/891] Write sources
[13/891] Compiling _NumericsShims _NumericsShims.c
[13/891] Compiling _AtomicsShims.c
[15/891] Write sources
[48/891] Compiling CSotoExpat xmltok_ns.c
[49/891] Write swift-version-24593BA9C3E375BF.txt
[50/891] Compiling CSotoExpat xmltok_impl.c
[51/891] Compiling a_mbstr.cc
[52/891] Compiling a_gentm.cc
[52/891] Compiling a_int.cc
[52/891] Compiling dsa_asn1.cc
[55/891] Compiling a_time.cc
[56/891] Compiling CSotoExpat xmlrole.c
[57/940] Compiling CSotoExpat xmltok.c
[59/942] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[60/942] Compiling InternalCollectionsUtilities Descriptions.swift
[61/942] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[62/943] Compiling ServiceContextModule ServiceContextKey.swift
[63/943] Emitting module JMESPath
[64/943] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[65/943] Compiling InternalCollectionsUtilities Integer rank.swift
[66/944] Emitting module INIParser
[67/944] Compiling INIParser INIParser.swift
[68/945] Emitting module _NIOBase64
[69/945] Compiling _NIOBase64 Base64.swift
[70/946] Emitting module ServiceContextModule
[71/946] Compiling ServiceContextModule ServiceContext.swift
[72/946] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[73/946] Compiling InternalCollectionsUtilities Debugging.swift
[77/947] Emitting module Logging
[78/947] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[79/947] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[80/947] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[81/947] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[82/947] Compiling InternalCollectionsUtilities _SortedCollection.swift
[83/947] Compiling JMESPath Runtime.swift
[84/947] Compiling JMESPath Sendable.swift
[85/947] Compiling JMESPath Token.swift
[86/947] Compiling JMESPath Parser.swift
[87/947] Compiling Logging MetadataProvider.swift
[88/947] Compiling _NIODataStructures PriorityQueue.swift
[89/947] Compiling _NIODataStructures _TinyArray.swift
[92/947] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[93/947] Compiling InternalCollectionsUtilities UInt+reversed.swift
[94/947] Emitting module InternalCollectionsUtilities
[95/947] Compiling RealModule Real.swift
[96/947] Compiling RealModule Float80+Real.swift
[97/947] Compiling RealModule Float16+Real.swift
[98/948] Compiling RealModule ElementaryFunctions.swift
[99/948] Emitting module RealModule
[104/948] Compiling RealModule Float+Real.swift
[105/949] Emitting module _NIODataStructures
[106/949] Compiling _NIODataStructures Heap.swift
[107/951] Compiling RealModule RealFunctions.swift
[109/964] Compiling Logging LogHandler.swift
[110/964] Compiling Logging Logging.swift
[111/964] Compiling Logging Locks.swift
[116/969] Compiling Instrumentation Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
36 | import Musl
37 | #else
38 | #error("Unsupported runtime")
| `- error: Unsupported runtime
39 | #endif
40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
46 | @_spi(Locking) // Use the `package` access modifier once min Swift version is increased.
47 | public final class ReadWriteLock {
48 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
49 |
50 | /// Create a new lock.
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:19: error: cannot find 'pthread_rwlock_init' in scope
50 | /// Create a new lock.
51 | public init() {
52 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
53 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:52: error: 'nil' requires a contextual type
50 | /// Create a new lock.
51 | public init() {
52 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: 'nil' requires a contextual type
53 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:57:19: error: cannot find 'pthread_rwlock_destroy' in scope
55 |
56 | deinit {
57 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
58 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
59 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:67:19: error: cannot find 'pthread_rwlock_rdlock' in scope
65 | /// `unlock`, to simplify lock handling.
66 | public func lockRead() {
67 | let err = pthread_rwlock_rdlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
68 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
69 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:76:19: error: cannot find 'pthread_rwlock_wrlock' in scope
74 | /// `unlock`, to simplify lock handling.
75 | public func lockWrite() {
76 | let err = pthread_rwlock_wrlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
77 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
78 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:85:19: error: cannot find 'pthread_rwlock_unlock' in scope
83 | /// `lock`, to simplify lock handling.
84 | public func unlock() {
85 | let err = pthread_rwlock_unlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
86 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
87 | }
[117/969] Compiling JMESPath Variable.swift
[120/970] Compiling Instrumentation InstrumentationSystem.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
46 | @_spi(Locking) // Use the `package` access modifier once min Swift version is increased.
47 | public final class ReadWriteLock {
48 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
49 |
50 | /// Create a new lock.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[121/1025] Emitting module Instrumentation
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
36 | import Musl
37 | #else
38 | #error("Unsupported runtime")
| `- error: Unsupported runtime
39 | #endif
40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
46 | @_spi(Locking) // Use the `package` access modifier once min Swift version is increased.
47 | public final class ReadWriteLock {
48 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
49 |
50 | /// Create a new lock.
[122/1025] Compiling Instrumentation Instrument.swift
[125/1025] Compiling Instrumentation MultiplexInstrument.swift
[126/1025] Compiling Instrumentation NoOpInstrument.swift
[126/1025] Wrapping AST for _NIOBase64 for debugging
[126/1025] Wrapping AST for _NIODataStructures for debugging
[127/1025] Compiling CoreMetrics Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:65:20: error: cannot find 'pthread_mutexattr_t' in scope
63 | InitializeSRWLock(self.mutex)
64 | #else
65 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:66:9: error: cannot find 'pthread_mutexattr_init' in scope
64 | #else
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:9: error: cannot find 'pthread_mutexattr_settype' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:43: error: cannot infer contextual base in reference to member 'init'
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:69:19: error: cannot find 'pthread_mutex_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
71 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:78:19: error: cannot find 'pthread_mutex_destroy' in scope
76 | // SRWLOCK does not need to be free'd
77 | #else
78 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
80 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:92:19: error: cannot find 'pthread_mutex_lock' in scope
90 | AcquireSRWLockExclusive(self.mutex)
91 | #else
92 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
93 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
94 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:105:19: error: cannot find 'pthread_mutex_unlock' in scope
103 | ReleaseSRWLockExclusive(self.mutex)
104 | #else
105 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
106 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
107 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:177:14: error: value of type 'ReadWriteLock' has no member 'rwlock'
175 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
176 | #endif
177 | self.rwlock.deallocate()
| `- error: value of type 'ReadWriteLock' has no member 'rwlock'
178 | }
179 |
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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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
[3/3] Compiling plugin AWSLambdaPackager
Building for debugging...
[3/836] Write sources
[8/837] Compiling CNIOLinux shim.c
[8/837] Compiling CNIOWindows shim.c
[8/837] Compiling CNIOWASI CNIOWASI.c
[11/837] Compiling CNIOPosix event_loop_id.c
[12/837] Compiling CNIOWindows WSAStartup.c
[12/837] Compiling CNIOLinux liburing_shims.c
[14/837] Compiling CNIOExtrasZlib empty.c
[15/837] Compiling CNIODarwin shim.c
[16/837] Compiling CNIOLLHTTP c_nio_api.c
[17/837] Compiling fiat_p256_adx_sqr.S
[18/837] Compiling fiat_p256_adx_mul.S
[19/837] Compiling fiat_curve25519_adx_square.S
[20/837] Compiling fiat_curve25519_adx_mul.S
[21/837] Compiling CNIOLLHTTP c_nio_http.c
[22/837] Write swift-version-24593BA9C3E375BF.txt
[23/837] Compiling CSotoExpat xmlparse.c
[24/837] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[25/843] Compiling tls_method.cc
[25/843] Compiling tls13_client.cc
[25/843] Compiling tls13_enc.cc
[25/843] Compiling CNIOLLHTTP c_nio_llhttp.c
[25/843] Compiling tls_record.cc
[25/843] Compiling tls13_server.cc
[26/843] Emitting module _NIOBase64
BUILD FAILURE 6.1 wasm