Build Information
Failed to build SwiftOpenAIProxy, reference main (5ecaaf
), with Swift 6.1 for Wasm on 29 May 2025 16:25:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/PicoMLX/PicoAIProxy.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/PicoMLX/PicoAIProxy
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5ecaaf2 Merge pull request #7 from iliasaz/main
Cloned https://github.com/PicoMLX/PicoAIProxy.git
Revision (git rev-parse @):
5ecaaf24675bf0b9a51aa14323b4b31138cd8f86
SUCCESS checkout https://github.com/PicoMLX/PicoAIProxy.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/PicoMLX/PicoAIProxy.git
https://github.com/PicoMLX/PicoAIProxy.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "hummingbird",
"requirement" : {
"range" : [
{
"lower_bound" : "1.12.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/hummingbird.git"
},
{
"identity" : "hummingbird-auth",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/hummingbird-auth"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.19.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "app-store-server-library-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/app-store-server-library-swift.git"
},
{
"identity" : "jwt-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/jwt-kit.git"
},
{
"identity" : "hummingbird-fluent",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/hummingbird-fluent.git"
},
{
"identity" : "fluent-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.16.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/fluent-kit.git"
},
{
"identity" : "fluent-sqlite-driver",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/fluent-sqlite-driver.git"
}
],
"manifest_display_name" : "SwiftOpenAIProxy",
"name" : "SwiftOpenAIProxy",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "App",
"targets" : [
"App"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "AppTests",
"module_type" : "SwiftTarget",
"name" : "AppTests",
"path" : "Tests/AppTests",
"product_dependencies" : [
"HummingbirdXCT"
],
"sources" : [
"AppTests.swift"
],
"target_dependencies" : [
"App"
],
"type" : "test"
},
{
"c99name" : "App",
"module_type" : "SwiftTarget",
"name" : "App",
"path" : "Sources/App",
"product_dependencies" : [
"Hummingbird",
"HummingbirdAuth",
"ArgumentParser",
"AsyncHTTPClient",
"AppStoreServerLibrary",
"JWTKit",
"HummingbirdFluent",
"FluentKit",
"FluentSQLiteDriver"
],
"product_memberships" : [
"App"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/App/Resources/AppleComputerRootCertificate.cer",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/App/Resources/AppleIncRootCertificate.cer",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/App/Resources/AppleRootCA-G2.cer",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/App/Resources/AppleRootCA-G3.cer",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/App/Resources/Providers.plist",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"App.swift",
"Application+configure.swift",
"Controllers/AppStoreController.swift",
"Extensions/Status.swift",
"Middleware/APIKeyMiddleware.swift",
"Middleware/AppStoreAuthenticator.swift",
"Middleware/JWTAuthenticator.swift",
"Middleware/MessageRouterMiddleware.swift",
"Middleware/ProxyServerMiddleware.swift",
"Middleware/RateLimiterMiddleware.swift",
"Middleware/StreamingResponseDelegate.swift",
"Models/Chat.swift",
"Models/Config.swift",
"Models/LLMModel.swift",
"Models/LLMProvider.swift",
"Models/User.swift",
"Models/UserMigration.swift",
"Models/UserRequest.swift",
"Models/UserRequestMigration.swift",
"Providers.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/app-store-server-library-swift.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/hummingbird-project/hummingbird-fluent.git
Fetching https://github.com/vapor/jwt-kit.git
Fetching https://github.com/vapor/fluent-sqlite-driver.git
[1/1347] Fetching fluent-sqlite-driver
[1348/2212] Fetching fluent-sqlite-driver, hummingbird-fluent
[2213/4137] Fetching fluent-sqlite-driver, hummingbird-fluent, app-store-server-library-swift
Fetched https://github.com/vapor/fluent-sqlite-driver.git from cache (0.49s)
Fetching https://github.com/vapor/fluent-kit.git
Fetched https://github.com/hummingbird-project/hummingbird-fluent.git from cache (0.51s)
[655/1925] Fetching app-store-server-library-swift
[733/15939] Fetching app-store-server-library-swift, async-http-client
Fetching https://github.com/apple/swift-argument-parser.git
[4589/24988] Fetching app-store-server-library-swift, async-http-client, jwt-kit
[18565/38316] Fetching app-store-server-library-swift, async-http-client, jwt-kit, fluent-kit
[22993/53695] Fetching app-store-server-library-swift, async-http-client, jwt-kit, fluent-kit, swift-argument-parser
Fetched https://github.com/vapor/fluent-kit.git from cache (1.47s)
[38830/40367] Fetching app-store-server-library-swift, async-http-client, jwt-kit, swift-argument-parser
Fetching https://github.com/hummingbird-project/hummingbird.git
Fetched https://github.com/swift-server/async-http-client.git from cache (2.05s)
Fetched https://github.com/apple/app-store-server-library-swift.git from cache (2.29s)
Fetched https://github.com/vapor/jwt-kit.git from cache (2.29s)
[1/24483] Fetching hummingbird
Fetching https://github.com/hummingbird-project/hummingbird-auth
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.01s)
[6857/26583] Fetching hummingbird, hummingbird-auth
Fetched https://github.com/hummingbird-project/hummingbird-auth from cache (0.46s)
[7590/24483] Fetching hummingbird
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (1.87s)
Computing version for https://github.com/hummingbird-project/hummingbird-auth
Computed https://github.com/hummingbird-project/hummingbird-auth at 1.3.0 (7.17s)
Fetching https://github.com/swift-extras/swift-extras-base64.git
Fetching https://github.com/apple/swift-crypto.git
[1/833] Fetching swift-extras-base64
[834/14769] Fetching swift-extras-base64, swift-crypto
Fetched https://github.com/swift-extras/swift-extras-base64.git from cache (0.39s)
[419/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.22s)
Computing version for https://github.com/swift-extras/swift-extras-base64.git
Computed https://github.com/swift-extras/swift-extras-base64.git at 0.7.0 (4.39s)
Computing version for https://github.com/hummingbird-project/hummingbird-fluent.git
Computed https://github.com/hummingbird-project/hummingbird-fluent.git at 1.1.0 (1.33s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 1.12.2 (0.96s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/hummingbird-project/hummingbird-core.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio.git
[1/2213] Fetching hummingbird-core
[533/4419] Fetching hummingbird-core, swift-metrics
[534/6845] Fetching hummingbird-core, swift-metrics, swift-service-lifecycle
[607/11819] Fetching hummingbird-core, swift-metrics, swift-service-lifecycle, swift-distributed-tracing
[3118/15655] Fetching hummingbird-core, swift-metrics, swift-service-lifecycle, swift-distributed-tracing, swift-log
[15656/91752] Fetching hummingbird-core, swift-metrics, swift-service-lifecycle, swift-distributed-tracing, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.91s)
[15624/87916] Fetching hummingbird-core, swift-metrics, swift-service-lifecycle, swift-distributed-tracing, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (7.45s)
Fetched https://github.com/hummingbird-project/hummingbird-core.git from cache (7.45s)
Fetched https://github.com/apple/swift-metrics.git from cache (7.45s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (7.48s)
Fetched https://github.com/apple/swift-nio.git from cache (7.61s)
Computing version for https://github.com/hummingbird-project/hummingbird-core.git
Computed https://github.com/hummingbird-project/hummingbird-core.git at 1.6.1 (8.53s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/5914] Fetching swift-nio-extras
[179/8581] Fetching swift-nio-extras, swift-nio-transport-services
[2282/20108] Fetching swift-nio-extras, swift-nio-transport-services, swift-nio-http2
[11118/34951] Fetching swift-nio-extras, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.07s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.10s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.13s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.14s)
Computing version for https://github.com/apple/app-store-server-library-swift.git
Computed https://github.com/apple/app-store-server-library-swift.git at 1.1.0 (4.00s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/1590] Fetching swift-asn1
[304/7745] Fetching swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.61s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.61s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.30s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.84s)
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.61s)
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.39s)
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.32s)
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.02s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.69s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (2.23s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[968/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.93s)
Fetched https://github.com/apple/swift-collections.git from cache (1.97s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (3.03s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.91s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.15s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.99s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.06s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.35s)
Computing version for https://github.com/vapor/fluent-sqlite-driver.git
Computed https://github.com/vapor/fluent-sqlite-driver.git at 4.8.1 (0.86s)
Fetching https://github.com/vapor/sqlite-kit.git
[1/2112] Fetching sqlite-kit
Fetched https://github.com/vapor/sqlite-kit.git from cache (0.91s)
Computing version for https://github.com/vapor/sqlite-kit.git
Computed https://github.com/vapor/sqlite-kit.git at 4.5.2 (1.40s)
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/vapor/sqlite-nio.git
[1/1508] Fetching sqlite-nio
[2/3878] Fetching sqlite-nio, async-kit
[1898/9861] Fetching sqlite-nio, async-kit, sql-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.68s)
Fetched https://github.com/vapor/sql-kit.git from cache (0.68s)
[302/1508] Fetching sqlite-nio
Fetched https://github.com/vapor/sqlite-nio.git from cache (2.02s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (2.97s)
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.65s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.39s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.59s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (1.18s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.58s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.67s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.11.3 (2.51s)
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 (2.34s)
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 (1.33s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (3.39s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.84s)
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
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.38s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.38s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.53s)
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.54s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.76s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (0.61s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 1.0.0-alpha.11 (0.49s)
Fetching https://github.com/swift-server/swift-backtrace.git
[1/631] Fetching swift-backtrace
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.27s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (0.84s)
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-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-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/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 4.13.5
Creating working copy for https://github.com/hummingbird-project/hummingbird-auth
Working copy of https://github.com/hummingbird-project/hummingbird-auth resolved at 1.3.0
Creating working copy for https://github.com/apple/app-store-server-library-swift.git
Working copy of https://github.com/apple/app-store-server-library-swift.git resolved at 1.1.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/vapor/fluent-sqlite-driver.git
Working copy of https://github.com/vapor/fluent-sqlite-driver.git resolved at 4.8.1
Creating working copy for https://github.com/vapor/sqlite-nio.git
Working copy of https://github.com/vapor/sqlite-nio.git resolved at 1.11.3
Creating working copy for https://github.com/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.52.2
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-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-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/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.3.5
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.26.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/swift-extras/swift-extras-base64.git
Working copy of https://github.com/swift-extras/swift-extras-base64.git resolved at 0.7.0
Creating working copy for https://github.com/hummingbird-project/hummingbird-core.git
Working copy of https://github.com/hummingbird-project/hummingbird-core.git resolved at 1.6.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.3.2
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.33.0
Creating working copy for https://github.com/hummingbird-project/hummingbird.git
Working copy of https://github.com/hummingbird-project/hummingbird.git resolved at 1.12.2
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 1.0.0-alpha.11
Creating working copy for https://github.com/vapor/sqlite-kit.git
Working copy of https://github.com/vapor/sqlite-kit.git resolved at 4.5.2
Creating working copy for https://github.com/hummingbird-project/hummingbird-fluent.git
Working copy of https://github.com/hummingbird-project/hummingbird-fluent.git resolved at 1.1.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-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.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/1345] Compiling CBacktrace atomic.c
[2/1345] Compiling CBacktrace dwarf.c
[3/1345] Write sources
[4/1345] Compiling CBacktrace elf.c
[5/1345] Write sources
[9/1345] Compiling CBacktrace backtrace.c
[9/1345] Compiling _NumericsShims _NumericsShims.c
[10/1345] Write sources
[13/1345] Copying AppleRootCA-G3.cer
[14/1345] Copying AppleRootCA-G2.cer
[15/1345] Copying Providers.plist
[15/1345] Copying AppleIncRootCertificate.cer
[17/1345] Copying AppleComputerRootCertificate.cer
/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.
[18/1345] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[18/1345] Write sources
[18/1345] Compiling a_i2d_fp.cc
[18/1345] Compiling a_gentm.cc
[18/1345] Compiling a_int.cc
[18/1345] Compiling _AtomicsShims.c
[18/1345] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 GenerateManual
Building for debugging...
[1/1328] Write sources
[46/1328] Compiling CNIOWindows WSAStartup.c
[47/1328] Compiling CNIOWindows shim.c
[47/1328] Compiling CNIOWASI CNIOWASI.c
[49/1328] Compiling CNIOLinux shim.c
[50/1328] Compiling CNIOLinux liburing_shims.c
[51/1328] Compiling CNIODarwin shim.c
[52/1328] Compiling CNIOExtrasZlib empty.c
[53/1328] Compiling CNIOLLHTTP c_nio_http.c
[54/1328] Compiling fiat_p256_adx_sqr.S
[55/1328] Compiling fiat_p256_adx_mul.S
[56/1328] Compiling CNIOLLHTTP c_nio_api.c
[57/1328] Compiling fiat_curve25519_adx_mul.S
[58/1328] Compiling fiat_curve25519_adx_square.S
[59/1328] Compiling _AtomicsShims.c
[60/1328] Compiling CNIOBoringSSLShims shims.c
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>
| ^~~~~~~~~~~
1 error generated.
[61/1328] Compiling tls_record.cc
[61/1328] Compiling tls13_client.cc
[61/1328] Compiling tls13_enc.cc
/host/spi-builder-workspace/.build/checkouts/sqlite-nio/Sources/CSQLite/sqlite_nio_sqlite3.c:29705:10: fatal error: 'pthread.h' file not found
29705 | #include <pthread.h>
| ^~~~~~~~~~~
[61/1328] Compiling CSQLite sqlite_nio_sqlite3.c
[61/1328] Write swift-version-24593BA9C3E375BF.txt
[61/1328] Compiling tls13_server.cc
[61/1328] Compiling tls_method.cc
[61/1328] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm