The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MacroExpress, reference 1.0.66 (9c4e62), with Swift 6.4 for Wasm on 27 Sep 2026 14:19:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Macro-swift/MacroExpress.git
Reference: 1.0.66
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.66     -> FETCH_HEAD
HEAD is now at 9c4e623 Merge branch 'develop'
Cloned https://github.com/Macro-swift/MacroExpress.git
Revision (git rev-parse @):
9c4e623e9e16a49394cd45c8dbfbb02683bbc075
SUCCESS checkout https://github.com/Macro-swift/MacroExpress.git at 1.0.66
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Macro-swift/MacroExpress.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/AlwaysRightInstitute/mustache.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Macro-swift/Macro.git
[1/8165] Fetching swift-log
[7432/10771] Fetching swift-log, macro
Fetched https://github.com/Macro-swift/Macro.git (0.59s)
[1/585] Fetching mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git (0.90s)
Fetched https://github.com/apple/swift-log.git (0.90s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.4 (1.99s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.66 (0.19s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
[1/1885] Fetching swift-atomics
[1886/88070] Fetching swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git (3.97s)
Fetched https://github.com/apple/swift-nio.git (4.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (4.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.20s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.34s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/6983] Fetching swift-system
[6984/34762] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.35s)
Fetched https://github.com/apple/swift-collections.git (1.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (1.68s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.25s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.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.15.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
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.66
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.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.8.1
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.4
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1248]
[Planning 551 / 1248]
[Planning 1097 / 1248]
[Planning deferred tasks]
[Constructing 1446 / 2561]
[Starting]
[122 / 386] MacroCore
[182 / 395] mime
[190 / 429] Mustache
[194 / 445] InternalCollectionsUtilities
[195 / 445] _NIOBase64
[198 / 445] _NIODataStructures
[213 / 445] xsys
[214 / 445] Logging
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift:65:30: error: module 'WASILibc' has no member named 'SIGTERM'
 63 |
 64 |   // signals (limited on WASI)
 65 |   public let SIGTERM       = WASILibc.SIGTERM
    |                              `- error: module 'WASILibc' has no member named 'SIGTERM'
 66 |   public let SIGINT        = WASILibc.SIGINT
 67 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift:66:30: error: module 'WASILibc' has no member named 'SIGINT'
 64 |   // signals (limited on WASI)
 65 |   public let SIGTERM       = WASILibc.SIGTERM
 66 |   public let SIGINT        = WASILibc.SIGINT
    |                              `- error: module 'WASILibc' has no member named 'SIGINT'
 67 |
 68 |   // stdio
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timespec.swift:23:21: error: cannot find 'CLOCK_MONOTONIC' in scope
 21 |     static func monotonic() -> timespec {
 22 |       var ts = timespec()
 23 |       clock_gettime(CLOCK_MONOTONIC, &ts)
    |                     `- error: cannot find 'CLOCK_MONOTONIC' in scope
 24 |       return ts
 25 |     }
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/__header_time.h:16:9: note: macro 'CLOCK_MONOTONIC' unavailable: structure not supported
14 |
15 | extern const struct __clockid _CLOCK_MONOTONIC;
16 | #define CLOCK_MONOTONIC (&_CLOCK_MONOTONIC)
   |         `- note: macro 'CLOCK_MONOTONIC' unavailable: structure not supported
17 | extern const struct __clockid _CLOCK_REALTIME;
18 | #define CLOCK_REALTIME (&_CLOCK_REALTIME)
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:70:12: error: cannot assign value of type 'Int' to type 'Int64'
 68 |   public init(seconds: Int, milliseconds: Int = 0) {
 69 |     assert(milliseconds == 0) // just print a warning, the user should know
 70 |     self = seconds
    |            `- error: cannot assign value of type 'Int' to type 'Int64'
 71 |   }
 72 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:73:53: error: cannot convert return expression of type 'Int64' to return type 'Int'
 71 |   }
 72 |
 73 |   @inlinable public var seconds      : Int { return self }
    |                                                     `- error: cannot convert return expression of type 'Int64' to return type 'Int'
 74 |   @inlinable public var milliseconds : Int { return self * 1000 }
 75 | }
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:74:58: error: cannot convert return expression of type 'Int64' to return type 'Int'
 72 |
 73 |   @inlinable public var seconds      : Int { return self }
 74 |   @inlinable public var milliseconds : Int { return self * 1000 }
    |                                                          `- error: cannot convert return expression of type 'Int64' to return type 'Int'
 75 | }
 76 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:89:18: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
 87 |   public init(_ ts: timespec) {
 88 |     self.init()
 89 |     tv_sec  = ts.seconds
    |                  `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
 90 | #if os(Linux) || os(Android) || os(WASI)
 91 |     tv_usec = ts.tv_nsec / 1000
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:91:26: error: cannot assign value of type 'Int' to type 'suseconds_t' (aka 'Int64')
 89 |     tv_sec  = ts.seconds
 90 | #if os(Linux) || os(Android) || os(WASI)
 91 |     tv_usec = ts.tv_nsec / 1000
    |                          `- error: cannot assign value of type 'Int' to type 'suseconds_t' (aka 'Int64')
 92 | #else
 93 |     tv_usec = Int32(ts.tv_nsec / 1000)
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:100:23: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
 98 |   public init(seconds: Int, milliseconds: Int = 0) {
 99 |     self.init()
100 |     tv_sec  = seconds + (milliseconds / 1000)
    |                       `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
101 | #if os(Linux) || os(Android) || os(WASI)
102 |     tv_usec = (milliseconds % 1000) * 1000
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:102:37: error: cannot assign value of type 'Int' to type 'suseconds_t' (aka 'Int64')
100 |     tv_sec  = seconds + (milliseconds / 1000)
101 | #if os(Linux) || os(Android) || os(WASI)
102 |     tv_usec = (milliseconds % 1000) * 1000
    |                                     `- error: cannot assign value of type 'Int' to type 'suseconds_t' (aka 'Int64')
103 | #else
104 |     tv_usec = Int32(milliseconds % 1000) * 1000
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:116:13: error: cannot convert value of type 'time_t' (aka 'Int64') to expected argument type 'Int'
114 |   @inlinable
115 |   public var milliseconds : Int {
116 |     return (tv_sec * 1000) + (Int(tv_usec) / 1000)
    |             `- error: cannot convert value of type 'time_t' (aka 'Int64') to expected argument type 'Int'
117 |   }
118 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:129:18: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
127 |   public init(_ tv: timeval) {
128 |     self.init()
129 |     tv_sec  = tv.seconds
    |                  `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
130 |     tv_nsec = Int(tv.tv_usec) * 1000
131 |   }
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:136:23: error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
134 |   public init(seconds: Int, milliseconds: Int = 0) {
135 |     self.init()
136 |     tv_sec  = seconds + (milliseconds / 1000)
    |                       `- error: cannot assign value of type 'Int' to type 'time_t' (aka 'Int64')
137 |     tv_nsec = (milliseconds % 1000) * 1000000
138 |   }
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:143:12: error: cannot convert return expression of type 'time_t' (aka 'Int64') to return type 'Int'
141 |   public var seconds : Int {
142 |     // TBD: rounding on tv_nsec?
143 |     return tv_sec
    |            `- error: cannot convert return expression of type 'time_t' (aka 'Int64') to return type 'Int'
144 |   }
145 |
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:148:13: error: cannot convert value of type 'time_t' (aka 'Int64') to expected argument type 'Int'
146 |   @inlinable
147 |   public var milliseconds : Int {
148 |     return (tv_sec * 1000) + (tv_nsec / 1000000)
    |             `- error: cannot convert value of type 'time_t' (aka 'Int64') to expected argument type 'Int'
149 |   }
150 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/Module.swift /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/POSIXError.swift /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/SocketAddress.swift /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/UUID.swift /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/dylib.swift /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/fd.swift /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/ioctl.swift /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/ntohs.swift /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/sockaddr_any.swift /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/socket.swift /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/time.swift /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timespec.swift /host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 1.0.66 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Macro.build/Debug-webassembly-wasm32/xsys-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Macro.build/Debug-webassembly-wasm32/xsys-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Macro.build/Debug-webassembly-wasm32/xsys-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name xsys -package-name macro -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Macro.build/Debug-webassembly-wasm32/xsys-t.build/Objects-normal/wasm32/xsys_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Macro.build/Debug-webassembly-wasm32/xsys-t.build/Objects-normal/wasm32/Modules/xsys.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Macro.build/Debug-webassembly-wasm32/xsys-t.build/Objects-normal/wasm32/Modules/xsys.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Macro.build/Debug-webassembly-wasm32/xsys-t.build/Objects-normal/wasm32/xsys-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Macro.build/Debug-webassembly-wasm32/xsys-t.build/Objects-normal/wasm32/xsys-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Macro.build/Debug-webassembly-wasm32/xsys-t.build/Objects-normal/wasm32/xsys-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Macro.build/Debug-webassembly-wasm32/xsys-t.build/Objects-normal/wasm32/Modules/xsys.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm