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 1.0.10 (c6fa70), with Swift 6.2 (beta) for Wasm on 7 Sep 2025 22:13:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 1.0.10
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
 * tag               1.0.10     -> FETCH_HEAD
HEAD is now at c6fa701 Merge branch 'develop'
Cloned https://github.com/Macro-swift/Macro.git
Revision (git rev-parse @):
c6fa701a708089bead48c666d3047680a4117f92
SUCCESS checkout https://github.com/Macro-swift/Macro.git at 1.0.10
========================================
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-3":/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-log.git
[1/3903] Fetching swift-log
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-log.git from cache (0.89s)
[1/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.60s)
[1/78032] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.83s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (8.38s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.22s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
[2569/22347] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.66s)
[4179/17410] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.88s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (2.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.10s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.75s)
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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
Building for debugging...
[0/33] Write sources
[18/33] Compiling CNIOWindows shim.c
[18/33] Compiling _AtomicsShims.c
[20/33] Compiling CNIOWindows WSAStartup.c
[21/33] Compiling CNIOLinux shim.c
[22/33] Compiling CNIOWASI CNIOWASI.c
[23/33] Compiling CNIOLinux liburing_shims.c
[24/33] Compiling CNIODarwin shim.c
[24/33] Write sources
[26/33] Compiling CNIOPosix event_loop_id.c
[27/33] Write swift-version-24593BA9C3E375BF.txt
[28/33] Compiling CNIOLLHTTP c_nio_http.c
[29/50] Compiling CNIOLLHTTP c_nio_api.c
[31/72] Emitting module Logging
[32/72] Emitting module _NIOBase64
[33/72] Emitting module _NIODataStructures
[33/72] Compiling CNIOLLHTTP c_nio_llhttp.c
[34/90] Compiling c-nioatomics.c
[35/90] Compiling c-atomics.c
[37/96] Compiling Atomics AtomicMemoryOrderings.swift
[38/96] Compiling Atomics DoubleWord.swift
[39/96] Compiling Atomics AtomicStorage.swift
[40/96] Compiling Atomics AtomicValue.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/98] 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 |
[42/99] Compiling Atomics AtomicInteger.swift
[43/99] Compiling Atomics AtomicOptionalWrappable.swift
[44/100] Compiling Atomics RawRepresentable.swift
[45/100] Compiling Atomics AtomicBool.swift
[46/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 |
[49/100] Compiling Atomics AtomicReference.swift
[50/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 |
[51/100] Compiling Atomics OptionalRawRepresentable.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 |
[52/100] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.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 |
[57/100] Emitting module InternalCollectionsUtilities
[58/100] Compiling Atomics IntegerConformances.swift
[59/100] Compiling Atomics PointerConformances.swift
[64/100] Compiling Atomics ManagedAtomic.swift
[65/100] Compiling Atomics ManagedAtomicLazyReference.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 |
[68/100] Compiling Atomics UnsafeAtomic.swift
[69/100] Compiling Atomics UnsafeAtomicLazyReference.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 |
[72/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 |
[73/100] Compiling Logging LogHandler.swift
[74/100] Compiling _NIOBase64 Base64.swift
[76/101] Compiling _NIODataStructures _TinyArray.swift
[77/101] Compiling _NIODataStructures PriorityQueue.swift
[81/101] Emitting module NIOConcurrencyHelpers
[85/101] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[87/102] Compiling Atomics IntegerOperations.swift
[88/102] Compiling Atomics Unmanaged extensions.swift
[89/102] Emitting module Atomics
[91/118] Compiling DequeModule Deque+CustomReflectable.swift
[92/118] Compiling DequeModule Deque+Descriptions.swift
[93/120] Compiling DequeModule _DequeBuffer.swift
[94/120] Compiling DequeModule _DequeBufferHeader.swift
[95/120] Compiling NIOConcurrencyHelpers lock.swift
[96/120] Compiling Logging MetadataProvider.swift
[97/120] Compiling _NIODataStructures Heap.swift
[99/121] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[100/121] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[101/121] Compiling NIOConcurrencyHelpers atomics.swift
[102/121] Compiling NIOConcurrencyHelpers NIOLock.swift
[103/122] Compiling DequeModule _DequeSlot.swift
[104/122] Compiling DequeModule _UnsafeWrappedBuffer.swift
[106/122] Compiling Logging Locks.swift
[107/122] Compiling Logging Logging.swift
[109/123] Compiling DequeModule Deque+Equatable.swift
[110/123] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[111/123] Compiling DequeModule Deque+Extras.swift
[112/123] Compiling DequeModule Deque+Hashable.swift
[113/123] Compiling DequeModule Deque+Testing.swift
[114/123] Compiling DequeModule Deque._Storage.swift
[115/123] Compiling DequeModule Deque._UnsafeHandle.swift
[116/123] Compiling DequeModule Deque.swift
[117/123] Compiling DequeModule Deque+Codable.swift
[118/123] Compiling DequeModule Deque+Collection.swift
[119/123] Emitting module DequeModule
[121/185] Compiling NIOCore NIOAny.swift
[122/185] Compiling NIOCore NIOCloseOnErrorHandler.swift
[123/185] Compiling NIOCore NIOCoreSendableMetatype.swift
[124/185] Compiling NIOCore NIOLoopBound.swift
[125/185] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[126/185] Compiling NIOCore NIOScheduledCallback.swift
[127/185] Compiling NIOCore NIOSendable.swift
[128/185] Compiling NIOCore RecvByteBufferAllocator.swift
[129/193] Compiling NIOCore IOData.swift
[130/193] Compiling NIOCore IPProtocol.swift
[131/193] Compiling NIOCore IntegerBitPacking.swift
[132/193] Compiling NIOCore IntegerTypes.swift
[133/193] Compiling NIOCore Interfaces.swift
[134/193] Compiling NIOCore Linux.swift
[135/193] Compiling NIOCore MarkedCircularBuffer.swift
[136/193] Compiling NIOCore MulticastChannel.swift
[137/193] Compiling NIOCore EventLoopFuture+Deprecated.swift
[138/193] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[139/193] Compiling NIOCore EventLoopFuture.swift
[140/193] Compiling NIOCore FileDescriptor.swift
[141/193] Compiling NIOCore FileHandle.swift
[142/193] Compiling NIOCore FileRegion.swift
[143/193] Compiling NIOCore GlobalSingletons.swift
[144/193] Compiling NIOCore IO.swift
[145/193] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[146/193] Compiling NIOCore SocketAddresses.swift
[147/193] Compiling NIOCore SocketOptionProvider.swift
[148/193] Compiling NIOCore SystemCallHelpers.swift
[149/193] Compiling NIOCore TimeAmount+Duration.swift
[150/193] Compiling NIOCore TypeAssistedChannelHandler.swift
[151/193] Compiling NIOCore UniversalBootstrapSupport.swift
[152/193] Compiling NIOCore Utilities.swift
[153/193] Compiling NIOCore CircularBuffer.swift
[154/193] Compiling NIOCore Codec.swift
[155/193] Compiling NIOCore ConvenienceOptionSupport.swift
[156/193] Compiling NIOCore DeadChannel.swift
[157/193] Compiling NIOCore DispatchQueue+WithFuture.swift
[158/193] Compiling NIOCore EventLoop+Deprecated.swift
[159/193] Compiling NIOCore EventLoop+SerialExecutor.swift
[160/193] Compiling NIOCore EventLoop.swift
[161/193] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[162/193] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[163/193] Compiling NIOCore BSDSocketAPI.swift
[164/193] Compiling NIOCore ByteBuffer-aux.swift
[165/193] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[166/193] Compiling NIOCore ByteBuffer-conversions.swift
[167/193] Compiling NIOCore ByteBuffer-core.swift
[168/193] Compiling NIOCore ByteBuffer-hex.swift
[169/193] Compiling NIOCore ByteBuffer-int.swift
[170/193] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[171/193] Compiling NIOCore AddressedEnvelope.swift
[172/193] Compiling NIOCore AsyncAwaitSupport.swift
[173/193] Compiling NIOCore AsyncChannel.swift
[174/193] Compiling NIOCore AsyncChannelHandler.swift
[175/193] Compiling NIOCore AsyncChannelInboundStream.swift
[176/193] Compiling NIOCore AsyncChannelOutboundWriter.swift
[177/193] Compiling NIOCore NIOAsyncSequenceProducer.swift
[178/193] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[179/193] Compiling NIOCore NIOAsyncWriter.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 |
/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 |
BUILD FAILURE 6.2 wasm