Build Information
Failed to build vapor-oauth, reference main (8f49da), with Swift 6.1 for Wasm on 1 Mar 2026 00:51:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brokenhandsio/vapor-oauth.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/brokenhandsio/vapor-oauth
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8f49daa Merge pull request #32 from klaas/main
Cloned https://github.com/brokenhandsio/vapor-oauth.git
Revision (git rev-parse @):
8f49daa268d58ea15b8a4ad0f472c4b0b82f5c87
SUCCESS checkout https://github.com/brokenhandsio/vapor-oauth.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/brokenhandsio/vapor-oauth.git
https://github.com/brokenhandsio/vapor-oauth.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "vapor",
"requirement" : {
"range" : [
{
"lower_bound" : "4.111.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/vapor.git"
}
],
"manifest_display_name" : "vapor-oauth",
"name" : "vapor-oauth",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "OAuth",
"targets" : [
"VaporOAuth"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VaporOAuthTests",
"module_type" : "SwiftTarget",
"name" : "VaporOAuthTests",
"path" : "Tests/VaporOAuthTests",
"product_dependencies" : [
"XCTVapor"
],
"sources" : [
"Application+testable.swift",
"AuthorizationTests/AuthorizationRequestTests.swift",
"AuthorizationTests/AuthorizationResponseTests.swift",
"DefaultImplementationTests/DefaultImplementationTests.swift",
"Fakes/AccessToken.swift",
"Fakes/CapturingAuthorizeHandler.swift",
"Fakes/CapturingLogger.swift",
"Fakes/FakeAuthenticationMiddleware.swift",
"Fakes/FakeClientGetter.swift",
"Fakes/FakeCodeManager.swift",
"Fakes/FakeResourceServerRetriever.swift",
"Fakes/FakeSessions.swift",
"Fakes/FakeTokenManager.swift",
"Fakes/FakeUserManager.swift",
"Fakes/RefreshToken.swift",
"Fakes/StubCodeManager.swift",
"Fakes/StubTokenManager.swift",
"Fakes/StubUserManager.swift",
"GrantTests/AuthorizationCodeTokenTests.swift",
"GrantTests/ClientCredentialsTokenTests.swift",
"GrantTests/ImplicitGrantTests.swift",
"GrantTests/PasswordGrantTokenTests.swift",
"GrantTests/TokenRefreshTests.swift",
"Helpers/HTTPHeaders+location.swift",
"Helpers/Responses.swift",
"Helpers/TestDataBuilder.swift",
"IntegrationTests/AuthCodeResourceServerTests.swift",
"TokenIntrospectionTests/TokenIntrospectionTests.swift"
],
"target_dependencies" : [
"VaporOAuth"
],
"type" : "test"
},
{
"c99name" : "VaporOAuth",
"module_type" : "SwiftTarget",
"name" : "VaporOAuth",
"path" : "Sources/VaporOAuth",
"product_dependencies" : [
"Vapor"
],
"product_memberships" : [
"OAuth"
],
"sources" : [
"DefaultImplementations/EmptyAuthorizationHandler.swift",
"DefaultImplementations/EmptyCodeManager.swift",
"DefaultImplementations/EmptyResourceServerRetriever.swift",
"DefaultImplementations/EmptyUserManager.swift",
"DefaultImplementations/StaticClientRetriever.swift",
"Helper/OAuthHelper+local.swift",
"Helper/OAuthHelper+remote.swift",
"Helper/OAuthHelper.swift",
"Middleware/OAuth2ScopeMiddleware.swift",
"Middleware/OAuth2TokenIntrospectionMiddleware.swift",
"Middleware/TokenIntrospectionAuthenticationMiddleware.swift",
"Models/OAuthClient.swift",
"Models/OAuthCode.swift",
"Models/OAuthResourceServer.swift",
"Models/OAuthUser.swift",
"Models/Tokens/AccessToken.swift",
"Models/Tokens/RefreshToken.swift",
"OAuth2.swift",
"Protocols/AuthorizeHandler.swift",
"Protocols/ClientRetriever.swift",
"Protocols/CodeManager.swift",
"Protocols/ResourceServerRetriever.swift",
"Protocols/TokenManager.swift",
"Protocols/UserManager.swift",
"RouteHandlers/AuthorizeGetHandler.swift",
"RouteHandlers/AuthorizePostHandler.swift",
"RouteHandlers/TokenHandler.swift",
"RouteHandlers/TokenHandlers/AuthCodeTokenHandler.swift",
"RouteHandlers/TokenHandlers/ClientCredentialsTokenHandler.swift",
"RouteHandlers/TokenHandlers/PasswordTokenHandler.swift",
"RouteHandlers/TokenHandlers/RefreshTokenHandler.swift",
"RouteHandlers/TokenHandlers/TokenResponseGenerator.swift",
"RouteHandlers/TokenIntrospectionHandler.swift",
"Utilities/OAuthFlowType.swift",
"Utilities/StringDefines.swift",
"Utilities/TokenAuthenticator.swift",
"Validators/ClientValidator.swift",
"Validators/CodeValidator.swift",
"Validators/ResourceServerAuthenticator.swift",
"Validators/ScopeValidator.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/vapor.git
[1/76791] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (4.56s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.121.3 (5.95s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-asn1.git
[1/2652] Fetching websocket-kit
[558/4412] Fetching websocket-kit, swift-asn1
[2527/6232] Fetching websocket-kit, swift-asn1, swift-atomics
[2837/9848] Fetching websocket-kit, swift-asn1, swift-atomics, multipart-kit
[4991/16957] Fetching websocket-kit, swift-asn1, swift-atomics, multipart-kit, swift-certificates
Fetched https://github.com/vapor/websocket-kit.git from cache (3.82s)
Fetched https://github.com/apple/swift-atomics.git from cache (3.83s)
Fetched https://github.com/apple/swift-asn1.git from cache (3.83s)
Fetched https://github.com/apple/swift-certificates.git from cache (3.90s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/vapor/multipart-kit.git from cache (4.23s)
Fetching https://github.com/apple/swift-nio-extras.git
[1/1180] Fetching swift-service-context
[237/7238] Fetching swift-service-context, swift-algorithms
[1189/9916] Fetching swift-service-context, swift-algorithms, swift-metrics
[4013/15581] Fetching swift-service-context, swift-algorithms, swift-metrics, swift-distributed-tracing
Fetched https://github.com/apple/swift-metrics.git from cache (1.21s)
[11148/19388] Fetching swift-service-context, swift-algorithms, swift-distributed-tracing, swift-nio-extras
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-algorithms.git from cache (1.54s)
[10542/13330] Fetching swift-service-context, swift-distributed-tracing, swift-nio-extras
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-service-context.git from cache (1.85s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.86s)
Fetching https://github.com/apple/swift-nio.git
[6485/6485] Fetching swift-nio-extras
[6486/18483] Fetching swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.87s)
[1800/11998] Fetching swift-nio-http2
Fetching https://github.com/apple/swift-crypto.git
[2401/18088] Fetching swift-nio-http2, swift-log
[4897/33430] Fetching swift-nio-http2, swift-log, swift-nio-ssl
[10899/50668] Fetching swift-nio-http2, swift-log, swift-nio-ssl, swift-crypto
[11072/133214] Fetching swift-nio-http2, swift-log, swift-nio-ssl, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.94s)
[9184/127124] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto, swift-nio
Fetching https://github.com/vapor/console-kit.git
[21233/133676] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto, swift-nio, console-kit
Fetched https://github.com/vapor/console-kit.git from cache (1.59s)
Fetching https://github.com/vapor/async-kit.git
[26589/127124] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto, swift-nio
[34055/129578] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto, swift-nio, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (1.23s)
Fetching https://github.com/swift-server/async-http-client.git
[39975/127124] Fetching swift-nio-http2, swift-nio-ssl, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (5.83s)
[42404/115126] Fetching swift-nio-ssl, swift-crypto, swift-nio
[48784/130454] Fetching swift-nio-ssl, swift-crypto, swift-nio, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (5.16s)
[80792/115126] Fetching swift-nio-ssl, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (11.68s)
[73370/99784] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (12.49s)
[65212/82546] Fetching swift-nio
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/apple/swift-nio.git from cache (21.48s)
[1/21356] Fetching routing-kit
Fetched https://github.com/vapor/routing-kit.git from cache (1.94s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (30.01s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.30s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.84s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (2.35s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (1.08s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (1.25s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2815] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.63s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (1.78s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (1.40s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.25s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (4.65s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.8.0 (1.13s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (1.26s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (1.25s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (1.53s)
Fetching https://github.com/apple/swift-collections.git
[1/20255] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.16s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.0 (3.35s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (1.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.52s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (3.32s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.32.1 (1.55s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1210] Fetching swift-http-structured-headers
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.49s)
[1/6142] Fetching swift-async-algorithms
[6143/8791] Fetching swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.95s)
[1378/2649] Fetching swift-service-lifecycle
[1697/3600] Fetching swift-service-lifecycle, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.72s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.95.0 (3.21s)
Fetching https://github.com/apple/swift-system.git
[1/5583] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.82s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.10.1 (2.10s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.2 (1.37s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.29s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (1.21s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (4.62s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (2.01s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.40.0 (1.22s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.32.0 (1.25s)
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.121.3
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.6.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.1.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.26.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.21.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.10.1
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.36.0
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
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.5.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.95.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.8.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.10.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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.6.4
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.40.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.18.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.1.1
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
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.32.1
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.3.0
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.3
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.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.32.0
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.4.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
Building for debugging...
[0/851] Write sources
[45/851] Compiling _CWASI _CWASI.c
[46/851] 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.
[56/851] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[56/851] Compiling _NumericsShims _NumericsShims.c
[56/851] Compiling CXKCPShims shims.c
[56/851] Compiling _AtomicsShims.c
[56/851] Compiling CVaporBcrypt bcrypt.c
[56/851] Compiling c-atomics.c
[56/851] Compiling CVaporBcrypt blf.c
[56/851] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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/795] Compiling _NumericsShims _NumericsShims.c
[1/795] Compiling CSystem shims.c
[2/795] Compiling KeccakSponge.c
[3/795] Compiling CXKCPShims shims.c
[4/795] Compiling _AtomicsShims.c
[5/795] Compiling SimpleFIPS202.c
[6/795] Compiling KeccakHash.c
[7/795] Compiling CNIOWindows WSAStartup.c
[8/795] Compiling CNIOWASI CNIOWASI.c
[9/795] Compiling CNIOWindows shim.c
[10/795] Compiling CNIOOpenBSD shim.c
[11/795] Compiling CVaporBcrypt bcrypt.c
[12/795] Compiling CNIOPosix event_loop_id.c
[13/795] Compiling CNIOLinux shim.c
[14/795] Compiling CNIOSHA1 c_nio_sha1.c
[15/795] Compiling CNIOLinux liburing_shims.c
[16/795] Compiling CNIOExtrasZlib empty.c
[17/795] Compiling CVaporBcrypt blf.c
[18/795] Compiling CNIOLLHTTP c_nio_http.c
[19/795] Compiling CNIODarwin shim.c
[20/795] Compiling CNIOLLHTTP c_nio_api.c
[21/795] Compiling fiat_p256_adx_mul.S
[22/795] Compiling fiat_p256_adx_sqr.S
[23/795] Compiling fiat_curve25519_adx_square.S
[24/795] Compiling fiat_curve25519_adx_mul.S
[25/795] Write swift-version-24593BA9C3E375BF.txt
[26/795] Compiling CNIOBoringSSLShims shims.c
[28/799] Emitting module _NIODataStructures
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/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.
[28/799] Compiling tls13_enc.cc
[28/799] Compiling CNIOLLHTTP c_nio_llhttp.c
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>
| ^~~~~~~~~~~
[28/799] Compiling tls13_server.cc
[28/799] Compiling KeccakP-1600-opt64.c
[28/799] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/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>
| ^~~~~~~~~~~
[28/799] Compiling tls_record.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>
| ^~~~~~~~~~~
[28/799] Compiling tls_method.cc
swift-build: /home/build-user/llbuild/lib/Core/SQLiteBuildDB.cpp:703: virtual void (anonymous namespace)::SQLiteBuildDB::buildComplete(): Assertion `result == SQLITE_OK' failed.
*** Signal 6: Backtracing from 0x7f551e8b39fc... done ***
*** Program crashed: Aborted at 0x0000000000000001 ***
Thread 0 "swift-build":
0 0x00007f551e85f80a <unknown> in libc.so.6
Thread 1:
0 0x00007f551e942e2e <unknown> in libc.so.6
Thread 2 crashed:
0 0x00007f551e8b39fc <unknown> in libc.so.6
Thread 3:
0 0x00007f551e8ae117 <unknown> in libc.so.6
Thread 4:
0 0x00007f551e8ae117 <unknown> in libc.so.6
Registers:
rax 0x0000000000000000 0
rdx 0x00007f5513fff640 40 f6 ff 13 55 7f 00 00 20 27 00 14 55 7f 00 00 @öÿ·U··· '··U···
rcx 0x00007f551e8b39fc 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A·ÅA÷Ý=·ðÿÿ¸····
rbx 0x0000000000000006 6
rsi 0x0000000000000001 1
rdi 0x000000000000000a 10
rbp 0x000000000000000a 10
rsp 0x00007f5513ffe310 9c 18 1a 08 55 7f 00 00 70 17 1a 08 55 7f 00 00 ····U···p···U···
r8 0x00007f5513ffe3e0 20 00 00 00 00 00 00 00 a0 86 a3 1e 55 7f 00 00 ······· ·£·U···
r9 0x0000000000000000 0
r10 0x0000000000000008 8
r11 0x0000000000000246 582
r12 0x0000000000000006 6
r13 0x0000000000000016 22
r14 0x0000559c3de31554 72 65 73 75 6c 74 20 3d 3d 20 53 51 4c 49 54 45 result == SQLITE
r15 0x00007f5508798d60 d8 2a d6 3d 9c 55 00 00 98 f3 00 08 55 7f 00 00 Ø*Ö=·U···ó··U···
rip 0x00007f551e8b39fc 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A·ÅA÷Ý=·ðÿÿ¸····
rflags 0x0000000000000246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (71 omitted):
0x00007f551e81d000–0x00007f551e9d9341 cd410b710f0f094c6832edd95931006d883af48e libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.01s
BUILD FAILURE 6.1 wasm