Build Information
Failed to build MonetaryAmount, reference 1.1.1 (344205
), with Swift 6.1 for Android on 27 May 2025 11:02:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/SoftwareEngineerChris/MonetaryAmount.git
Reference: 1.1.1
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/SoftwareEngineerChris/MonetaryAmount
* tag 1.1.1 -> FETCH_HEAD
HEAD is now at 3442059 Makes use of Consolidate Swift Package for MonetaryAmount consolidation
Cloned https://github.com/SoftwareEngineerChris/MonetaryAmount.git
Revision (git rev-parse @):
3442059cf3ea7337441757aeadb6d1e026efa44c
SUCCESS checkout https://github.com/SoftwareEngineerChris/MonetaryAmount.git at 1.1.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/SoftwareEngineerChris/MonetaryAmount.git
https://github.com/SoftwareEngineerChris/MonetaryAmount.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "roundeddecimal",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SoftwareEngineerChris/RoundedDecimal.git"
},
{
"identity" : "consolidate",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SoftwareEngineerChris/Consolidate.git"
},
{
"identity" : "stencil",
"requirement" : {
"range" : [
{
"lower_bound" : "0.13.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stencilproject/Stencil.git"
}
],
"manifest_display_name" : "MonetaryAmount",
"name" : "MonetaryAmount",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MonetaryAmount",
"targets" : [
"MonetaryAmount"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "CurrenciesGenerator",
"targets" : [
"CurrenciesGenerator"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "MonetaryAmountTests",
"module_type" : "SwiftTarget",
"name" : "MonetaryAmountTests",
"path" : "Tests/MonetaryAmountTests",
"sources" : [
"CurrencyTests.swift",
"MonetaryAmountTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"MonetaryAmount"
],
"type" : "test"
},
{
"c99name" : "MonetaryAmount",
"module_type" : "SwiftTarget",
"name" : "MonetaryAmount",
"path" : "Sources/MonetaryAmount",
"product_dependencies" : [
"RoundedDecimal",
"Consolidate"
],
"product_memberships" : [
"MonetaryAmount"
],
"sources" : [
"Currencies+Generated.swift",
"Currency.swift",
"MonetaryAmount+Arithmetic.swift",
"MonetaryAmount+Consolidation.swift",
"MonetaryAmount+Construction.swift",
"MonetaryAmount+Negation.swift",
"MonetaryAmount.swift",
"NumberFormatter+Currency.swift"
],
"type" : "library"
},
{
"c99name" : "CurrenciesGenerator",
"module_type" : "SwiftTarget",
"name" : "CurrenciesGenerator",
"path" : "Sources/CurrenciesGenerator",
"product_dependencies" : [
"Stencil"
],
"product_memberships" : [
"CurrenciesGenerator"
],
"sources" : [
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/SoftwareEngineerChris/Consolidate.git
Fetching https://github.com/SoftwareEngineerChris/RoundedDecimal.git
[1/5293] Fetching stencil
[531/5507] Fetching stencil, roundeddecimal
[1962/5648] Fetching stencil, roundeddecimal, consolidate
Fetched https://github.com/SoftwareEngineerChris/RoundedDecimal.git from cache (0.31s)
Fetched https://github.com/SoftwareEngineerChris/Consolidate.git from cache (0.33s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.38s)
Computing version for https://github.com/SoftwareEngineerChris/Consolidate.git
Computed https://github.com/SoftwareEngineerChris/Consolidate.git at 1.2.1 (1.04s)
Computing version for https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Computed https://github.com/SoftwareEngineerChris/RoundedDecimal.git at 2.2.2 (0.61s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.63s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[26/2432] Fetching pathkit, spectre
Fetched https://github.com/kylef/Spectre.git from cache (1.21s)
Fetched https://github.com/kylef/PathKit.git from cache (1.21s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.84s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.81s)
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/SoftwareEngineerChris/Consolidate.git
Working copy of https://github.com/SoftwareEngineerChris/Consolidate.git resolved at 1.2.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Working copy of https://github.com/SoftwareEngineerChris/RoundedDecimal.git resolved at 2.2.2
Building for debugging...
[0/21] Write sources
[6/21] Write swift-version-24593BA9C3E375BF.txt
[8/30] Compiling RoundedDecimal DynamicRoundedDecimal.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/30] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[10/30] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[11/30] Compiling RoundedDecimal DecimalTypes.swift
[12/30] Compiling RoundedDecimal RoundedDecimal.swift
[13/30] Compiling Consolidate Consolidatable.swift
[14/30] Emitting module Consolidate
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/15] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling RoundedDecimal Decimal+Rounding.swift
[3/24] Emitting module Consolidate
[4/24] Compiling Consolidate Consolidatable.swift
[5/25] Emitting module RoundedDecimal
[7/25] Compiling RoundedDecimal DecimalTypes.swift
[8/25] Compiling RoundedDecimal DynamicRoundedDecimal.swift
[9/25] Compiling RoundedDecimal RoundedDecimal.swift
[9/26] Wrapping AST for Consolidate for debugging
[10/26] Write Objects.LinkFileList
[11/26] Archiving libConsolidate.a
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/26] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[15/26] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[15/26] Wrapping AST for RoundedDecimal for debugging
[16/26] Write Objects.LinkFileList
[17/26] Archiving libRoundedDecimal.a
BUILD FAILURE 6.1 android