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 foundation-dependencies, reference 5.0.0 (18bc16), with Swift 6.0 for Linux on 10 Jul 2025 07:26:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nashysolutions/foundation-dependencies.git
Reference: 5.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/nashysolutions/foundation-dependencies
 * tag               5.0.0      -> FETCH_HEAD
HEAD is now at 18bc163 Using main actor constrained closures to bridge to non sendable type UserDefaults.
Cloned https://github.com/nashysolutions/foundation-dependencies.git
Revision (git rev-parse @):
18bc163bc56607062b1e059bca1aea7b4b2f56cf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nashysolutions/foundation-dependencies.git at 5.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nashysolutions/foundation-dependencies.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/nashysolutions/versioning.git
Fetching https://github.com/nashysolutions/files.git
[1/80] Fetching versioning
[73/230] Fetching versioning, files
Fetching https://github.com/pointfreeco/swift-dependencies.git
Fetched https://github.com/nashysolutions/versioning.git from cache (0.27s)
Fetched https://github.com/nashysolutions/files.git from cache (0.28s)
[1/6255] Fetching swift-dependencies
Fetched https://github.com/pointfreeco/swift-dependencies.git from cache (0.60s)
Computing version for https://github.com/nashysolutions/files.git
Computed https://github.com/nashysolutions/files.git at 2.2.0 (0.58s)
Computing version for https://github.com/nashysolutions/versioning.git
Computed https://github.com/nashysolutions/versioning.git at 2.1.0 (0.58s)
Computing version for https://github.com/pointfreeco/swift-dependencies.git
Computed https://github.com/pointfreeco/swift-dependencies.git at 1.8.1 (0.62s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
[1/861] Fetching swift-concurrency-extras
[243/3271] Fetching swift-concurrency-extras, combine-schedulers
[1392/4563] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
[4564/10030] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.40s)
[5343/9169] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.42s)
[3425/6759] Fetching swift-clocks, xctest-dynamic-overlay
[6760/78074] Fetching swift-clocks, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.99s)
[11173/76782] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.01s)
[7132/71315] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.56s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (0.56s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.05s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.62s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.73s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.88s)
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/nashysolutions/versioning.git
Working copy of https://github.com/nashysolutions/versioning.git resolved at 2.1.0
Creating working copy for https://github.com/nashysolutions/files.git
Working copy of https://github.com/nashysolutions/files.git resolved at 2.2.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies.git
Working copy of https://github.com/pointfreeco/swift-dependencies.git resolved at 1.8.1
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Building for debugging...
[0/12] Write sources
[4/12] Copying Info.plist
[10/12] Copying Localizable.xcstrings
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/56] Emitting module ConcurrencyExtras
[14/57] Compiling IssueReporting TestContext.swift
[15/57] Compiling IssueReporting Unimplemented.swift
[16/59] Compiling ConcurrencyExtras UncheckedSendable.swift
[17/59] Compiling IssueReporting WithExpectedIssue.swift
[18/59] Compiling IssueReporting WithIssueContext.swift
[19/59] Emitting module IssueReporting
[20/59] Compiling Files LoadResource.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:128:26: error: extra arguments at positions #2, #3, #4 in call
126 |         switch self {
127 |         case .emptyFile(let storageKey):
128 |             return String(
    |                          `- error: extra arguments at positions #2, #3, #4 in call
129 |                 localized: "load.file.error.empty",
130 |                 defaultValue: "The file \(storageKey) is empty.",
Swift.String:4:23: note: 'init(_:)' declared here
2 |     public func lowercased() -> String
3 |     public func uppercased() -> String
4 |     @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
  |                       `- note: 'init(_:)' declared here
5 | }
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:131:26: error: cannot infer contextual base in reference to member 'module'
129 |                 localized: "load.file.error.empty",
130 |                 defaultValue: "The file \(storageKey) is empty.",
131 |                 bundle: .module,
    |                          `- error: cannot infer contextual base in reference to member 'module'
132 |                 comment: "Shown when a file exists but contains no data."
133 |             )
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:136:26: error: extra arguments at positions #2, #3, #4 in call
134 |
135 |         case .decodingFailed(let storageKey):
136 |             return String(
    |                          `- error: extra arguments at positions #2, #3, #4 in call
137 |                 localized: "load.file.error.decoding",
138 |                 defaultValue: "Failed to decode the contents of the file \(storageKey).",
Swift.String:4:23: note: 'init(_:)' declared here
2 |     public func lowercased() -> String
3 |     public func uppercased() -> String
4 |     @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
  |                       `- note: 'init(_:)' declared here
5 | }
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:139:26: error: cannot infer contextual base in reference to member 'module'
137 |                 localized: "load.file.error.decoding",
138 |                 defaultValue: "Failed to decode the contents of the file \(storageKey).",
139 |                 bundle: .module,
    |                          `- error: cannot infer contextual base in reference to member 'module'
140 |                 comment: "Shown when decoding a file into a resource fails."
141 |             )
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:144:26: error: extra arguments at positions #2, #3, #4 in call
142 |
143 |         case .fileReadFailed(let storageKey, let error):
144 |             return String(
    |                          `- error: extra arguments at positions #2, #3, #4 in call
145 |                 localized: "load.file.error.reading",
146 |                 defaultValue: "Failed to read the file \(storageKey): \(error.localizedDescription).",
Swift.String:4:23: note: 'init(_:)' declared here
2 |     public func lowercased() -> String
3 |     public func uppercased() -> String
4 |     @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
  |                       `- note: 'init(_:)' declared here
5 | }
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:147:26: error: cannot infer contextual base in reference to member 'module'
145 |                 localized: "load.file.error.reading",
146 |                 defaultValue: "Failed to read the file \(storageKey): \(error.localizedDescription).",
147 |                 bundle: .module,
    |                          `- error: cannot infer contextual base in reference to member 'module'
148 |                 comment: "Shown when a file cannot be read. First is the file name, second is the system error."
149 |             )
[21/59] Compiling IssueReporting IsTesting.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:71:26: error: extra arguments at positions #2, #3, #4 in call
 69 |         switch self {
 70 |         case .fileDeleteFailed:
 71 |             return String(
    |                          `- error: extra arguments at positions #2, #3, #4 in call
 72 |                 localized: "delete.file.error.generic",
 73 |                 defaultValue: "Something went wrong while removing a file. Please try again.",
