Build Information
Failed to build SwiftStorage, reference main (cb4ed1), with Swift 6.2 for Linux on 12 Apr 2026 19:50:48 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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KC-2001MS/SwiftStorage.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: linux
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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/KC-2001MS/Hashify.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/82] Fetching hashify
[83/1043] Fetching hashify, swift-macro-testing
[1044/3314] Fetching hashify, swift-macro-testing, swift-docc-plugin
[3315/78281] Fetching hashify, swift-macro-testing, swift-docc-plugin, swift-syntax
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (0.81s)
[10600/77320] Fetching hashify, swift-docc-plugin, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin from cache (8.06s)
Fetched https://github.com/KC-2001MS/Hashify.git from cache (8.06s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.14s)
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.64s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16046] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.52s)
Computing version for https://github.com/KC-2001MS/Hashify.git
Computed https://github.com/KC-2001MS/Hashify.git at 1.0.0 (4.04s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (2.77s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.42s)
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.41s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.96s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (0.36s)
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.35s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (0.84s)
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.70s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (1.10s)
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/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/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/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-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/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/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-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.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.40s)
[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-24593BA9C3E375BF.txt
[13/37] Compiling SwiftStorageMacros SwiftStoragePlugin.swift
[14/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 | }
[15/37] Compiling SwiftStorageMacros TransientMacro.swift
[16/37] Compiling SwiftStorageMacros AttributeMacro.swift
[17/37] Compiling SwiftStorageMacros Extensions.swift
[18/37] Emitting module SwiftStorageMacros
[19/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 | }
[20/37] Compiling SwiftStorageMacros Availability.swift
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 |
BUILD FAILURE 6.2 linux