Build Information
Failed to build hummingbird-fluent, reference main (589586
), with Swift 6.1 for Wasm on 23 Jun 2025 14:35:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hummingbird-project/hummingbird-fluent.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/hummingbird-project/hummingbird-fluent
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5895865 Update from hummingbird-project-template 9f1753de24c31bae77d963d51cc52bff1d895b4e (#41)
Cloned https://github.com/hummingbird-project/hummingbird-fluent.git
Revision (git rev-parse @):
589586586a67c52a8cdfb0b1218105017ed0c6ab
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hummingbird-project/hummingbird-fluent.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/hummingbird-project/hummingbird-fluent.git
https://github.com/hummingbird-project/hummingbird-fluent.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms.git"
},
{
"identity" : "hummingbird",
"requirement" : {
"range" : [
{
"lower_bound" : "2.5.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hummingbird-project/hummingbird.git"
},
{
"identity" : "fluent-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.49.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/fluent-kit.git"
},
{
"identity" : "swift-service-lifecycle",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-service-lifecycle.git"
},
{
"identity" : "fluent-sqlite-driver",
"requirement" : {
"range" : [
{
"lower_bound" : "4.8.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/fluent-sqlite-driver.git"
}
],
"manifest_display_name" : "hummingbird-fluent",
"name" : "hummingbird-fluent",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
}
],
"products" : [
{
"name" : "HummingbirdFluent",
"targets" : [
"HummingbirdFluent"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HummingbirdFluentTests",
"module_type" : "SwiftTarget",
"name" : "HummingbirdFluentTests",
"path" : "Tests/HummingbirdFluentTests",
"product_dependencies" : [
"FluentSQLiteDriver",
"HummingbirdTesting"
],
"sources" : [
"FluentTests.swift",
"PersistTests.swift"
],
"target_dependencies" : [
"HummingbirdFluent"
],
"type" : "test"
},
{
"c99name" : "HummingbirdFluent",
"module_type" : "SwiftTarget",
"name" : "HummingbirdFluent",
"path" : "Sources/HummingbirdFluent",
"product_dependencies" : [
"AsyncAlgorithms",
"FluentKit",
"Hummingbird",
"ServiceLifecycle"
],
"product_memberships" : [
"HummingbirdFluent"
],
"sources" : [
"Deprecations.swift",
"Fluent.swift",
"Persist+fluent.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/fluent-sqlite-driver.git
Fetching https://github.com/vapor/fluent-kit.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/hummingbird-project/hummingbird.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/4985] Fetching swift-async-algorithms
[4986/29762] Fetching swift-async-algorithms, hummingbird
[4987/43090] Fetching swift-async-algorithms, hummingbird, fluent-kit
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.33s)
[27451/38105] Fetching hummingbird, fluent-kit
Fetched https://github.com/vapor/fluent-kit.git from cache (1.35s)
[16601/24777] Fetching hummingbird
[24778/27203] Fetching hummingbird, swift-service-lifecycle
[27204/28550] Fetching hummingbird, swift-service-lifecycle, fluent-sqlite-driver
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (2.84s)
Fetched https://github.com/vapor/fluent-sqlite-driver.git from cache (2.90s)
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (2.95s)
Computing version for https://github.com/vapor/fluent-sqlite-driver.git
Computed https://github.com/vapor/fluent-sqlite-driver.git at 4.8.1 (3.77s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/vapor/sqlite-kit.git
[22/2112] Fetching sqlite-kit
[361/5948] Fetching sqlite-kit, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
Fetched https://github.com/vapor/sqlite-kit.git from cache (0.91s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.57s)
Computing version for https://github.com/vapor/sqlite-kit.git
Computed https://github.com/vapor/sqlite-kit.git at 4.5.2 (0.74s)
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/sqlite-nio.git
[1/5983] Fetching sql-kit
[4010/8353] Fetching sql-kit, async-kit
[8189/9937] Fetching sql-kit, async-kit, sqlite-nio
[8355/86276] Fetching sql-kit, async-kit, sqlite-nio, swift-nio
Fetched https://github.com/vapor/sqlite-nio.git from cache (2.76s)
[57210/84692] Fetching sql-kit, async-kit, swift-nio
Fetched https://github.com/vapor/async-kit.git from cache (7.81s)
Fetched https://github.com/vapor/sql-kit.git from cache (7.81s)
Fetched https://github.com/apple/swift-nio.git from cache (7.94s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (10.87s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-collections.git
[1/5959] Fetching swift-algorithms
[2445/22599] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (0.62s)
[3661/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.54s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.19s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.85s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (1.65s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.84s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.37s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[595/6233] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.19s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.55s)
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.81s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.78s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.11.5 (0.66s)
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.78s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.14.1 (0.76s)
Fetching https://github.com/apple/swift-distributed-tracing.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
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/swift-server/async-http-client.git
[1/4993] Fetching swift-distributed-tracing
[151/10952] Fetching swift-distributed-tracing, swift-nio-extras
[461/13619] Fetching swift-distributed-tracing, swift-nio-extras, swift-nio-transport-services
[2278/27633] Fetching swift-distributed-tracing, swift-nio-extras, swift-nio-transport-services, async-http-client
[11873/42523] Fetching swift-distributed-tracing, swift-nio-extras, swift-nio-transport-services, async-http-client, swift-nio-ssl
[16298/54055] Fetching swift-distributed-tracing, swift-nio-extras, swift-nio-transport-services, async-http-client, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.69s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.70s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.71s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-metrics.git
[27395/31415] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2
[31268/32319] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-http-types
[32320/34525] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-http-types, swift-metrics
Fetched https://github.com/apple/swift-http-types.git from cache (0.63s)
[32408/33621] Fetching swift-distributed-tracing, swift-nio-ssl, swift-nio-http2, swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (0.86s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (3.37s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.38s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.40s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (4.16s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.86s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (0.64s)
Fetching https://github.com/apple/swift-service-context.git
[1/1081] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.33s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.92s)
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 (0.75s)
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.68s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (1.17s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
[1/1169] Fetching swift-http-structured-headers
[13/2785] Fetching swift-http-structured-headers, swift-asn1
[2609/8984] Fetching swift-http-structured-headers, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.87s)
[5088/7815] Fetching swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.87s)
[3658/6199] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (1.01s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (2.06s)
Fetching https://github.com/apple/swift-crypto.git
[1/15433] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.59s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (4.95s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.70s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.70s)
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.71s)
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.89s)
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.28.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.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.36.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-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.32.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/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.3.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/apple/swift-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/hummingbird-project/hummingbird.git
Working copy of https://github.com/hummingbird-project/hummingbird.git resolved at 2.14.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/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/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/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-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-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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/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-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-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/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/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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.1
Building for debugging...
[0/49] Write sources
[35/49] Compiling CNIOWindows shim.c
[36/49] Compiling CNIOWindows WSAStartup.c
[37/49] Compiling CNIOWASI CNIOWASI.c
[38/49] Compiling _AtomicsShims.c
[39/49] Compiling CNIOLinux liburing_shims.c
[40/49] Compiling CNIOLinux shim.c
[41/49] Write sources
[42/49] Compiling CNIODarwin shim.c
[43/49] Compiling CNIOLLHTTP c_nio_http.c
[44/49] Compiling CNIOLLHTTP c_nio_api.c
[45/49] Write swift-version-24593BA9C3E375BF.txt
[47/77] Emitting module ServiceContextModule
[48/77] Emitting module _NIODataStructures
[48/77] Compiling CNIOLLHTTP c_nio_llhttp.c
[49/85] Compiling c-nioatomics.c
[51/88] Emitting module HTTPTypes
[52/89] Compiling HTTPTypes HTTPParsedFields.swift
[53/89] Compiling ServiceContextModule ServiceContextKey.swift
[54/89] Emitting module _NIOBase64
[55/89] Compiling _NIOBase64 Base64.swift
[56/90] Compiling InternalCollectionsUtilities Descriptions.swift
[57/90] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[58/90] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[59/90] Compiling InternalCollectionsUtilities Debugging.swift
[60/90] Compiling ServiceContextModule ServiceContext.swift
[61/90] Compiling HTTPTypes ISOLatin1String.swift
[62/92] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[63/92] Compiling _NIODataStructures _TinyArray.swift
[64/92] Compiling _NIODataStructures PriorityQueue.swift
[65/92] Emitting module InternalCollectionsUtilities
[66/92] Emitting module Logging
[67/92] Compiling Logging Locks.swift
[68/92] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[69/92] Compiling InternalCollectionsUtilities UInt+reversed.swift
[70/92] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[71/92] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[72/92] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[73/92] Compiling InternalCollectionsUtilities Integer rank.swift
[74/92] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[75/92] Compiling InternalCollectionsUtilities _SortedCollection.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[76/92] Emitting module CoreMetrics
/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
[77/92] Compiling c-atomics.c
[80/92] Compiling HTTPTypes HTTPRequest.swift
[81/92] Compiling HTTPTypes HTTPResponse.swift
[82/92] Compiling CoreMetrics Metrics.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
[83/92] 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 |
[84/92] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[85/96] Compiling Logging LogHandler.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/46] Compiling ServiceContextModule ServiceContextKey.swift
[3/46] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[4/46] Compiling InternalCollectionsUtilities UInt+reversed.swift
[5/47] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[6/47] Compiling InternalCollectionsUtilities Debugging.swift
[7/47] Compiling Logging MetadataProvider.swift
[8/47] Compiling NIOConcurrencyHelpers lock.swift
[9/47] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[10/47] Emitting module ServiceContextModule
[11/47] Compiling ServiceContextModule ServiceContext.swift
[12/48] Compiling InternalCollectionsUtilities Descriptions.swift
[13/48] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[14/48] Compiling _NIODataStructures PriorityQueue.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/48] Emitting module CoreMetrics
/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
[16/48] Compiling Logging LogHandler.swift
[17/48] Emitting module Logging
[18/48] Compiling Logging Locks.swift
[19/48] Compiling Logging Logging.swift
[21/49] Compiling _NIODataStructures _TinyArray.swift
[22/49] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[24/49] Emitting module _NIOBase64
[25/49] Emitting module _NIODataStructures
[26/49] Compiling _NIODataStructures Heap.swift
[28/50] Emitting module NIOConcurrencyHelpers
[29/50] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[30/50] Emitting module InternalCollectionsUtilities
[31/50] Compiling HTTPTypes ISOLatin1String.swift
[32/51] Compiling NIOConcurrencyHelpers NIOLock.swift
[33/51] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[34/51] Compiling NIOConcurrencyHelpers atomics.swift
[35/52] Compiling CoreMetrics Metrics.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
[36/52] 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 |
[37/52] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[38/52] Compiling InternalCollectionsUtilities Integer rank.swift
[39/52] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[40/52] Compiling InternalCollectionsUtilities _SortedCollection.swift
[41/52] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[42/52] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[43/53] Compiling _NIOBase64 Base64.swift
BUILD FAILURE 6.1 wasm