Build Information
Failed to build MacroApp, reference 0.6.4 (d99d86), with Swift 6.1 for Wasm on 16 Apr 2026 14:05:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Macro-swift/MacroApp.git
Reference: 0.6.4
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/MacroApp
* tag 0.6.4 -> FETCH_HEAD
HEAD is now at d99d864 Merge branch 'develop'
Cloned https://github.com/Macro-swift/MacroApp.git
Revision (git rev-parse @):
d99d8642dac9fc336e7574f9b83ffea327f46cb0
SUCCESS checkout https://github.com/Macro-swift/MacroApp.git at 0.6.4
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Macro-swift/MacroApp.git
https://github.com/Macro-swift/MacroApp.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 -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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/Macro-swift/Macro.git
Fetching https://github.com/Macro-swift/MacroExpress.git
[1/1964] Fetching macroexpress
[1926/4254] Fetching macroexpress, macro
Fetched https://github.com/Macro-swift/Macro.git from cache (0.39s)
Fetched https://github.com/Macro-swift/MacroExpress.git from cache (0.39s)
Computing version for https://github.com/Macro-swift/MacroExpress.git
Computed https://github.com/Macro-swift/MacroExpress.git at 1.0.46 (1.15s)
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/581] Fetching mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.54s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.46 (1.25s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[1821/8408] Fetching swift-atomics, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
[1/83162] Fetching swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.64s)
Fetched https://github.com/apple/swift-nio.git from cache (8.64s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.4 (11.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.32s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/23551] Fetching swift-collections
[1650/29152] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.50s)
[2120/23551] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.30s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.70s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.91s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.66s)
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.46
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.46
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.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.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/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.4
Building for debugging...
[0/41] Write sources
[26/41] Compiling CNIOWindows shim.c
[27/41] Compiling CNIOWASI CNIOWASI.c
[28/41] Compiling CNIOWindows WSAStartup.c
[29/41] Compiling _AtomicsShims.c
[30/41] Compiling CNIOOpenBSD shim.c
[31/41] Compiling CNIOLinux liburing_shims.c
[32/41] Compiling CNIOLinux shim.c
[33/41] Compiling CNIOPosix event_loop_id.c
[34/41] Compiling CNIODarwin shim.c
[35/41] Compiling CNIOLLHTTP c_nio_http.c
[36/41] Compiling CNIOLLHTTP c_nio_api.c
[37/41] Write swift-version-24593BA9C3E375BF.txt
[38/71] Compiling CNIOLLHTTP c_nio_llhttp.c
[39/77] Compiling c-nioatomics.c
[41/95] 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 |
[42/96] 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 |
[43/96] 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 |
[44/96] 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 |
[45/96] Compiling InternalCollectionsUtilities LifetimeOverride.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[46/96] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/96] Compiling InternalCollectionsUtilities Span+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/98] 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 |
[49/98] 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 |
[50/98] Compiling Logging LogHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/98] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/98] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/98] Compiling _NIODataStructures _TinyArray.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/98] Compiling _NIODataStructures PriorityQueue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[55/98] Emitting module _NIOBase64
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[56/98] Compiling _NIOBase64 Base64.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[57/99] Compiling InternalCollectionsUtilities Integer rank.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/99] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[59/99] Compiling InternalCollectionsUtilities UInt+reversed.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[60/99] Compiling InternalCollectionsUtilities _SortedCollection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[61/99] Compiling InternalCollectionsUtilities _UniqueCollection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[62/99] Compiling InternalCollectionsUtilities Debugging.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/99] Compiling InternalCollectionsUtilities Descriptions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[64/99] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[67/100] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[68/100] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[69/100] Compiling xsys timespec.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timespec.swift:23:21: error: cannot find 'CLOCK_MONOTONIC' in scope
21 | static func monotonic() -> timespec {
22 | var ts = timespec()
23 | clock_gettime(CLOCK_MONOTONIC, &ts)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
24 | return ts
25 | }
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_time.h:18:9: note: macro 'CLOCK_MONOTONIC' unavailable: structure not supported
16 |
17 | extern const struct __clockid _CLOCK_MONOTONIC;
18 | #define CLOCK_MONOTONIC (&_CLOCK_MONOTONIC)
| `- note: macro 'CLOCK_MONOTONIC' unavailable: structure not supported
19 | extern const struct __clockid _CLOCK_REALTIME;
20 | #define CLOCK_REALTIME (&_CLOCK_REALTIME)
[71/100] Compiling InternalCollectionsUtilities String+Padding.swift
[72/100] Compiling Logging MetadataProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[77/100] Emitting module _NIODataStructures
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[78/100] Compiling _NIODataStructures Heap.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift:65:30: error: module 'WASILibc' has no member named 'SIGTERM'
63 |
64 | // signals (limited on WASI)
65 | public let SIGTERM = WASILibc.SIGTERM
| `- error: module 'WASILibc' has no member named 'SIGTERM'
66 | public let SIGINT = WASILibc.SIGINT
67 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift:66:30: error: module 'WASILibc' has no member named 'SIGINT'
64 | // signals (limited on WASI)
65 | public let SIGTERM = WASILibc.SIGTERM
66 | public let SIGINT = WASILibc.SIGINT
| `- error: module 'WASILibc' has no member named 'SIGINT'
67 |
68 | // stdio
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift:65:30: error: module 'WASILibc' has no member named 'SIGTERM'
63 |
64 | // signals (limited on WASI)
65 | public let SIGTERM = WASILibc.SIGTERM
| `- error: module 'WASILibc' has no member named 'SIGTERM'
66 | public let SIGINT = WASILibc.SIGINT
67 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift:66:30: error: module 'WASILibc' has no member named 'SIGINT'
64 | // signals (limited on WASI)
65 | public let SIGTERM = WASILibc.SIGTERM
66 | public let SIGINT = WASILibc.SIGINT
| `- error: module 'WASILibc' has no member named 'SIGINT'
67 |
68 | // stdio
[82/101] Emitting module Logging
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[83/101] Compiling Logging Locks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[83/101] Compiling c-atomics.c
[86/101] Compiling Logging LogEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[87/101] Compiling Logging Logging.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[89/102] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[91/127] Emitting module InternalCollectionsUtilities
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[92/127] Compiling NIOConcurrencyHelpers lock.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[93/127] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[94/127] Compiling NIOConcurrencyHelpers NIOLock.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[95/127] Compiling Atomics UnsafeAtomic.swift
[96/127] Compiling Atomics UnsafeAtomicLazyReference.swift
[97/127] Compiling Atomics ManagedAtomic.swift
[98/127] Compiling Atomics ManagedAtomicLazyReference.swift
[99/129] Compiling Atomics AtomicMemoryOrderings.swift
[100/129] Compiling Atomics DoubleWord.swift
[101/129] Compiling Atomics AtomicStorage.swift
[102/129] Compiling Atomics AtomicValue.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[103/129] 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 |
[104/129] 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 |
[105/129] Emitting module mime
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[106/129] Compiling mime MIME.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[108/130] Compiling Atomics AtomicInteger.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[111/130] 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 |
[112/130] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[113/130] Compiling NIOConcurrencyHelpers atomics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[114/131] Compiling Atomics OptionalRawRepresentable.swift
[115/131] Compiling Atomics RawRepresentable.swift
[116/131] Compiling Atomics AtomicBool.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:70:12: error: cannot assign value of type 'Int' to type 'Int64'
68 | public init(seconds: Int, milliseconds: Int = 0) {
69 | assert(milliseconds == 0) // just print a warning, the user should know
70 | self = seconds
| `- error: cannot assign value of type 'Int' to type 'Int64'
71 | }
72 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:73:53: error: cannot convert return expression of type 'Int64' to return type 'Int'
71 | }
72 |
73 | @inlinable public var seconds : Int { return self }
| `- error: cannot convert return expression of type 'Int64' to return type 'Int'
74 | @inlinable public var milliseconds : Int { return self * 1000 }
75 | }
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:74:58: error: cannot convert return expression of type 'Int64' to return type 'Int'
72 |
73 | @inlinable public var seconds : Int { return self }
74 | @inlinable public var milliseconds : Int { return self * 1000 }
| `- error: cannot convert return expression of type 'Int64' to return type 'Int'
75 | }
76 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:89:18: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
87 | public init(_ ts: timespec) {
88 | self.init()
89 | tv_sec = ts.seconds
| `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
90 | #if os(Linux) || os(Android) || os(WASI)
91 | tv_usec = ts.tv_nsec / 1000
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:91:26: error: cannot assign value of type 'Int' to type 'suseconds_t' (aka 'Int64')
89 | tv_sec = ts.seconds
90 | #if os(Linux) || os(Android) || os(WASI)
91 | tv_usec = ts.tv_nsec / 1000
| `- error: cannot assign value of type 'Int' to type 'suseconds_t' (aka 'Int64')
92 | #else
93 | tv_usec = Int32(ts.tv_nsec / 1000)
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:100:23: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
98 | public init(seconds: Int, milliseconds: Int = 0) {
99 | self.init()
100 | tv_sec = seconds + (milliseconds / 1000)
| `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
101 | #if os(Linux) || os(Android) || os(WASI)
102 | tv_usec = (milliseconds % 1000) * 1000
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
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
[2/62] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[3/62] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[4/62] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[5/63] 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 |
[6/64] Compiling xsys timespec.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timespec.swift:23:21: error: cannot find 'CLOCK_MONOTONIC' in scope
21 | static func monotonic() -> timespec {
22 | var ts = timespec()
23 | clock_gettime(CLOCK_MONOTONIC, &ts)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
24 | return ts
25 | }
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_time.h:18:9: note: macro 'CLOCK_MONOTONIC' unavailable: structure not supported
16 |
17 | extern const struct __clockid _CLOCK_MONOTONIC;
18 | #define CLOCK_MONOTONIC (&_CLOCK_MONOTONIC)
| `- note: macro 'CLOCK_MONOTONIC' unavailable: structure not supported
19 | extern const struct __clockid _CLOCK_REALTIME;
20 | #define CLOCK_REALTIME (&_CLOCK_REALTIME)
[7/64] 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 |
[8/64] Compiling Logging LogHandler.swift
[9/64] 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 |
[10/64] Compiling Logging MetadataProvider.swift
[11/64] Compiling Logging Locks.swift
[12/64] Compiling Logging LogEvent.swift
[13/64] 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 |
[14/64] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[15/64] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[16/66] Compiling _NIODataStructures PriorityQueue.swift
[17/66] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[18/66] Compiling NIOConcurrencyHelpers lock.swift
[19/66] Emitting module mime
[20/66] Compiling mime MIME.swift
[21/66] Compiling InternalCollectionsUtilities Span+Extras.swift
[22/66] Compiling InternalCollectionsUtilities Integer rank.swift
[23/66] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[24/66] Compiling InternalCollectionsUtilities UInt+reversed.swift
[25/66] Compiling InternalCollectionsUtilities Debugging.swift
[26/66] Compiling InternalCollectionsUtilities Descriptions.swift
[27/66] Compiling InternalCollectionsUtilities String+Padding.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift:65:30: error: module 'WASILibc' has no member named 'SIGTERM'
63 |
64 | // signals (limited on WASI)
65 | public let SIGTERM = WASILibc.SIGTERM
| `- error: module 'WASILibc' has no member named 'SIGTERM'
66 | public let SIGINT = WASILibc.SIGINT
67 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift:66:30: error: module 'WASILibc' has no member named 'SIGINT'
64 | // signals (limited on WASI)
65 | public let SIGTERM = WASILibc.SIGTERM
66 | public let SIGINT = WASILibc.SIGINT
| `- error: module 'WASILibc' has no member named 'SIGINT'
67 |
68 | // stdio
[28/66] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift:65:30: error: module 'WASILibc' has no member named 'SIGTERM'
63 |
64 | // signals (limited on WASI)
65 | public let SIGTERM = WASILibc.SIGTERM
| `- error: module 'WASILibc' has no member named 'SIGTERM'
66 | public let SIGINT = WASILibc.SIGINT
67 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift:66:30: error: module 'WASILibc' has no member named 'SIGINT'
64 | // signals (limited on WASI)
65 | public let SIGTERM = WASILibc.SIGTERM
66 | public let SIGINT = WASILibc.SIGINT
| `- error: module 'WASILibc' has no member named 'SIGINT'
67 |
68 | // stdio
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/67] 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 |
[31/67] 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 |
[32/67] 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 |
[33/67] 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 |
[34/67] 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 |
[35/67] Compiling InternalCollectionsUtilities _SortedCollection.swift
[36/67] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[37/67] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[38/67] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/67] Emitting module Logging
[40/67] Compiling NIOConcurrencyHelpers NIOLock.swift
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift:65:30: error: module 'WASILibc' has no member named 'SIGTERM'
63 |
64 | // signals (limited on WASI)
65 | public let SIGTERM = WASILibc.SIGTERM
| `- error: module 'WASILibc' has no member named 'SIGTERM'
66 | public let SIGINT = WASILibc.SIGINT
67 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift:66:30: error: module 'WASILibc' has no member named 'SIGINT'
64 | // signals (limited on WASI)
65 | public let SIGTERM = WASILibc.SIGTERM
66 | public let SIGINT = WASILibc.SIGINT
| `- error: module 'WASILibc' has no member named 'SIGINT'
67 |
68 | // stdio
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timespec.swift:23:21: error: cannot find 'CLOCK_MONOTONIC' in scope
21 | static func monotonic() -> timespec {
22 | var ts = timespec()
23 | clock_gettime(CLOCK_MONOTONIC, &ts)
| `- error: cannot find 'CLOCK_MONOTONIC' in scope
24 | return ts
25 | }
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__header_time.h:18:9: note: macro 'CLOCK_MONOTONIC' unavailable: structure not supported
16 |
17 | extern const struct __clockid _CLOCK_MONOTONIC;
18 | #define CLOCK_MONOTONIC (&_CLOCK_MONOTONIC)
| `- note: macro 'CLOCK_MONOTONIC' unavailable: structure not supported
19 | extern const struct __clockid _CLOCK_REALTIME;
20 | #define CLOCK_REALTIME (&_CLOCK_REALTIME)
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:70:12: error: cannot assign value of type 'Int' to type 'Int64'
68 | public init(seconds: Int, milliseconds: Int = 0) {
69 | assert(milliseconds == 0) // just print a warning, the user should know
70 | self = seconds
| `- error: cannot assign value of type 'Int' to type 'Int64'
71 | }
72 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:73:53: error: cannot convert return expression of type 'Int64' to return type 'Int'
71 | }
72 |
73 | @inlinable public var seconds : Int { return self }
| `- error: cannot convert return expression of type 'Int64' to return type 'Int'
74 | @inlinable public var milliseconds : Int { return self * 1000 }
75 | }
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:74:58: error: cannot convert return expression of type 'Int64' to return type 'Int'
72 |
73 | @inlinable public var seconds : Int { return self }
74 | @inlinable public var milliseconds : Int { return self * 1000 }
| `- error: cannot convert return expression of type 'Int64' to return type 'Int'
75 | }
76 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:89:18: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
87 | public init(_ ts: timespec) {
88 | self.init()
89 | tv_sec = ts.seconds
| `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
90 | #if os(Linux) || os(Android) || os(WASI)
91 | tv_usec = ts.tv_nsec / 1000
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:91:26: error: cannot assign value of type 'Int' to type 'suseconds_t' (aka 'Int64')
89 | tv_sec = ts.seconds
90 | #if os(Linux) || os(Android) || os(WASI)
91 | tv_usec = ts.tv_nsec / 1000
| `- error: cannot assign value of type 'Int' to type 'suseconds_t' (aka 'Int64')
92 | #else
93 | tv_usec = Int32(ts.tv_nsec / 1000)
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:100:23: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
98 | public init(seconds: Int, milliseconds: Int = 0) {
99 | self.init()
100 | tv_sec = seconds + (milliseconds / 1000)
| `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
101 | #if os(Linux) || os(Android) || os(WASI)
102 | tv_usec = (milliseconds % 1000) * 1000
[41/67] Emitting module _NIOBase64
BUILD FAILURE 6.1 wasm