The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-sh, reference master (1e8423), with Swift 6.1 for Android on 27 Jun 2026 12:14:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mxcl/swift-sh.git
Reference: master
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/mxcl/swift-sh
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1e8423f nope
Cloned https://github.com/mxcl/swift-sh.git
Revision (git rev-parse @):
1e8423f0aac152bebcaf3af446ab590b237fe9f4
SUCCESS checkout https://github.com/mxcl/swift-sh.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mxcl/swift-sh.git
https://github.com/mxcl/swift-sh.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/mxcl/Version
Fetching https://github.com/mxcl/StreamReader
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/mxcl/LegibleError
Fetching https://github.com/mxcl/Path.swift
[1/179] Fetching legibleerror
Fetched https://github.com/mxcl/LegibleError from cache (0.39s)
[1/311] Fetching version
[14/362] Fetching version, streamreader
[196/1584] Fetching version, streamreader, path.swift
Fetched https://github.com/mxcl/StreamReader from cache (0.42s)
Fetched https://github.com/mxcl/Version from cache (0.42s)
[208/1222] Fetching path.swift
[1223/14631] Fetching path.swift, cryptoswift
Fetched https://github.com/mxcl/Path.swift from cache (1.06s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (1.07s)
Computing version for https://github.com/mxcl/StreamReader
Computed https://github.com/mxcl/StreamReader at 1.0.1 (2.00s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.1 (0.24s)
Computing version for https://github.com/mxcl/LegibleError
Computed https://github.com/mxcl/LegibleError at 1.0.6 (0.24s)
Computing version for https://github.com/mxcl/Path.swift
Computed https://github.com/mxcl/Path.swift at 1.6.0 (0.23s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.10.0 (0.24s)
Creating working copy for https://github.com/mxcl/Path.swift
Working copy of https://github.com/mxcl/Path.swift resolved at 1.6.0
Creating working copy for https://github.com/mxcl/LegibleError
Working copy of https://github.com/mxcl/LegibleError resolved at 1.0.6
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.10.0
Creating working copy for https://github.com/mxcl/StreamReader
Working copy of https://github.com/mxcl/StreamReader resolved at 1.0.1
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.1
Building for debugging...
[0/21] Write sources
[9/21] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/139] Emitting module Path
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[12/140] Emitting module Version
[13/140] Compiling Version Version.swift
[14/140] Compiling Version Version+Range.swift
[15/140] Compiling Path Pathish.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[16/140] Emitting module CryptoSwift
[17/154] Compiling CryptoSwift BlockEncryptor.swift
[18/154] Compiling CryptoSwift BlockMode.swift
[19/154] Compiling CryptoSwift BlockModeOptions.swift
[20/154] Compiling CryptoSwift CBC.swift
[21/154] Compiling CryptoSwift CCM.swift
[22/154] Compiling CryptoSwift CFB.swift
[23/154] Compiling CryptoSwift CTR.swift
[24/154] Compiling CryptoSwift CipherModeWorker.swift
[25/154] Compiling CryptoSwift ECB.swift
[26/154] Compiling CryptoSwift GCM.swift
[27/154] Compiling CryptoSwift OCB.swift
[28/154] Compiling CryptoSwift OFB.swift
[29/154] Compiling CryptoSwift PCBC.swift
[30/154] Compiling CryptoSwift Blowfish.swift
[31/154] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:63:45: error: cannot find 'object_getClassName' in scope
61 |         let foo: Any = self
62 |         let nativeClassNames = ["_SwiftNativeNSError", "__SwiftNativeNSError"]
63 |         let selfClassName = String(cString: object_getClassName(self))
   |                                             `- error: cannot find 'object_getClassName' in scope
64 |         let isNSError = !nativeClassNames.contains(selfClassName) && foo is NSObject
65 |         // ^^ ∵ otherwise implicit bridging implicitly casts as for other tests
[32/154] Emitting module LegibleError
[33/154] Compiling Version Version+Foundation.swift
[34/154] Compiling Version Version+Comparable.swift
[35/154] Compiling Version Version+Codable.swift
[36/154] Compiling CryptoSwift Hashable.swift
[37/154] Compiling CryptoSwift IntegerConversion.swift
[38/154] Compiling CryptoSwift Multiplication.swift
[39/154] Compiling CryptoSwift PrimeTest.swift
[40/154] Compiling CryptoSwift Random.swift
[41/154] Compiling CryptoSwift Shifts.swift
[42/154] Compiling CryptoSwift SquareRoot.swift
[43/154] Compiling CryptoSwift Strideable.swift
[44/154] Compiling CryptoSwift StringConversion.swift
[45/154] Compiling CryptoSwift Subtraction.swift
[46/154] Compiling CryptoSwift WordsAndBits.swift
[47/154] Compiling CryptoSwift ChaCha20.swift
[48/154] Compiling CryptoSwift Checksum.swift
[49/154] Compiling CryptoSwift Cipher.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
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/12] Write swift-version-24593BA9C3E375BF.txt
[2/130] Compiling Path PathToBool.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[3/130] Compiling Path Path.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[4/131] Compiling CryptoSwift Hashable.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[5/131] Compiling CryptoSwift IntegerConversion.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[6/131] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:63:45: error: cannot find 'object_getClassName' in scope
61 |         let foo: Any = self
62 |         let nativeClassNames = ["_SwiftNativeNSError", "__SwiftNativeNSError"]
63 |         let selfClassName = String(cString: object_getClassName(self))
   |                                             `- error: cannot find 'object_getClassName' in scope
64 |         let isNSError = !nativeClassNames.contains(selfClassName) && foo is NSObject
65 |         // ^^ ∵ otherwise implicit bridging implicitly casts as for other tests
[7/131] Emitting module LegibleError
[8/131] Compiling Path Path+FileManager.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[9/131] Compiling Path Path+ls.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[10/131] Compiling Path Path+StringConvertibles.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[11/131] Compiling Path Pathish.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Path.swift:3:13: error: no such module 'Darwin'
  1 | import Foundation
  2 | #if !os(Linux)
  3 | import func Darwin.realpath
    |             `- error: no such module 'Darwin'
  4 | let _realpath = Darwin.realpath
  5 | #else
[12/131] Compiling Version Version+Foundation.swift
[13/131] Emitting module Version
error: emit-module command failed with exit code 1 (use -v to see invocation)
BUILD FAILURE 6.1 android