Build Information
Failed to build MonetaryExchange, reference 1.0.1 (a64a77), with Swift 6.3 for Android on 10 Apr 2026 16:05:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SoftwareEngineerChris/MonetaryExchange.git
Reference: 1.0.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/MonetaryExchange
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at a64a774 Adds MIT license
Cloned https://github.com/SoftwareEngineerChris/MonetaryExchange.git
Revision (git rev-parse @):
a64a77495521b43e1780b34515fc8c6bcbd757fb
SUCCESS checkout https://github.com/SoftwareEngineerChris/MonetaryExchange.git at 1.0.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/SoftwareEngineerChris/MonetaryExchange.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/SoftwareEngineerChris/MonetaryAmount.git
[1/154] Fetching monetaryamount
Fetched https://github.com/SoftwareEngineerChris/MonetaryAmount.git from cache (0.22s)
Computing version for https://github.com/SoftwareEngineerChris/MonetaryAmount.git
Computed https://github.com/SoftwareEngineerChris/MonetaryAmount.git at 1.1.1 (0.72s)
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/5639] Fetching roundeddecimal, consolidate, stencil
Fetched https://github.com/SoftwareEngineerChris/RoundedDecimal.git from cache (0.23s)
Fetched https://github.com/SoftwareEngineerChris/Consolidate.git from cache (0.23s)
[53/5284] Fetching stencil
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 (0.89s)
Computing version for https://github.com/SoftwareEngineerChris/RoundedDecimal.git
Computed https://github.com/SoftwareEngineerChris/RoundedDecimal.git at 2.2.2 (0.48s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.50s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[1022/2473] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.25s)
Fetched https://github.com/kylef/PathKit.git from cache (0.27s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.82s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.74s)
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/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/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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/RoundedDecimal.git
Working copy of https://github.com/SoftwareEngineerChris/RoundedDecimal.git resolved at 2.2.2
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/18] Write sources
[5/18] Write swift-version--4F562202D5529B1.txt
[7/25] Emitting module Consolidate
[8/25] Compiling Consolidate Consolidatable.swift
[10/26] Compiling RoundedDecimal DecimalTypes.swift
[11/26] Compiling RoundedDecimal Decimal+Rounding.swift
[12/26] Emitting module RoundedDecimal
[13/26] Compiling RoundedDecimal DynamicRoundedDecimal.swift
[14/26] Compiling RoundedDecimal RoundedDecimal.swift
[15/27] Wrapping AST for RoundedDecimal for debugging
[16/27] Wrapping AST for Consolidate for debugging
[18/35] Compiling MonetaryAmount MonetaryAmount+Construction.swift
[19/36] Compiling MonetaryAmount MonetaryAmount+Negation.swift
[20/36] Compiling MonetaryAmount MonetaryAmount+Consolidation.swift
[21/36] Compiling MonetaryAmount MonetaryAmount+Arithmetic.swift
[22/36] Compiling MonetaryAmount MonetaryAmount.swift
[23/36] Emitting module MonetaryAmount
[24/36] Compiling MonetaryAmount NumberFormatter+Currency.swift
[25/36] Compiling MonetaryAmount Currency.swift
[25/36] Write Objects.LinkFileList
[28/36] Compiling MonetaryAmount Currencies+Generated.swift
[28/37] Archiving libConsolidate.a
[29/37] Archiving libRoundedDecimal.a
[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/40] Compiling MonetaryExchange MonetaryExchange.swift
[36/40] 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,
/host/spi-builder-workspace/Sources/MonetaryExchange/MonetaryExchange+Fixer.swift:50:36: error: value of type '_' expected to be instance of class or class-constrained type
48 | @discardableResult
49 | static public func exchange(
50 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
51 | host: String = defaultHost,
52 | path: String = detaultAPIPath,
[37/40] 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: value of type '_' expected to be instance of class or class-constrained type
48 | @discardableResult
49 | static public func exchange(
50 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
51 | host: String = defaultHost,
52 | path: String = detaultAPIPath,
/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)))
BUILD FAILURE 6.3 android