Build Information
Failed to build fluent-kit, reference 1.56.0 (ec0940), with Swift 6.1 for Wasm on 27 Mar 2026 20:51:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/fluent-kit.git
Reference: 1.56.0
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/vapor/fluent-kit
* tag 1.56.0 -> FETCH_HEAD
HEAD is now at ec09409 Enable `Foo.query(on:).set(\.$foo.$bar, to: baz).update()` with `@Group` properties (#652)
Cloned https://github.com/vapor/fluent-kit.git
Revision (git rev-parse @):
ec094096d715593c4944cb9aeb72a633faa82918
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/fluent-kit.git at 1.56.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vapor/fluent-kit.git
https://github.com/vapor/fluent-kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.81.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "sql-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "3.32.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/sql-kit.git"
},
{
"identity" : "swift-distributed-tracing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-distributed-tracing.git"
},
{
"identity" : "swift-service-context",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-service-context.git"
},
{
"identity" : "swift-service-lifecycle",
"requirement" : {
"range" : [
{
"lower_bound" : "2.9.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-service-lifecycle.git"
}
],
"manifest_display_name" : "fluent-kit",
"name" : "fluent-kit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "FluentKit",
"targets" : [
"FluentKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FluentBenchmark",
"targets" : [
"FluentBenchmark"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FluentSQL",
"targets" : [
"FluentSQL"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "XCTFluent",
"targets" : [
"XCTFluent"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XCTFluent",
"module_type" : "SwiftTarget",
"name" : "XCTFluent",
"path" : "Sources/XCTFluent",
"product_dependencies" : [
"NIOEmbedded"
],
"product_memberships" : [
"XCTFluent"
],
"sources" : [
"DummyDatabase.swift",
"TestDatabase.swift"
],
"target_dependencies" : [
"FluentKit"
],
"type" : "library"
},
{
"c99name" : "FluentSQL",
"module_type" : "SwiftTarget",
"name" : "FluentSQL",
"path" : "Sources/FluentSQL",
"product_dependencies" : [
"SQLKit"
],
"product_memberships" : [
"FluentBenchmark",
"FluentSQL"
],
"sources" : [
"ConverterUtilities.swift",
"DatabaseQuery+SQL.swift",
"DatabaseSchema+SQL.swift",
"Exports.swift",
"SQLDatabase+Model+Concurrency.swift",
"SQLDatabase+Model.swift",
"SQLJSONColumnPath+Deprecated.swift",
"SQLList+Deprecated.swift",
"SQLQualifiedTable+Deprecated.swift",
"SQLQueryConverter.swift",
"SQLSchemaConverter.swift"
],
"target_dependencies" : [
"FluentKit"
],
"type" : "library"
},
{
"c99name" : "FluentKitTests",
"module_type" : "SwiftTarget",
"name" : "FluentKitTests",
"path" : "Tests/FluentKitTests",
"product_dependencies" : [
"InMemoryTracing"
],
"sources" : [
"AsyncTests/AsyncFilterQueryTests.swift",
"AsyncTests/AsyncFluentKitTests.swift",
"AsyncTests/AsyncQueryBuilderTests.swift",
"CompositeIDTests.swift",
"DummyDatabaseForTestSQLSerializer.swift",
"FilterQueryTests.swift",
"FluentKitTests.swift",
"OptionalEnumQueryTests.swift",
"OptionalFieldQueryTests.swift",
"QueryBuilderTests.swift",
"SQLTests.swift",
"TestUtilities.swift",
"TracingTests.swift"
],
"target_dependencies" : [
"FluentBenchmark",
"FluentSQL",
"XCTFluent"
],
"type" : "test"
},
{
"c99name" : "FluentKit",
"module_type" : "SwiftTarget",
"name" : "FluentKit",
"path" : "Sources/FluentKit",
"product_dependencies" : [
"NIO",
"NIOConcurrencyHelpers",
"NIOCore",
"NIOPosix",
"Logging",
"SQLKit",
"Tracing",
"ServiceContextModule",
"ServiceLifecycle"
],
"product_memberships" : [
"FluentKit",
"FluentBenchmark",
"FluentSQL",
"XCTFluent"
],
"sources" : [
"Concurrency/AsyncMigration.swift",
"Concurrency/AsyncModelMiddleware.swift",
"Concurrency/Children+Concurrency.swift",
"Concurrency/Database+Concurrency.swift",
"Concurrency/EnumBuilder+Concurrency.swift",
"Concurrency/Model+Concurrency.swift",
"Concurrency/ModelResponder+Concurrency.swift",
"Concurrency/OptionalChild+Concurrency.swift",
"Concurrency/OptionalParent+Concurrency.swift",
"Concurrency/Parent+Concurrency.swift",
"Concurrency/QueryBuilder+Concurrency.swift",
"Concurrency/Relation+Concurrency.swift",
"Concurrency/SchemaBuilder+Concurrency.swift",
"Concurrency/Siblings+Concurrency.swift",
"Database/Database+Logging.swift",
"Database/Database.swift",
"Database/DatabaseID.swift",
"Database/DatabaseInput.swift",
"Database/DatabaseOutput.swift",
"Database/Databases.swift",
"Database/KeyPrefixingStrategy.swift",
"Database/TransactionControlDatabase.swift",
"Enum/DatabaseEnum.swift",
"Enum/EnumBuilder.swift",
"Enum/EnumMetadata.swift",
"Enum/EnumProperty.swift",
"Enum/OptionalEnumProperty.swift",
"Exports.swift",
"FluentError.swift",
"Middleware/ModelMiddleware.swift",
"Middleware/ModelResponder.swift",
"Migration/Migration.swift",
"Migration/MigrationLog.swift",
"Migration/Migrations.swift",
"Migration/Migrator.swift",
"Model/AnyModel.swift",
"Model/EagerLoad.swift",
"Model/Fields+Codable.swift",
"Model/Fields.swift",
"Model/MirrorBypass.swift",
"Model/Model+CRUD.swift",
"Model/Model.swift",
"Model/ModelAlias.swift",
"Model/Schema.swift",
"Operators/FieldOperators.swift",
"Operators/Operators.swift",
"Operators/ValueOperators+Array.swift",
"Operators/ValueOperators+String.swift",
"Operators/ValueOperators.swift",
"Properties/Boolean.swift",
"Properties/BooleanPropertyFormat.swift",
"Properties/Children.swift",
"Properties/CompositeChildren.swift",
"Properties/CompositeID.swift",
"Properties/CompositeOptionalChild.swift",
"Properties/CompositeOptionalParent.swift",
"Properties/CompositeParent.swift",
"Properties/Field.swift",
"Properties/FieldKey.swift",
"Properties/Group.swift",
"Properties/ID.swift",
"Properties/OptionalBoolean.swift",
"Properties/OptionalChild.swift",
"Properties/OptionalField.swift",
"Properties/OptionalParent.swift",
"Properties/Parent.swift",
"Properties/Property.swift",
"Properties/Relation.swift",
"Properties/Siblings.swift",
"Properties/Timestamp.swift",
"Properties/TimestampFormat.swift",
"Query/Builder/QueryBuilder+Aggregate.swift",
"Query/Builder/QueryBuilder+EagerLoad.swift",
"Query/Builder/QueryBuilder+Filter.swift",
"Query/Builder/QueryBuilder+Group.swift",
"Query/Builder/QueryBuilder+Join+DirectRelations.swift",
"Query/Builder/QueryBuilder+Join.swift",
"Query/Builder/QueryBuilder+Paginate.swift",
"Query/Builder/QueryBuilder+Range.swift",
"Query/Builder/QueryBuilder+Set.swift",
"Query/Builder/QueryBuilder+Sort.swift",
"Query/Builder/QueryBuilder.swift",
"Query/Database/DatabaseQuery+Action.swift",
"Query/Database/DatabaseQuery+Aggregate.swift",
"Query/Database/DatabaseQuery+Field.swift",
"Query/Database/DatabaseQuery+Filter.swift",
"Query/Database/DatabaseQuery+Join.swift",
"Query/Database/DatabaseQuery+Range.swift",
"Query/Database/DatabaseQuery+Sort.swift",
"Query/Database/DatabaseQuery+Value.swift",
"Query/Database/DatabaseQuery.swift",
"Query/QueryHistory.swift",
"Schema/DatabaseSchema.swift",
"Schema/SchemaBuilder.swift",
"Utilities/OptionalType.swift",
"Utilities/RandomGeneratable.swift",
"Utilities/SomeCodingKey.swift"
],
"type" : "library"
},
{
"c99name" : "FluentBenchmark",
"module_type" : "SwiftTarget",
"name" : "FluentBenchmark",
"path" : "Sources/FluentBenchmark",
"product_dependencies" : [
"SQLKit",
"SQLKitBenchmark"
],
"product_memberships" : [
"FluentBenchmark"
],
"sources" : [
"Exports.swift",
"FluentBenchmarker.swift",
"SolarSystem/GalacticJurisdiction.swift",
"SolarSystem/Galaxy.swift",
"SolarSystem/Governor.swift",
"SolarSystem/Jurisdiction.swift",
"SolarSystem/Moon.swift",
"SolarSystem/Planet.swift",
"SolarSystem/PlanetTag.swift",
"SolarSystem/SolarSystem.swift",
"SolarSystem/Star.swift",
"SolarSystem/Tag.swift",
"Tests/AggregateTests.swift",
"Tests/ArrayTests.swift",
"Tests/BatchTests.swift",
"Tests/CRUDTests.swift",
"Tests/ChildTests.swift",
"Tests/ChildrenTests.swift",
"Tests/ChunkTests.swift",
"Tests/CodableTests.swift",
"Tests/CompositeIDTests.swift",
"Tests/CompositeRelationTests.swift",
"Tests/EagerLoadTests.swift",
"Tests/EnumTests.swift",
"Tests/FilterTests.swift",
"Tests/GroupTests.swift",
"Tests/IDTests.swift",
"Tests/JoinTests.swift",
"Tests/MiddlewareTests.swift",
"Tests/MigratorTests.swift",
"Tests/ModelTests.swift",
"Tests/OptionalParentTests.swift",
"Tests/PaginationTests.swift",
"Tests/ParentTests.swift",
"Tests/PerformanceTests+Siblings.swift",
"Tests/PerformanceTests.swift",
"Tests/RangeTests.swift",
"Tests/SQLTests.swift",
"Tests/SchemaTests.swift",
"Tests/SetTests.swift",
"Tests/SiblingsTests.swift",
"Tests/SoftDeleteTests.swift",
"Tests/SortTests.swift",
"Tests/TimestampTests.swift",
"Tests/TransactionTests.swift",
"Tests/UniqueTests.swift"
],
"target_dependencies" : [
"FluentKit",
"FluentSQL"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-service-context.git
[1/1210] Fetching swift-service-context
[1211/3896] Fetching swift-service-context, swift-service-lifecycle
[3897/10093] Fetching swift-service-context, swift-service-lifecycle, sql-kit
[4145/15784] Fetching swift-service-context, swift-service-lifecycle, sql-kit, swift-distributed-tracing
[6627/22071] Fetching swift-service-context, swift-service-lifecycle, sql-kit, swift-distributed-tracing, swift-log
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.31s)
[8736/19385] Fetching swift-service-context, sql-kit, swift-distributed-tracing, swift-log
Fetched https://github.com/vapor/sql-kit.git from cache (0.48s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.48s)
[1/82947] Fetching swift-nio
Fetched https://github.com/apple/swift-service-context.git from cache (5.24s)
Fetched https://github.com/apple/swift-log.git from cache (5.24s)
Fetched https://github.com/apple/swift-nio.git from cache (5.35s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.10.1 (5.87s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6224] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.41s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (0.91s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.50s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.64s)
Fetching https://github.com/apple/swift-collections.git
[1/23214] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.36s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.35.0 (1.87s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.52s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.96s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.39s)
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (2.46s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.99s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.58s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.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.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.35.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-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-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.10.1
Building for debugging...
[0/44] Write sources
[28/44] Compiling _CWASI _CWASI.c
[29/44] Compiling CNIOWindows shim.c
[29/44] Compiling CNIOWASI CNIOWASI.c
[29/44] Compiling CNIOWindows WSAStartup.c
[32/44] Compiling CNIOOpenBSD shim.c
[32/44] Compiling _AtomicsShims.c
[32/44] Compiling CNIOPosix event_loop_id.c
[35/44] Write sources
[38/44] Compiling CNIODarwin shim.c
[39/44] Compiling CNIOLinux shim.c
[40/44] Compiling CNIOLinux liburing_shims.c
[41/44] Write swift-version-24593BA9C3E375BF.txt
[43/79] Emitting module ServiceContextModule
[43/79] Compiling c-nioatomics.c
[44/79] Compiling c-atomics.c
[46/99] Compiling Atomics OptionalRawRepresentable.swift
[47/99] Compiling Atomics RawRepresentable.swift
[48/99] Compiling Atomics AtomicBool.swift
[49/106] Compiling _NIOBase64 Base64.swift
[50/106] Emitting module _NIOBase64
[51/107] Compiling Logging LogHandler.swift
[52/107] Compiling ServiceContextModule ServiceContext.swift
[53/107] Compiling ServiceContextModule ServiceContextKey.swift
[54/107] Compiling Atomics AtomicStorage.swift
[55/107] Compiling Atomics AtomicValue.swift
[56/107] Compiling Atomics AtomicInteger.swift
[57/108] Compiling Atomics AtomicMemoryOrderings.swift
[58/108] Compiling Atomics DoubleWord.swift
[60/108] Emitting module InternalCollectionsUtilities
[61/108] Compiling Atomics UnsafeAtomic.swift
[62/108] Compiling Atomics UnsafeAtomicLazyReference.swift
[63/108] Compiling Atomics AtomicOptionalWrappable.swift
[64/108] Compiling Atomics AtomicReference.swift
[65/108] Compiling Atomics ManagedAtomic.swift
[66/108] Compiling Atomics ManagedAtomicLazyReference.swift
[67/108] Compiling Atomics IntegerConformances.swift
[68/108] Compiling Atomics PointerConformances.swift
[69/108] Compiling Atomics Primitives.native.swift
[70/108] Compiling _NIODataStructures _TinyArray.swift
[71/108] Compiling _NIODataStructures PriorityQueue.swift
[72/108] Compiling InternalCollectionsUtilities _SortedCollection.swift
[73/108] Compiling InternalCollectionsUtilities _UniqueCollection.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[74/108] Emitting module ConcurrencyHelpers
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
59 | InitializeSRWLock(mutex)
60 | #else
61 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
62 | pthread_mutexattr_init(&attr)
63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
60 | #else
61 | var attr = pthread_mutexattr_t()
62 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
62 | pthread_mutexattr_init(&attr)
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
65 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
66 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
74 | // SRWLOCK does not need to be free'd
75 | #else
76 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
77 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
78 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
86 | AcquireSRWLockExclusive(mutex)
87 | #else
88 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
89 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
90 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
98 | ReleaseSRWLockExclusive(mutex)
99 | #else
100 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
101 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 | @inlinable
137 | static func create(value: Value) -> Self {
138 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
139 | return value
140 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 | @inlinable
152 | func lock() {
153 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
154 | LockOperations.lock(lockPtr)
155 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 | @inlinable
159 | func unlock() {
160 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
161 | LockOperations.unlock(lockPtr)
162 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 | @inlinable
166 | deinit {
167 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
168 | LockOperations.destroy(lockPtr)
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 | @inlinable
173 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
175 | return try body(lockPtr)
176 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 | @inlinable
180 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
182 | LockOperations.lock(lockPtr)
183 | defer { LockOperations.unlock(lockPtr) }
[75/108] Compiling ConcurrencyHelpers Lock.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
59 | InitializeSRWLock(mutex)
60 | #else
61 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
62 | pthread_mutexattr_init(&attr)
63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
60 | #else
61 | var attr = pthread_mutexattr_t()
62 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
62 | pthread_mutexattr_init(&attr)
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
65 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
66 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
74 | // SRWLOCK does not need to be free'd
75 | #else
76 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
77 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
78 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
86 | AcquireSRWLockExclusive(mutex)
87 | #else
88 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
89 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
90 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
98 | ReleaseSRWLockExclusive(mutex)
99 | #else
100 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
101 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 | @inlinable
137 | static func create(value: Value) -> Self {
138 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
139 | return value
140 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 | @inlinable
152 | func lock() {
153 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
154 | LockOperations.lock(lockPtr)
155 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 | @inlinable
159 | func unlock() {
160 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
161 | LockOperations.unlock(lockPtr)
162 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 | @inlinable
166 | deinit {
167 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
168 | LockOperations.destroy(lockPtr)
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 | @inlinable
173 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
175 | return try body(lockPtr)
176 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 | @inlinable
180 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
182 | LockOperations.lock(lockPtr)
183 | defer { LockOperations.unlock(lockPtr) }
[76/108] Compiling ConcurrencyHelpers LockedValueBox.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
[78/109] Emitting module _NIODataStructures
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/61] Emitting module ConcurrencyHelpers
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
59 | InitializeSRWLock(mutex)
60 | #else
61 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
62 | pthread_mutexattr_init(&attr)
63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
60 | #else
61 | var attr = pthread_mutexattr_t()
62 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
62 | pthread_mutexattr_init(&attr)
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
65 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
66 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
74 | // SRWLOCK does not need to be free'd
75 | #else
76 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
77 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
78 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
86 | AcquireSRWLockExclusive(mutex)
87 | #else
88 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
89 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
90 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
98 | ReleaseSRWLockExclusive(mutex)
99 | #else
100 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
101 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 | @inlinable
137 | static func create(value: Value) -> Self {
138 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
139 | return value
140 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 | @inlinable
152 | func lock() {
153 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
154 | LockOperations.lock(lockPtr)
155 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 | @inlinable
159 | func unlock() {
160 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
161 | LockOperations.unlock(lockPtr)
162 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 | @inlinable
166 | deinit {
167 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
168 | LockOperations.destroy(lockPtr)
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 | @inlinable
173 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
175 | return try body(lockPtr)
176 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 | @inlinable
180 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
182 | LockOperations.lock(lockPtr)
183 | defer { LockOperations.unlock(lockPtr) }
[3/61] Compiling ConcurrencyHelpers LockedValueBox.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
[4/61] Compiling ConcurrencyHelpers Lock.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
45 | #else
46 | @usableFromInline
47 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
48 | #endif
49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
59 | InitializeSRWLock(mutex)
60 | #else
61 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
62 | pthread_mutexattr_init(&attr)
63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
60 | #else
61 | var attr = pthread_mutexattr_t()
62 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
62 | pthread_mutexattr_init(&attr)
63 |
64 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
65 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
66 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
74 | // SRWLOCK does not need to be free'd
75 | #else
76 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
77 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
78 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
86 | AcquireSRWLockExclusive(mutex)
87 | #else
88 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
89 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
90 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
98 | ReleaseSRWLockExclusive(mutex)
99 | #else
100 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
101 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 | @inlinable
137 | static func create(value: Value) -> Self {
138 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
139 | return value
140 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 | @inlinable
152 | func lock() {
153 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
154 | LockOperations.lock(lockPtr)
155 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 | @inlinable
159 | func unlock() {
160 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
161 | LockOperations.unlock(lockPtr)
162 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 | @inlinable
166 | deinit {
167 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
168 | LockOperations.destroy(lockPtr)
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 | @inlinable
173 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
175 | return try body(lockPtr)
176 | }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 | @inlinable
180 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
182 | LockOperations.lock(lockPtr)
183 | defer { LockOperations.unlock(lockPtr) }
BUILD FAILURE 6.1 wasm