Build Information
Failed to build smoke-http, reference main (060537), with Swift 6.1 for Wasm on 30 May 2025 06:25:46 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amzn/smoke-http.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/amzn/smoke-http
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 060537a Remove conflicting copy of NIO method (#141)
Cloned https://github.com/amzn/smoke-http.git
Revision (git rev-parse @):
060537a19e16449fa58e9bc9e877442934ba2f2a
SUCCESS checkout https://github.com/amzn/smoke-http.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/amzn/smoke-http.git
https://github.com/amzn/smoke-http.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.33.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.14.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "swift-distributed-tracing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-distributed-tracing.git"
}
],
"manifest_display_name" : "smoke-http",
"name" : "smoke-http",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SmokeHTTPClient",
"targets" : [
"SmokeHTTPClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "_SmokeHTTPClientConcurrency",
"targets" : [
"_SmokeHTTPClientConcurrency"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "QueryCoding",
"targets" : [
"QueryCoding"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HTTPHeadersCoding",
"targets" : [
"HTTPHeadersCoding"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HTTPPathCoding",
"targets" : [
"HTTPPathCoding"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ShapeCoding",
"targets" : [
"ShapeCoding"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "_SmokeHTTPClientConcurrency",
"module_type" : "SwiftTarget",
"name" : "_SmokeHTTPClientConcurrency",
"path" : "Sources/_SmokeHTTPClientConcurrency",
"product_memberships" : [
"_SmokeHTTPClientConcurrency"
],
"sources" : [
"Export.swift"
],
"target_dependencies" : [
"SmokeHTTPClient"
],
"type" : "library"
},
{
"c99name" : "SmokeHTTPClientTests",
"module_type" : "SwiftTarget",
"name" : "SmokeHTTPClientTests",
"path" : "Tests/SmokeHTTPClientTests",
"sources" : [
"MockHTTPClientInvocationClientTests.swift",
"SmokeHTTPClientTests.swift"
],
"target_dependencies" : [
"SmokeHTTPClient"
],
"type" : "test"
},
{
"c99name" : "SmokeHTTPClient",
"module_type" : "SwiftTarget",
"name" : "SmokeHTTPClient",
"path" : "Sources/SmokeHTTPClient",
"product_dependencies" : [
"Logging",
"Metrics",
"NIO",
"NIOHTTP1",
"NIOFoundationCompat",
"NIOSSL",
"AsyncHTTPClient",
"Tracing"
],
"product_memberships" : [
"SmokeHTTPClient",
"_SmokeHTTPClientConcurrency"
],
"sources" : [
"AsyncResponseInvocationStrategy.swift",
"BodyHTTPRequestInput.swift",
"GlobalDispatchQueueAsyncResponseInvocationStrategy.swift",
"HTTPClientCoreInvocationReporting.swift",
"HTTPClientDelegate.swift",
"HTTPClientInnerRetryInvocationReporting.swift",
"HTTPClientInvocationContext.swift",
"HTTPClientInvocationDelegate.swift",
"HTTPClientInvocationReporting.swift",
"HTTPClientReportingConfiguration.swift",
"HTTPClientRetryConfiguration.swift",
"HTTPError.swift",
"HTTPInvocationClient.swift",
"HTTPOperationsClient +executeAsyncRetriableWithOutput.swift",
"HTTPOperationsClient +executeAsyncWithOutput.swift",
"HTTPOperationsClient +executeAsyncWithoutOutput.swift",
"HTTPOperationsClient +executeSyncRetriableWithOutput.swift",
"HTTPOperationsClient +executeSyncRetriableWithoutOutput.swift",
"HTTPOperationsClient +executeSyncWithOutput.swift",
"HTTPOperationsClient +executeSyncWithoutOutput.swift",
"HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift",
"HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift",
"HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift",
"HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift",
"HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift",
"HTTPOperationsClient+executeRetriableWithOutput.swift",
"HTTPOperationsClient+executeRetriableWithoutOutput.swift",
"HTTPOperationsClient+executeWithOutput.swift",
"HTTPOperationsClient+executeWithoutOutput.swift",
"HTTPOperationsClient.swift",
"HTTPRequestComponents.swift",
"HTTPRequestInput.swift",
"HTTPRequestInputProtocol.swift",
"HTTPResponseComponents.swift",
"HTTPResponseOutputProtocol.swift",
"HttpClientError.swift",
"InvocationTraceContext.swift",
"MockCoreInvocationReporting.swift",
"MockHTTPClient.swift",
"MockHTTPInvocationClient.swift",
"MockInvocationTraceContext.swift",
"NoHTTPRequestInput.swift",
"QueryHTTPRequestInput.swift",
"RetriableOutwardsRequestLatencyAggregator.swift",
"SameThreadAsyncResponseInvocationStrategy.swift",
"StandardHTTPClientCoreInvocationReporting.swift",
"StandardHTTPClientInvocationReporting.swift",
"TestEventLoopProvider.swift"
],
"target_dependencies" : [
"HTTPHeadersCoding"
],
"type" : "library"
},
{
"c99name" : "ShapeCodingTests",
"module_type" : "SwiftTarget",
"name" : "ShapeCodingTests",
"path" : "Tests/ShapeCodingTests",
"sources" : [
"ShapeSingleValueEncodingContainerTests.swift",
"StandardShapeParserTests.swift"
],
"target_dependencies" : [
"ShapeCoding"
],
"type" : "test"
},
{
"c99name" : "ShapeCoding",
"module_type" : "SwiftTarget",
"name" : "ShapeCoding",
"path" : "Sources/ShapeCoding",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"SmokeHTTPClient",
"_SmokeHTTPClientConcurrency",
"QueryCoding",
"HTTPHeadersCoding",
"HTTPPathCoding",
"ShapeCoding"
],
"sources" : [
"DateISO8601Extensions.swift",
"DecodingErrorExtension.swift",
"MutableShape.swift",
"RawShape.swift",
"ShapeCodingKey.swift",
"ShapeDecoder+unbox.swift",
"ShapeDecoder.swift",
"ShapeDecoderDelegate.swift",
"ShapeDecodingStorage.swift",
"ShapeElement.swift",
"ShapeKeyedDecodingContainer+KeyedDecodingContainerProtocol.swift",
"ShapeKeyedDecodingContainer.swift",
"ShapeKeyedEncodingContainer.swift",
"ShapeSingleValueEncodingContainer.swift",
"ShapeSingleValueEncodingContainerDelegate.swift",
"ShapeUnkeyedDecodingContainer.swift",
"ShapeUnkeyedEncodingContainer.swift",
"StandardDecodingOptions.swift",
"StandardEncodingOptions.swift",
"StandardShapeDecoderDelegate.swift",
"StandardShapeParser.swift",
"StandardShapeSingleValueEncodingContainerDelegate.swift"
],
"type" : "library"
},
{
"c99name" : "QueryCodingTests",
"module_type" : "SwiftTarget",
"name" : "QueryCodingTests",
"path" : "Tests/QueryCodingTests",
"sources" : [
"QueryCodingTestInput.swift",
"QueryEncoderTests.swift"
],
"target_dependencies" : [
"QueryCoding"
],
"type" : "test"
},
{
"c99name" : "QueryCoding",
"module_type" : "SwiftTarget",
"name" : "QueryCoding",
"path" : "Sources/QueryCoding",
"product_memberships" : [
"QueryCoding"
],
"sources" : [
"QueryDecoder.swift",
"QueryEncoder.swift"
],
"target_dependencies" : [
"ShapeCoding"
],
"type" : "library"
},
{
"c99name" : "HTTPPathCodingTests",
"module_type" : "SwiftTarget",
"name" : "HTTPPathCodingTests",
"path" : "Tests/HTTPPathCodingTests",
"sources" : [
"GetShapeForTemplateTests.swift",
"HTTPPathCoderTestInput.swift",
"HTTPPathEncoderTests.swift",
"HTTPPathSegmentTests.swift",
"HTTPPathTokenTests.swift"
],
"target_dependencies" : [
"HTTPPathCoding"
],
"type" : "test"
},
{
"c99name" : "HTTPPathCoding",
"module_type" : "SwiftTarget",
"name" : "HTTPPathCoding",
"path" : "Sources/HTTPPathCoding",
"product_memberships" : [
"HTTPPathCoding"
],
"sources" : [
"Array+getShapeForTemplate.swift",
"HTTPPathDecoder.swift",
"HTTPPathEncoder.swift",
"HTTPPathSegment.swift",
"HTTPPathToken.swift"
],
"target_dependencies" : [
"ShapeCoding"
],
"type" : "library"
},
{
"c99name" : "HTTPHeadersCodingTests",
"module_type" : "SwiftTarget",
"name" : "HTTPHeadersCodingTests",
"path" : "Tests/HTTPHeadersCodingTests",
"sources" : [
"HTTPHeadersCodingTestInput.swift",
"HTTPHeadersEncoderTests.swift"
],
"target_dependencies" : [
"HTTPHeadersCoding"
],
"type" : "test"
},
{
"c99name" : "HTTPHeadersCoding",
"module_type" : "SwiftTarget",
"name" : "HTTPHeadersCoding",
"path" : "Sources/HTTPHeadersCoding",
"product_memberships" : [
"SmokeHTTPClient",
"_SmokeHTTPClientConcurrency",
"HTTPHeadersCoding"
],
"sources" : [
"HTTPHeadersDecoder.swift",
"HTTPHeadersEncoder.swift"
],
"target_dependencies" : [
"ShapeCoding"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/swift-server/async-http-client.git
[1/3836] Fetching swift-log
[2/6042] Fetching swift-log, swift-metrics
[453/11016] Fetching swift-log, swift-metrics, swift-distributed-tracing
[9973/25030] Fetching swift-log, swift-metrics, swift-distributed-tracing, async-http-client
[12699/101138] Fetching swift-log, swift-metrics, swift-distributed-tracing, async-http-client, swift-nio
Fetched https://github.com/apple/swift-metrics.git from cache (0.52s)
Fetched https://github.com/apple/swift-log.git from cache (0.53s)
[8339/95096] Fetching swift-distributed-tracing, async-http-client, swift-nio
[8620/109939] Fetching swift-distributed-tracing, async-http-client, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.19s)
[50674/104965] Fetching async-http-client, swift-nio, swift-nio-ssl
Fetched https://github.com/swift-server/async-http-client.git from cache (1.19s)
[36808/90951] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.33s)
[55559/76108] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.23s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (6.51s)
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.74s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (1.80s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.56s)
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-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.75s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.33s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1710] Fetching swift-atomics
[532/6101] Fetching swift-atomics, swift-system
[1428/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.17s)
Fetched https://github.com/apple/swift-system.git from cache (1.17s)
Fetched https://github.com/apple/swift-collections.git from cache (1.20s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.46s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.90s)
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.61s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2667] Fetching swift-nio-transport-services
[295/14194] Fetching swift-nio-transport-services, swift-nio-http2
[891/20153] Fetching swift-nio-transport-services, swift-nio-http2, swift-algorithms
[1126/26067] Fetching swift-nio-transport-services, swift-nio-http2, swift-algorithms, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.90s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.91s)
[9603/17441] Fetching swift-nio-http2, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.08s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.10s)
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 (2.99s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (1.13s)
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.84s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/1141] Fetching swift-http-structured-headers
[1142/2045] Fetching swift-http-structured-headers, swift-http-types
[1170/4471] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle
[1868/6061] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-asn1
[6062/12216] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-asn1, swift-certificates
[6432/17201] Fetching swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-asn1, swift-certificates, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.89s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.89s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.91s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.91s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.91s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.91s)
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.68s)
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.66s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.67s)
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.44s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (5.47s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.62s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.18s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.94s)
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.57s)
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 (0.56s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.60s)
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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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/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-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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.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/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-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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
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-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-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/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-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-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-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-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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Building for debugging...
[0/450] Write sources
[19/450] Compiling CNIOLLHTTP c_nio_http.c
[20/450] Write sources
[22/450] Compiling _NumericsShims _NumericsShims.c
[23/450] Write sources
[33/450] Compiling fiat_curve25519_adx_mul.S
[34/450] Compiling CNIOLLHTTP c_nio_api.c
[35/450] Compiling CNIOWindows WSAStartup.c
[36/450] Compiling _AtomicsShims.c
[37/450] Compiling CNIOWindows shim.c
[38/450] Compiling CNIOWASI CNIOWASI.c
[39/450] Compiling CNIOLinux liburing_shims.c
[40/450] Compiling CNIOLinux shim.c
[41/450] Compiling CNIOExtrasZlib empty.c
[42/450] Compiling CNIODarwin shim.c
[43/450] Compiling fiat_p256_adx_sqr.S
[44/450] Compiling fiat_p256_adx_mul.S
[45/450] Compiling fiat_curve25519_adx_square.S
[46/450] Compiling getentropy.cc
[47/450] Compiling CNIOBoringSSLShims shims.c
[48/450] Compiling ios.cc
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.
[49/450] Compiling tls_method.cc
[49/450] Compiling tls13_client.cc
[49/450] Compiling tls_record.cc
[49/450] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/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>
| ^~~~~~~~~~~
[49/450] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/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>
| ^~~~~~~~~~~
[49/450] Compiling tls13_server.cc
[49/450] Compiling CNIOLLHTTP c_nio_llhttp.c
[49/450] Write swift-version-24593BA9C3E375BF.txt
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/401] Write sources
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: error: call to undeclared function 'strptime_l'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
37 | const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
| ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: note: did you mean 'strftime_l'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:93:8: note: 'strftime_l' declared here
93 | size_t strftime_l (char * __restrict, size_t, const char * __restrict, const struct tm * __restrict, locale_t);
| ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:18: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'int' [-Wint-conversion]
37 | const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[3/401] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[3/401] Compiling tls13_server.cc
[3/401] Compiling tls_record.cc
[3/401] Compiling tls13_enc.cc
[3/401] Compiling tls13_client.cc
[3/401] Compiling c-atomics.c
[3/401] Compiling tls_method.cc
[3/401] Compiling c-nioatomics.c
BUILD FAILURE 6.1 wasm