The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MacroLambda, reference develop (50e197), with Swift 6.3 for Wasm on 19 Apr 2026 01:02:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 50e1972 Use new Lambda runtime
Cloned https://github.com/Macro-swift/MacroLambda.git
Revision (git rev-parse @):
50e1972e078f4c7da5602e1c2450e0df9517b25a
SUCCESS checkout https://github.com/Macro-swift/MacroLambda.git at develop
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Macro-swift/MacroLambda.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/Macro-swift/Macro.git
Fetching https://github.com/Macro-swift/MacroExpress.git
Fetching https://github.com/swift-server/swift-aws-lambda-events.git
Fetching https://github.com/swift-server/swift-aws-lambda-runtime.git
[1/2841] Fetching swift-aws-lambda-events
[257/5137] Fetching swift-aws-lambda-events, macro
[981/7101] Fetching swift-aws-lambda-events, macro, macroexpress
[7102/23143] Fetching swift-aws-lambda-events, macro, macroexpress, swift-aws-lambda-runtime
Fetched https://github.com/Macro-swift/MacroExpress.git from cache (0.79s)
[9148/21179] Fetching swift-aws-lambda-events, macro, swift-aws-lambda-runtime
Fetched https://github.com/swift-server/swift-aws-lambda-events.git from cache (0.79s)
[6467/18338] Fetching macro, swift-aws-lambda-runtime
Fetched https://github.com/Macro-swift/Macro.git from cache (1.67s)
Fetched https://github.com/swift-server/swift-aws-lambda-runtime.git from cache (1.73s)
Computing version for https://github.com/Macro-swift/MacroExpress.git
Computed https://github.com/Macro-swift/MacroExpress.git at 1.0.46 (5.22s)
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/581] Fetching mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.66s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.46 (1.22s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[1039/8455] Fetching swift-atomics, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
[1/83172] Fetching swift-nio
Fetched https://github.com/apple/swift-log.git from cache (9.25s)
Fetched https://github.com/apple/swift-nio.git from cache (9.40s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.4 (14.33s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.40s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/23569] Fetching swift-collections
[1416/29170] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.88s)
[6836/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.76s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.25s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.52s)
Computing version for https://github.com/swift-server/swift-aws-lambda-events.git
Computed https://github.com/swift-server/swift-aws-lambda-events.git at 1.5.0 (0.45s)
Fetching https://github.com/apple/swift-http-types.git
[1/1043] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.29s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.94s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.68s)
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 2.8.0 (0.47s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2745] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.36s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.78s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6247] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.82s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.32s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.49s)
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 2.8.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.4.1
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.46
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 1.0.4
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.4
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.46
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.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.12.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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
Creating working copy for https://github.com/swift-server/swift-aws-lambda-events.git
Working copy of https://github.com/swift-server/swift-aws-lambda-events.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
[1/1] Compiling plugin AWSLambdaPackager
Building for debugging...
[1/51] Write sources
[33/51] Compiling CNIOWindows shim.c
[33/51] Compiling _AtomicsShims.c
[35/51] Compiling CNIOWindows WSAStartup.c
[35/51] Compiling CNIOOpenBSD shim.c
[37/51] Compiling CNIOLinux shim.c
[37/51] Compiling CNIOPosix event_loop_id.c
[39/51] Compiling CNIOLinux liburing_shims.c
[39/51] Compiling CNIOWASI CNIOWASI.c
[41/51] Write sources
[44/51] Compiling CNIOLLHTTP c_nio_http.c
[45/51] Write swift-version-24593BA9C3E375BF.txt
[45/51] Compiling CNIODarwin shim.c
[47/60] Compiling CNIOLLHTTP c_nio_api.c
[48/81] Compiling c-nioatomics.c
[50/85] Emitting module mime
[50/87] Compiling CNIOLLHTTP c_nio_llhttp.c
[51/105] Compiling c-atomics.c
[53/112] Emitting module InternalCollectionsUtilities
[54/114] Emitting module NIOConcurrencyHelpers
[55/114] Compiling Logging LogHandler.swift
[56/114] Compiling InternalCollectionsUtilities Debugging.swift
[57/114] Compiling InternalCollectionsUtilities Descriptions.swift
[58/114] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[59/114] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[60/114] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[61/114] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[62/114] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[63/114] Compiling Mustache MustacheRendering.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[64/115] Compiling Mustache Mustachable.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[65/115] Compiling InternalCollectionsUtilities _SortedCollection.swift
[66/115] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[67/115] Compiling Mustache MustacheRenderingContext.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[68/115] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[69/115] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[70/115] Compiling Mustache MustacheNode.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[71/115] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[72/115] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[73/115] Compiling InternalCollectionsUtilities Span+Extras.swift
[74/115] Compiling InternalCollectionsUtilities String+Padding.swift
[75/115] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[76/115] Compiling InternalCollectionsUtilities Integer rank.swift
[77/115] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[78/115] Compiling InternalCollectionsUtilities UInt+reversed.swift
[79/115] Compiling Mustache MustacheParser.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[80/116] Compiling Logging MetadataProvider.swift
[82/116] Compiling NIOConcurrencyHelpers lock.swift
[85/117] Compiling NIOConcurrencyHelpers NIOAtomic.swift
/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/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
[88/117] Compiling xsys timespec.swift
/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.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/__header_time.h:18:9: note: macro 'CLOCK_MONOTONIC' unavailable: structure not supported
16 |
17 | extern const struct __clockid _CLOCK_MONOTONIC;
18 | #define CLOCK_MONOTONIC (&_CLOCK_MONOTONIC)
   |         `- note: macro 'CLOCK_MONOTONIC' unavailable: structure not supported
19 | extern const struct __clockid _CLOCK_REALTIME;
20 | #define CLOCK_REALTIME (&_CLOCK_REALTIME)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/117] Emitting module xsys
/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.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/__header_time.h:18:9: note: macro 'CLOCK_MONOTONIC' unavailable: structure not supported
16 |
17 | extern const struct __clockid _CLOCK_MONOTONIC;
18 | #define CLOCK_MONOTONIC (&_CLOCK_MONOTONIC)
   |         `- note: macro 'CLOCK_MONOTONIC' unavailable: structure not supported