Swift.String:4:23: note: 'init(_:)' declared here
2 |     public func lowercased() -> String
3 |     public func uppercased() -> String
4 |     @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
  |                       `- note: 'init(_:)' declared here
5 | }
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:74:26: error: cannot infer contextual base in reference to member 'module'
 72 |                 localized: "delete.file.error.generic",
 73 |                 defaultValue: "Something went wrong while removing a file. Please try again.",
 74 |                 bundle: .module,
    |                          `- error: cannot infer contextual base in reference to member 'module'
 75 |                 comment: "Generic user-facing error when file deletion fails. No technical detail included."
 76 |             )
[22/59] Compiling IssueReporting IssueReporter.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:71:26: error: extra arguments at positions #2, #3, #4 in call
 69 |         switch self {
 70 |         case .fileDeleteFailed:
 71 |             return String(
    |                          `- error: extra arguments at positions #2, #3, #4 in call
 72 |                 localized: "delete.file.error.generic",
 73 |                 defaultValue: "Something went wrong while removing a file. Please try again.",
Swift.String:4:23: note: 'init(_:)' declared here
2 |     public func lowercased() -> String
3 |     public func uppercased() -> String
4 |     @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
  |                       `- note: 'init(_:)' declared here
5 | }
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:74:26: error: cannot infer contextual base in reference to member 'module'
 72 |                 localized: "delete.file.error.generic",
 73 |                 defaultValue: "Something went wrong while removing a file. Please try again.",
 74 |                 bundle: .module,
    |                          `- error: cannot infer contextual base in reference to member 'module'
 75 |                 comment: "Generic user-facing error when file deletion fails. No technical detail included."
 76 |             )
[23/60] Compiling IssueReporting BreakpointReporter.swift
[24/60] Compiling IssueReporting FatalErrorReporter.swift
[25/60] Compiling IssueReporting RuntimeWarningReporter.swift
[26/60] Compiling IssueReporting ReportIssue.swift
[27/60] Compiling IssueReporting Rethrows.swift
[29/60] Compiling IssueReporting FailureObserver.swift
[30/60] Compiling IssueReporting LockIsolated.swift
[31/60] Emitting module Files
[33/60] Compiling IssueReporting XCTest.swift
[40/60] Compiling Files UpdateResource.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:106:26: error: extra arguments at positions #2, #3, #4 in call
104 |
105 |         case .unexpected:
106 |             return String(
    |                          `- error: extra arguments at positions #2, #3, #4 in call
107 |                 localized: "update.resource.error.generic",
108 |                 defaultValue: "Something went wrong while updating your data. Please try again.",
Swift.String:4:23: note: 'init(_:)' declared here
2 |     public func lowercased() -> String
3 |     public func uppercased() -> String
4 |     @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
  |                       `- note: 'init(_:)' declared here
5 | }
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:109:26: error: cannot infer contextual base in reference to member 'module'
107 |                 localized: "update.resource.error.generic",
108 |                 defaultValue: "Something went wrong while updating your data. Please try again.",
109 |                 bundle: .module,
    |                          `- error: cannot infer contextual base in reference to member 'module'
110 |                 comment: "Shown when an unexpected error occurs during a resource update."
111 |             )
[41/60] Compiling Files SaveResource.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:122:26: error: extra arguments at positions #2, #3, #4 in call
120 |         switch self {
121 |         case .encodingFailed:
122 |             return String(
    |                          `- error: extra arguments at positions #2, #3, #4 in call
123 |                 localized: "save.file.error.encoding",
124 |                 defaultValue: "We couldn’t save your data. Please try again.",
Swift.String:4:23: note: 'init(_:)' declared here
2 |     public func lowercased() -> String
3 |     public func uppercased() -> String
4 |     @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
  |                       `- note: 'init(_:)' declared here
5 | }
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:125:26: error: cannot infer contextual base in reference to member 'module'
123 |                 localized: "save.file.error.encoding",
124 |                 defaultValue: "We couldn’t save your data. Please try again.",
125 |                 bundle: .module,
    |                          `- error: cannot infer contextual base in reference to member 'module'
126 |                 comment: "Shown when encoding a resource fails. Avoids exposing internal keys or file names."
127 |             )
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:130:26: error: extra arguments at positions #2, #3, #4 in call
128 |
129 |         case .fileSaveFailed:
130 |             return String(
    |                          `- error: extra arguments at positions #2, #3, #4 in call
131 |                 localized: "save.file.error.saving",
132 |                 defaultValue: "Saving the file didn’t work. Please try again.",
Swift.String:4:23: note: 'init(_:)' declared here
2 |     public func lowercased() -> String
3 |     public func uppercased() -> String
4 |     @inlinable public init<T>(_ value: T) where T : LosslessStringConvertible
  |                       `- note: 'init(_:)' declared here
5 | }
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:133:26: error: cannot infer contextual base in reference to member 'module'
131 |                 localized: "save.file.error.saving",
132 |                 defaultValue: "Saving the file didn’t work. Please try again.",
133 |                 bundle: .module,
    |                          `- error: cannot infer contextual base in reference to member 'module'
134 |                 comment: "Shown when saving a file fails. General message, hides technical detail."
135 |             )
[42/60] Compiling ConcurrencyExtras LockIsolated.swift
[43/60] Compiling ConcurrencyExtras MainSerialExecutor.swift
[44/60] Compiling ConcurrencyExtras Result.swift
[45/60] Compiling ConcurrencyExtras Task.swift
[49/61] Emitting module Versioning
[50/61] Compiling Versioning SemanticVersion.swift
[51/61] Compiling Files resource_bundle_accessor.swift
[53/62] Compiling IssueReporting SwiftTesting.swift
[54/62] Compiling IssueReporting UncheckedSendable.swift
[55/62] Compiling IssueReporting Warn.swift
[56/62] Compiling IssueReporting ErrorReporting.swift
[57/62] Compiling IssueReporting AppHostWarning.swift
[58/62] Compiling IssueReporting Deprecations.swift
BUILD FAILURE 6.0 linux