The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Macro, reference develop (6d691c), with Swift 6.2 for Wasm on 1 May 2026 07:30:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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 6d691c3 A few inline keys to support common Express patterns
Cloned https://github.com/Macro-swift/Macro.git
Revision (git rev-parse @):
6d691c3a0d2beb66c095809dc20ecd0c9ced7213
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-4606859-2":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
828c1365039a: Pulling fs layer
253e69351b70: Pulling fs layer
46083a23d362: Pulling fs layer
18070bf5de03: Pulling fs layer
325028c42095: Pulling fs layer
22b4dc04b168: Pulling fs layer
18070bf5de03: Waiting
325028c42095: Waiting
22b4dc04b168: Waiting
828c1365039a: Verifying Checksum
828c1365039a: Download complete
18070bf5de03: Verifying Checksum
18070bf5de03: Download complete
325028c42095: Verifying Checksum
325028c42095: Download complete
22b4dc04b168: Download complete
253e69351b70: Verifying Checksum
253e69351b70: Download complete
828c1365039a: Pull complete
46083a23d362: Verifying Checksum
46083a23d362: Download complete
253e69351b70: Pull complete
46083a23d362: Pull complete
18070bf5de03: Pull complete
325028c42095: Pull complete
22b4dc04b168: Pull complete
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Downloaded newer image for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/6809] Fetching swift-log
[6810/90039] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.09s)
[3330/83230] Fetching swift-nio
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-nio.git from cache (12.38s)
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.87s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (14.81s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/23894] Fetching swift-collections
[1435/29495] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.91s)
[1912/23894] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (8.99s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (10.00s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.91s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.22s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.80s)
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/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.12.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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.0
Building for debugging...
[0/40] Write sources
[24/40] Compiling CNIOWindows WSAStartup.c
[25/40] Compiling CNIOWASI CNIOWASI.c
[26/40] Compiling _AtomicsShims.c
[27/40] Compiling CNIOWindows shim.c
[28/40] Compiling CNIOOpenBSD shim.c
[29/40] Compiling CNIOPosix event_loop_id.c
[30/40] Compiling CNIOLinux liburing_shims.c
[30/40] Compiling CNIOLinux shim.c
[32/40] Compiling CNIODarwin shim.c
[32/40] Compiling CNIOSHA1 c_nio_sha1.c
[34/40] Write swift-version-24593BA9C3E375BF.txt
[35/40] Compiling CNIOLLHTTP c_nio_http.c
[36/60] Compiling CNIOLLHTTP c_nio_api.c
[38/84] Emitting module _NIOBase64
[39/84] Emitting module InternalCollectionsUtilities
[39/86] Compiling CNIOLLHTTP c_nio_llhttp.c
[40/104] Compiling c-nioatomics.c
[41/104] Compiling c-atomics.c
[43/111] Emitting module Atomics
[44/113] Compiling Atomics IntegerOperations.swift
[45/113] Compiling Atomics Unmanaged extensions.swift
[46/113] Compiling Atomics ManagedAtomic.swift
[47/113] Compiling Atomics ManagedAtomicLazyReference.swift
[48/113] Compiling Atomics UnsafeAtomic.swift
[49/113] Compiling Atomics UnsafeAtomicLazyReference.swift
[52/113] Compiling Atomics AtomicStorage.swift
[53/113] Compiling Atomics AtomicValue.swift
[54/113] Compiling Atomics AtomicMemoryOrderings.swift
[55/113] Compiling Atomics DoubleWord.swift
[56/113] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[57/113] Compiling Atomics OptionalRawRepresentable.swift
[58/113] Compiling Atomics RawRepresentable.swift
[59/113] Compiling Atomics AtomicBool.swift
[60/113] Compiling Atomics AtomicInteger.swift
[61/113] Compiling Atomics AtomicOptionalWrappable.swift
[62/113] Compiling Atomics AtomicReference.swift
[63/113] Compiling Atomics IntegerConformances.swift
[64/113] Compiling Atomics PointerConformances.swift
[65/113] Compiling Atomics Primitives.native.swift
[75/114] Compiling Logging LogEvent.swift
[79/114] Compiling _NIOBase64 Base64.swift
[87/116] Compiling _NIODataStructures PriorityQueue.swift
[88/116] Compiling _NIODataStructures _TinyArray.swift
[90/149] Compiling ContainersPreview Producer+Map.swift
[91/149] Compiling ContainersPreview Producer+Reduce.swift
[92/149] Compiling ContainersPreview Producer.swift
[93/149] Compiling ContainersPreview Borrow.swift
[94/153] Compiling ContainersPreview Drain+Reduce.swift
[95/153] Compiling ContainersPreview Drain.swift
[96/153] Compiling ContainersPreview Producer+Collect.swift
[97/153] Compiling ContainersPreview Producer+Filter.swift
[98/153] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[99/153] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[100/153] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[101/153] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[102/153] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[103/153] Compiling ContainersPreview RandomAccessContainer.swift
[104/153] Compiling ContainersPreview RangeExpression2.swift
[105/153] Compiling ContainersPreview RangeReplaceableContainer.swift
[106/153] Compiling ContainersPreview Drain+Map.swift
[107/153] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[108/153] Compiling ContainersPreview BorrowingSequence.swift
[109/153] Compiling ContainersPreview BidirectionalContainer.swift
[110/153] Compiling ContainersPreview Container+Filter.swift
[111/153] Compiling ContainersPreview Container+SpanwiseZip.swift
[112/153] Compiling ContainersPreview Container.swift
[113/153] Compiling ContainersPreview ContainerIterator.swift
[114/153] Compiling ContainersPreview DynamicContainer.swift
[115/153] Compiling ContainersPreview MutableContainer.swift
[116/153] Compiling ContainersPreview PermutableContainer.swift
[117/153] Compiling ContainersPreview Box.swift
[118/153] Compiling ContainersPreview Inout.swift
[119/153] Compiling ContainersPreview InputSpan.swift
[120/153] Compiling ContainersPreview Shared.swift
[121/153] Emitting module ContainersPreview
[122/153] Compiling ContainersPreview OutputSpan+Extras.swift
[123/153] Compiling ContainersPreview TemporaryAllocation.swift
[124/153] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[125/153] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[126/153] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
/host/spi-builder-workspace/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/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/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/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[132/155] Emitting module xsys
/host/spi-builder-workspace/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/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/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.2-RELEASE_wasm.artifactbundle/swift-6.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/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/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/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/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/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/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/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/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/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/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/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/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 |
[139/155] Compiling xsys timespec.swift
/host/spi-builder-workspace/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.2-RELEASE_wasm.artifactbundle/swift-6.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)
[140/155] Emitting module NIOConcurrencyHelpers
[141/155] Compiling NIOConcurrencyHelpers lock.swift
[142/155] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[145/155] Compiling Logging MetadataProvider.swift
[146/155] Emitting module Logging
[147/184] Emitting module _NIODataStructures
[148/184] Compiling _NIODataStructures Heap.swift
[150/196] Compiling NIOConcurrencyHelpers atomics.swift
[151/196] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[152/196] Compiling NIOConcurrencyHelpers NIOLock.swift
[153/196] Compiling DequeModule UniqueDeque+Consumption.swift
[154/196] Compiling DequeModule UniqueDeque+Container.swift
[155/196] Compiling DequeModule UniqueDeque+Descriptions.swift
[156/196] Compiling DequeModule UniqueDeque+Equatable.swift
[157/196] Compiling DequeModule UniqueDeque+Experimental.swift
[159/202] Compiling DequeModule UniqueDeque+Hashable.swift
[160/202] Compiling DequeModule UniqueDeque+Initializers.swift
[161/202] Compiling DequeModule UniqueDeque+Insertions.swift
[162/202] Compiling DequeModule UniqueDeque+Prepend.swift
[163/202] Compiling DequeModule UniqueDeque+Removals.swift
[164/202] Compiling DequeModule _DequeBuffer.swift
[165/202] Compiling DequeModule _DequeBufferHeader.swift
[166/202] Compiling DequeModule RigidDeque+Append.swift
[167/202] Compiling DequeModule RigidDeque+Consumption.swift
[168/202] Compiling DequeModule RigidDeque+Container.swift
[169/202] Compiling DequeModule RigidDeque+Descriptions.swift
[170/202] Compiling DequeModule RigidDeque+Equatable.swift
[171/202] Compiling DequeModule RigidDeque+Experimental.swift
[172/202] Compiling DequeModule RigidDeque+Hashable.swift
[173/202] Compiling DequeModule RigidDeque+Initializers.swift
[174/202] Compiling DequeModule RigidDeque+Insertions.swift
[175/202] Compiling DequeModule RigidDeque+Prepend.swift
[176/202] Compiling DequeModule RigidDeque+Removals.swift
[177/202] Compiling DequeModule RigidDeque+Replacements.swift
[178/202] Compiling DequeModule RigidDeque+Testing.swift
[179/202] Compiling DequeModule RigidDeque.swift
[180/202] Compiling DequeModule UniqueDeque+Append.swift
[181/202] Compiling Logging Logging.swift
[182/202] Compiling Logging LogHandler.swift
[183/202] Compiling Logging Locks.swift
[185/203] Compiling DequeModule Deque+Extras.swift
[186/203] Compiling DequeModule Deque+Hashable.swift
[187/203] Compiling DequeModule Deque+Testing.swift
[188/203] Compiling DequeModule Deque._Storage.swift
[189/203] Compiling DequeModule Deque._UnsafeHandle.swift
[190/203] Compiling DequeModule Deque.swift
[191/203] Compiling DequeModule Deque+Codable.swift
[192/203] Compiling DequeModule Deque+Collection.swift
[193/203] Compiling DequeModule Deque+CustomReflectable.swift
[194/203] Compiling DequeModule Deque+Descriptions.swift
[195/203] Compiling DequeModule Deque+Equatable.swift
[196/203] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[197/203] Emitting module DequeModule
[198/203] Compiling xsys timeval_any.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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 |
BUILD FAILURE 6.2 wasm