The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftStorage, reference 2.0.0 (cb4ed1), with Swift 6.2 for Android on 12 Apr 2026 19:42:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KC-2001MS/SwiftStorage.git
Reference: 2.0.0
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.0      -> FETCH_HEAD
HEAD is now at cb4ed1d add migration function (beta) and fix issue
Cloned https://github.com/KC-2001MS/SwiftStorage.git
Revision (git rev-parse @):
cb4ed1dcc8692830d03cb8028715255eb95074ce
SUCCESS checkout https://github.com/KC-2001MS/SwiftStorage.git at 2.0.0
========================================
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-4609320-3":/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:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
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/pointfreeco/swift-macro-testing.git
Fetching https://github.com/KC-2001MS/Hashify.git
[1/82] Fetching hashify
[83/2353] Fetching hashify, swift-docc-plugin
[311/3314] Fetching hashify, swift-docc-plugin, swift-macro-testing
[3315/78281] Fetching hashify, swift-docc-plugin, swift-macro-testing, swift-syntax
Fetched https://github.com/KC-2001MS/Hashify.git from cache (8.14s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (8.14s)
Fetched https://github.com/apple/swift-docc-plugin from cache (8.15s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.20s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.5 (8.79s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16046] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.92s)
Computing version for https://github.com/KC-2001MS/Hashify.git
Computed https://github.com/KC-2001MS/Hashify.git at 1.0.0 (3.30s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (2.42s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.45s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.73s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.30s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (0.37s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5464] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.36s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (0.78s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.81s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (1.19s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
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
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
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.4.6
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/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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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.32s)
[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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/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 |
[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 AttributeMacro.swift
[18/37] Compiling SwiftStorageMacros StorageMacro.swift
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StorageMacro.swift:515:71: error: value of type 'String' has no member 'trimmingCharacters'
513 |             for arg in args {
514 |                 if let label = arg.label?.text, label == "type" {
515 |                     classDefaultTypeExpr = arg.expression.description.trimmingCharacters(in: .whitespacesAndNewlines)
    |                                                                       `- error: value of type 'String' has no member 'trimmingCharacters'
516 |                 }
517 |                 if let label = arg.label?.text, label == "hashed",
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StorageMacro.swift:515:95: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
513 |             for arg in args {
514 |                 if let label = arg.label?.text, label == "type" {
515 |                     classDefaultTypeExpr = arg.expression.description.trimmingCharacters(in: .whitespacesAndNewlines)
    |                                                                                               `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
516 |                 }
517 |                 if let label = arg.label?.text, label == "hashed",
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StorageMacro.swift:723:60: error: value of type 'String' has no member 'trimmingCharacters'
721 |             for arg in args {
722 |                 if let label = arg.label?.text, label == "type" {
723 |                     typeValue = arg.expression.description.trimmingCharacters(
    |                                                            `- error: value of type 'String' has no member 'trimmingCharacters'
724 |                         in: .whitespacesAndNewlines
725 |                     )
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StorageMacro.swift:724:30: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
722 |                 if let label = arg.label?.text, label == "type" {
723 |                     typeValue = arg.expression.description.trimmingCharacters(
724 |                         in: .whitespacesAndNewlines
    |                              `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
725 |                     )
726 |                 }
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StorageMacro.swift:728:62: error: value of type 'String' has no member 'trimmingCharacters'
726 |                 }
727 |                 if let label = arg.label?.text, label == "hashed" {
728 |                     hashedValue = arg.expression.description.trimmingCharacters(
    |                                                              `- error: value of type 'String' has no member 'trimmingCharacters'
729 |                         in: .whitespacesAndNewlines
730 |                     )
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Macros/StorageMacro.swift:729:30: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
727 |                 if let label = arg.label?.text, label == "hashed" {
728 |                     hashedValue = arg.expression.description.trimmingCharacters(
729 |                         in: .whitespacesAndNewlines
    |                              `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
730 |                     )
731 |                 }
[19/37] Compiling SwiftStorageMacros Availability.swift
[20/37] Emitting module SwiftStorageMacros
[21/37] Compiling SwiftStorageMacros Extensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/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 |
BUILD FAILURE 6.2 android