19 | extern const struct __clockid _CLOCK_REALTIME;
20 | #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 |
[94/117] Compiling Logging LogEvent.swift
[97/117] Compiling Logging Locks.swift
[98/117] Emitting module Logging
[101/117] Emitting module _NIOBase64
[102/117] Compiling _NIOBase64 Base64.swift
[104/173] Emitting module _NIODataStructures
[105/173] Compiling _NIODataStructures Heap.swift
[106/173] Compiling _NIODataStructures PriorityQueue.swift
[107/173] Compiling _NIODataStructures _TinyArray.swift
[109/183] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[110/183] Compiling NIOConcurrencyHelpers NIOLock.swift
[111/183] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[112/183] Compiling NIOConcurrencyHelpers atomics.swift
[114/217] Compiling ContainersPreview Producer+Map.swift
[115/217] Compiling ContainersPreview Producer+Reduce.swift
[116/217] Compiling ContainersPreview Producer.swift
[117/217] Compiling ContainersPreview Borrow.swift
[118/222] Compiling ContainersPreview RandomAccessContainer.swift
[119/222] Compiling ContainersPreview RangeExpression2.swift
[120/222] Compiling ContainersPreview RangeReplaceableContainer.swift
[121/222] Compiling ContainersPreview Drain+Map.swift
[122/224] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[123/224] Compiling ContainersPreview BorrowingSequence.swift
[124/224] Compiling ContainersPreview BidirectionalContainer.swift
[125/224] Compiling ContainersPreview Container+Filter.swift
[126/224] Compiling ContainersPreview Container+SpanwiseZip.swift
[127/224] Compiling ContainersPreview Drain+Reduce.swift
[128/224] Compiling ContainersPreview Drain.swift
[129/224] Compiling ContainersPreview Producer+Collect.swift
[130/224] Compiling ContainersPreview Producer+Filter.swift
[131/224] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[132/224] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[133/224] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[134/224] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[135/224] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[136/224] Compiling ConcurrencyHelpers LockedValueBox.swift
[137/224] Emitting module ContainersPreview
[138/224] Compiling ContainersPreview Box.swift
[139/224] Compiling ContainersPreview Inout.swift
[140/224] Compiling ContainersPreview InputSpan.swift
[141/224] Compiling ContainersPreview Shared.swift
[142/224] Compiling ContainersPreview Container.swift
[143/224] Compiling ContainersPreview ContainerIterator.swift
[144/224] Compiling ContainersPreview DynamicContainer.swift
[145/224] Compiling ContainersPreview MutableContainer.swift
[146/224] Compiling ContainersPreview PermutableContainer.swift
[147/224] Compiling mime MIME.swift
[148/225] Compiling Mustache SimpleKVC.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[149/225] Emitting module ConcurrencyHelpers
[150/225] Compiling ConcurrencyHelpers Lock.swift
[152/226] Compiling HTTPTypes ISOLatin1String.swift
[154/227] Compiling Logging Logging.swift
[155/227] Compiling ContainersPreview OutputSpan+Extras.swift
[156/227] Compiling ContainersPreview TemporaryAllocation.swift
[157/227] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[158/227] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[159/227] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[165/229] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[166/229] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[176/257] Compiling Mustache HTMLEscape.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[177/257] Emitting module Mustache
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[178/257] Compiling Mustache Helpers.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[179/257] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[180/257] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[181/257] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[182/257] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[183/257] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[184/257] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[185/257] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[186/257] Compiling OrderedCollections OrderedDictionary+Values.swift
[187/258] Emitting module UnixSignals
[188/258] Compiling HTTPTypes NIOLock.swift
[189/258] Compiling HTTPTypes HTTPParsedFields.swift
[190/258] Compiling HTTPTypes HTTPRequest.swift
[191/258] Compiling HTTPTypes HTTPRequest+URL.swift
/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
BUILD FAILURE 6.3 wasm