Build Information
Failed to build MacroLambda, reference 0.6.0 (b07897), with Swift 6.4 for Wasm on 24 Sep 2026 08:59:25 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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Macro-swift/MacroLambda.git
Reference: 0.6.0
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
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at b078978 Merge branch 'develop'
Cloned https://github.com/Macro-swift/MacroLambda.git
Revision (git rev-parse @):
b07897842e35e72db851d7eb0920b95a4e123c10
SUCCESS checkout https://github.com/Macro-swift/MacroLambda.git at 0.6.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/Macro-swift/MacroLambda.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.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/swift-server/swift-aws-lambda-events.git
Fetching https://github.com/swift-server/swift-aws-lambda-runtime.git
Fetching https://github.com/Macro-swift/MacroExpress.git
Fetching https://github.com/Macro-swift/Macro.git
[1/2841] Fetching swift-aws-lambda-events
[2246/4957] Fetching swift-aws-lambda-events, macroexpress
[4958/22990] Fetching swift-aws-lambda-events, macroexpress, swift-aws-lambda-runtime
[5139/25596] Fetching swift-aws-lambda-events, macroexpress, swift-aws-lambda-runtime, macro
Fetched https://github.com/Macro-swift/MacroExpress.git (0.86s)
Fetched https://github.com/Macro-swift/Macro.git (0.86s)
[5907/20874] Fetching swift-aws-lambda-events, swift-aws-lambda-runtime
Fetched https://github.com/swift-server/swift-aws-lambda-events.git (2.21s)
Fetched https://github.com/swift-server/swift-aws-lambda-runtime.git (2.23s)
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 (2.38s)
Fetching https://github.com/apple/swift-http-types.git
[1/1935] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git (0.45s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.66s)
Computing version for https://github.com/Macro-swift/MacroExpress.git
Computed https://github.com/Macro-swift/MacroExpress.git at 1.0.66 (0.16s)
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/585] Fetching mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git (0.43s)
Computing version for https://github.com/Macro-swift/Macro.git
Computed https://github.com/Macro-swift/Macro.git at 1.0.66 (0.61s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
[1/8165] Fetching swift-log
[2/10046] Fetching swift-log, swift-atomics
[10047/96111] Fetching swift-log, swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git (3.32s)
Fetched https://github.com/apple/swift-log.git (3.32s)
Fetched https://github.com/apple/swift-nio.git (3.36s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 1.0.4 (4.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.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.34s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/6916] Fetching swift-system
[6917/34609] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.74s)
Fetched https://github.com/apple/swift-collections.git (1.75s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (2.05s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
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.11.0 (0.19s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/soto-project/soto-core.git
[1/2843] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.45s)
[1/72657] Fetching soto-core
Fetched https://github.com/soto-project/soto-core.git (2.39s)
Computing version for https://github.com/soto-project/soto-core.git
Computed https://github.com/soto-project/soto-core.git at 7.15.0 (2.62s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/jmespath/jmespath.swift.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-metrics.git
[1/653] Fetching jmespath.swift
[654/16718] Fetching jmespath.swift, swift-nio-ssl
[1458/35267] Fetching jmespath.swift, swift-nio-ssl, swift-crypto
[1459/41612] Fetching jmespath.swift, swift-nio-ssl, swift-crypto, swift-distributed-tracing
[13031/57821] Fetching jmespath.swift, swift-nio-ssl, swift-crypto, swift-distributed-tracing, async-http-client
[13516/61337] Fetching jmespath.swift, swift-nio-ssl, swift-crypto, swift-distributed-tracing, async-http-client, swift-metrics
Fetched https://github.com/apple/swift-metrics.git (0.86s)
[27987/57821] Fetching jmespath.swift, swift-nio-ssl, swift-crypto, swift-distributed-tracing, async-http-client
Fetching https://github.com/apple/swift-nio-transport-services.git
[56710/60684] Fetching jmespath.swift, swift-nio-ssl, swift-crypto, swift-distributed-tracing, async-http-client, swift-nio-transport-services
Fetched https://github.com/jmespath/jmespath.swift.git (1.30s)
[57197/60031] Fetching swift-nio-ssl, swift-crypto, swift-distributed-tracing, async-http-client, swift-nio-transport-services
Fetched https://github.com/swift-server/async-http-client.git (1.30s)
[41160/43822] Fetching swift-nio-ssl, swift-crypto, swift-distributed-tracing, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.54s)
Fetched https://github.com/apple/swift-distributed-tracing.git (1.49s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.50s)
Fetched https://github.com/apple/swift-crypto.git (1.51s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (1.69s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6732] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.54s)
Computing version for https://github.com/jmespath/jmespath.swift.git
Computed https://github.com/jmespath/jmespath.swift.git at 1.0.3 (0.72s)
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-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.21s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.18s)
Fetching https://github.com/apple/swift-service-context.git
[1/1376] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.43s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.60s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.1 (0.21s)
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
[1/6690] Fetching swift-nio-extras
[269/10469] Fetching swift-nio-extras, swift-configuration
[1232/16614] Fetching swift-nio-extras, swift-configuration, swift-algorithms
[9428/28866] Fetching swift-nio-extras, swift-configuration, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git (0.58s)
[12007/22176] Fetching swift-configuration, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git (0.90s)
Fetched https://github.com/apple/swift-configuration.git (0.90s)
Fetched https://github.com/apple/swift-nio-http2.git (0.90s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.11s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.57s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (1.56s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.16s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.19s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.20s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.24s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.48s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
[1/1253] Fetching swift-http-structured-headers
[39/3236] Fetching swift-http-structured-headers, swift-asn1
[3237/10811] Fetching swift-http-structured-headers, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git (0.80s)
Fetched https://github.com/apple/swift-http-structured-headers.git (0.80s)
Fetched https://github.com/apple/swift-certificates.git (0.80s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.99s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.21s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.24s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (0.30s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.18s)
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.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/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
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.11.0
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.12.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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.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.7.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.103.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Creating working copy for https://github.com/jmespath/jmespath.swift.git
Working copy of https://github.com/jmespath/jmespath.swift.git resolved at 1.0.3
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.66
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.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/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/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
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.8.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/soto-project/soto-core.git
Working copy of https://github.com/soto-project/soto-core.git resolved at 7.15.0
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1432]
[Planning 690 / 1432]
[Planning deferred tasks]
[Starting]
[142 / 498] MacroExpress
[228 / 505] xsys
[236 / 549] _NIOBase64
[238 / 549] _NIODataStructures
[249 / 549] _NIODataStructures
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: [1;31merror: [1;39mmodule 'WASILibc' has no member named 'SIGTERM'[0;0m
[0;36m63 |[0;0m
[0;36m64 |[0;0m // signals (limited on WASI)
[0;36m65 |[0;0m public let SIGTERM = [4;39mWASILibc[0;0m.[4;39mSIGTERM[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mmodule 'WASILibc' has no member named 'SIGTERM'[0;0m
[0;36m66 |[0;0m public let SIGINT = WASILibc.SIGINT
[0;36m67 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/misc.swift:66:30: [1;31merror: [1;39mmodule 'WASILibc' has no member named 'SIGINT'[0;0m
[0;36m64 |[0;0m // signals (limited on WASI)
[0;36m65 |[0;0m public let SIGTERM = WASILibc.SIGTERM
[0;36m66 |[0;0m public let SIGINT = [4;39mWASILibc[0;0m.[4;39mSIGINT[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mmodule 'WASILibc' has no member named 'SIGINT'[0;0m
[0;36m67 |[0;0m
[0;36m68 |[0;0m // stdio
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timespec.swift:23:21: [1;31merror: [1;39mcannot find 'CLOCK_MONOTONIC' in scope[0;0m
[0;36m21 |[0;0m static func monotonic() -> timespec {
[0;36m22 |[0;0m var ts = timespec()
[0;36m23 |[0;0m clock_gettime([4;39mCLOCK_MONOTONIC[0;0m, &ts)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CLOCK_MONOTONIC' in scope[0;0m
[0;36m24 |[0;0m return ts
[0;36m25 |[0;0m }
/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: [1;39mnote: [1;39mmacro 'CLOCK_MONOTONIC' unavailable: structure not supported[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m extern const struct __clockid _CLOCK_MONOTONIC;
[0;36m16 |[0;0m #define CLOCK_MONOTONIC (&_CLOCK_MONOTONIC)
[0;36m|[0;0m `- [1;39mnote: [1;39mmacro 'CLOCK_MONOTONIC' unavailable: structure not supported[0;0m
[0;36m17 |[0;0m extern const struct __clockid _CLOCK_REALTIME;
[0;36m18 |[0;0m #define CLOCK_REALTIME (&_CLOCK_REALTIME)
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:70:12: [1;31merror: [1;39mcannot assign value of type 'Int' to type 'Int64'[0;0m
[0;36m68 |[0;0m public init(seconds: Int, milliseconds: Int = 0) {
[0;36m69 |[0;0m assert(milliseconds == 0) // just print a warning, the user should know
[0;36m70 |[0;0m self = [4;39mseconds[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot assign value of type 'Int' to type 'Int64'[0;0m
[0;36m71 |[0;0m }
[0;36m72 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:73:53: [1;31merror: [1;39mcannot convert return expression of type 'Int64' to return type 'Int'[0;0m
[0;36m71 |[0;0m }
[0;36m72 |[0;0m
[0;36m73 |[0;0m @inlinable public var seconds : Int { return [4;39mself[0;0m }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert return expression of type 'Int64' to return type 'Int'[0;0m
[0;36m74 |[0;0m @inlinable public var milliseconds : Int { return self * 1000 }
[0;36m75 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:74:58: [1;31merror: [1;39mcannot convert return expression of type 'Int64' to return type 'Int'[0;0m
[0;36m72 |[0;0m
[0;36m73 |[0;0m @inlinable public var seconds : Int { return self }
[0;36m74 |[0;0m @inlinable public var milliseconds : Int { return [4;39mself * 1000[0;0m }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert return expression of type 'Int64' to return type 'Int'[0;0m
[0;36m75 |[0;0m }
[0;36m76 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:89:18: [1;31merror: [1;39mcannot assign value of type 'Int' to type 'time_t' (aka 'Int64')[0;0m
[0;36m87 |[0;0m public init(_ ts: timespec) {
[0;36m88 |[0;0m self.init()
[0;36m89 |[0;0m tv_sec = [4;39mts.seconds[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot assign value of type 'Int' to type 'time_t' (aka 'Int64')[0;0m
[0;36m90 |[0;0m #if os(Linux) || os(Android) || os(WASI)
[0;36m91 |[0;0m tv_usec = ts.tv_nsec / 1000
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:91:26: [1;31merror: [1;39mcannot assign value of type 'Int' to type 'suseconds_t' (aka 'Int64')[0;0m
[0;36m89 |[0;0m tv_sec = ts.seconds
[0;36m90 |[0;0m #if os(Linux) || os(Android) || os(WASI)
[0;36m91 |[0;0m tv_usec = ts.tv_nsec / 1000
[0;36m|[0;0m `- [1;31merror: [1;39mcannot assign value of type 'Int' to type 'suseconds_t' (aka 'Int64')[0;0m
[0;36m92 |[0;0m #else
[0;36m93 |[0;0m tv_usec = Int32(ts.tv_nsec / 1000)
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:100:23: [1;31merror: [1;39mcannot assign value of type 'Int' to type 'time_t' (aka 'Int64')[0;0m
[0;36m98 |[0;0m public init(seconds: Int, milliseconds: Int = 0) {
[0;36m99 |[0;0m self.init()
[0;36m100 |[0;0m tv_sec = seconds + (milliseconds / 1000)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot assign value of type 'Int' to type 'time_t' (aka 'Int64')[0;0m
[0;36m101 |[0;0m #if os(Linux) || os(Android) || os(WASI)
[0;36m102 |[0;0m tv_usec = (milliseconds % 1000) * 1000
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:102:37: [1;31merror: [1;39mcannot assign value of type 'Int' to type 'suseconds_t' (aka 'Int64')[0;0m
[0;36m100 |[0;0m tv_sec = seconds + (milliseconds / 1000)
[0;36m101 |[0;0m #if os(Linux) || os(Android) || os(WASI)
[0;36m102 |[0;0m tv_usec = (milliseconds % 1000) * 1000
[0;36m|[0;0m `- [1;31merror: [1;39mcannot assign value of type 'Int' to type 'suseconds_t' (aka 'Int64')[0;0m
[0;36m103 |[0;0m #else
[0;36m104 |[0;0m tv_usec = Int32(milliseconds % 1000) * 1000
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:116:13: [1;31merror: [1;39mcannot convert value of type 'time_t' (aka 'Int64') to expected argument type 'Int'[0;0m
[0;36m114 |[0;0m @inlinable
[0;36m115 |[0;0m public var milliseconds : Int {
[0;36m116 |[0;0m return (tv_sec * 1000) + (Int(tv_usec) / 1000)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type 'time_t' (aka 'Int64') to expected argument type 'Int'[0;0m
[0;36m117 |[0;0m }
[0;36m118 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:129:18: [1;31merror: [1;39mcannot assign value of type 'Int' to type 'time_t' (aka 'Int64')[0;0m
[0;36m127 |[0;0m public init(_ tv: timeval) {
[0;36m128 |[0;0m self.init()
[0;36m129 |[0;0m tv_sec = [4;39mtv.seconds[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot assign value of type 'Int' to type 'time_t' (aka 'Int64')[0;0m
[0;36m130 |[0;0m tv_nsec = Int(tv.tv_usec) * 1000
[0;36m131 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:136:23: [1;31merror: [1;39mcannot assign value of type 'Int' to type 'time_t' (aka 'Int64')[0;0m
[0;36m134 |[0;0m public init(seconds: Int, milliseconds: Int = 0) {
[0;36m135 |[0;0m self.init()
[0;36m136 |[0;0m tv_sec = seconds + (milliseconds / 1000)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot assign value of type 'Int' to type 'time_t' (aka 'Int64')[0;0m
[0;36m137 |[0;0m tv_nsec = (milliseconds % 1000) * 1000000
[0;36m138 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:143:12: [1;31merror: [1;39mcannot convert return expression of type 'time_t' (aka 'Int64') to return type 'Int'[0;0m
[0;36m141 |[0;0m public var seconds : Int {
[0;36m142 |[0;0m // TBD: rounding on tv_nsec?
[0;36m143 |[0;0m return [4;39mtv_sec[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert return expression of type 'time_t' (aka 'Int64') to return type 'Int'[0;0m
[0;36m144 |[0;0m }
[0;36m145 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Macro/Sources/xsys/timeval_any.swift:148:13: [1;31merror: [1;39mcannot convert value of type 'time_t' (aka 'Int64') to expected argument type 'Int'[0;0m
[0;36m146 |[0;0m @inlinable
[0;36m147 |[0;0m public var milliseconds : Int {
[0;36m148 |[0;0m return (tv_sec * 1000) + (tv_nsec / 1000000)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type 'time_t' (aka 'Int64') to expected argument type 'Int'[0;0m
[0;36m149 |[0;0m }
[0;36m150 |[0;0m
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-build[261 / 549] HTTPTypes
er-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