Build Information
Failed to build google-cloud-tracing, reference 0.0.7 (3a609d), with Swift 6.2 for Wasm on 16 Aug 2025 21:08:34 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-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rosecoder/google-cloud-tracing-swift.git
Reference: 0.0.7
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/rosecoder/google-cloud-tracing-swift
* tag 0.0.7 -> FETCH_HEAD
HEAD is now at 3a609dd feat: Optimized gRPC client configuration for server side
Submodule path 'googleapis': checked out '48d30c4966ef9ea31b897e13f75d8f94070cc8e9'
Submodule 'googleapis' (https://github.com/googleapis/googleapis.git) registered for path 'googleapis'
Cloning into '/host/spi-builder-workspace/googleapis'...
Cloned https://github.com/rosecoder/google-cloud-tracing-swift.git
Revision (git rev-parse @):
3a609dd1074355073953420e01c928792a16a035
SUCCESS checkout https://github.com/rosecoder/google-cloud-tracing-swift.git at 0.0.7
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/rosecoder/google-cloud-tracing-swift.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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/grpc/grpc-swift-protobuf.git
Fetching https://github.com/rosecoder/retryable-task.git
Fetching https://github.com/rosecoder/google-cloud-service-context.git
[1/158] Fetching retryable-task
[159/209] Fetching retryable-task, google-cloud-service-context
[175/2518] Fetching retryable-task, google-cloud-service-context, grpc-swift-protobuf
[1492/4951] Fetching retryable-task, google-cloud-service-context, grpc-swift-protobuf, swift-service-lifecycle
Fetched https://github.com/rosecoder/retryable-task.git from cache (0.60s)
[3469/4793] Fetching google-cloud-service-context, grpc-swift-protobuf, swift-service-lifecycle
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/rosecoder/google-cloud-service-context.git from cache (0.62s)
[4037/4742] Fetching grpc-swift-protobuf, swift-service-lifecycle
Fetching https://github.com/rosecoder/google-cloud-auth-swift.git
Fetched https://github.com/grpc/grpc-swift-protobuf.git from cache (0.70s)
Fetching https://github.com/grpc/grpc-swift-nio-transport.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.94s)
[1/5116] Fetching swift-distributed-tracing
[1997/5332] Fetching swift-distributed-tracing, google-cloud-auth-swift
[3850/9934] Fetching swift-distributed-tracing, google-cloud-auth-swift, grpc-swift-nio-transport
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.84s)
Fetched https://github.com/rosecoder/google-cloud-auth-swift.git from cache (1.05s)
Fetched https://github.com/grpc/grpc-swift-nio-transport.git from cache (1.05s)
[1/3886] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.73s)
Computing version for https://github.com/rosecoder/google-cloud-service-context.git
Computed https://github.com/rosecoder/google-cloud-service-context.git at 0.0.2 (3.01s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-service-context.git
[1/1088] Fetching swift-service-context
[1089/15195] Fetching swift-service-context, async-http-client
Fetched https://github.com/apple/swift-service-context.git from cache (0.44s)
[142/14107] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.65s)
Computing version for https://github.com/rosecoder/retryable-task.git
Computed https://github.com/rosecoder/retryable-task.git at 1.1.2 (2.37s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.0.0 (1.17s)
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift-2.git
[1/29751] Fetching grpc-swift-2
[25587/69870] Fetching grpc-swift-2, swift-protobuf
Fetched https://github.com/grpc/grpc-swift-2.git from cache (2.87s)
[9629/40119] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (13.45s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 2.1.0 (14.54s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/1629] Fetching swift-asn1
[1044/7756] Fetching swift-asn1, swift-nio-extras
[1346/14216] Fetching swift-asn1, swift-nio-extras, swift-certificates
[3686/25877] Fetching swift-asn1, swift-nio-extras, swift-certificates, swift-nio-http2
[4798/28578] Fetching swift-asn1, swift-nio-extras, swift-certificates, swift-nio-http2, swift-nio-transport-services
[9921/43621] Fetching swift-asn1, swift-nio-extras, swift-certificates, swift-nio-http2, swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/apple/swift-asn1.git from cache (0.83s)
[8722/41992] Fetching swift-nio-extras, swift-certificates, swift-nio-http2, swift-nio-transport-services, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.24s)
[16701/39291] Fetching swift-nio-extras, swift-certificates, swift-nio-http2, swift-nio-ssl
[27398/116788] Fetching swift-nio-extras, swift-certificates, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-certificates.git from cache (5.54s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (5.55s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (5.59s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.59s)
[51149/77497] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (12.78s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (18.36s)
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.87s)
Fetching https://github.com/apple/swift-atomics.git
[1/1808] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.66s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.1.0 (1.47s)
Fetching https://github.com/apple/swift-collections.git
[1/16977] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.06s)
Computing version for https://github.com/rosecoder/google-cloud-auth-swift.git
Computed https://github.com/rosecoder/google-cloud-auth-swift.git at 1.2.3 (2.65s)
Fetching https://github.com/vapor/jwt-kit.git
[1/9137] Fetching jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (1.45s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (2.21s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.71s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.13s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/5968] Fetching swift-algorithms
[121/6885] Fetching swift-algorithms, swift-http-types
[140/8061] Fetching swift-algorithms, swift-http-types, swift-http-structured-headers
[333/13153] Fetching swift-algorithms, swift-http-types, swift-http-structured-headers, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.60s)
[9771/11977] Fetching swift-algorithms, swift-http-types, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.81s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.81s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.86s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.55s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.92s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.81s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.83s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.83s)
Fetching https://github.com/apple/swift-numerics.git
[1/6335] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.75s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.75s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.19s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.12.0 (0.81s)
Fetching https://github.com/apple/swift-crypto.git
[1/16263] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.18s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (4.01s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (0.76s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (0.71s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.38s)
Fetching https://github.com/apple/swift-system.git
[1/4878] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.64s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.69s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 5.2.0 (1.03s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.78s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.70s)
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.1 (0.63s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (1.99s)
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.2
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/rosecoder/google-cloud-service-context.git
Working copy of https://github.com/rosecoder/google-cloud-service-context.git resolved at 0.0.2
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.8.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.86.0
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.4.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
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.33.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.0.3
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.1
Creating working copy for https://github.com/grpc/grpc-swift-nio-transport.git
Working copy of https://github.com/grpc/grpc-swift-nio-transport.git resolved at 2.1.0
Creating working copy for https://github.com/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 5.2.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-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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/rosecoder/google-cloud-auth-swift.git
Working copy of https://github.com/rosecoder/google-cloud-auth-swift.git resolved at 1.2.3
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.26.1
Creating working copy for https://github.com/grpc/grpc-swift-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 2.0.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.4.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.2.1
Creating working copy for https://github.com/rosecoder/retryable-task.git
Working copy of https://github.com/rosecoder/retryable-task.git resolved at 1.1.2
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.4.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.2.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.2.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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.0
Creating working copy for https://github.com/grpc/grpc-swift-2.git
Working copy of https://github.com/grpc/grpc-swift-2.git resolved at 2.1.0
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.29.0
[1/1] Compiling plugin generate-grpc-code-from-protos
[2/2] Compiling plugin GRPCProtobufGenerator
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/842] Write sources
[3/842] Copying PrivacyInfo.xcprivacy
[3/842] Write sources
[48/842] Compiling CNIOWindows WSAStartup.c
[49/842] Compiling CNIOLinux shim.c
[49/842] Write sources
[54/842] Compiling CNIOPosix event_loop_id.c
[55/842] Compiling _NumericsShims _NumericsShims.c
[56/842] Compiling CNIODarwin shim.c
[57/842] Compiling _AtomicsShims.c
[58/842] Compiling CNIOWASI CNIOWASI.c
[58/842] Compiling CNIOLinux liburing_shims.c
[60/842] Compiling CNIOExtrasZlib empty.c
[61/842] Write swift-version-24593BA9C3E375BF.txt
[62/842] Compiling CNIOWindows shim.c
[63/842] Compiling CNIOLLHTTP c_nio_http.c
[64/842] Compiling fiat_p256_adx_sqr.S
[65/842] Compiling fiat_curve25519_adx_square.S
[66/844] Compiling fiat_p256_adx_mul.S
[67/845] Compiling CNIOLLHTTP c_nio_api.c
[68/953] Compiling CNIOBoringSSLShims shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/963] Emitting module SwiftProtobuf
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[70/974] Compiling CNIOLLHTTP c_nio_llhttp.c
[72/979] Compiling SwiftASN1 TimeUtilities.swift
[73/979] Compiling SwiftASN1 UTCTime.swift
[74/981] Compiling SwiftASN1 ObjectIdentifier.swift
[75/981] Compiling SwiftASN1 PEMDocument.swift
[76/981] Emitting module ServiceContextModule
[77/981] Compiling SwiftProtobuf ProtobufMap.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[78/981] Compiling SwiftProtobuf SelectiveVisitor.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[79/981] Compiling SwiftProtobuf SimpleExtensionMap.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[80/981] Compiling SwiftProtobuf StringUtils.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[81/981] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[82/981] Compiling SwiftProtobuf SwiftProtobufError.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[83/981] Compiling SwiftProtobuf TextFormatDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[84/981] Compiling SwiftProtobuf TextFormatDecodingError.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[85/981] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[86/981] Compiling SwiftProtobuf TextFormatEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[87/981] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
14 | // -----------------------------------------------------------------------------
15 |
16 | import Foundation
| `- error: no such module 'Foundation'
17 |
18 | private func serializeAnyJSON(
[88/981] Emitting module _CertificateInternals
[89/981] Compiling _CertificateInternals _TinyArray.swift
[90/982] Compiling RealModule Real.swift
[92/983] Compiling ServiceContextModule ServiceContext.swift
[93/983] Compiling ServiceContextModule ServiceContextKey.swift
[95/984] Compiling RealModule RealFunctions.swift
[96/984] Compiling RealModule ElementaryFunctions.swift
[97/998] Emitting module _NIOBase64
[98/998] Compiling _NIOBase64 Base64.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[100/1005] Emitting module Instrumentation
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
36 | import Musl
37 | #else
38 | #error("Unsupported runtime")
| `- error: Unsupported runtime
39 | #endif
40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
46 | @_spi(Locking) // Use the `package` access modifier once min Swift version is increased.
47 | public final class ReadWriteLock {
48 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
49 |
50 | /// Create a new lock.
[101/1005] Compiling Instrumentation MultiplexInstrument.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
36 | import Musl
37 | #else
38 | #error("Unsupported runtime")
| `- error: Unsupported runtime
39 | #endif
40 |
[102/1007] Compiling Instrumentation NoOpInstrument.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
36 | import Musl
37 | #else
38 | #error("Unsupported runtime")
| `- error: Unsupported runtime
39 | #endif
40 |
[103/1008] Compiling Instrumentation Instrument.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
36 | import Musl
37 | #else
38 | #error("Unsupported runtime")
| `- error: Unsupported runtime
39 | #endif
40 |
[104/1008] Compiling Instrumentation InstrumentationSystem.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
36 | import Musl
37 | #else
38 | #error("Unsupported runtime")
| `- error: Unsupported runtime
39 | #endif
40 |
[105/1008] Compiling Instrumentation Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
36 | import Musl
37 | #else
38 | #error("Unsupported runtime")
| `- error: Unsupported runtime
39 | #endif
40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
46 | @_spi(Locking) // Use the `package` access modifier once min Swift version is increased.
47 | public final class ReadWriteLock {
48 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
49 |
50 | /// Create a new lock.
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:19: error: cannot find 'pthread_rwlock_init' in scope
50 | /// Create a new lock.
51 | public init() {
52 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
53 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:52: error: 'nil' requires a contextual type
50 | /// Create a new lock.
51 | public init() {
52 | let err = pthread_rwlock_init(self.rwlock, nil)
| `- error: 'nil' requires a contextual type
53 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
54 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:57:19: error: cannot find 'pthread_rwlock_destroy' in scope
55 |
56 | deinit {
57 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
58 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
59 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:67:19: error: cannot find 'pthread_rwlock_rdlock' in scope
65 | /// `unlock`, to simplify lock handling.
66 | public func lockRead() {
67 | let err = pthread_rwlock_rdlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
68 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
69 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:76:19: error: cannot find 'pthread_rwlock_wrlock' in scope
74 | /// `unlock`, to simplify lock handling.
75 | public func lockWrite() {
76 | let err = pthread_rwlock_wrlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
77 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
78 | }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:85:19: error: cannot find 'pthread_rwlock_unlock' in scope
83 | /// `lock`, to simplify lock handling.
84 | public func unlock() {
85 | let err = pthread_rwlock_unlock(self.rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
86 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
87 | }
[106/1008] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[107/1008] Compiling InternalCollectionsUtilities Integer rank.swift
[108/1009] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[109/1009] Emitting module _NIODataStructures
BUILD FAILURE 6.2 wasm