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 Macro, reference develop (7c1a6a), with Swift 6.2 (beta) for Wasm on 8 Sep 2025 14:27:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/Macro.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/Macro
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 7c1a6a5 Add missing all-tests to PathTests
Cloned https://github.com/Macro-swift/Macro.git
Revision (git rev-parse @):
7c1a6a545e820ab209d841e8c59a61fd14d7cdaa
SUCCESS checkout https://github.com/Macro-swift/Macro.git at develop
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Macro-swift/Macro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3903] Fetching swift-log
[626/5717] Fetching swift-log, swift-atomics
[5718/83754] Fetching swift-log, swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (5.45s)
Fetched https://github.com/apple/swift-log.git from cache (5.45s)
Fetched https://github.com/apple/swift-nio.git from cache (5.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (6.74s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.70s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4937] Fetching swift-system
[4938/22347] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.47s)
[2960/17410] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.43s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.92s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.40s)
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/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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Building for debugging...
[0/33] Write sources
[18/33] Compiling CNIOWindows shim.c
[18/33] Compiling CNIOWindows WSAStartup.c
[20/33] Compiling _AtomicsShims.c
[21/33] Compiling CNIOPosix event_loop_id.c
[22/33] Compiling CNIOWASI CNIOWASI.c
[23/33] Compiling CNIOLinux shim.c
[24/33] Compiling CNIOLinux liburing_shims.c
[25/33] Write sources
[26/33] Write swift-version-24593BA9C3E375BF.txt
[27/33] Compiling CNIOLLHTTP c_nio_http.c
[27/33] Compiling CNIODarwin shim.c
[29/43] Compiling CNIOLLHTTP c_nio_api.c
[30/72] Compiling CNIOLLHTTP c_nio_llhttp.c
[31/90] Compiling c-nioatomics.c
[32/90] Compiling c-atomics.c
[34/96] Emitting module Atomics
[35/98] Compiling Atomics AtomicInteger.swift
/host/spi-builder-workspace/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/98] Compiling Atomics AtomicOptionalWrappable.swift
/host/spi-builder-workspace/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 |
[37/99] Compiling Atomics ManagedAtomic.swift
[38/99] Compiling Atomics ManagedAtomicLazyReference.swift
[41/100] Compiling xsys timeval_any.swift
/host/spi-builder-workspace/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/100] Compiling xsys timespec.swift
/host/spi-builder-workspace/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/100] Compiling Atomics AtomicValue.swift
/host/spi-builder-workspace/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/100] Compiling Atomics AtomicMemoryOrderings.swift
/host/spi-builder-workspace/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 |
[45/100] Compiling Atomics AtomicReference.swift
/host/spi-builder-workspace/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/100] Compiling Atomics AtomicStorage.swift
/host/spi-builder-workspace/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/100] Compiling Atomics DoubleWord.swift
[51/100] Emitting module InternalCollectionsUtilities
[52/100] Compiling Atomics OptionalRawRepresentable.swift
[53/100] Compiling Atomics RawRepresentable.swift
[54/100] Compiling Atomics AtomicBool.swift
[55/100] Compiling Atomics IntegerConformances.swift
[59/100] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[62/100] Compiling Atomics UnsafeAtomic.swift
[63/100] Compiling Atomics UnsafeAtomicLazyReference.swift
[66/100] Emitting module Logging
[67/100] Compiling Logging Locks.swift
[68/100] Compiling Atomics IntegerOperations.swift
[69/100] Compiling Atomics Unmanaged extensions.swift
[70/100] Compiling Atomics PointerConformances.swift
[71/100] Compiling Atomics Primitives.native.swift
/host/spi-builder-workspace/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/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/100] Compiling Logging MetadataProvider.swift
[81/100] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[82/102] Compiling NIOConcurrencyHelpers lock.swift
[83/102] Compiling _NIOBase64 Base64.swift
[84/102] Emitting module _NIOBase64
[85/103] Compiling NIOConcurrencyHelpers NIOLock.swift
[88/103] Compiling _NIODataStructures Heap.swift
[90/103] Compiling _NIODataStructures PriorityQueue.swift
[91/103] Emitting module _NIODataStructures
[92/103] Compiling _NIODataStructures _TinyArray.swift
[94/119] Emitting module NIOConcurrencyHelpers
[95/119] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[96/119] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[97/119] Compiling NIOConcurrencyHelpers atomics.swift
[99/120] Compiling DequeModule Deque+CustomReflectable.swift
[100/120] Compiling DequeModule Deque+Descriptions.swift
[101/122] Compiling DequeModule _DequeBuffer.swift
[102/122] Compiling DequeModule _DequeBufferHeader.swift
[103/122] Compiling DequeModule Deque+Equatable.swift
[104/122] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[105/122] Compiling DequeModule Deque+Extras.swift
[106/122] Compiling DequeModule Deque+Hashable.swift
[107/122] Compiling Logging Logging.swift
[108/122] Compiling Logging LogHandler.swift
[110/123] Compiling DequeModule _DequeSlot.swift
[111/123] Compiling DequeModule _UnsafeWrappedBuffer.swift
[112/123] Compiling DequeModule Deque._UnsafeHandle.swift
[113/123] Compiling DequeModule Deque.swift
[114/123] Compiling DequeModule Deque+Testing.swift
[115/123] Compiling DequeModule Deque._Storage.swift
[116/123] Compiling DequeModule Deque+Codable.swift
[117/123] Compiling DequeModule Deque+Collection.swift
[118/123] Emitting module DequeModule
[120/185] Compiling NIOCore NIOAny.swift
[121/185] Compiling NIOCore NIOCloseOnErrorHandler.swift
[122/185] Compiling NIOCore NIOCoreSendableMetatype.swift
[123/185] Compiling NIOCore NIOLoopBound.swift
[124/185] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[125/185] Compiling NIOCore NIOScheduledCallback.swift
[126/185] Compiling NIOCore NIOSendable.swift
[127/185] Compiling NIOCore RecvByteBufferAllocator.swift
[128/193] Compiling NIOCore IOData.swift
[129/193] Compiling NIOCore IPProtocol.swift
[130/193] Compiling NIOCore IntegerBitPacking.swift
[131/193] Compiling NIOCore IntegerTypes.swift
[132/193] Compiling NIOCore Interfaces.swift
[133/193] Compiling NIOCore Linux.swift
[134/193] Compiling NIOCore MarkedCircularBuffer.swift
[135/193] Compiling NIOCore MulticastChannel.swift
[136/193] Compiling NIOCore EventLoopFuture+Deprecated.swift
[137/193] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[138/193] Compiling NIOCore EventLoopFuture.swift
[139/193] Compiling NIOCore FileDescriptor.swift
[140/193] Compiling NIOCore FileHandle.swift
[141/193] Compiling NIOCore FileRegion.swift
[142/193] Compiling NIOCore GlobalSingletons.swift
[143/193] Compiling NIOCore IO.swift
[144/193] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[145/193] Compiling NIOCore SocketAddresses.swift
[146/193] Compiling NIOCore SocketOptionProvider.swift
[147/193] Compiling NIOCore SystemCallHelpers.swift
[148/193] Compiling NIOCore TimeAmount+Duration.swift
[149/193] Compiling NIOCore TypeAssistedChannelHandler.swift
[150/193] Compiling NIOCore UniversalBootstrapSupport.swift
[151/193] Compiling NIOCore Utilities.swift
[152/193] Compiling NIOCore CircularBuffer.swift
[153/193] Compiling NIOCore Codec.swift
[154/193] Compiling NIOCore ConvenienceOptionSupport.swift
[155/193] Compiling NIOCore DeadChannel.swift
[156/193] Compiling NIOCore DispatchQueue+WithFuture.swift
[157/193] Compiling NIOCore EventLoop+Deprecated.swift
[158/193] Compiling NIOCore EventLoop+SerialExecutor.swift
[159/193] Compiling NIOCore EventLoop.swift
[160/193] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[161/193] Emitting module xsys
/host/spi-builder-workspace/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 |
[162/193] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
/host/spi-builder-workspace/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 |
[163/193] Compiling NIOCore BSDSocketAPI.swift
/host/spi-builder-workspace/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 |
[164/193] Compiling NIOCore ByteBuffer-aux.swift
/host/spi-builder-workspace/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 |
[165/193] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
/host/spi-builder-workspace/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 |
[170/193] Compiling NIOCore ByteBuffer-conversions.swift
[171/193] Compiling NIOCore ByteBuffer-core.swift
[172/193] Compiling NIOCore ByteBuffer-hex.swift
[173/193] Compiling NIOCore ByteBuffer-int.swift
[174/193] Compiling NIOCore ByteBuffer-lengthPrefix.swift
BUILD FAILURE 6.2 wasm