Build Information
Failed to build SwiftStorage, reference 2.0.1 (fffc92), with Swift 6.2 for Android on 25 Jun 2026 13:08:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4071e0796c748d991a0123890d2f0ecadc8fcc8c
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KC-2001MS/SwiftStorage.git
Reference: 2.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/KC-2001MS/SwiftStorage
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at fffc927 fix #if issue
Cloned https://github.com/KC-2001MS/SwiftStorage.git
Revision (git rev-parse @):
fffc927eb862bda57eed0f2ee2f7eab88eebded6
SUCCESS checkout https://github.com/KC-2001MS/SwiftStorage.git at 2.0.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/KC-2001MS/SwiftStorage.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a30e3bfdcec38518f1e133b47d2d7fca472c20d828ebf94d6baf9d8167791ad0
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/KC-2001MS/Hashify.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
[1/82] Fetching hashify
[83/1043] Fetching hashify, swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (0.41s)
[1/2299] Fetching swift-docc-plugin
[208/78043] Fetching swift-docc-plugin, swift-syntax
Fetched https://github.com/KC-2001MS/Hashify.git from cache (2.43s)
Fetched https://github.com/apple/swift-docc-plugin from cache (2.43s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.45s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.5 (2.60s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16173] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.15s)
Computing version for https://github.com/KC-2001MS/Hashify.git
Computed https://github.com/KC-2001MS/Hashify.git at 1.0.0 (2.30s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.93s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.17s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3749] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.64s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (0.14s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5609] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.43s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.6.1 (0.58s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5880] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.66s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.10.1 (0.81s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.6.1
Creating working copy for https://github.com/KC-2001MS/Hashify.git
Working copy of https://github.com/KC-2001MS/Hashify.git resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.10.1
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.6.5
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.17s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/25] Write sources
[11/25] Write swift-version--11D90AFD9DD3AB2.txt
[13/37] Compiling SwiftStorageMacros AttributeMacro.swift
[14/37] Compiling SwiftStorageMacros SwiftStoragePlugin.swift
[15/37] Compiling SwiftStorageMacros TransientMacro.swift
[16/37] Compiling SwiftStorageMacros StoredPropertyMacro.swift
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StoredPropertyMacro.swift:83:62: error: value of type 'String' has no member 'trimmingCharacters'
81 | for arg in args {
82 | if let label = arg.label?.text, label == "type" {
83 | storageType = arg.expression.description.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: value of type 'String' has no member 'trimmingCharacters'
84 | }
85 | }
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StoredPropertyMacro.swift:83:86: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
81 | for arg in args {
82 | if let label = arg.label?.text, label == "type" {
83 | storageType = arg.expression.description.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
84 | }
85 | }
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StoredPropertyMacro.swift:258:67: error: value of type 'String' has no member 'trimmingCharacters'
256 | for arg in args {
257 | if let label = arg.label?.text, label == "type" {
258 | return arg.expression.description.trimmingCharacters(
| `- error: value of type 'String' has no member 'trimmingCharacters'
259 | in: .whitespacesAndNewlines
260 | )
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StoredPropertyMacro.swift:259:42: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
257 | if let label = arg.label?.text, label == "type" {
258 | return arg.expression.description.trimmingCharacters(
259 | in: .whitespacesAndNewlines
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
260 | )
261 | }
[17/37] Compiling SwiftStorageMacros StorageMacro.swift
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StorageMacro.swift:625:71: error: value of type 'String' has no member 'trimmingCharacters'
623 | for arg in args {
624 | if let label = arg.label?.text, label == "type" {
625 | classDefaultTypeExpr = arg.expression.description.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: value of type 'String' has no member 'trimmingCharacters'
626 | }
627 | if let label = arg.label?.text, label == "hashed",
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StorageMacro.swift:625:95: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
623 | for arg in args {
624 | if let label = arg.label?.text, label == "type" {
625 | classDefaultTypeExpr = arg.expression.description.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
626 | }
627 | if let label = arg.label?.text, label == "hashed",
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StorageMacro.swift:784:60: error: value of type 'String' has no member 'trimmingCharacters'
782 | for arg in args {
783 | if let label = arg.label?.text, label == "type" {
784 | typeValue = arg.expression.description.trimmingCharacters(
| `- error: value of type 'String' has no member 'trimmingCharacters'
785 | in: .whitespacesAndNewlines
786 | )
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StorageMacro.swift:785:30: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
783 | if let label = arg.label?.text, label == "type" {
784 | typeValue = arg.expression.description.trimmingCharacters(
785 | in: .whitespacesAndNewlines
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
786 | )
787 | }
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StorageMacro.swift:789:62: error: value of type 'String' has no member 'trimmingCharacters'
787 | }
788 | if let label = arg.label?.text, label == "hashed" {
789 | hashedValue = arg.expression.description.trimmingCharacters(
| `- error: value of type 'String' has no member 'trimmingCharacters'
790 | in: .whitespacesAndNewlines
791 | )
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StorageMacro.swift:790:30: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
788 | if let label = arg.label?.text, label == "hashed" {
789 | hashedValue = arg.expression.description.trimmingCharacters(
790 | in: .whitespacesAndNewlines
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
791 | )
792 | }
[18/37] Compiling SwiftStorageMacros Availability.swift
[19/37] Compiling SwiftStorageMacros Extensions.swift
[20/37] Emitting module SwiftStorageMacros
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/37] Emitting module HashifyCore
/host/spi-builder-workspace/.build/checkouts/Hashify/Sources/HashifyCore/HashAlgorithm.swift:8:8: error: no such module 'CryptoKit'
6 | //
7 |
8 | import CryptoKit
| `- error: no such module 'CryptoKit'
9 | import Foundation
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/Hashify/Sources/HashifyCore/HashAlgorithm.swift:8:8: error: no such module 'CryptoKit'
6 | //
7 |
8 | import CryptoKit
| `- error: no such module 'CryptoKit'
9 | import Foundation
10 |
BUILD FAILURE 6.2 android