Build Information
Failed to build SwiftOpenAIProxy, reference main (7e82fd), with Swift 6.1 for Wasm on 27 Oct 2025 02:58:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/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 7e82fd3 Add Llama 3.1
Cloned https://github.com/PicoMLX/PicoAIProxy.git
Revision (git rev-parse @):
7e82fd3a98b26918252f34dae83bc82b81aa6301
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/Providers.swift",
"Models/User.swift",
"Models/UserMigration.swift",
"Models/UserRequest.swift",
"Models/UserRequestMigration.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/fluent-kit.git
Fetching https://github.com/vapor/jwt-kit.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/hummingbird-project/hummingbird-fluent.git
Fetching https://github.com/apple/app-store-server-library-swift.git
Fetching https://github.com/vapor/fluent-sqlite-driver.git
[1/1347] Fetching fluent-sqlite-driver
[1348/2234] Fetching fluent-sqlite-driver, hummingbird-fluent
[2235/4329] Fetching fluent-sqlite-driver, hummingbird-fluent, app-store-server-library-swift
[2738/17668] Fetching fluent-sqlite-driver, hummingbird-fluent, app-store-server-library-swift, fluent-kit
Fetched https://github.com/vapor/fluent-sqlite-driver.git from cache (0.46s)
[3733/16321] Fetching hummingbird-fluent, app-store-server-library-swift, fluent-kit
Fetching https://github.com/apple/swift-argument-parser.git
[5094/30694] Fetching hummingbird-fluent, app-store-server-library-swift, fluent-kit, async-http-client
[12804/40057] Fetching hummingbird-fluent, app-store-server-library-swift, fluent-kit, async-http-client, jwt-kit
Fetched https://github.com/hummingbird-project/hummingbird-fluent.git from cache (0.68s)
Fetched https://github.com/apple/app-store-server-library-swift.git from cache (0.68s)
[15198/37075] Fetching fluent-kit, async-http-client, jwt-kit
Fetching https://github.com/hummingbird-project/hummingbird-auth
Fetching https://github.com/hummingbird-project/hummingbird.git
[25669/53758] Fetching fluent-kit, async-http-client, jwt-kit, swift-argument-parser
Fetched https://github.com/vapor/fluent-kit.git from cache (1.24s)
[26095/40419] Fetching async-http-client, jwt-kit, swift-argument-parser
[27659/65609] Fetching async-http-client, jwt-kit, swift-argument-parser, hummingbird
[27753/67795] Fetching async-http-client, jwt-kit, swift-argument-parser, hummingbird, hummingbird-auth
Fetched https://github.com/swift-server/async-http-client.git from cache (2.22s)
[34530/53422] Fetching jwt-kit, swift-argument-parser, hummingbird, hummingbird-auth
Fetched https://github.com/vapor/jwt-kit.git from cache (2.26s)
[25419/44059] Fetching swift-argument-parser, hummingbird, hummingbird-auth
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.84s)
[9492/27376] Fetching hummingbird, hummingbird-auth
Fetched https://github.com/hummingbird-project/hummingbird-auth from cache (2.32s)
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (2.34s)
Computing version for https://github.com/hummingbird-project/hummingbird-auth
Computed https://github.com/hummingbird-project/hummingbird-auth at 1.3.0 (6.21s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swift-extras/swift-extras-base64.git
[1/833] Fetching swift-extras-base64
Fetched https://github.com/swift-extras/swift-extras-base64.git from cache (0.37s)
[1/17324] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.80s)
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 (3.64s)
Computing version for https://github.com/hummingbird-project/hummingbird-fluent.git
Computed https://github.com/hummingbird-project/hummingbird-fluent.git at 1.1.0 (0.87s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 1.12.2 (0.92s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/hummingbird-project/hummingbird-core.git
[1/2213] Fetching hummingbird-core
[555/4743] Fetching hummingbird-core, swift-service-lifecycle
[3884/10225] Fetching hummingbird-core, swift-service-lifecycle, swift-distributed-tracing
[4951/14314] Fetching hummingbird-core, swift-service-lifecycle, swift-distributed-tracing, swift-log
[9340/16789] Fetching hummingbird-core, swift-service-lifecycle, swift-distributed-tracing, swift-log, swift-metrics
[16790/96467] Fetching hummingbird-core, swift-service-lifecycle, swift-distributed-tracing, swift-log, swift-metrics, swift-nio
Fetched https://github.com/hummingbird-project/hummingbird-core.git from cache (1.38s)
Fetched https://github.com/apple/swift-log.git from cache (1.47s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.47s)
[8754/87635] Fetching swift-distributed-tracing, swift-metrics, swift-nio
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (7.10s)
Fetched https://github.com/apple/swift-metrics.git from cache (7.10s)
Fetched https://github.com/apple/swift-nio.git from cache (7.26s)
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.23s)
Fetching https://github.com/apple/swift-nio-ssl.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-extras.git
[1/2771] Fetching swift-nio-transport-services
[1415/8963] Fetching swift-nio-transport-services, swift-nio-extras
[3019/20663] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.47s)
[8767/33020] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.56s)
[4170/26828] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.44s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.45s)
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 (3.44s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
[1/1653] Fetching swift-asn1
[762/8324] Fetching swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.50s)
[1468/6671] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.91s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (4.88s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (1.04s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (1.01s)
Fetching https://github.com/apple/swift-service-context.git
[1/1141] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.45s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.51s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.96s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.70s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.70s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.87.0 (1.71s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/5065] Fetching swift-system
[2889/23304] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.72s)
[2919/18239] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.32s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (3.42s)
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-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.90s)
Computing version for https://github.com/vapor/fluent-sqlite-driver.git
Computed https://github.com/vapor/fluent-sqlite-driver.git at 4.8.1 (1.02s)
Fetching https://github.com/vapor/sqlite-kit.git
[1/2118] Fetching sqlite-kit
Fetched https://github.com/vapor/sqlite-kit.git from cache (1.01s)
Computing version for https://github.com/vapor/sqlite-kit.git
Computed https://github.com/vapor/sqlite-kit.git at 4.5.2 (2.00s)
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/sqlite-nio.git
[1/6087] Fetching sql-kit
[123/8526] Fetching sql-kit, async-kit
[6087/6087] Fetching sql-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.56s)
Fetched https://github.com/vapor/sql-kit.git from cache (0.76s)
[1/1731] Fetching sqlite-nio
Fetched https://github.com/vapor/sqlite-nio.git from cache (3.02s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (4.88s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (0.89s)
Fetching https://github.com/apple/swift-algorithms.git
[1/5999] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.66s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.79s)
Fetching https://github.com/apple/swift-numerics.git
[1/6380] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.77s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.2 (1.65s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.29s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.12.0 (0.93s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.15.0 (1.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (3.08s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.29.0 (0.90s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.2 (0.97s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (1.12s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/939] Fetching swift-http-types
[133/2137] Fetching swift-http-types, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.60s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.61s)
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.58s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.5.0 (1.00s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.35.0 (1.18s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (1.02s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (1.09s)
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 (1.09s)
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.32s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (1.40s)
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/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.29.0
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.1
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.15.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.5.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.2
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/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/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/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/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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.35.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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.87.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 3.15.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.21.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.25.2
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.3.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/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/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-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/vapor/sqlite-nio.git
Working copy of https://github.com/vapor/sqlite-nio.git resolved at 1.12.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/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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.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 1.0.0-alpha.11
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.3
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/1355] Compiling CBacktrace atomic.c
[3/1355] Compiling CBacktrace elf.c
[4/1355] Write sources
[5/1355] Compiling CBacktrace mmap.c
[5/1355] Write sources
[10/1355] Compiling CBacktrace dwarf.c
[10/1355] Compiling CBacktrace fileline.c
[10/1355] Compiling CBacktrace mmapio.c
[10/1355] Write sources
[10/1355] Copying Providers.plist
[10/1355] Copying AppleRootCA-G3.cer
[10/1355] Copying AppleRootCA-G2.cer
[10/1355] Copying AppleIncRootCertificate.cer
[10/1355] Copying AppleComputerRootCertificate.cer
[10/1355] Write sources
[65/1355] Compiling CBacktrace backtrace.c
[66/1355] Compiling _CWASI _CWASI.c
[67/1355] Compiling _AtomicsShims.c
/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.
[68/1355] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[68/1355] Compiling _NumericsShims _NumericsShims.c
[68/1355] Compiling CNIOWindows shim.c
[68/1355] Compiling CNIOPosix event_loop_id.c
[68/1355] Compiling CNIOWASI CNIOWASI.c
[68/1355] Compiling CSQLite sqlite_nio_sqlite3.c
[68/1355] Compiling CNIOWindows WSAStartup.c
[68/1355] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
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
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/1289] Write sources
[7/1289] Compiling CNIOWindows shim.c
[8/1289] Compiling CNIOWASI CNIOWASI.c
[9/1289] Compiling CNIOLinux liburing_shims.c
[9/1289] Compiling CNIOWindows WSAStartup.c
[11/1289] Compiling CNIOPosix event_loop_id.c
[12/1289] Compiling CNIOLinux shim.c
[13/1289] Compiling CNIOExtrasZlib empty.c
[14/1289] Compiling CNIODarwin shim.c
[15/1289] Compiling CNIOLLHTTP c_nio_http.c
[16/1289] Compiling CNIOLLHTTP c_nio_api.c
[17/1289] Compiling fiat_p256_adx_mul.S
[18/1289] Compiling fiat_p256_adx_sqr.S
[19/1289] Compiling fiat_curve25519_adx_square.S
[20/1289] Compiling fiat_curve25519_adx_mul.S
[21/1289] Compiling _NumericsShims _NumericsShims.c
[22/1289] Write swift-version-24593BA9C3E375BF.txt
[23/1289] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[24/1293] Compiling tls_method.cc
[24/1293] Compiling tls_record.cc
[24/1293] Compiling CNIOLLHTTP c_nio_llhttp.c
[24/1293] Compiling tls13_server.cc
/host/spi-builder-workspace/.build/checkouts/sqlite-nio/Sources/CSQLite/sqlite_nio_sqlite3.c:29863:10: fatal error: 'pthread.h' file not found
29863 | #include <pthread.h>
| ^~~~~~~~~~~
[24/1293] Compiling CSQLite sqlite_nio_sqlite3.c
[24/1293] Compiling tls13_enc.cc
[24/1293] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm