Build Information
Failed to build SaasTemplate, reference main (a8d249
), with Swift 6.1 for Wasm on 31 May 2025 00:07:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/petrpavlik/vapor-saas-backend-template.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/petrpavlik/vapor-saas-backend-template
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a8d2490 More education around CORS
Cloned https://github.com/petrpavlik/vapor-saas-backend-template.git
Revision (git rev-parse @):
a8d24905112bd3dc1c65e6397df1043c26293775
SUCCESS checkout https://github.com/petrpavlik/vapor-saas-backend-template.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/petrpavlik/vapor-saas-backend-template.git
https://github.com/petrpavlik/vapor-saas-backend-template.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "vapor",
"requirement" : {
"range" : [
{
"lower_bound" : "4.83.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/vapor.git"
},
{
"identity" : "fluent",
"requirement" : {
"range" : [
{
"lower_bound" : "4.8.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/fluent.git"
},
{
"identity" : "fluent-sqlite-driver",
"requirement" : {
"range" : [
{
"lower_bound" : "4.6.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/fluent-sqlite-driver.git"
},
{
"identity" : "jwt",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/jwt.git"
},
{
"identity" : "swift-sentry",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/petrpavlik/swift-sentry.git"
},
{
"identity" : "mixpanelvapor",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/petrpavlik/MixpanelVapor.git"
},
{
"identity" : "indiepitcher-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/IndiePitcher/indiepitcher-swift.git"
}
],
"manifest_display_name" : "SaasTemplate",
"name" : "SaasTemplate",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "App",
"targets" : [
"App"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "AppTests",
"module_type" : "SwiftTarget",
"name" : "AppTests",
"path" : "Tests/AppTests",
"product_dependencies" : [
"VaporTesting"
],
"sources" : [
"AppTests.swift",
"Request+FirebaseUser.swift"
],
"target_dependencies" : [
"App"
],
"type" : "test"
},
{
"c99name" : "App",
"module_type" : "SwiftTarget",
"name" : "App",
"path" : "Sources/App",
"product_dependencies" : [
"Fluent",
"FluentSQLiteDriver",
"Vapor",
"JWT",
"SwiftSentry",
"MixpanelVapor",
"IndiePitcherSwift"
],
"product_memberships" : [
"App"
],
"sources" : [
"Auth/FirebaseAuth.swift",
"Controllers/OrganizationController.swift",
"Controllers/ProfileController.swift",
"Migrations/CreateOrganization.swift",
"Migrations/CreateOrganizationInvite.swift",
"Migrations/CreateProfile.swift",
"Migrations/CreateProfileOrganizationRole.swift",
"Models/FIeldKeys.swift",
"Models/Organization.swift",
"Models/OrganizationInvite.swift",
"Models/Profile.swift",
"Models/ProfileOrganizationRole.swift",
"Services/AnalyticsService.swift",
"Services/EmailService.swift",
"Utils/SkippableEncoding.swift",
"configure.swift",
"entrypoint.swift",
"routes.swift"
],
"type" : "executable"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 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/vapor/fluent.git
Fetching https://github.com/vapor/fluent-sqlite-driver.git
Fetching https://github.com/IndiePitcher/indiepitcher-swift.git
Fetching https://github.com/petrpavlik/swift-sentry.git
Fetching https://github.com/petrpavlik/MixpanelVapor.git
Fetching https://github.com/vapor/jwt.git
[1/323] Fetching mixpanelvapor
[324/820] Fetching mixpanelvapor, swift-sentry
[354/2167] Fetching mixpanelvapor, swift-sentry, fluent-sqlite-driver
[2007/4874] Fetching mixpanelvapor, swift-sentry, fluent-sqlite-driver, jwt
[3820/5133] Fetching mixpanelvapor, swift-sentry, fluent-sqlite-driver, jwt, indiepitcher-swift
[5080/18554] Fetching mixpanelvapor, swift-sentry, fluent-sqlite-driver, jwt, indiepitcher-swift, fluent
Fetched https://github.com/petrpavlik/MixpanelVapor.git from cache (0.34s)
Fetched https://github.com/petrpavlik/swift-sentry.git from cache (0.34s)
Fetched https://github.com/vapor/fluent-sqlite-driver.git from cache (0.34s)
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/IndiePitcher/indiepitcher-swift.git from cache (0.35s)
Fetched https://github.com/vapor/jwt.git from cache (0.35s)
[5369/13421] Fetching fluent
Fetched https://github.com/vapor/fluent.git from cache (0.67s)
[1/74378] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (2.40s)
Computing version for https://github.com/petrpavlik/swift-sentry.git
Computed https://github.com/petrpavlik/swift-sentry.git at 1.0.0 (3.25s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[3837/17850] Fetching swift-log, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (0.77s)
Fetched https://github.com/swift-server/async-http-client.git from cache (0.78s)
Computing version for https://github.com/petrpavlik/MixpanelVapor.git
Computed https://github.com/petrpavlik/MixpanelVapor.git at 2.1.0 (1.26s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/malcommac/UAParserSwift.git
[1/292] Fetching uaparserswift
Fetched https://github.com/malcommac/UAParserSwift.git from cache (0.26s)
[1/1717] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.97s)
Computing version for https://github.com/malcommac/UAParserSwift.git
Computed https://github.com/malcommac/UAParserSwift.git at 1.2.1 (3.39s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 5.1.2 (0.64s)
Fetching https://github.com/vapor/jwt-kit.git
[1/9049] Fetching jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (0.82s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 5.1.2 (1.51s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-crypto.git
[1/6155] Fetching swift-certificates
[6156/20091] Fetching swift-certificates, swift-crypto
Fetched https://github.com/apple/swift-certificates.git from cache (1.67s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.69s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 4.12.0 (2.56s)
Fetching https://github.com/vapor/fluent-kit.git
[1/13328] Fetching fluent-kit
Fetched https://github.com/vapor/fluent-kit.git from cache (0.92s)
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.52s)
Fetching https://github.com/vapor/sqlite-kit.git
[1/2112] Fetching sqlite-kit
Fetched https://github.com/vapor/sqlite-kit.git from cache (1.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.39s)
Computing version for https://github.com/vapor/sqlite-kit.git
Computed https://github.com/vapor/sqlite-kit.git at 4.5.2 (0.45s)
Fetching https://github.com/vapor/sqlite-nio.git
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/sql-kit.git
[1/1517] Fetching sqlite-nio
[2/3887] Fetching sqlite-nio, async-kit
[666/9870] Fetching sqlite-nio, async-kit, sql-kit
[9310/85993] Fetching sqlite-nio, async-kit, sql-kit, swift-nio
Fetched https://github.com/vapor/sql-kit.git from cache (1.05s)
[9201/80010] Fetching sqlite-nio, async-kit, swift-nio
Fetched https://github.com/vapor/async-kit.git from cache (1.77s)
[50997/77640] Fetching sqlite-nio, swift-nio
Fetched https://github.com/vapor/sqlite-nio.git from cache (4.92s)
Fetched https://github.com/apple/swift-nio.git from cache (5.00s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (6.64s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
[4411/22550] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (0.54s)
[4480/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.88s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.43s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.36s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (0.92s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.77s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.36s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.99s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.97s)
Computing version for https://github.com/IndiePitcher/indiepitcher-swift.git
Computed https://github.com/IndiePitcher/indiepitcher-swift.git at 1.5.0 (0.56s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.57s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.28s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.89s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (2.13s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.11.4 (0.52s)
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.48s)
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/2667] Fetching swift-nio-transport-services
[55/8590] Fetching swift-nio-transport-services, swift-nio-extras
[8591/20117] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[11243/34960] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.18s)
[25030/29037] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.20s)
[13651/17510] Fetching swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.96s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.98s)
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.55s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.66s)
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.58s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (1.92s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.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
[1567/7030] Fetching swift-http-structured-headers, swift-http-types, swift-async-algorithms
[6732/9456] Fetching swift-http-structured-headers, swift-http-types, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-types.git from cache (0.40s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.41s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.41s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.41s)
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 (0.95s)
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.59s)
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.49s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (1.90s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.115.0 (0.68s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/vapor/routing-kit.git
Fetching https://github.com/apple/swift-metrics.git
[1/1063] Fetching swift-service-context
[1064/3672] Fetching swift-service-context, websocket-kit
[1534/24399] Fetching swift-service-context, websocket-kit, routing-kit
[1744/29373] Fetching swift-service-context, websocket-kit, routing-kit, swift-distributed-tracing
[2567/32692] Fetching swift-service-context, websocket-kit, routing-kit, swift-distributed-tracing, multipart-kit
[6347/34898] Fetching swift-service-context, websocket-kit, routing-kit, swift-distributed-tracing, multipart-kit, swift-metrics
Fetched https://github.com/apple/swift-service-context.git from cache (2.54s)
Fetched https://github.com/vapor/websocket-kit.git from cache (2.54s)
Fetched https://github.com/apple/swift-metrics.git from cache (2.54s)
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (2.55s)
Fetched https://github.com/vapor/routing-kit.git from cache (2.56s)
Fetched https://github.com/vapor/multipart-kit.git from cache (2.59s)
[1/5753] Fetching console-kit
Fetched https://github.com/vapor/console-kit.git from cache (1.92s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (5.29s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.74s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.47s)
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.58s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.53s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.51s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.66s)
Creating working copy for https://github.com/malcommac/UAParserSwift.git
Working copy of https://github.com/malcommac/UAParserSwift.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.2.0
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-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-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/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/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.2
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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/petrpavlik/swift-sentry.git
Working copy of https://github.com/petrpavlik/swift-sentry.git resolved at 1.0.0
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/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 5.1.2
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-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/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-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-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-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/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-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-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-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-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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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-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/petrpavlik/MixpanelVapor.git
Working copy of https://github.com/petrpavlik/MixpanelVapor.git resolved at 2.1.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.20.0
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/vapor/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 5.1.2
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 4.12.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/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/IndiePitcher/indiepitcher-swift.git
Working copy of https://github.com/IndiePitcher/indiepitcher-swift.git resolved at 1.5.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/vapor/sqlite-nio.git
Working copy of https://github.com/vapor/sqlite-nio.git resolved at 1.11.4
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.115.0
Building for debugging...
[0/919] Compiling a_type.cc
[1/919] Compiling a_dup.cc
[1/919] Write sources
[3/919] Compiling _NumericsShims _NumericsShims.c
[3/919] Write sources
[10/919] Compiling _AtomicsShims.c
[10/919] Write sources
[66/919] Write swift-version-24593BA9C3E375BF.txt
[67/919] Compiling a_utctm.cc
[68/919] Compiling CVaporBcrypt blf.c
[69/919] Compiling a_bitstr.cc
[70/919] Compiling a_d2i_fp.cc
[71/919] Compiling a_strnid.cc
[72/919] Compiling CVaporBcrypt bcrypt.c
[73/919] Compiling a_time.cc
[74/919] Compiling a_bool.cc
[76/964] Emitting module UAParserSwift
[77/964] Compiling _NIOBase64 Base64.swift
[78/964] Emitting module _NIOBase64
[79/965] Compiling RealModule Real.swift
[80/966] Compiling SwiftASN1 TimeUtilities.swift
[81/966] Compiling SwiftASN1 UTCTime.swift
[82/968] Compiling _NIODataStructures _TinyArray.swift
[83/968] Emitting module Logging
[84/968] Compiling Logging Locks.swift
[85/968] Compiling RealModule AugmentedArithmetic.swift
[86/968] Compiling RealModule Double+Real.swift
[88/968] Compiling SwiftASN1 ASN1Strings.swift
[89/968] Compiling ServiceContextModule ServiceContextKey.swift
[90/968] Compiling RealModule Float80+Real.swift
[91/968] Emitting module RealModule
[92/968] Compiling RealModule AlgebraicField.swift
[93/968] Compiling RealModule ApproximateEquality.swift
[94/968] Emitting module _CertificateInternals
[95/968] Compiling _CertificateInternals _TinyArray.swift
[96/969] Compiling _NIODataStructures PriorityQueue.swift
[97/969] Compiling ServiceContextModule ServiceContext.swift
[98/969] Emitting module ServiceContextModule
[99/969] Compiling RealModule ElementaryFunctions.swift
[100/970] Compiling RealModule RealFunctions.swift
[102/970] Compiling RealModule Float+Real.swift
[103/970] Compiling RealModule Float16+Real.swift
[109/987] Wrapping AST for _NIOBase64 for debugging
[110/994] Wrapping AST for _CertificateInternals for debugging
[112/994] Emitting module InternalCollectionsUtilities
[113/994] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[114/995] Compiling CoreMetrics Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:65:20: error: cannot find 'pthread_mutexattr_t' in scope
63 | InitializeSRWLock(self.mutex)
64 | #else
65 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:66:9: error: cannot find 'pthread_mutexattr_init' in scope
64 | #else
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:9: error: cannot find 'pthread_mutexattr_settype' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:43: error: cannot infer contextual base in reference to member 'init'
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:69:19: error: cannot find 'pthread_mutex_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
71 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:78:19: error: cannot find 'pthread_mutex_destroy' in scope
76 | // SRWLOCK does not need to be free'd
77 | #else
78 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
80 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:92:19: error: cannot find 'pthread_mutex_lock' in scope
90 | AcquireSRWLockExclusive(self.mutex)
91 | #else
92 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
93 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
94 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:105:19: error: cannot find 'pthread_mutex_unlock' in scope
103 | ReleaseSRWLockExclusive(self.mutex)
104 | #else
105 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
106 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
107 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:177:14: error: value of type 'ReadWriteLock' has no member 'rwlock'
175 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
176 | #endif
177 | self.rwlock.deallocate()
| `- error: value of type 'ReadWriteLock' has no member 'rwlock'
178 | }
179 |
[115/995] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[116/995] Compiling InternalCollectionsUtilities Debugging.swift
[117/995] Compiling InternalCollectionsUtilities Descriptions.swift
[118/995] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[119/995] Compiling Instrumentation InstrumentationSystem.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
46 | @_spi(Locking) // Use the `package` access modifier once min Swift version is increased.
47 | public final class ReadWriteLock {
48 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
49 |
50 | /// Create a new lock.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[120/995] Emitting module Instrumentation
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
36 | import Musl
37 | #else
38 | #error("Unsupported runtime")
| `- error: Unsupported runtime
39 | #endif
40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
46 | @_spi(Locking) // Use the `package` access modifier once min Swift version is increased.
47 | public final class ReadWriteLock {
48 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
49 |
50 | /// Create a new lock.
[121/995] Compiling Instrumentation Instrument.swift
[122/995] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[125/995] Compiling Instrumentation NoOpInstrument.swift
[126/995] Compiling Instrumentation Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
36 | import Musl
37 | #else
38 | #error("Unsupported runtime")
| `- error: Unsupported runtime
39 | #endif
40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
46 | @_spi(Locking) // Use the `package` access modifier once min Swift version is increased.
47 | public final class ReadWriteLock {
48 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
49 |
50 | /// Create a new lock.
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:19: error: cannot find 'pthread_rwlock_init' in scope
50 | /// Create a new lock.
51 | public init() {
52 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
53 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:52: error: 'nil' requires a contextual type
50 | /// Create a new lock.
51 | public init() {
52 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: 'nil' requires a contextual type
53 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:57:19: error: cannot find 'pthread_rwlock_destroy' in scope
55 |
56 | deinit {
57 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
58 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
59 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:67:19: error: cannot find 'pthread_rwlock_rdlock' in scope
65 | /// `unlock`, to simplify lock handling.
66 | public func lockRead() {
67 | let err = pthread_rwlock_rdlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
68 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
69 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:76:19: error: cannot find 'pthread_rwlock_wrlock' in scope
74 | /// `unlock`, to simplify lock handling.
75 | public func lockWrite() {
76 | let err = pthread_rwlock_wrlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
77 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
78 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:85:19: error: cannot find 'pthread_rwlock_unlock' in scope
83 | /// `lock`, to simplify lock handling.
84 | public func unlock() {
85 | let err = pthread_rwlock_unlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
86 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
87 | }
[127/995] Compiling Instrumentation MultiplexInstrument.swift
[128/995] Compiling Logging MetadataProvider.swift
[129/995] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[130/995] Compiling InternalCollectionsUtilities UInt+reversed.swift
[130/995] Wrapping AST for ServiceContextModule for debugging
[131/995] Compiling Logging LogHandler.swift
[132/995] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[133/995] Compiling InternalCollectionsUtilities _SortedCollection.swift
[134/995] Compiling SwiftASN1 ArraySliceBigint.swift
[135/995] Compiling SwiftASN1 GeneralizedTime.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/842] Write sources
[6/845] Compiling CNIOWASI CNIOWASI.c
[6/845] Compiling CNIOLinux liburing_shims.c
[8/845] Compiling CNIOLinux shim.c
[9/845] Compiling CNIOWindows shim.c
[10/845] Compiling CNIOWindows WSAStartup.c
[11/845] Compiling CSystem shims.c
[12/845] Compiling CNIOSHA1 c_nio_sha1.c
[13/845] Compiling CNIOExtrasZlib empty.c
[13/845] Compiling CNIOLLHTTP c_nio_http.c
[15/845] Compiling CNIODarwin shim.c
[16/845] Compiling fiat_p256_adx_sqr.S
[16/845] Compiling fiat_p256_adx_mul.S
[18/845] Compiling fiat_curve25519_adx_square.S
[19/845] Compiling CNIOLLHTTP c_nio_api.c
[20/845] Compiling fiat_curve25519_adx_mul.S
[21/845] Compiling CNIOBoringSSLShims shims.c
/host/spi-builder-workspace/.build/checkouts/sqlite-nio/Sources/CSQLite/sqlite_nio_sqlite3.c:29859:10: fatal error: 'pthread.h' file not found
29859 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[22/845] Compiling CSQLite sqlite_nio_sqlite3.c
[22/845] Compiling tls13_enc.cc
[22/845] Compiling CNIOLLHTTP c_nio_llhttp.c
[22/845] Compiling tls13_server.cc
[22/845] Write swift-version-24593BA9C3E375BF.txt
[22/845] Compiling tls13_client.cc
[22/845] Compiling tls_record.cc
[22/845] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm