Build Information
Failed to build files, reference 2.1.0 (9c7630
), with Swift 6.0 for Linux on 14 Jun 2025 09:18:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nashysolutions/files.git
Reference: 2.1.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/files
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at 9c76306 Merge branch 'main' of github.com:nashysolutions/files
Cloned https://github.com/nashysolutions/files.git
Revision (git rev-parse @):
9c76306050115394e69c7b05ff289d2d11135bea
SUCCESS checkout https://github.com/nashysolutions/files.git at 2.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/nashysolutions/files.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:debc4e1350c0695074699a23098fae94108f9209fa127752a12980f1ee4f0a53
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/nashysolutions/error-presentation.git
[1/22] Fetching error-presentation
Fetched https://github.com/nashysolutions/error-presentation.git from cache (0.25s)
Computing version for https://github.com/nashysolutions/error-presentation.git
Computed https://github.com/nashysolutions/error-presentation.git at 1.0.0 (0.67s)
Creating working copy for https://github.com/nashysolutions/error-presentation.git
Working copy of https://github.com/nashysolutions/error-presentation.git resolved at 1.0.0
Building for debugging...
[0/5] Write sources
[0/5] Copying Info.plist
[1/5] Copying Localizable.xcstrings
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/7] Emitting module ErrorPresentation
[7/7] Compiling ErrorPresentation LocalizedCustomerFacingError.swift
[9/20] Compiling Files UpdateResource.swift
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:107:26: error: extra arguments at positions #2, #3, #4 in call
105 |
106 | case .unexpected:
107 | return String(
| `- error: extra arguments at positions #2, #3, #4 in call
108 | localized: "update.resource.error.generic",
109 | 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/Sources/Files/Operations/UpdateResource.swift:110:26: error: cannot infer contextual base in reference to member 'module'
108 | localized: "update.resource.error.generic",
109 | defaultValue: "Something went wrong while updating your data. Please try again.",
110 | bundle: .module,
| `- error: cannot infer contextual base in reference to member 'module'
111 | comment: "Shown when an unexpected error occurs during a resource update."
112 | )
[10/21] Compiling Files SaveResource.swift
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:123:26: error: extra arguments at positions #2, #3, #4 in call
121 | switch self {
122 | case .encodingFailed:
123 | return String(
| `- error: extra arguments at positions #2, #3, #4 in call
124 | localized: "save.file.error.encoding",
125 | 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/Sources/Files/Operations/SaveResource.swift:126:26: error: cannot infer contextual base in reference to member 'module'
124 | localized: "save.file.error.encoding",
125 | defaultValue: "We couldn’t save your data. Please try again.",
126 | bundle: .module,
| `- error: cannot infer contextual base in reference to member 'module'
127 | comment: "Shown when encoding a resource fails. Avoids exposing internal keys or file names."
128 | )
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:131:26: error: extra arguments at positions #2, #3, #4 in call
129 |
130 | case .fileSaveFailed:
131 | return String(
| `- error: extra arguments at positions #2, #3, #4 in call
132 | localized: "save.file.error.saving",
133 | 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/Sources/Files/Operations/SaveResource.swift:134:26: error: cannot infer contextual base in reference to member 'module'
132 | localized: "save.file.error.saving",
133 | defaultValue: "Saving the file didn’t work. Please try again.",
134 | bundle: .module,
| `- error: cannot infer contextual base in reference to member 'module'
135 | comment: "Shown when saving a file fails. General message, hides technical detail."
136 | )
[11/21] Compiling Files LoadResource.swift
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:129:26: error: extra arguments at positions #2, #3, #4 in call
127 | switch self {
128 | case .emptyFile(let storageKey):
129 | return String(
| `- error: extra arguments at positions #2, #3, #4 in call
130 | localized: "load.file.error.empty",
131 | 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/Sources/Files/Operations/LoadResource.swift:132:26: error: cannot infer contextual base in reference to member 'module'
130 | localized: "load.file.error.empty",
131 | defaultValue: "The file \(storageKey) is empty.",
132 | bundle: .module,
| `- error: cannot infer contextual base in reference to member 'module'
133 | comment: "Shown when a file exists but contains no data."
134 | )
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:137:26: error: extra arguments at positions #2, #3, #4 in call
135 |
136 | case .decodingFailed(let storageKey):
137 | return String(
| `- error: extra arguments at positions #2, #3, #4 in call
138 | localized: "load.file.error.decoding",
139 | 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/Sources/Files/Operations/LoadResource.swift:140:26: error: cannot infer contextual base in reference to member 'module'
138 | localized: "load.file.error.decoding",
139 | defaultValue: "Failed to decode the contents of the file \(storageKey).",
140 | bundle: .module,
| `- error: cannot infer contextual base in reference to member 'module'
141 | comment: "Shown when decoding a file into a resource fails."
142 | )
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:145:26: error: extra arguments at positions #2, #3, #4 in call
143 |
144 | case .fileReadFailed(let storageKey, let error):
145 | return String(
| `- error: extra arguments at positions #2, #3, #4 in call
146 | localized: "load.file.error.reading",
147 | 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/Sources/Files/Operations/LoadResource.swift:148:26: error: cannot infer contextual base in reference to member 'module'
146 | localized: "load.file.error.reading",
147 | defaultValue: "Failed to read the file \(storageKey): \(error.localizedDescription).",
148 | bundle: .module,
| `- error: cannot infer contextual base in reference to member 'module'
149 | comment: "Shown when a file cannot be read. First is the file name, second is the system error."
150 | )
[12/21] Emitting module Files
[13/21] Compiling Files Directory.swift
[14/21] Compiling Files File.swift
[15/21] Compiling Files FileSystemContext.swift
[16/21] Compiling Files FileSystemDirectory.swift
[17/21] Compiling Files FileSystemFolderStore.swift
[18/21] Compiling Files FileSystemOperations.swift
[19/21] Compiling Files Folder.swift
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:72:26: error: extra arguments at positions #2, #3, #4 in call
70 | switch self {
71 | case .fileDeleteFailed:
72 | return String(
| `- error: extra arguments at positions #2, #3, #4 in call
73 | localized: "delete.file.error.generic",
74 | 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/Sources/Files/Operations/DeleteResource.swift:75:26: error: cannot infer contextual base in reference to member 'module'
73 | localized: "delete.file.error.generic",
74 | defaultValue: "Something went wrong while removing a file. Please try again.",
75 | bundle: .module,
| `- error: cannot infer contextual base in reference to member 'module'
76 | comment: "Generic user-facing error when file deletion fails. No technical detail included."
77 | )
[20/21] Compiling Files DeleteResource.swift
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:72:26: error: extra arguments at positions #2, #3, #4 in call
70 | switch self {
71 | case .fileDeleteFailed:
72 | return String(
| `- error: extra arguments at positions #2, #3, #4 in call
73 | localized: "delete.file.error.generic",
74 | 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/Sources/Files/Operations/DeleteResource.swift:75:26: error: cannot infer contextual base in reference to member 'module'
73 | localized: "delete.file.error.generic",
74 | defaultValue: "Something went wrong while removing a file. Please try again.",
75 | bundle: .module,
| `- error: cannot infer contextual base in reference to member 'module'
76 | comment: "Generic user-facing error when file deletion fails. No technical detail included."
77 | )
[21/21] Compiling Files resource_bundle_accessor.swift
BUILD FAILURE 6.0 linux