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 MonetaryExchange, reference master (16bfe2), with Swift 6.1 for Android on 27 May 2025 09:57:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/MonetaryExchange.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/MonetaryExchange
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 16bfe2a Create swift.yml
Cloned https://github.com/SoftwareEngineerChris/MonetaryExchange.git
Revision (git rev-parse @):
16bfe2add18da06b1b3110b5d0281e05bd4566c7
SUCCESS checkout https://github.com/SoftwareEngineerChris/MonetaryExchange.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SoftwareEngineerChris/MonetaryExchange.git
https://github.com/SoftwareEngineerChris/MonetaryExchange.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "monetaryamount",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SoftwareEngineerChris/MonetaryAmount.git"
    }
  ],
  "manifest_display_name" : "MonetaryExchange",
  "name" : "MonetaryExchange",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MonetaryExchange",
      "targets" : [
        "MonetaryExchange"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "MonetaryExchangeSample",
      "targets" : [
        "MonetaryExchangeSample"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MonetaryExchangeTests",
      "module_type" : "SwiftTarget",
      "name" : "MonetaryExchangeTests",
      "path" : "Tests/MonetaryExchangeTests",
      "sources" : [
        "MonetaryExchange+FixerTests.swift",
        "MonetaryExchangeTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "MonetaryExchange",
        "MonetaryExchangeSample"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MonetaryExchangeSample",
      "module_type" : "SwiftTarget",
      "name" : "MonetaryExchangeSample",
      "path" : "Sources/MonetaryExchangeSample",
      "product_memberships" : [
        "MonetaryExchangeSample"
      ],
      "sources" : [
        "Sample.swift"
      ],
      "target_dependencies" : [
        "MonetaryExchange"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MonetaryExchange",
      "module_type" : "SwiftTarget",
      "name" : "MonetaryExchange",
      "path" : "Sources/MonetaryExchange",
      "product_dependencies" : [
        "MonetaryAmount"
      ],
      "product_memberships" : [
        "MonetaryExchange",
        "MonetaryExchangeSample"
      ],
      "sources" : [
        "MonetaryExchange+Fixer.swift",
        "MonetaryExchange.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/SoftwareEngineerChris/MonetaryAmount.git
[1/154] Fetching monetaryamount
Fetched https://github.com/SoftwareEngineerChris/MonetaryAmount.git from cache (0.27s)
Computing version for https://github.com/SoftwareEngineerChris/MonetaryAmount.git
Computed https://github.com/SoftwareEngineerChris/MonetaryAmount.git at 1.1.1 (1.07s)
Fetching https://github.com/SoftwareEngineerChris/Consolidate.git
Fetching https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Fetching https://github.com/stencilproject/Stencil.git
[1/214] Fetching roundeddecimal
[215/355] Fetching roundeddecimal, consolidate
[356/5648] Fetching roundeddecimal, consolidate, stencil
Fetched https://github.com/SoftwareEngineerChris/RoundedDecimal.git from cache (0.34s)
Fetched https://github.com/SoftwareEngineerChris/Consolidate.git from cache (0.40s)
Fetched https://github.com/stencilproject/Stencil.git from cache (0.40s)
Computing version for https://github.com/SoftwareEngineerChris/Consolidate.git
Computed https://github.com/SoftwareEngineerChris/Consolidate.git at 1.2.1 (2.00s)
Computing version for https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Computed https://github.com/SoftwareEngineerChris/RoundedDecimal.git at 2.2.2 (0.87s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.81s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[100/2432] Fetching pathkit, spectre
Fetched https://github.com/kylef/PathKit.git from cache (0.29s)
Fetched https://github.com/kylef/Spectre.git from cache (0.30s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.92s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.80s)
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
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.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/SoftwareEngineerChris/MonetaryAmount.git
Working copy of https://github.com/SoftwareEngineerChris/MonetaryAmount.git resolved at 1.1.1
Building for debugging...
[0/21] Write sources
[5/21] Write swift-version-24593BA9C3E375BF.txt
[7/28] Emitting module Consolidate
[8/28] Compiling Consolidate Consolidatable.swift
[10/29] Compiling RoundedDecimal DecimalTypes.swift
[11/29] Compiling RoundedDecimal DynamicRoundedDecimal.swift
[12/29] Compiling RoundedDecimal RoundedDecimal.swift
[13/29] Emitting module RoundedDecimal
[14/29] Compiling RoundedDecimal Decimal+Rounding.swift
[15/30] Wrapping AST for RoundedDecimal for debugging
[16/30] Write Objects.LinkFileList
[17/30] Wrapping AST for Consolidate for debugging
[18/30] Write Objects.LinkFileList
[19/30] Archiving libRoundedDecimal.a
[20/30] Archiving libConsolidate.a
[22/38] Compiling MonetaryAmount MonetaryAmount+Construction.swift
[23/39] Compiling MonetaryAmount MonetaryAmount.swift
[24/39] Compiling MonetaryAmount MonetaryAmount+Arithmetic.swift
[25/39] Compiling MonetaryAmount MonetaryAmount+Consolidation.swift
[26/39] Compiling MonetaryAmount MonetaryAmount+Negation.swift
[27/39] Compiling MonetaryAmount NumberFormatter+Currency.swift
[28/39] Compiling MonetaryAmount Currency.swift
[29/39] Emitting module MonetaryAmount
[30/39] Compiling MonetaryAmount Currencies+Generated.swift
[31/40] Wrapping AST for MonetaryAmount for debugging
[32/40] Write Objects.LinkFileList
[33/40] Archiving libMonetaryAmount.a
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/43] Compiling MonetaryExchange MonetaryExchange.swift
[36/43] Emitting module MonetaryExchange
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:50:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |         @discardableResult
 49 |         static public func exchange(
 50 |             session: URLSession = .shared,
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |             host: String = defaultHost,
 52 |             path: String = detaultAPIPath,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:56:14: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |             accessKey: String?,
 55 |             completion: @escaping FixerCompletion
 56 |         ) -> URLSessionTask? {
    |              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |             var urlComponents = URLComponents()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:50:36: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 48 |         @discardableResult
 49 |         static public func exchange(
 50 |             session: URLSession = .shared,
    |                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 51 |             host: String = defaultHost,
 52 |             path: String = detaultAPIPath,
[37/43] Compiling MonetaryExchange MonetaryExchange+Fixer.swift
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:50:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |         @discardableResult
 49 |         static public func exchange(
 50 |             session: URLSession = .shared,
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |             host: String = defaultHost,
 52 |             path: String = detaultAPIPath,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:56:14: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |             accessKey: String?,
 55 |             completion: @escaping FixerCompletion
 56 |         ) -> URLSessionTask? {
    |              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |             var urlComponents = URLComponents()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:50:36: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 48 |         @discardableResult
 49 |         static public func exchange(
 50 |             session: URLSession = .shared,
    |                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 51 |             host: String = defaultHost,
 52 |             path: String = detaultAPIPath,
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:74:27: error: cannot find 'URLRequest' in scope
 72 |             }
 73 |
 74 |             let request = URLRequest(url: completeURL)
    |                           `- error: cannot find 'URLRequest' in scope
 75 |             let dataTask = session.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
 76 |                 if let error = error {
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:75:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 73 |
 74 |             let request = URLRequest(url: completeURL)
 75 |             let dataTask = session.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
    |                                    `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 76 |                 if let error = error {
 77 |                     return completion(.failure(.requestFailure(underlyingError: error)))
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/13] Write swift-version-24593BA9C3E375BF.txt
[2/20] Compiling Consolidate Consolidatable.swift
[3/20] Emitting module Consolidate
[5/21] Compiling RoundedDecimal Decimal+Rounding.swift
[6/21] Compiling RoundedDecimal DynamicRoundedDecimal.swift
[7/21] Compiling RoundedDecimal DecimalTypes.swift
[8/21] Compiling RoundedDecimal RoundedDecimal.swift
[9/21] Emitting module RoundedDecimal
[10/23] Write Objects.LinkFileList
[12/23] Archiving libConsolidate.a
[13/23] Archiving libRoundedDecimal.a
[15/31] Compiling MonetaryAmount MonetaryAmount+Arithmetic.swift
[16/32] Compiling MonetaryAmount MonetaryAmount.swift
[17/32] Emitting module MonetaryAmount
[18/32] Compiling MonetaryAmount MonetaryAmount+Construction.swift
[19/32] Compiling MonetaryAmount MonetaryAmount+Consolidation.swift
[20/32] Compiling MonetaryAmount MonetaryAmount+Negation.swift
[21/32] Compiling MonetaryAmount Currency.swift
[22/32] Compiling MonetaryAmount Currencies+Generated.swift
[23/32] Compiling MonetaryAmount NumberFormatter+Currency.swift
[24/32] Write Objects.LinkFileList
[25/32] Archiving libMonetaryAmount.a
[27/35] Compiling MonetaryExchange MonetaryExchange+Fixer.swift
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:50:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |         @discardableResult
 49 |         static public func exchange(
 50 |             session: URLSession = .shared,
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |             host: String = defaultHost,
 52 |             path: String = detaultAPIPath,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:56:14: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |             accessKey: String?,
 55 |             completion: @escaping FixerCompletion
 56 |         ) -> URLSessionTask? {
    |              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |             var urlComponents = URLComponents()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:50:36: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 48 |         @discardableResult
 49 |         static public func exchange(
 50 |             session: URLSession = .shared,
    |                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 51 |             host: String = defaultHost,
 52 |             path: String = detaultAPIPath,
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:74:27: error: cannot find 'URLRequest' in scope
 72 |             }
 73 |
 74 |             let request = URLRequest(url: completeURL)
    |                           `- error: cannot find 'URLRequest' in scope
 75 |             let dataTask = session.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
 76 |                 if let error = error {
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:75:36: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 73 |
 74 |             let request = URLRequest(url: completeURL)
 75 |             let dataTask = session.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
    |                                    `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 76 |                 if let error = error {
 77 |                     return completion(.failure(.requestFailure(underlyingError: error)))
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/35] Emitting module MonetaryExchange
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:50:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |         @discardableResult
 49 |         static public func exchange(
 50 |             session: URLSession = .shared,
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |             host: String = defaultHost,
 52 |             path: String = detaultAPIPath,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:56:14: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |             accessKey: String?,
 55 |             completion: @escaping FixerCompletion
 56 |         ) -> URLSessionTask? {
    |              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |
 58 |             var urlComponents = URLComponents()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:50:36: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 48 |         @discardableResult
 49 |         static public func exchange(
 50 |             session: URLSession = .shared,
    |                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 51 |             host: String = defaultHost,
 52 |             path: String = detaultAPIPath,
[29/35] Compiling MonetaryExchange MonetaryExchange.swift
BUILD FAILURE 6.1 android