The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MonetaryAmount, reference master (344205), with Swift 6.1 for Android on 27 May 2025 11:02:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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/SoftwareEngineerChris/MonetaryAmount
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-4609320-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/RoundedDecimal.git
Fetching https://github.com/SoftwareEngineerChris/Consolidate.git
[2/141] Fetching consolidate
[142/355] Fetching consolidate, roundeddecimal
[170/5648] Fetching consolidate, roundeddecimal, stencil
Fetched https://github.com/SoftwareEngineerChris/RoundedDecimal.git from cache (0.83s)
Fetched https://github.com/SoftwareEngineerChris/Consolidate.git from cache (0.88s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.88s)
Computing version for https://github.com/SoftwareEngineerChris/Consolidate.git
Computed https://github.com/SoftwareEngineerChris/Consolidate.git at 1.2.1 (1.37s)
Computing version for https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Computed https://github.com/SoftwareEngineerChris/RoundedDecimal.git at 2.2.2 (0.57s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.55s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[1412/2432] Fetching pathkit, spectre
Fetched https://github.com/kylef/PathKit.git from cache (0.27s)
Fetched https://github.com/kylef/Spectre.git from cache (0.28s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.78s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.07s)
Creating working copy for https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Working copy of https://github.com/SoftwareEngineerChris/RoundedDecimal.git resolved at 2.2.2
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/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
Building for debugging...
[0/21] Write sources
[6/21] Write swift-version-24593BA9C3E375BF.txt
[8/30] Compiling RoundedDecimal RoundedDecimal.swift
[9/30] Compiling RoundedDecimal DynamicRoundedDecimal.swift
[10/30] Compiling RoundedDecimal Decimal+Rounding.swift
[11/30] Emitting module RoundedDecimal
[12/30] Compiling RoundedDecimal DecimalTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/31] 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
[14/31] 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/31] Emitting module Consolidate
[16/31] Compiling Consolidate Consolidatable.swift
[18/32] Wrapping AST for Consolidate for debugging
[18/32] Wrapping AST for RoundedDecimal for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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] Emitting module Consolidate
[3/24] Compiling Consolidate Consolidatable.swift
[5/25] Compiling RoundedDecimal RoundedDecimal.swift
[6/25] Compiling RoundedDecimal DecimalTypes.swift
[7/25] Compiling RoundedDecimal Decimal+Rounding.swift
[8/25] Compiling RoundedDecimal DynamicRoundedDecimal.swift
[9/25] Emitting module RoundedDecimal
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/25] 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
[11/25] 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/26] Wrapping AST for Consolidate for debugging
BUILD FAILURE 6.1 android