Build Information
Failed to build SwiftOpenAIProxy, reference main (7e82fd), with Swift 6.2 for Wasm on 27 Oct 2025 02:57:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PicoMLX/PicoAIProxy.git
Reference: main
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/PicoMLX/PicoAIProxy
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7e82fd3 Add Llama 3.1
Cloned https://github.com/PicoMLX/PicoAIProxy.git
Revision (git rev-parse @):
7e82fd3a98b26918252f34dae83bc82b81aa6301
SUCCESS checkout https://github.com/PicoMLX/PicoAIProxy.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/PicoMLX/PicoAIProxy.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/vapor/fluent-sqlite-driver.git
Fetching https://github.com/hummingbird-project/hummingbird-fluent.git
Fetching https://github.com/vapor/jwt-kit.git
Fetching https://github.com/apple/app-store-server-library-swift.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/vapor/fluent-kit.git
[1/887] Fetching hummingbird-fluent
[888/2234] Fetching hummingbird-fluent, fluent-sqlite-driver
[2235/4329] Fetching hummingbird-fluent, fluent-sqlite-driver, app-store-server-library-swift
[2424/17668] Fetching hummingbird-fluent, fluent-sqlite-driver, app-store-server-library-swift, fluent-kit
[10066/32041] Fetching hummingbird-fluent, fluent-sqlite-driver, app-store-server-library-swift, fluent-kit, async-http-client
[16952/41404] Fetching hummingbird-fluent, fluent-sqlite-driver, app-store-server-library-swift, fluent-kit, async-http-client, jwt-kit
Fetched https://github.com/vapor/fluent-sqlite-driver.git from cache (1.85s)
Fetched https://github.com/apple/app-store-server-library-swift.git from cache (1.85s)
Fetched https://github.com/vapor/fluent-kit.git from cache (1.85s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/hummingbird-project/hummingbird.git
Fetching https://github.com/hummingbird-project/hummingbird-auth
Fetched https://github.com/swift-server/async-http-client.git from cache (1.86s)
Fetched https://github.com/hummingbird-project/hummingbird-fluent.git from cache (2.00s)
Fetched https://github.com/vapor/jwt-kit.git from cache (2.02s)
[1/2186] Fetching hummingbird-auth
[1401/18869] Fetching hummingbird-auth, swift-argument-parser
[2855/44059] Fetching hummingbird-auth, swift-argument-parser, hummingbird
Fetched https://github.com/hummingbird-project/hummingbird-auth from cache (0.80s)
[3262/41873] Fetching swift-argument-parser, hummingbird
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.00s)
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (2.02s)
Computing version for https://github.com/hummingbird-project/hummingbird-auth
Computed https://github.com/hummingbird-project/hummingbird-auth at 1.3.0 (7.06s)
Fetching https://github.com/swift-extras/swift-extras-base64.git
Fetching https://github.com/apple/swift-crypto.git
[1/833] Fetching swift-extras-base64
[834/18157] Fetching swift-extras-base64, swift-crypto
Fetched https://github.com/swift-extras/swift-extras-base64.git from cache (2.50s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.55s)
Computing version for https://github.com/swift-extras/swift-extras-base64.git
Computed https://github.com/swift-extras/swift-extras-base64.git at 0.7.0 (3.04s)
Computing version for https://github.com/hummingbird-project/hummingbird-fluent.git
Computed https://github.com/hummingbird-project/hummingbird-fluent.git at 1.1.0 (0.45s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 1.12.2 (0.60s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/hummingbird-project/hummingbird-core.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/4089] Fetching swift-log
[656/9571] Fetching swift-log, swift-distributed-tracing
[3579/12101] Fetching swift-log, swift-distributed-tracing, swift-service-lifecycle
[4143/14314] Fetching swift-log, swift-distributed-tracing, swift-service-lifecycle, hummingbird-core
[6805/16789] Fetching swift-log, swift-distributed-tracing, swift-service-lifecycle, hummingbird-core, swift-metrics
Fetched https://github.com/hummingbird-project/hummingbird-core.git from cache (0.58s)
[13645/14576] Fetching swift-log, swift-distributed-tracing, swift-service-lifecycle, swift-metrics
Fetched https://github.com/apple/swift-log.git from cache (0.67s)
[1/79678] Fetching swift-nio
Fetched https://github.com/apple/swift-metrics.git from cache (0.79s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.80s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.80s)
Fetched https://github.com/apple/swift-nio.git from cache (7.45s)
Computing version for https://github.com/hummingbird-project/hummingbird-core.git
Computed https://github.com/hummingbird-project/hummingbird-core.git at 1.6.1 (11.46s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/6192] Fetching swift-nio-extras
[125/17892] Fetching swift-nio-extras, swift-nio-http2
[614/20663] Fetching swift-nio-extras, swift-nio-http2, swift-nio-transport-services
[11538/35791] Fetching swift-nio-extras, swift-nio-http2, swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.08s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.83s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.83s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.86s)
Computing version for https://github.com/apple/app-store-server-library-swift.git
Computed https://github.com/apple/app-store-server-library-swift.git at 1.1.0 (3.36s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/1653] Fetching swift-asn1
[1208/8324] Fetching swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.72s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.72s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (4.29s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.75s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (0.68s)
Fetching https://github.com/apple/swift-service-context.git
[1/1141] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.46s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.10s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.80s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.76s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.42s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.87.0 (1.38s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/5065] Fetching swift-system
[2889/23304] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.76s)
[2919/18239] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.41s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (3.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.72s)
Computing version for https://github.com/vapor/fluent-sqlite-driver.git
Computed https://github.com/vapor/fluent-sqlite-driver.git at 4.8.1 (0.73s)
Fetching https://github.com/vapor/sqlite-kit.git
[1/2118] Fetching sqlite-kit
Fetched https://github.com/vapor/sqlite-kit.git from cache (1.14s)
Computing version for https://github.com/vapor/sqlite-kit.git
Computed https://github.com/vapor/sqlite-kit.git at 4.5.2 (1.89s)
Fetching https://github.com/vapor/sqlite-nio.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/vapor/async-kit.git
[1/2439] Fetching async-kit
[489/8526] Fetching async-kit, sql-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.59s)
Fetched https://github.com/vapor/sql-kit.git from cache (0.73s)
[1/1731] Fetching sqlite-nio
Fetched https://github.com/vapor/sqlite-nio.git from cache (3.05s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (3.76s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (0.71s)
Fetching https://github.com/apple/swift-algorithms.git
[1/5999] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.72s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.41s)
Fetching https://github.com/apple/swift-numerics.git
[1/6380] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.78s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.2 (1.48s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.68s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.12.0 (0.77s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.15.0 (0.89s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.69s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.29.0 (0.76s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.2 (0.67s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.86s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/1198] Fetching swift-http-structured-headers
[421/2137] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.48s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.51s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (2.07s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.5.0 (0.61s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.35.0 (0.78s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (0.68s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (0.77s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 1.0.0-alpha.11 (0.77s)
Fetching https://github.com/swift-server/swift-backtrace.git
[1/631] Fetching swift-backtrace
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.42s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (1.13s)
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.3.1
Creating working copy for https://github.com/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.52.2
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.1
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 1.0.0-alpha.11
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.2.1
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.25.2
Creating working copy for https://github.com/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 4.13.5
Creating working copy for https://github.com/hummingbird-project/hummingbird-fluent.git
Working copy of https://github.com/hummingbird-project/hummingbird-fluent.git resolved at 1.1.0
Creating working copy for https://github.com/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.3.5
Creating working copy for https://github.com/apple/app-store-server-library-swift.git
Working copy of https://github.com/apple/app-store-server-library-swift.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/sqlite-nio.git
Working copy of https://github.com/vapor/sqlite-nio.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.3.0
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.38.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.5.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.35.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
Creating working copy for https://github.com/hummingbird-project/hummingbird-core.git
Working copy of https://github.com/hummingbird-project/hummingbird-core.git resolved at 1.6.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.5.0
Creating working copy for https://github.com/hummingbird-project/hummingbird-auth
Working copy of https://github.com/hummingbird-project/hummingbird-auth resolved at 1.3.0
Creating working copy for https://github.com/vapor/sqlite-kit.git
Working copy of https://github.com/vapor/sqlite-kit.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.15.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.6.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.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.87.0
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.29.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.21.0
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.33.2
Creating working copy for https://github.com/hummingbird-project/hummingbird.git
Working copy of https://github.com/hummingbird-project/hummingbird.git resolved at 1.12.2
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.26.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/vapor/fluent-sqlite-driver.git
Working copy of https://github.com/vapor/fluent-sqlite-driver.git resolved at 4.8.1
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/swift-extras/swift-extras-base64.git
Working copy of https://github.com/swift-extras/swift-extras-base64.git resolved at 0.7.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/1355] Compiling CBacktrace atomic.c
[3/1355] Write sources
[4/1355] Compiling CBacktrace backtrace.c
[5/1355] Write sources
[9/1355] Compiling _NumericsShims _NumericsShims.c
[10/1355] Compiling _CWASI _CWASI.c
[11/1355] Write sources
[11/1355] Copying Providers.plist
[11/1355] Copying AppleRootCA-G3.cer
[11/1355] Copying AppleRootCA-G2.cer
[11/1355] Copying AppleIncRootCertificate.cer
[11/1355] Copying AppleComputerRootCertificate.cer
[18/1355] Write sources
[63/1355] Compiling _AtomicsShims.c
[64/1355] Write swift-version-24593BA9C3E375BF.txt
[65/1355] Compiling CNIOWindows shim.c
[66/1355] Compiling CNIOWindows WSAStartup.c
[68/1361] Emitting module _NIOBase64
[68/1361] Compiling poly1305.cc
[69/1362] Compiling pkcs8_x509.cc
[70/1380] Compiling pkcs7_x509.cc
[71/1380] Compiling pkcs8.cc
[72/1380] Compiling p5_pbev2.cc
[74/1399] Emitting module ServiceContextModule
[75/1399] Compiling RealModule RealFunctions.swift
[76/1400] Compiling RealModule AugmentedArithmetic.swift
[77/1400] Compiling RealModule Double+Real.swift
[78/1400] Compiling ServiceContextModule ServiceContextKey.swift
[79/1400] Compiling SwiftASN1 ASN1OctetString.swift
[80/1400] Compiling SwiftASN1 ASN1Strings.swift
[81/1402] Compiling SwiftASN1 TimeUtilities.swift
[82/1402] Compiling SwiftASN1 UTCTime.swift
[83/1402] Compiling RealModule Float+Real.swift
[84/1402] Compiling RealModule AlgebraicField.swift
[85/1402] Compiling RealModule ApproximateEquality.swift
[86/1402] Emitting module SwiftASN1
[89/1402] Compiling RealModule ElementaryFunctions.swift
[90/1402] Compiling RealModule Float80+Real.swift
[91/1402] Compiling RealModule Real.swift
[92/1402] Compiling ServiceContextModule ServiceContext.swift
[97/1403] Emitting module RealModule
[98/1403] Compiling RealModule Float16+Real.swift
[99/1403] Compiling RealModule RelaxedArithmetic.swift
[102/1404] Compiling _NIOBase64 Base64.swift
[104/1405] Compiling _CertificateInternals _TinyArray.swift
[105/1405] Emitting module _CertificateInternals
[106/1413] Compiling _NIODataStructures PriorityQueue.swift
[107/1413] Compiling _NIODataStructures _TinyArray.swift
[109/1431] Compiling Instrumentation Instrument.swift
[110/1431] Compiling Instrumentation NoOpInstrument.swift
[111/1434] Compiling InternalCollectionsUtilities _SortedCollection.swift
[112/1434] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[113/1436] Compiling Instrumentation Locks.swift
[114/1436] Compiling Instrumentation MultiplexInstrument.swift
[115/1436] Compiling Logging MetadataProvider.swift
[116/1436] Compiling Instrumentation InstrumentationSystem.swift
[117/1436] Emitting module Instrumentation
[120/1437] Compiling InternalCollectionsUtilities Debugging.swift
[121/1437] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[122/1437] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[123/1437] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[124/1437] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[128/1437] Compiling InternalCollectionsUtilities Descriptions.swift
[129/1437] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[132/1437] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[133/1437] Emitting module _NIODataStructures
[134/1437] Compiling _NIODataStructures Heap.swift
[134/1438] Wrapping AST for _NIOBase64 for debugging
[136/1446] Wrapping AST for _CertificateInternals for debugging
[138/1446] Compiling InternalCollectionsUtilities UInt+reversed.swift
[139/1446] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[140/1446] Emitting module CoreMetrics
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
[140/1446] Wrapping AST for _NIODataStructures for debugging
[141/1446] Wrapping AST for ServiceContextModule for debugging
[143/1446] Compiling Tracing InstrumentationSystem+Tracing.swift
[144/1446] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[145/1446] Compiling InternalCollectionsUtilities Integer rank.swift
[146/1446] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[146/1446] Wrapping AST for RealModule for debugging
[147/1446] Wrapping AST for Instrumentation for debugging
[148/1446] Compiling CNIOWASI CNIOWASI.c
[149/1446] Compiling CNIOPosix event_loop_id.c
[151/1446] Emitting module Tracing
[151/1446] Compiling CNIOLinux shim.c
[153/1446] Compiling CoreMetrics Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:65:20: error: cannot find 'pthread_mutexattr_t' in scope
63 | InitializeSRWLock(self.mutex)
64 | #else
65 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:66:9: error: cannot find 'pthread_mutexattr_init' in scope
64 | #else
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:9: error: cannot find 'pthread_mutexattr_settype' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:43: error: cannot infer contextual base in reference to member 'init'
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:69:19: error: cannot find 'pthread_mutex_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
71 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:78:19: error: cannot find 'pthread_mutex_destroy' in scope
76 | // SRWLOCK does not need to be free'd
77 | #else
78 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
80 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:92:19: error: cannot find 'pthread_mutex_lock' in scope
90 | AcquireSRWLockExclusive(self.mutex)
91 | #else
92 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
93 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
94 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:105:19: error: cannot find 'pthread_mutex_unlock' in scope
103 | ReleaseSRWLockExclusive(self.mutex)
104 | #else
105 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
106 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
107 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:177:14: error: value of type 'ReadWriteLock' has no member 'rwlock'
175 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
176 | #endif
177 | self.rwlock.deallocate()
| `- error: value of type 'ReadWriteLock' has no member 'rwlock'
178 | }
179 |
[154/1446] Compiling CoreMetrics Metrics.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
[154/1446] Compiling CNIOLinux liburing_shims.c
[156/1446] Compiling Tracing TracerProtocol.swift
[157/1446] Compiling Tracing TracingTime.swift
[158/1446] Compiling Logging LogHandler.swift
[159/1446] Compiling Logging Locks.swift
[160/1446] Emitting module Logging
[161/1446] Compiling Logging Logging.swift
[162/1446] Compiling Tracing Tracer.swift
[163/1446] Compiling Tracing TracerProtocol+Legacy.swift
[165/1446] Compiling SwiftASN1 Errors.swift
[168/1448] Emitting module InternalCollectionsUtilities
[169/1448] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[170/1448] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[172/1449] Compiling Tracing NoOpTracer.swift
[172/1449] Compiling CNIOLLHTTP c_nio_llhttp.c
[172/1449] Compiling CSQLite sqlite_nio_sqlite3.c
BUILD FAILURE 6.2 wasm