Build Information
Failed to build MacroExpress, reference develop (c3edb0), with Swift 6.3 for Wasm on 27 Sep 2026 14:08:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Macro-swift/MacroExpress.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/MacroExpress
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at c3edb0c Properly availability markers for Regex stuff
Cloned https://github.com/Macro-swift/MacroExpress.git
Revision (git rev-parse @):
c3edb0c876d4ad3bc416c3826392be0b4712f993
SUCCESS checkout https://github.com/Macro-swift/MacroExpress.git at develop
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/Macro-swift/MacroExpress.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/AlwaysRightInstitute/mustache.git
Fetching https://github.com/Macro-swift/Macro.git
[1/585] Fetching mustache
[586/3191] Fetching mustache, macro
[587/11356] Fetching mustache, macro, swift-log
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.48s)
Fetched https://github.com/Macro-swift/Macro.git from cache (0.48s)
[7676/8165] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.4 (1.43s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.66 (0.16s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
[1/1885] Fetching swift-atomics
[1886/88070] Fetching swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (3.11s)
Fetched https://github.com/apple/swift-nio.git from cache (3.14s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.30s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.16s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.26s)
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 from cache (1.37s)
Fetched https://github.com/apple/swift-collections.git from cache (1.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (1.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.18s)
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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
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-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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Building for debugging...
[0/42] Write sources
[23/42] Compiling _AtomicsShims.c
[24/42] Write sources
[26/42] Compiling CNIOWindows WSAStartup.c
[27/42] Compiling CNIOWASI CNIOWASI.c
[27/42] Compiling CNIOWindows shim.c
[29/42] Compiling CNIOPosix event_loop_id.c
[30/42] Compiling CNIOOpenBSD shim.c
[31/42] Compiling CNIOLinux shim.c
[32/42] Compiling CNIOLinux liburing_shims.c
[33/42] Compiling CNIODarwin shim.c
[34/42] Write sources
[35/42] Compiling CNIOFreeBSD shim.c
[36/42] Compiling CNIOLLHTTP c_nio_http.c
[37/42] Write swift-version-24593BA9C3E375BF.txt
[38/42] Compiling CNIOLLHTTP c_nio_api.c
[40/101] Emitting module _NIOBase64
[41/101] Emitting module InternalCollectionsUtilities
[41/104] Compiling CNIOLLHTTP c_nio_llhttp.c
[42/106] Compiling c-nioatomics.c
[43/114] Compiling c-atomics.c
[45/132] Emitting module mime
[46/132] Compiling Atomics ManagedAtomic.swift
[47/132] Compiling Atomics ManagedAtomicLazyReference.swift
[48/134] Compiling Atomics UnsafeAtomic.swift
[49/134] Compiling Atomics UnsafeAtomicLazyReference.swift
[50/134] Compiling Atomics AtomicMemoryOrderings.swift
[51/134] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[52/134] Compiling InternalCollectionsUtilities String+Padding.swift
[53/134] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[54/134] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[55/134] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[56/134] Compiling InternalCollectionsUtilities Integer rank.swift
[57/134] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[58/134] Compiling InternalCollectionsUtilities UInt+reversed.swift
[59/134] Compiling Atomics AtomicInteger.swift
[60/134] Compiling Atomics AtomicOptionalWrappable.swift
[61/134] Compiling Atomics AtomicReference.swift
[64/134] Compiling Atomics PointerConformances.swift
[65/134] Compiling Atomics Primitives.native.swift
[66/134] Compiling Atomics IntegerOperations.swift
[67/134] Compiling Atomics Unmanaged extensions.swift
[68/134] Compiling _NIOBase64 Base64.swift
[69/134] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[70/134] Compiling InternalCollectionsUtilities _SortedCollection.swift
[71/134] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[73/135] Compiling Atomics AtomicStorage.swift
[74/135] Compiling Atomics AtomicValue.swift
[75/135] Compiling Atomics OptionalRawRepresentable.swift
[76/135] Compiling Atomics RawRepresentable.swift
[77/135] Compiling Logging Logger+Attributes.swift
[78/136] Compiling Logging Logger+With.swift
[79/136] Compiling Atomics AtomicBool.swift
[88/136] Compiling Atomics DoubleWord.swift
[91/136] Compiling Atomics IntegerConformances.swift
[94/137] Compiling Logging Logger.swift
[95/137] Compiling Logging LoggingSystem.swift
[97/144] Compiling _NIODataStructures PriorityQueue.swift
[100/148] Compiling _NIODataStructures _TinyArray.swift
[101/148] Emitting module SpanPreview
[102/148] Compiling SpanPreview InputSpan.swift
[103/148] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[104/148] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[105/149] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[107/149] 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.2-RELEASE_wasm.artifactbundle/swift-6.3.2-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)
[108/150] 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 |
[109/150] 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 |
[110/151] Compiling Logging MetadataProvider.swift
[111/152] 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 |
[112/152] 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 |
[113/152] Compiling NIOConcurrencyHelpers NIOLock.swift
[114/152] Emitting module Atomics
error: emit-module command failed with exit code 1 (use -v to see invocation)
[119/152] 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.2-RELEASE_wasm.artifactbundle/swift-6.3.2-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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[120/152] 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 |
[121/152] 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 |
[122/152] 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 |
[123/152] 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 |
[126/158] Compiling DequeModule Deque+CustomReflectable.swift
[127/158] Compiling DequeModule Deque+Descriptions.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
[132/158] Emitting module Logging
[133/162] Compiling DequeModule Deque+Codable.swift
[134/162] Compiling DequeModule Deque+Collection.swift
[135/165] Compiling DequeModule Deque+Equatable.swift
[136/165] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[139/165] Emitting module _NIODataStructures
[140/167] Compiling _NIODataStructures Heap.swift
[141/168] Compiling NIOConcurrencyHelpers lock.swift
[144/195] Compiling mime MIME.swift
[145/196] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[146/196] Compiling NIOConcurrencyHelpers atomics.swift
[147/196] 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 |
[148/196] Compiling DequeModule Deque+Testing.swift
[149/196] Compiling DequeModule Deque._Storage.swift
[150/196] Compiling DequeModule Deque._UnsafeHandle.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
/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 |
[152/197] Emitting module NIOConcurrencyHelpers
BUILD FAILURE 6.3 wasm