The Swift Package Index logo.Swift Package Index

Build Information

Failed to build gld-avro-swift, reference 0.2.0 (ac8125), with Swift 6.1 for Android on 16 Oct 2026 13:55:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leo-gan/gld-avro-swift.git
Reference: 0.2.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/leo-gan/gld-avro-swift
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at ac81254 Bump version to 0.2.0 (#2)
Cloned https://github.com/leo-gan/gld-avro-swift.git
Revision (git rev-parse @):
ac81254f210d4f9b1298f9130c497bb05b154d03
SUCCESS checkout https://github.com/leo-gan/gld-avro-swift.git at 0.2.0
========================================
Build
========================================
Selected platform:         android
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-54344843-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:639806e3270a7d76362a869fc7a464db4368085eea7ecdf63d02ce60a0298950
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/15] Write sources
[4/15] Write swift-version-24593BA9C3E375BF.txt
[6/30] 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
[7/30] 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
[8/30] 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
[9/30] 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
[10/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
[11/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
[12/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
[13/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/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
[15/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
[16/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
[17/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
[18/32] 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
[19/32] 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
[20/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
[21/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 | }
[22/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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:639806e3270a7d76362a869fc7a464db4368085eea7ecdf63d02ce60a0298950
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-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 Logical.swift
[5/28] Compiling Avro OCF.swift
[6/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 | }
[7/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 | }
[8/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
[9/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)
[10/28] Compiling Avro Deflate.swift
[11/28] Compiling Avro Error.swift
[12/28] Compiling Avro Facade.swift
[13/28] Compiling Avro Fingerprint.swift
[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 android