Build Information
Failed to build swift-sh, reference 2.5.0 (e19c34
), with Swift 6.1 for Android on 29 May 2025 17:03:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mxcl/swift-sh.git
Reference: 2.5.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/mxcl/swift-sh
* tag 2.5.0 -> FETCH_HEAD
HEAD is now at e19c345 swifts 5.1...5.9 & 6.0
Cloned https://github.com/mxcl/swift-sh.git
Revision (git rev-parse @):
e19c3451b142e5257e411e6e81cfa9762eb5a94a
SUCCESS checkout https://github.com/mxcl/swift-sh.git at 2.5.0
========================================
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
{
"dependencies" : [
{
"identity" : "path.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Path.swift"
},
{
"identity" : "streamreader",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/StreamReader"
},
{
"identity" : "legibleerror",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/LegibleError"
},
{
"identity" : "version",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Version"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift"
}
],
"manifest_display_name" : "swift-sh",
"name" : "swift-sh",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
}
],
"products" : [
{
"name" : "swift-sh",
"targets" : [
"swift-sh"
],
"type" : {
"executable" : null
}
},
{
"name" : "Script",
"targets" : [
"Script"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Utility",
"targets" : [
"Utility"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Command",
"targets" : [
"Command"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "swift_sh",
"module_type" : "SwiftTarget",
"name" : "swift-sh",
"path" : "Sources",
"product_dependencies" : [
"LegibleError"
],
"product_memberships" : [
"swift-sh"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Command"
],
"type" : "executable"
},
{
"c99name" : "Utility",
"module_type" : "SwiftTarget",
"name" : "Utility",
"path" : "Sources/Utility",
"product_dependencies" : [
"Path",
"Version",
"CryptoSwift"
],
"product_memberships" : [
"swift-sh",
"Script",
"Utility",
"Command"
],
"sources" : [
"Path+ResolvedHash.swift",
"Process+1up.swift",
"TemporaryDirectory.swift",
"etc.swift",
"exec().swift"
],
"type" : "library"
},
{
"c99name" : "Script",
"module_type" : "SwiftTarget",
"name" : "Script",
"path" : "Sources/Script",
"product_dependencies" : [
"StreamReader"
],
"product_memberships" : [
"swift-sh",
"Script",
"Command"
],
"sources" : [
"Constraint.swift",
"DependencyName.swift",
"ExecutableTargetMainStyle.swift",
"ImportSpecification.swift",
"Script.swift",
"parse().swift"
],
"target_dependencies" : [
"Utility"
],
"type" : "library"
},
{
"c99name" : "Command",
"module_type" : "SwiftTarget",
"name" : "Command",
"path" : "Sources/Command",
"product_memberships" : [
"swift-sh",
"Command"
],
"sources" : [
"CommandLine.usage.swift",
"clean().swift",
"edit().swift",
"editor().swift",
"eject().swift",
"run().Input.swift",
"run().swift"
],
"target_dependencies" : [
"Script"
],
"type" : "library"
},
{
"c99name" : "All",
"module_type" : "SwiftTarget",
"name" : "All",
"path" : "Tests/All",
"sources" : [
"ImportSpecificationUnitTests.swift",
"IntegrationTests.swift",
"ModeUnitTests.swift",
"UtilityTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"swift-sh"
],
"type" : "test"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/mxcl/Version
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/mxcl/Path.swift
Fetching https://github.com/mxcl/StreamReader
Fetching https://github.com/mxcl/LegibleError
[1/178] Fetching legibleerror
[26/466] Fetching legibleerror, version
[284/1525] Fetching legibleerror, version, path.swift
[482/1575] Fetching legibleerror, version, path.swift, streamreader
Fetched https://github.com/mxcl/LegibleError from cache (0.51s)
[1282/1397] Fetching version, path.swift, streamreader
[1400/1575] Fetching legibleerror, version, path.swift, streamreader
[1293/14338] Fetching version, path.swift, streamreader, cryptoswift
Fetched https://github.com/mxcl/StreamReader from cache (0.53s)
[1372/14288] Fetching version, path.swift, cryptoswift
Fetched https://github.com/mxcl/Path.swift from cache (0.61s)
[2199/13229] Fetching version, cryptoswift
Fetched https://github.com/mxcl/Version from cache (2.25s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (2.34s)
Computing version for https://github.com/mxcl/StreamReader
Computed https://github.com/mxcl/StreamReader at 1.0.1 (5.71s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (1.07s)
Computing version for https://github.com/mxcl/LegibleError
Computed https://github.com/mxcl/LegibleError at 1.0.6 (1.11s)
Computing version for https://github.com/mxcl/Path.swift
Computed https://github.com/mxcl/Path.swift at 1.4.1 (0.99s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.4 (0.97s)
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.1.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.8.4
Creating working copy for https://github.com/mxcl/Path.swift
Working copy of https://github.com/mxcl/Path.swift resolved at 1.4.1
Creating working copy for https://github.com/mxcl/StreamReader
Working copy of https://github.com/mxcl/StreamReader resolved at 1.0.1
Building for debugging...
[0/22] Write sources
[0/22] Copying PrivacyInfo.xcprivacy
[0/22] Write sources
[10/22] Write swift-version-24593BA9C3E375BF.txt
[12/141] Emitting module Version
[13/141] Compiling Version Version+Range.swift
[14/141] Compiling Version Version.swift
[15/141] Compiling CryptoSwift IntegerConversion.swift
[16/141] Compiling CryptoSwift Multiplication.swift
[17/141] Compiling CryptoSwift PrimeTest.swift
[18/141] Compiling CryptoSwift Random.swift
[19/141] Compiling CryptoSwift Shifts.swift
[20/141] Compiling CryptoSwift SquareRoot.swift
[21/141] Compiling CryptoSwift Strideable.swift
[22/141] Compiling CryptoSwift StringConversion.swift
[23/141] Compiling CryptoSwift Subtraction.swift
[24/141] Compiling CryptoSwift WordsAndBits.swift
[25/141] Compiling CryptoSwift ChaCha20.swift
[26/141] Compiling CryptoSwift Checksum.swift
[27/141] Compiling CryptoSwift Cipher.swift
[28/141] Compiling CryptoSwift Collection+Extension.swift
[29/155] Emitting module CryptoSwift
[30/155] 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
[31/155] Compiling CryptoSwift XChaCha20+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[32/155] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[33/155] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[34/155] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[35/155] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[36/155] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[37/155] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[38/155] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[39/155] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[40/155] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[41/155] Compiling CryptoSwift DER.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[42/155] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[43/155] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[44/155] Compiling CryptoSwift PKCS1v15.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[45/156] 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
[46/156] Emitting module LegibleError
[47/156] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/156] 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
[49/156] Compiling CryptoSwift AEAD.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
[50/156] Compiling CryptoSwift AEADChaCha20Poly1305.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
[51/156] Compiling CryptoSwift AEADXChaCha20Poly1305.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
[52/156] Compiling CryptoSwift AES.Cryptors.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
[53/156] 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
[54/156] Compiling Version Version+Codable.swift
[55/156] Compiling Version Version+Comparable.swift
[56/156] Compiling Version Version+Foundation.swift
[57/157] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/12] Write swift-version-24593BA9C3E375BF.txt
[2/131] Compiling CryptoSwift AEAD.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/131] Compiling CryptoSwift AEADChaCha20Poly1305.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/132] Emitting module LegibleError
[5/132] 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
[6/132] Compiling Version Version+Range.swift
[7/132] Compiling Version Version+Foundation.swift
BUILD FAILURE 6.1 android