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 MacroLambda, reference develop (b923f7), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 22:34:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/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 b923f76 GHA: Build against Swift 6
Cloned https://github.com/Macro-swift/MacroLambda.git
Revision (git rev-parse @):
b923f7664262118438f6e668d5539d9008499d83
SUCCESS checkout https://github.com/Macro-swift/MacroLambda.git at develop
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Macro-swift/MacroLambda.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/swift-server/swift-aws-lambda-runtime.git
Fetching https://github.com/Macro-swift/Macro.git
[1/1641] Fetching macro
[1642/13177] Fetching macro, swift-aws-lambda-runtime
Fetched https://github.com/Macro-swift/Macro.git from cache (0.98s)
[808/11536] Fetching swift-aws-lambda-runtime
Fetching https://github.com/Macro-swift/MacroExpress.git
Fetched https://github.com/swift-server/swift-aws-lambda-runtime.git from cache (1.87s)
[1/1352] Fetching macroexpress
Fetched https://github.com/Macro-swift/MacroExpress.git from cache (0.78s)
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 0.5.2 (3.18s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/swift-backtrace.git
[1/3836] Fetching swift-log
[692/4467] Fetching swift-log, swift-backtrace
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.42s)
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-log.git from cache (4.34s)
Fetched https://github.com/apple/swift-nio.git from cache (4.43s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.8 (5.46s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.82s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.92s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
[1865/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.99s)
Fetched https://github.com/apple/swift-collections.git from cache (1.02s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.03s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (0.46s)
Computing version for https://github.com/Macro-swift/MacroExpress.git
Computed https://github.com/Macro-swift/MacroExpress.git at 1.0.8 (0.44s)
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/559] Fetching mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.21s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2 (0.72s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.42s)
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 0.5.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/Macro-swift/Macro.git
Working copy of https://github.com/Macro-swift/Macro.git resolved at 1.0.8
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-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-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.2
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.8
Creating working copy for https://github.com/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.3.5
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
Building for debugging...
[0/56] Write sources
[31/56] Compiling _AtomicsShims.c
[32/56] Compiling CNIOLLHTTP c_nio_http.c
[33/56] Compiling CNIOWindows shim.c
[34/56] Compiling CNIOLinux liburing_shims.c
[35/56] Write swift-version-24593BA9C3E375BF.txt
[36/56] Compiling CNIOWindows WSAStartup.c
[36/56] Compiling CNIODarwin shim.c
[38/56] Compiling CNIOWASI CNIOWASI.c
[39/56] Compiling CNIOLinux shim.c
[40/56] Compiling CNIOLLHTTP c_nio_api.c
[41/86] Compiling CNIOLLHTTP c_nio_llhttp.c
[43/91] Emitting module Logging
[43/91] Compiling c-nioatomics.c
[44/105] Compiling c-atomics.c
[46/111] 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 |
[47/112] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[48/112] Compiling InternalCollectionsUtilities UInt+reversed.swift
[49/113] Compiling _NIODataStructures _TinyArray.swift
[50/113] 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 |
[51/113] 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 |
[52/113] 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 |
[53/114] Emitting module InternalCollectionsUtilities
[54/114] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[55/114] 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 |
/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/114] 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 |
[59/114] 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 |
[60/114] Compiling InternalCollectionsUtilities _SortedCollection.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)
[61/114] Emitting module mime
/host/spi-builder-workspace/.build/checkouts/MacroExpress/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 {}
[62/114] Compiling mime MIME.swift
/host/spi-builder-workspace/.build/checkouts/MacroExpress/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 {}
[63/114] 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 |
[64/114] Compiling _NIODataStructures PriorityQueue.swift
[65/114] Compiling _NIOBase64 Base64.swift
[66/114] Emitting module _NIOBase64
[69/115] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/115] 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 |
[71/115] 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/115] 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 |
[74/115] Compiling NIOConcurrencyHelpers lock.swift
[75/115] Compiling Logging Locks.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/115] Emitting module _NIODataStructures
[77/115] Compiling Logging LogHandler.swift
[78/115] Emitting module NIOConcurrencyHelpers
[79/115] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[80/115] Compiling InternalCollectionsUtilities Debugging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[81/115] 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 |
[82/115] 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 |
[83/115] 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 |
BUILD FAILURE 6.2 wasm