Build Information
Failed to build hummingbird-lambda, reference main (25ffa4
), with Swift 6.1 for Wasm on 28 May 2025 01:44:24 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.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/hummingbird-project/hummingbird-lambda.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/hummingbird-project/hummingbird-lambda
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 25ffa4f Update from hummingbird-project-template b19df1d2a2eba1af76859758cc7cb51d8ac566c5 (#47)
Cloned https://github.com/hummingbird-project/hummingbird-lambda.git
Revision (git rev-parse @):
25ffa4f0a0daeaa3e35d2cf882d5c9eea95a36b0
SUCCESS checkout https://github.com/hummingbird-project/hummingbird-lambda.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/hummingbird-project/hummingbird-lambda.git
https://github.com/hummingbird-project/hummingbird-lambda.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-aws-lambda-runtime",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0-alpha.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-aws-lambda-runtime.git"
},
{
"identity" : "swift-aws-lambda-events",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-aws-lambda-events.git"
},
{
"identity" : "swift-extras-base64",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-extras/swift-extras-base64.git"
},
{
"identity" : "hummingbird",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/hummingbird.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.32.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "hummingbird-lambda",
"name" : "hummingbird-lambda",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "HummingbirdLambda",
"targets" : [
"HummingbirdLambda"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HummingbirdLambdaTesting",
"targets" : [
"HummingbirdLambdaTesting"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HBLambdaTest",
"targets" : [
"HBLambdaTest"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "HummingbirdLambdaTests",
"module_type" : "SwiftTarget",
"name" : "HummingbirdLambdaTests",
"path" : "Tests/HummingbirdLambdaTests",
"product_dependencies" : [
"NIOPosix"
],
"sources" : [
"LambdaTests.swift"
],
"target_dependencies" : [
"HummingbirdLambda",
"HummingbirdLambdaTesting"
],
"type" : "test"
},
{
"c99name" : "HummingbirdLambdaTesting",
"module_type" : "SwiftTarget",
"name" : "HummingbirdLambdaTesting",
"path" : "Sources/HummingbirdLambdaTesting",
"product_memberships" : [
"HummingbirdLambdaTesting"
],
"sources" : [
"APIGatewayLambda.swift",
"APIGatewayV2Lambda.swift",
"HBLambdaTestFramework.swift",
"Lambda+Testing.swift",
"LambdaEvent.swift"
],
"target_dependencies" : [
"HummingbirdLambda"
],
"type" : "library"
},
{
"c99name" : "HummingbirdLambda",
"module_type" : "SwiftTarget",
"name" : "HummingbirdLambda",
"path" : "Sources/HummingbirdLambda",
"product_dependencies" : [
"AWSLambdaRuntime",
"AWSLambdaEvents",
"ExtrasBase64",
"Hummingbird"
],
"product_memberships" : [
"HummingbirdLambda",
"HummingbirdLambdaTesting",
"HBLambdaTest"
],
"sources" : [
"APIGatewayLambda.swift",
"APIGatewayV2Lambda.swift",
"BasicLambdaRequestContext.swift",
"CollateResponseBodyWriter.swift",
"Deprecations.swift",
"Exports.swift",
"LambdaFunction.swift",
"LambdaHandler.swift",
"LambdaRequestContext.swift",
"Request+APIGateway.swift",
"Response+APIGateway.swift"
],
"type" : "library"
},
{
"c99name" : "HBLambdaTest",
"module_type" : "SwiftTarget",
"name" : "HBLambdaTest",
"path" : "Sources/HBLambdaTest",
"product_memberships" : [
"HBLambdaTest"
],
"sources" : [
"maths.swift"
],
"target_dependencies" : [
"HummingbirdLambda"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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-nio.git
Fetching https://github.com/swift-server/swift-aws-lambda-runtime.git
Fetching https://github.com/swift-server/swift-aws-lambda-events.git
Fetching https://github.com/hummingbird-project/hummingbird.git
Fetching https://github.com/swift-extras/swift-extras-base64.git
[1/833] Fetching swift-extras-base64
[834/3269] Fetching swift-extras-base64, swift-aws-lambda-events
[1176/14786] Fetching swift-extras-base64, swift-aws-lambda-events, swift-aws-lambda-runtime
[3846/39269] Fetching swift-extras-base64, swift-aws-lambda-events, swift-aws-lambda-runtime, hummingbird
Fetched https://github.com/swift-server/swift-aws-lambda-events.git from cache (0.36s)
[2878/36833] Fetching swift-extras-base64, swift-aws-lambda-runtime, hummingbird
[7042/112888] Fetching swift-extras-base64, swift-aws-lambda-runtime, hummingbird, swift-nio
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (2.04s)
[57223/88405] Fetching swift-extras-base64, swift-aws-lambda-runtime, swift-nio
Fetched https://github.com/swift-extras/swift-extras-base64.git from cache (6.61s)
Fetched https://github.com/swift-server/swift-aws-lambda-runtime.git from cache (6.68s)
Fetched https://github.com/apple/swift-nio.git from cache (6.74s)
Computing version for https://github.com/swift-extras/swift-extras-base64.git
Computed https://github.com/swift-extras/swift-extras-base64.git at 1.0.0 (12.10s)
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 1.0.0 (1.04s)
Fetching https://github.com/apple/swift-http-types.git
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.29s)
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.94s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.14.0 (0.64s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/5914] Fetching swift-nio-extras
[61/8340] Fetching swift-nio-extras, swift-service-lifecycle
[6212/11007] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-transport-services
[10822/22534] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2
[11470/36548] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2, async-http-client
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.48s)
[14660/33881] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-http2, async-http-client
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.50s)
[9727/27967] Fetching swift-service-lifecycle, swift-nio-http2, async-http-client
[11410/42810] Fetching swift-service-lifecycle, swift-nio-http2, async-http-client, swift-nio-ssl
Fetching https://github.com/apple/swift-metrics.git
[23247/47784] Fetching swift-service-lifecycle, swift-nio-http2, async-http-client, swift-nio-ssl, swift-distributed-tracing
[27737/49990] Fetching swift-service-lifecycle, swift-nio-http2, async-http-client, swift-nio-ssl, swift-distributed-tracing, swift-metrics
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.60s)
[34478/45016] Fetching swift-service-lifecycle, swift-nio-http2, async-http-client, swift-nio-ssl, swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (0.57s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
[32420/42810] Fetching swift-service-lifecycle, swift-nio-http2, async-http-client, swift-nio-ssl
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.36s)
[32369/40384] Fetching swift-nio-http2, async-http-client, swift-nio-ssl
Fetching https://github.com/apple/swift-atomics.git
[35190/44220] Fetching swift-nio-http2, async-http-client, swift-nio-ssl, swift-log
[39917/60811] Fetching swift-nio-http2, async-http-client, swift-nio-ssl, swift-log, swift-collections
[42371/62521] Fetching swift-nio-http2, async-http-client, swift-nio-ssl, swift-log, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-log.git from cache (0.74s)
[42812/58685] Fetching swift-nio-http2, async-http-client, swift-nio-ssl, swift-collections, swift-atomics
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.70s)
[48016/56975] Fetching swift-nio-http2, async-http-client, swift-nio-ssl, swift-collections
[49013/61960] Fetching swift-nio-http2, async-http-client, swift-nio-ssl, swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.79s)
Fetched https://github.com/swift-server/async-http-client.git from cache (2.88s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.88s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.89s)
Fetched https://github.com/apple/swift-collections.git from cache (1.90s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (3.99s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.27s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.57s)
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.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.56s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (0.59s)
Fetching https://github.com/apple/swift-service-context.git
[1/1063] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.26s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (0.77s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.27s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.74s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.96s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/1141] Fetching swift-http-structured-headers
[195/2731] Fetching swift-http-structured-headers, swift-asn1
[472/8690] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms
[2603/14845] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.67s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.86s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.88s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.88s)
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.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.71s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (2.54s)
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.72s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (5.13s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.67s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.60s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (1.20s)
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 (1.48s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.92s)
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.60s)
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 1.0.0-alpha.3 (0.54s)
Creating working copy for https://github.com/swift-extras/swift-extras-base64.git
Working copy of https://github.com/swift-extras/swift-extras-base64.git resolved at 1.0.0
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/swift-server/swift-aws-lambda-events.git
Working copy of https://github.com/swift-server/swift-aws-lambda-events.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/hummingbird-project/hummingbird.git
Working copy of https://github.com/hummingbird-project/hummingbird.git resolved at 2.14.0
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 1.0.0-alpha.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.31.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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.24.0
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/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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.27.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.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.12.3
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.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.36.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
[1/1] Compiling plugin AWSLambdaPackager
Building for debugging...
[1/97] Write sources
[36/97] Compiling CNIOWindows WSAStartup.c
[37/97] Compiling CNIOWindows shim.c
[38/97] Compiling CNIOWASI CNIOWASI.c
[39/97] Compiling CNIOLinux shim.c
[40/97] Compiling CNIOLinux liburing_shims.c
[41/97] Compiling CNIODarwin shim.c
[42/97] Write sources
[48/97] Compiling CNIOLLHTTP c_nio_http.c
[49/97] Compiling CNIOLLHTTP c_nio_api.c
[50/97] Compiling _AtomicsShims.c
[51/97] Write swift-version-24593BA9C3E375BF.txt
[53/125] Emitting module InternalCollectionsUtilities
[53/126] Compiling CNIOLLHTTP c_nio_llhttp.c
[54/134] Compiling c-nioatomics.c
[56/137] Compiling _NIODataStructures _TinyArray.swift
[57/137] Compiling HTTPTypes ISOLatin1String.swift
[58/137] Compiling HTTPTypes HTTPFieldName.swift
[59/137] Compiling HTTPTypes HTTPResponse.swift
[60/138] Compiling InternalCollectionsUtilities Descriptions.swift
[61/138] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[62/138] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[62/138] Compiling c-atomics.c
[64/138] Compiling HTTPTypes HTTPField.swift
[65/138] Emitting module HTTPTypes
[66/138] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[67/138] Compiling InternalCollectionsUtilities Debugging.swift
[68/138] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[69/138] Emitting module _NIOBase64
[70/138] Compiling _NIOBase64 Base64.swift
[71/138] Compiling HTTPTypes HTTPRequest.swift
[72/138] Compiling HTTPTypes HTTPParsedFields.swift
[73/138] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[74/138] Compiling InternalCollectionsUtilities _SortedCollection.swift
[75/138] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[76/138] Compiling InternalCollectionsUtilities UInt+reversed.swift
[77/138] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[78/138] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[79/138] Emitting module Logging
[80/138] Compiling Logging Locks.swift
[81/139] Compiling _NIODataStructures PriorityQueue.swift
[82/139] Compiling ServiceContextModule ServiceContext.swift
[83/139] Compiling ServiceContextModule ServiceContextKey.swift
[84/139] Emitting module ServiceContextModule
[85/140] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[86/140] Compiling InternalCollectionsUtilities Integer rank.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[90/221] Emitting module ConcurrencyHelpers
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
59 | InitializeSRWLock(mutex)
60 | #else
61 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
62 | pthread_mutexattr_init(&attr)
63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
60 | #else
61 | var attr = pthread_mutexattr_t()
62 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
62 | pthread_mutexattr_init(&attr)
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
65 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
66 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
74 | // SRWLOCK does not need to be free'd
75 | #else
76 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
77 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
78 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
86 | AcquireSRWLockExclusive(mutex)
87 | #else
88 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
89 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
90 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
98 | ReleaseSRWLockExclusive(mutex)
99 | #else
100 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
101 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 | @inlinable
137 | static func create(value: Value) -> Self {
138 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
139 | return value
140 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 | @inlinable
152 | func lock() {
153 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
154 | LockOperations.lock(lockPtr)
155 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 | @inlinable
159 | func unlock() {
160 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
161 | LockOperations.unlock(lockPtr)
162 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 | @inlinable
166 | deinit {
167 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
168 | LockOperations.destroy(lockPtr)
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 | @inlinable
173 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
175 | return try body(lockPtr)
176 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 | @inlinable
180 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
182 | LockOperations.lock(lockPtr)
183 | defer { LockOperations.unlock(lockPtr) }
[91/221] Compiling ConcurrencyHelpers Lock.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
59 | InitializeSRWLock(mutex)
60 | #else
61 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
62 | pthread_mutexattr_init(&attr)
63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
60 | #else
61 | var attr = pthread_mutexattr_t()
62 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
62 | pthread_mutexattr_init(&attr)
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
65 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
66 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
74 | // SRWLOCK does not need to be free'd
75 | #else
76 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
77 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
78 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
86 | AcquireSRWLockExclusive(mutex)
87 | #else
88 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
89 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
90 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
98 | ReleaseSRWLockExclusive(mutex)
99 | #else
100 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
101 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 | @inlinable
137 | static func create(value: Value) -> Self {
138 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
139 | return value
140 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 | @inlinable
152 | func lock() {
153 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
154 | LockOperations.lock(lockPtr)
155 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 | @inlinable
159 | func unlock() {
160 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
161 | LockOperations.unlock(lockPtr)
162 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 | @inlinable
166 | deinit {
167 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
168 | LockOperations.destroy(lockPtr)
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 | @inlinable
173 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
175 | return try body(lockPtr)
176 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 | @inlinable
180 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
182 | LockOperations.lock(lockPtr)
183 | defer { LockOperations.unlock(lockPtr) }
[92/221] Compiling NIOConcurrencyHelpers lock.swift
[93/221] Compiling ConcurrencyHelpers LockedValueBox.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
[94/221] Compiling NIOConcurrencyHelpers NIOLock.swift
[95/221] Compiling Logging MetadataProvider.swift
[96/221] Compiling HTTPTypes NIOLock.swift
[97/221] Compiling _NIODataStructures Heap.swift
[98/221] Emitting module _NIODataStructures
[99/222] Compiling Logging LogHandler.swift
[100/222] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[101/222] Emitting module CoreMetrics
/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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 AWSLambdaPackager
Building for debugging...
[1/44] Write swift-version-24593BA9C3E375BF.txt
[3/89] Compiling Logging Locks.swift
[4/89] Compiling Logging LogHandler.swift
[5/89] Compiling ServiceContextModule ServiceContextKey.swift
[6/89] Compiling Logging MetadataProvider.swift
[7/89] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[8/90] Compiling NIOConcurrencyHelpers lock.swift
[9/90] Emitting module HTTPTypes
[10/91] Emitting module ServiceContextModule
[11/91] Compiling ServiceContextModule ServiceContext.swift
[12/92] Emitting module NIOConcurrencyHelpers
[13/92] Compiling InternalCollectionsUtilities Descriptions.swift
[14/92] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[15/92] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[16/92] Compiling InternalCollectionsUtilities Debugging.swift
[17/92] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[18/92] Compiling InternalCollectionsUtilities UInt+reversed.swift
[20/92] Emitting module _NIODataStructures
[21/92] Compiling HTTPTypes ISOLatin1String.swift
[22/92] Compiling _NIODataStructures _TinyArray.swift
[23/92] Compiling _NIODataStructures PriorityQueue.swift
[24/92] Compiling _NIODataStructures Heap.swift
[25/92] Compiling NIOConcurrencyHelpers NIOLock.swift
[26/92] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[27/93] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/93] Compiling HTTPTypes NIOLock.swift
[30/96] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[31/96] Compiling InternalCollectionsUtilities Integer rank.swift
[32/102] Compiling _NIOBase64 Base64.swift
[33/102] Emitting module _NIOBase64
[34/103] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[35/103] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[36/103] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[37/103] Compiling InternalCollectionsUtilities _SortedCollection.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/103] 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.
[40/103] Compiling Instrumentation Instrument.swift
[41/103] Compiling Instrumentation MultiplexInstrument.swift
[42/103] Compiling Instrumentation NoOpInstrument.swift
[43/103] 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 | }
[44/106] 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.
[45/106] Compiling HTTPTypes HTTPRequest.swift
[46/106] Emitting module Logging
BUILD FAILURE 6.1 wasm