Build Information
Failed to build MacroExpress, reference 1.0.8 (e4cce5
), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 15:24:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Macro-swift/MacroExpress.git
Reference: 1.0.8
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/MacroExpress
* tag 1.0.8 -> FETCH_HEAD
HEAD is now at e4cce5a Merge branch 'develop'
Cloned https://github.com/Macro-swift/MacroExpress.git
Revision (git rev-parse @):
e4cce5a843265a2b9d4c1d8afe6a0ae8b354506d
SUCCESS checkout https://github.com/Macro-swift/MacroExpress.git at 1.0.8
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Macro-swift/MacroExpress.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/Macro-swift/Macro.git
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/559] Fetching mustache
[560/2200] Fetching mustache, macro
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.31s)
Fetched https://github.com/Macro-swift/Macro.git from cache (0.31s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (2.75s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.8 (0.91s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
[1/3836] Fetching swift-log
[232/5633] Fetching swift-log, swift-atomics
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
[1/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (5.42s)
Fetched https://github.com/apple/swift-nio.git from cache (5.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (6.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.30s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4436] Fetching swift-system
[3240/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.66s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.68s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (2.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.00s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.74s)
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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.8
Building for debugging...
[0/37] Write sources
[24/37] Compiling CNIOWindows WSAStartup.c
[25/37] Compiling _AtomicsShims.c
[26/37] Compiling CNIOWindows shim.c
[26/37] Compiling CNIOWASI CNIOWASI.c
[28/37] Compiling CNIOLinux shim.c
[29/37] Compiling CNIOLinux liburing_shims.c
[30/37] Compiling CNIOLLHTTP c_nio_http.c
[31/37] Write swift-version-24593BA9C3E375BF.txt
[32/37] Compiling CNIODarwin shim.c
[33/37] Compiling CNIOLLHTTP c_nio_api.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/67] 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 |
[36/68] Emitting module _NIODataStructures
[37/68] Emitting module _NIOBase64
[37/68] Compiling c-nioatomics.c
[38/68] Compiling CNIOLLHTTP c_nio_llhttp.c
[39/87] Compiling c-atomics.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/105] Emitting module Mustache
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 | import func Glibc.memcpy
215 | #else
216 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
217 | #endif
218 |
[42/105] Compiling Mustache HTMLEscape.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 | import func Glibc.memcpy
215 | #else
216 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
217 | #endif
218 |
[43/106] 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 |
[44/106] Compiling Mustache MustacheRenderingContext.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 | import func Glibc.memcpy
215 | #else
216 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
217 | #endif
218 |
[45/106] Compiling Atomics OptionalRawRepresentable.swift
[46/106] Compiling Atomics RawRepresentable.swift
[47/107] Emitting module InternalCollectionsUtilities
[48/107] Compiling Atomics AtomicInteger.swift
[49/107] Compiling Atomics AtomicOptionalWrappable.swift
[50/107] Compiling Atomics AtomicReference.swift
[51/109] Compiling Atomics IntegerConformances.swift
[52/109] Compiling Atomics PointerConformances.swift
[53/109] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[54/109] Compiling Atomics AtomicValue.swift
[55/109] Compiling Atomics AtomicMemoryOrderings.swift
[56/109] Compiling Mustache SimpleKVC.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 | import func Glibc.memcpy
215 | #else
216 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
217 | #endif
218 |
[57/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 |
[59/109] Compiling Atomics DoubleWord.swift
[60/109] Compiling Atomics Primitives.native.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 |
[62/109] Compiling Mustache MustacheRendering.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 | import func Glibc.memcpy
215 | #else
216 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
217 | #endif
218 |
[65/109] Compiling Atomics AtomicBool.swift
[66/109] Compiling Atomics AtomicStorage.swift
[69/109] Compiling Atomics ManagedAtomic.swift
[70/109] Compiling Atomics ManagedAtomicLazyReference.swift
[71/109] Compiling Atomics UnsafeAtomic.swift
[72/109] Compiling Atomics UnsafeAtomicLazyReference.swift
[73/109] Compiling Mustache MustacheParser.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 | import func Glibc.memcpy
215 | #else
216 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
217 | #endif
218 |
[76/109] Compiling Mustache Mustachable.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 | import func Glibc.memcpy
215 | #else
216 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
217 | #endif
218 |
[77/109] Compiling Mustache Helpers.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 | import func Glibc.memcpy
215 | #else
216 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
217 | #endif
218 |
[78/109] Compiling Mustache MustacheNode.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 | import func Glibc.memcpy
215 | #else
216 | import func Darwin.memcpy
| `- error: no such module 'Darwin'
217 | #endif
218 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[79/109] Emitting module mime
/host/spi-builder-workspace/Sources/mime/MIME.swift:12:15: error: no such module 'Foundation'
10 | // https://www.npmjs.com/package/mime-types
11 |
12 | import struct Foundation.URL
| `- error: no such module 'Foundation'
13 |
14 | public enum MIMEModule {}
[80/109] Compiling mime MIME.swift
/host/spi-builder-workspace/Sources/mime/MIME.swift:12:15: error: no such module 'Foundation'
10 | // https://www.npmjs.com/package/mime-types
11 |
12 | import struct Foundation.URL
| `- error: no such module 'Foundation'
13 |
14 | public enum MIMEModule {}
[81/109] Compiling Logging Locks.swift
[82/109] Emitting module Logging
/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 |
/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 |
[89/109] Compiling Logging LogHandler.swift
[90/109] Compiling _NIODataStructures _TinyArray.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 |
BUILD FAILURE 6.2 wasm