The Swift Package Index logo.Swift Package Index

Build Information

Failed to build gld-avro-swift, reference main (cbfa00), with Swift 6.1 for Wasm on 6 Nov 2026 22:28:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leo-gan/gld-avro-swift.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/leo-gan/gld-avro-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cbfa003 Link the Serialization hub from the README (#5)
Cloned https://github.com/leo-gan/gld-avro-swift.git
Revision (git rev-parse @):
cbfa003c3dc837568f37e0a04b7d7c528449b111
SUCCESS checkout https://github.com/leo-gan/gld-avro-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/leo-gan/gld-avro-swift.git
https://github.com/leo-gan/gld-avro-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:c39884094bf9874b7a6bb32559a257cc0b80a9b15eb9e58adaa15f5bda5e4fb5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/15] Write sources
[4/15] Write swift-version-24593BA9C3E375BF.txt
[6/30] Compiling Avro Facade.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/30] Compiling Avro Fingerprint.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/32] Compiling Avro Canonical.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/32] Compiling Avro Codegen.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/32] Compiling Avro Deflate.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/32] Compiling Avro Error.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/32] Emitting module Avro
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/src/Avro/Generic.swift:11:32: error: cannot find type 'pthread_key_t' in scope
  9 | }
 10 |
 11 | private let encoderScratchKey: pthread_key_t = {
    |                                `- error: cannot find type 'pthread_key_t' in scope
 12 |     var key = pthread_key_t()
 13 |     pthread_key_create(&key) { pointer in
[13/32] Compiling Avro Resolve.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/32] Compiling Avro SOE.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/32] Compiling Avro Logical.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/32] Compiling Avro OCF.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/32] Compiling Avro JSON.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/src/Avro/JSON.swift:405:9: error: cannot find 'errno' in scope
403 |     if raw.isEmpty { return nil }
404 |     return raw.withCString { pointer in
405 |         errno = 0
    |         `- error: cannot find 'errno' in scope
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
/host/spi-builder-workspace/src/Avro/JSON.swift:407:21: error: cannot find 'strtod' in scope
405 |         errno = 0
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
    |                     `- error: cannot find 'strtod' in scope
408 |         guard let end, end.pointee == 0, errno != ERANGE else { return nil }
409 |         if value.isNaN || value.isInfinite { return nil }
/host/spi-builder-workspace/src/Avro/JSON.swift:408:42: error: cannot find 'errno' in scope
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
408 |         guard let end, end.pointee == 0, errno != ERANGE else { return nil }
    |                                          `- error: cannot find 'errno' in scope
409 |         if value.isNaN || value.isInfinite { return nil }
410 |         return value
/host/spi-builder-workspace/src/Avro/JSON.swift:408:51: error: cannot find 'ERANGE' in scope
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
408 |         guard let end, end.pointee == 0, errno != ERANGE else { return nil }
    |                                                   `- error: cannot find 'ERANGE' in scope
409 |         if value.isNaN || value.isInfinite { return nil }
410 |         return value
[18/32] Compiling Avro JSONCodec.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/src/Avro/JSON.swift:405:9: error: cannot find 'errno' in scope
403 |     if raw.isEmpty { return nil }
404 |     return raw.withCString { pointer in
405 |         errno = 0
    |         `- error: cannot find 'errno' in scope
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
/host/spi-builder-workspace/src/Avro/JSON.swift:407:21: error: cannot find 'strtod' in scope
405 |         errno = 0
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
    |                     `- error: cannot find 'strtod' in scope
408 |         guard let end, end.pointee == 0, errno != ERANGE else { return nil }
409 |         if value.isNaN || value.isInfinite { return nil }
/host/spi-builder-workspace/src/Avro/JSON.swift:408:42: error: cannot find 'errno' in scope
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
408 |         guard let end, end.pointee == 0, errno != ERANGE else { return nil }
    |                                          `- error: cannot find 'errno' in scope
409 |         if value.isNaN || value.isInfinite { return nil }
410 |         return value
/host/spi-builder-workspace/src/Avro/JSON.swift:408:51: error: cannot find 'ERANGE' in scope
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
408 |         guard let end, end.pointee == 0, errno != ERANGE else { return nil }
    |                                                   `- error: cannot find 'ERANGE' in scope
409 |         if value.isNaN || value.isInfinite { return nil }
410 |         return value
[19/32] Compiling Avro Generic.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/src/Avro/Generic.swift:11:32: error: cannot find type 'pthread_key_t' in scope
  9 | }
 10 |
 11 | private let encoderScratchKey: pthread_key_t = {
    |                                `- error: cannot find type 'pthread_key_t' in scope
 12 |     var key = pthread_key_t()
 13 |     pthread_key_create(&key) { pointer in
/host/spi-builder-workspace/src/Avro/Generic.swift:21:18: error: cannot find 'pthread_getspecific' in scope
 19 |
 20 | private func encoderScratch() -> EncoderScratch {
 21 |     if let raw = pthread_getspecific(encoderScratchKey) {
    |                  `- error: cannot find 'pthread_getspecific' in scope
 22 |         return Unmanaged<EncoderScratch>.fromOpaque(raw).takeUnretainedValue()
 23 |     }
/host/spi-builder-workspace/src/Avro/Generic.swift:25:5: error: cannot find 'pthread_setspecific' in scope
 23 |     }
 24 |     let scratch = EncoderScratch()
 25 |     pthread_setspecific(encoderScratchKey, Unmanaged.passRetained(scratch).toOpaque())
    |     `- error: cannot find 'pthread_setspecific' in scope
 26 |     return scratch
 27 | }
[20/32] Compiling Avro IDL.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/src/Avro/Generic.swift:11:32: error: cannot find type 'pthread_key_t' in scope
  9 | }
 10 |
 11 | private let encoderScratchKey: pthread_key_t = {
    |                                `- error: cannot find type 'pthread_key_t' in scope
 12 |     var key = pthread_key_t()
 13 |     pthread_key_create(&key) { pointer in
/host/spi-builder-workspace/src/Avro/Generic.swift:21:18: error: cannot find 'pthread_getspecific' in scope
 19 |
 20 | private func encoderScratch() -> EncoderScratch {
 21 |     if let raw = pthread_getspecific(encoderScratchKey) {
    |                  `- error: cannot find 'pthread_getspecific' in scope
 22 |         return Unmanaged<EncoderScratch>.fromOpaque(raw).takeUnretainedValue()
 23 |     }
/host/spi-builder-workspace/src/Avro/Generic.swift:25:5: error: cannot find 'pthread_setspecific' in scope
 23 |     }
 24 |     let scratch = EncoderScratch()
 25 |     pthread_setspecific(encoderScratchKey, Unmanaged.passRetained(scratch).toOpaque())
    |     `- error: cannot find 'pthread_setspecific' in scope
 26 |     return scratch
 27 | }
[21/32] Compiling Avro Schema.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/32] Compiling Avro Wire.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:c39884094bf9874b7a6bb32559a257cc0b80a9b15eb9e58adaa15f5bda5e4fb5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/11] Write swift-version-24593BA9C3E375BF.txt
[2/26] Compiling Avro Resolve.swift
[3/26] Compiling Avro SOE.swift
[4/28] Compiling Avro Facade.swift
[5/28] Compiling Avro Fingerprint.swift
[6/28] Compiling Avro Logical.swift
[7/28] Compiling Avro OCF.swift
[8/28] Compiling Avro Deflate.swift
[9/28] Compiling Avro Error.swift
[10/28] Compiling Avro Generic.swift
/host/spi-builder-workspace/src/Avro/Generic.swift:11:32: error: cannot find type 'pthread_key_t' in scope
  9 | }
 10 |
 11 | private let encoderScratchKey: pthread_key_t = {
    |                                `- error: cannot find type 'pthread_key_t' in scope
 12 |     var key = pthread_key_t()
 13 |     pthread_key_create(&key) { pointer in
/host/spi-builder-workspace/src/Avro/Generic.swift:21:18: error: cannot find 'pthread_getspecific' in scope
 19 |
 20 | private func encoderScratch() -> EncoderScratch {
 21 |     if let raw = pthread_getspecific(encoderScratchKey) {
    |                  `- error: cannot find 'pthread_getspecific' in scope
 22 |         return Unmanaged<EncoderScratch>.fromOpaque(raw).takeUnretainedValue()
 23 |     }
/host/spi-builder-workspace/src/Avro/Generic.swift:25:5: error: cannot find 'pthread_setspecific' in scope
 23 |     }
 24 |     let scratch = EncoderScratch()
 25 |     pthread_setspecific(encoderScratchKey, Unmanaged.passRetained(scratch).toOpaque())
    |     `- error: cannot find 'pthread_setspecific' in scope
 26 |     return scratch
 27 | }
[11/28] Compiling Avro IDL.swift
/host/spi-builder-workspace/src/Avro/Generic.swift:11:32: error: cannot find type 'pthread_key_t' in scope
  9 | }
 10 |
 11 | private let encoderScratchKey: pthread_key_t = {
    |                                `- error: cannot find type 'pthread_key_t' in scope
 12 |     var key = pthread_key_t()
 13 |     pthread_key_create(&key) { pointer in
/host/spi-builder-workspace/src/Avro/Generic.swift:21:18: error: cannot find 'pthread_getspecific' in scope
 19 |
 20 | private func encoderScratch() -> EncoderScratch {
 21 |     if let raw = pthread_getspecific(encoderScratchKey) {
    |                  `- error: cannot find 'pthread_getspecific' in scope
 22 |         return Unmanaged<EncoderScratch>.fromOpaque(raw).takeUnretainedValue()
 23 |     }
/host/spi-builder-workspace/src/Avro/Generic.swift:25:5: error: cannot find 'pthread_setspecific' in scope
 23 |     }
 24 |     let scratch = EncoderScratch()
 25 |     pthread_setspecific(encoderScratchKey, Unmanaged.passRetained(scratch).toOpaque())
    |     `- error: cannot find 'pthread_setspecific' in scope
 26 |     return scratch
 27 | }
[12/28] Compiling Avro JSON.swift
/host/spi-builder-workspace/src/Avro/JSON.swift:405:9: error: cannot find 'errno' in scope
403 |     if raw.isEmpty { return nil }
404 |     return raw.withCString { pointer in
405 |         errno = 0
    |         `- error: cannot find 'errno' in scope
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
/host/spi-builder-workspace/src/Avro/JSON.swift:407:21: error: cannot find 'strtod' in scope
405 |         errno = 0
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
    |                     `- error: cannot find 'strtod' in scope
408 |         guard let end, end.pointee == 0, errno != ERANGE else { return nil }
409 |         if value.isNaN || value.isInfinite { return nil }
/host/spi-builder-workspace/src/Avro/JSON.swift:408:42: error: cannot find 'errno' in scope
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
408 |         guard let end, end.pointee == 0, errno != ERANGE else { return nil }
    |                                          `- error: cannot find 'errno' in scope
409 |         if value.isNaN || value.isInfinite { return nil }
410 |         return value
/host/spi-builder-workspace/src/Avro/JSON.swift:408:51: error: cannot find 'ERANGE' in scope
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
408 |         guard let end, end.pointee == 0, errno != ERANGE else { return nil }
    |                                                   `- error: cannot find 'ERANGE' in scope
409 |         if value.isNaN || value.isInfinite { return nil }
410 |         return value
[13/28] Compiling Avro JSONCodec.swift
/host/spi-builder-workspace/src/Avro/JSON.swift:405:9: error: cannot find 'errno' in scope
403 |     if raw.isEmpty { return nil }
404 |     return raw.withCString { pointer in
405 |         errno = 0
    |         `- error: cannot find 'errno' in scope
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
/host/spi-builder-workspace/src/Avro/JSON.swift:407:21: error: cannot find 'strtod' in scope
405 |         errno = 0
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
    |                     `- error: cannot find 'strtod' in scope
408 |         guard let end, end.pointee == 0, errno != ERANGE else { return nil }
409 |         if value.isNaN || value.isInfinite { return nil }
/host/spi-builder-workspace/src/Avro/JSON.swift:408:42: error: cannot find 'errno' in scope
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
408 |         guard let end, end.pointee == 0, errno != ERANGE else { return nil }
    |                                          `- error: cannot find 'errno' in scope
409 |         if value.isNaN || value.isInfinite { return nil }
410 |         return value
/host/spi-builder-workspace/src/Avro/JSON.swift:408:51: error: cannot find 'ERANGE' in scope
406 |         var end: UnsafeMutablePointer<CChar>? = nil
407 |         let value = strtod(pointer, &end)
408 |         guard let end, end.pointee == 0, errno != ERANGE else { return nil }
    |                                                   `- error: cannot find 'ERANGE' in scope
409 |         if value.isNaN || value.isInfinite { return nil }
410 |         return value
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/28] Compiling Avro Canonical.swift
[15/28] Compiling Avro Codegen.swift
[16/28] Emitting module Avro
/host/spi-builder-workspace/src/Avro/Generic.swift:11:32: error: cannot find type 'pthread_key_t' in scope
  9 | }
 10 |
 11 | private let encoderScratchKey: pthread_key_t = {
    |                                `- error: cannot find type 'pthread_key_t' in scope
 12 |     var key = pthread_key_t()
 13 |     pthread_key_create(&key) { pointer in
[17/28] Compiling Avro Schema.swift
[18/28] Compiling Avro Wire.swift
BUILD FAILURE 6.1 wasm