The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MacroExpress, reference develop (66291c), with Swift 6.2 (beta) for Wasm on 10 Sep 2025 23:09:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Macro-swift/MacroExpress.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/MacroExpress
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 66291cb Docs
Cloned https://github.com/Macro-swift/MacroExpress.git
Revision (git rev-parse @):
66291cb23260875331b4713c7faebbfe1c19d031
SUCCESS checkout https://github.com/Macro-swift/MacroExpress.git at develop
========================================
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-4606859-1":/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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
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/1704] Fetching macro
[189/2263] Fetching macro, mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.26s)
Fetched https://github.com/Macro-swift/Macro.git from cache (0.27s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (0.76s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.10 (0.58s)
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/1814] Fetching swift-atomics
[219/5717] Fetching swift-atomics, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (0.57s)
[1/78062] Fetching swift-nio
Fetched https://github.com/apple/swift-log.git from cache (6.53s)
Fetched https://github.com/apple/swift-nio.git from cache (6.63s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (7.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.97s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
[4938/22390] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
[3666/17453] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (2.09s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.66s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.59s)
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.4
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.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.86.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.10
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.2
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.2
Building for debugging...
[0/38] Write sources
[24/38] Compiling CNIOWindows WSAStartup.c
[25/38] Compiling CNIOWindows shim.c
[26/38] Compiling _AtomicsShims.c
[27/38] Compiling CNIOLLHTTP c_nio_http.c
[28/38] Compiling CNIOPosix event_loop_id.c
[28/38] Compiling CNIOWASI CNIOWASI.c
[30/38] Compiling CNIOLinux shim.c
[31/38] Compiling CNIODarwin shim.c
[32/38] Compiling CNIOLinux liburing_shims.c
[33/38] Write swift-version-24593BA9C3E375BF.txt
[34/38] Compiling CNIOLLHTTP c_nio_api.c
[35/68] Compiling CNIOLLHTTP c_nio_llhttp.c
[36/73] Compiling c-nioatomics.c
[37/87] Compiling c-atomics.c
[39/93] 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 |
[40/94] 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 |
[41/95] 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 |
[42/95] 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 |
[43/95] 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 |
[44/95] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[45/95] Compiling InternalCollectionsUtilities Descriptions.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 |
[46/95] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.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 |
[47/95] Compiling InternalCollectionsUtilities _UniqueCollection.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 |
[48/95] Compiling InternalCollectionsUtilities Debugging.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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/95] 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 {}
[50/95] 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 {}
[51/95] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[52/95] Compiling InternalCollectionsUtilities UInt+reversed.swift
[53/95] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[54/95] Compiling InternalCollectionsUtilities _SortedCollection.swift
[55/95] 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 |
[56/96] 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 |
[57/96] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.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 |
[58/96] 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 |
[59/96] 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 |
[60/96] 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 |
[63/96] Emitting module InternalCollectionsUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/96] 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 |
[69/96] 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 |
[72/96] Emitting module Logging
[73/96] 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 |
[74/96] Emitting module _NIOBase64
[75/96] Compiling _NIOBase64 Base64.swift
[76/96] 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 |
[78/97] Compiling _NIODataStructures _TinyArray.swift
[79/97] Compiling _NIODataStructures PriorityQueue.swift
[80/97] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[82/98] Emitting module NIOConcurrencyHelpers
[83/98] Compiling Logging MetadataProvider.swift
[84/98] Compiling NIOConcurrencyHelpers NIOLock.swift
[85/98] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[86/98] Compiling NIOConcurrencyHelpers lock.swift
[87/98] Compiling _NIODataStructures Heap.swift
[88/98] Emitting module _NIODataStructures
[90/99] Compiling NIOConcurrencyHelpers atomics.swift
[91/99] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[93/100] Compiling Logging Logging.swift
[94/100] Compiling Logging Locks.swift
[95/100] Compiling Logging LogHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[96/101] 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 |
BUILD FAILURE 6.2 wasm