Build Information
Failed to build MacroLambda, reference develop (50e197), with Swift 6.1 for Wasm on 9 Mar 2026 00:30:37 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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Macro-swift/MacroLambda.git
Reference: develop
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/Macro-swift/MacroLambda
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 50e1972 Use new Lambda runtime
Cloned https://github.com/Macro-swift/MacroLambda.git
Revision (git rev-parse @):
50e1972e078f4c7da5602e1c2450e0df9517b25a
SUCCESS checkout https://github.com/Macro-swift/MacroLambda.git at develop
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Macro-swift/MacroLambda.git
https://github.com/Macro-swift/MacroLambda.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "macro",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.22",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Macro-swift/Macro.git"
},
{
"identity" : "macroexpress",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.26",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Macro-swift/MacroExpress.git"
},
{
"identity" : "swift-aws-lambda-runtime",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-aws-lambda-runtime.git"
},
{
"identity" : "swift-aws-lambda-events",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-aws-lambda-events.git"
}
],
"manifest_display_name" : "MacroLambda",
"name" : "MacroLambda",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
}
],
"products" : [
{
"name" : "MacroLambdaCore",
"targets" : [
"MacroLambdaCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MacroLambda",
"targets" : [
"MacroLambda"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MacroLambdaCore",
"module_type" : "SwiftTarget",
"name" : "MacroLambdaCore",
"path" : "Sources/MacroLambdaCore",
"product_dependencies" : [
"MacroCore",
"http",
"express",
"AWSLambdaRuntime",
"AWSLambdaEvents"
],
"product_memberships" : [
"MacroLambdaCore",
"MacroLambda"
],
"sources" : [
"LambdaNIOConversions.swift",
"LambdaRequest.swift",
"LambdaResponse.swift",
"LambdaServer.swift",
"Process.swift",
"lambda.swift"
],
"type" : "library"
},
{
"c99name" : "MacroLambda",
"module_type" : "SwiftTarget",
"name" : "MacroLambda",
"path" : "Sources/MacroLambda",
"product_dependencies" : [
"MacroExpress",
"AWSLambdaRuntime"
],
"product_memberships" : [
"MacroLambda"
],
"sources" : [
"LambdaExpress.swift",
"ReExports.swift"
],
"target_dependencies" : [
"MacroLambdaCore"
],
"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/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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swift-server/swift-aws-lambda-events.git
Fetching https://github.com/Macro-swift/MacroExpress.git
Fetching https://github.com/swift-server/swift-aws-lambda-runtime.git
[1/1613] Fetching macroexpress
[518/4454] Fetching macroexpress, swift-aws-lambda-events
[4455/20481] Fetching macroexpress, swift-aws-lambda-events, swift-aws-lambda-runtime
Fetched https://github.com/Macro-swift/MacroExpress.git from cache (0.38s)
Fetched https://github.com/swift-server/swift-aws-lambda-events.git from cache (0.40s)
[3046/16027] Fetching swift-aws-lambda-runtime
Fetching https://github.com/Macro-swift/Macro.git
Fetched https://github.com/swift-server/swift-aws-lambda-runtime.git from cache (1.72s)
[1/1852] Fetching macro
Fetched https://github.com/Macro-swift/Macro.git from cache (0.27s)
Computing version for https://github.com/Macro-swift/MacroExpress.git
Computed https://github.com/Macro-swift/MacroExpress.git at 1.0.26 (4.34s)
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/581] Fetching mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.20s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.22 (0.83s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/1820] Fetching swift-atomics
[693/7974] Fetching swift-atomics, swift-log
[7975/90665] Fetching swift-atomics, swift-log, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (8.50s)
Fetched https://github.com/apple/swift-log.git from cache (8.50s)
Fetched https://github.com/apple/swift-nio.git from cache (8.69s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.4 (9.85s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.11s)
Computing version for https://github.com/swift-server/swift-aws-lambda-events.git
Computed https://github.com/swift-server/swift-aws-lambda-events.git at 1.5.0 (1.05s)
Fetching https://github.com/apple/swift-http-types.git
[1/951] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.40s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.43s)
Computing version for https://github.com/swift-server/swift-aws-lambda-runtime.git
Computed https://github.com/swift-server/swift-aws-lambda-runtime.git at 2.8.0 (1.12s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-collections.git
[1/2650] Fetching swift-service-lifecycle
[2/24668] Fetching swift-service-lifecycle, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (2.37s)
Fetched https://github.com/apple/swift-collections.git from cache (2.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.0 (3.89s)
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 (0.95s)
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 (2.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (3.89s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.31s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.95.0 (1.78s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.76s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (2.03s)
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.4
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/swift-server/swift-aws-lambda-runtime.git
Working copy of https://github.com/swift-server/swift-aws-lambda-runtime.git resolved at 2.8.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.4.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/swift-server/swift-aws-lambda-events.git
Working copy of https://github.com/swift-server/swift-aws-lambda-events.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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.5.1
Creating working copy for https://github.com/Macro-swift/Macro.git
Working copy of https://github.com/Macro-swift/Macro.git resolved at 1.0.22
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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.10.1
Creating working copy for https://github.com/Macro-swift/MacroExpress.git
Working copy of https://github.com/Macro-swift/MacroExpress.git resolved at 1.0.26
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.95.0
[1/1] Compiling plugin AWSLambdaPackager
Building for debugging...
[1/51] Write sources
[32/51] Compiling CNIOWASI CNIOWASI.c
[32/51] Compiling CNIOWindows WSAStartup.c
[32/51] Compiling CNIOWindows shim.c
[35/51] Compiling CNIOPosix event_loop_id.c
[36/51] Compiling CNIOLinux liburing_shims.c
[36/51] Compiling CNIOOpenBSD shim.c
[38/51] Compiling _AtomicsShims.c
[39/51] Compiling CNIOLinux shim.c
[40/51] Write sources
[44/51] Compiling CNIOLLHTTP c_nio_http.c
[45/51] Compiling CNIODarwin shim.c
[46/51] Compiling CNIOLLHTTP c_nio_api.c
[47/51] Write swift-version-24593BA9C3E375BF.txt
[48/81] Compiling CNIOLLHTTP c_nio_llhttp.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/86] Emitting module Mustache
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[50/87] Compiling c-nioatomics.c
[52/105] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[53/105] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[54/106] Compiling Mustache Mustachable.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[55/106] Compiling Mustache MustacheNode.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[56/106] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[57/106] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[58/106] Compiling InternalCollectionsUtilities Span+Extras.swift
[59/106] Compiling InternalCollectionsUtilities Debugging.swift
[60/106] Compiling InternalCollectionsUtilities Descriptions.swift
[61/106] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[62/108] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[64/108] Compiling Mustache MustacheRendering.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[65/108] Compiling Mustache MustacheRenderingContext.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[66/108] Compiling Mustache MustacheParser.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[67/108] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[68/108] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[69/108] Compiling InternalCollectionsUtilities Integer rank.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[70/108] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[73/108] Compiling xsys timespec.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[74/108] Compiling _NIODataStructures _TinyArray.swift
[75/108] Compiling _NIODataStructures PriorityQueue.swift
[76/108] Emitting module _NIOBase64
[77/108] Compiling _NIOBase64 Base64.swift
[78/109] Compiling xsys timeval_any.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[79/109] Compiling InternalCollectionsUtilities _SortedCollection.swift
[80/109] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[82/109] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[83/109] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[84/118] Emitting module InternalCollectionsUtilities
[85/118] Compiling Logging LogHandler.swift
[86/118] Compiling Logging Locks.swift
[87/118] Emitting module Logging
[88/118] Compiling Logging MetadataProvider.swift
[89/118] Emitting module _NIODataStructures
[90/118] Compiling _NIODataStructures Heap.swift
[91/119] Compiling Logging Logging.swift
[95/120] Compiling InternalCollectionsUtilities UInt+reversed.swift
[96/120] Compiling InternalCollectionsUtilities String+Padding.swift
[102/121] Compiling HTTPTypes HTTPRequest+URL.swift
[103/125] Compiling HTTPTypes ISOLatin1String.swift
[104/143] Compiling Mustache SimpleKVC.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[105/143] 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 |
[106/143] Emitting module mime
[107/143] Compiling mime MIME.swift
[108/144] Compiling Mustache HTMLEscape.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[109/144] Compiling Mustache Helpers.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
/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 | }
[109/144] Compiling c-atomics.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
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/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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin AWSLambdaPackager
Building for debugging...
[1/3] Write swift-version-24593BA9C3E375BF.txt
[3/56] Emitting module mime
[4/56] Compiling Mustache MustacheRenderingContext.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[5/57] Compiling _NIODataStructures PriorityQueue.swift
[6/57] Compiling Mustache MustacheRendering.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[7/57] Compiling Mustache Helpers.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[8/57] Compiling Mustache Mustachable.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[9/57] Compiling Mustache HTMLEscape.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/57] Emitting module Mustache
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[11/57] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[12/57] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/59] Emitting module xsys
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[14/59] Compiling xsys ioctl.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[15/59] Compiling xsys misc.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[16/59] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[17/59] Compiling InternalCollectionsUtilities UInt+reversed.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[18/60] Compiling _NIODataStructures _TinyArray.swift
[19/60] Compiling Logging MetadataProvider.swift
[20/60] Compiling Logging LogHandler.swift
[21/60] Compiling Mustache MustacheParser.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[22/60] Compiling Mustache MustacheNode.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[23/60] Compiling Mustache SimpleKVC.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 | import func ucrt.memcpy
217 | #else
218 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
219 | #endif
220 |
[24/60] Compiling mime MIME.swift
[25/60] Compiling InternalCollectionsUtilities _SortedCollection.swift
[26/60] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[27/61] Compiling _NIODataStructures Heap.swift
[28/61] Compiling xsys ntohs.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[29/61] Compiling xsys sockaddr_any.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[30/61] Compiling xsys socket.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[31/61] Compiling xsys time.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[32/61] Compiling xsys timespec.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift:14:10: error: no such module 'Darwin'
12 | import Glibc
13 | #else
14 | import Darwin
| `- error: no such module 'Darwin'
15 | #endif
16 |
[33/61] Compiling Logging Locks.swift
[37/61] Emitting module _NIOBase64
[37/61] Compiling c-atomics.c
BUILD FAILURE 6.1 wasm