Build Information
Failed to build files, reference 2.1.0 (9c7630
), with Swift 6.2 (beta) for Linux on 24 Jun 2025 16:31:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-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/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.2
Building package at path: $PWD
https://github.com/nashysolutions/files.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/nashysolutions/error-presentation.git
[1/25] Fetching error-presentation
Fetched https://github.com/nashysolutions/error-presentation.git from cache (0.28s)
Computing version for https://github.com/nashysolutions/error-presentation.git
Computed https://github.com/nashysolutions/error-presentation.git at 1.0.0 (0.80s)
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] Copying Localizable.xcstrings
[0/5] Copying Info.plist
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/7] Emitting module ErrorPresentation
[7/7] Compiling ErrorPresentation LocalizedCustomerFacingError.swift
[9/20] Compiling Files LoadResource.swift
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:129:26: error: extra arguments at positions #3, #4 in call
127 | switch self {
128 | case .emptyFile(let storageKey):
129 | return String(
| `- error: extra arguments at positions #3, #4 in call
130 | localized: "load.file.error.empty",
131 | defaultValue: "The file \(storageKey) is empty.",
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:130:17: error: missing argument for parameter 'format' in call
128 | case .emptyFile(let storageKey):
129 | return String(
130 | localized: "load.file.error.empty",
| `- error: missing argument for parameter 'format' in call
131 | defaultValue: "The file \(storageKey) is empty.",
132 | bundle: .module,
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:130:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
128 | case .emptyFile(let storageKey):
129 | return String(
130 | localized: "load.file.error.empty",
| `- error: cannot convert value of type 'String' to expected argument type 'Locale'
131 | defaultValue: "The file \(storageKey) is empty.",
132 | bundle: .module,
/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 #3, #4 in call
135 |
136 | case .decodingFailed(let storageKey):
137 | return String(
| `- error: extra arguments at positions #3, #4 in call
138 | localized: "load.file.error.decoding",
139 | defaultValue: "Failed to decode the contents of the file \(storageKey).",
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:138:17: error: missing argument for parameter 'format' in call
136 | case .decodingFailed(let storageKey):
137 | return String(
138 | localized: "load.file.error.decoding",
| `- error: missing argument for parameter 'format' in call
139 | defaultValue: "Failed to decode the contents of the file \(storageKey).",
140 | bundle: .module,
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:138:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
136 | case .decodingFailed(let storageKey):
137 | return String(
138 | localized: "load.file.error.decoding",
| `- error: cannot convert value of type 'String' to expected argument type 'Locale'
139 | defaultValue: "Failed to decode the contents of the file \(storageKey).",
140 | bundle: .module,
/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 #3, #4 in call
143 |
144 | case .fileReadFailed(let storageKey, let error):
145 | return String(
| `- error: extra arguments at positions #3, #4 in call
146 | localized: "load.file.error.reading",
147 | defaultValue: "Failed to read the file \(storageKey): \(error.localizedDescription).",
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:146:17: error: missing argument for parameter 'format' in call
144 | case .fileReadFailed(let storageKey, let error):
145 | return String(
146 | localized: "load.file.error.reading",
| `- error: missing argument for parameter 'format' in call
147 | defaultValue: "Failed to read the file \(storageKey): \(error.localizedDescription).",
148 | bundle: .module,
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/LoadResource.swift:146:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
144 | case .fileReadFailed(let storageKey, let error):
145 | return String(
146 | localized: "load.file.error.reading",
| `- error: cannot convert value of type 'String' to expected argument type 'Locale'
147 | defaultValue: "Failed to read the file \(storageKey): \(error.localizedDescription).",
148 | bundle: .module,
/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 | )
[10/21] Compiling Files UpdateResource.swift
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:107:26: error: extra arguments at positions #3, #4 in call
105 |
106 | case .unexpected:
107 | return String(
| `- error: extra arguments at positions #3, #4 in call
108 | localized: "update.resource.error.generic",
109 | defaultValue: "Something went wrong while updating your data. Please try again.",
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:108:17: error: missing argument for parameter 'format' in call
106 | case .unexpected:
107 | return String(
108 | localized: "update.resource.error.generic",
| `- error: missing argument for parameter 'format' in call
109 | defaultValue: "Something went wrong while updating your data. Please try again.",
110 | bundle: .module,
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/UpdateResource.swift:108:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
106 | case .unexpected:
107 | return String(
108 | localized: "update.resource.error.generic",
| `- error: cannot convert value of type 'String' to expected argument type 'Locale'
109 | defaultValue: "Something went wrong while updating your data. Please try again.",
110 | bundle: .module,
/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 | )
[11/21] Compiling Files SaveResource.swift
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:123:26: error: extra arguments at positions #3, #4 in call
121 | switch self {
122 | case .encodingFailed:
123 | return String(
| `- error: extra arguments at positions #3, #4 in call
124 | localized: "save.file.error.encoding",
125 | defaultValue: "We couldn’t save your data. Please try again.",
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:124:17: error: missing argument for parameter 'format' in call
122 | case .encodingFailed:
123 | return String(
124 | localized: "save.file.error.encoding",
| `- error: missing argument for parameter 'format' in call
125 | defaultValue: "We couldn’t save your data. Please try again.",
126 | bundle: .module,
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:124:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
122 | case .encodingFailed:
123 | return String(
124 | localized: "save.file.error.encoding",
| `- error: cannot convert value of type 'String' to expected argument type 'Locale'
125 | defaultValue: "We couldn’t save your data. Please try again.",
126 | bundle: .module,
/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 #3, #4 in call
129 |
130 | case .fileSaveFailed:
131 | return String(
| `- error: extra arguments at positions #3, #4 in call
132 | localized: "save.file.error.saving",
133 | defaultValue: "Saving the file didn’t work. Please try again.",
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:132:17: error: missing argument for parameter 'format' in call
130 | case .fileSaveFailed:
131 | return String(
132 | localized: "save.file.error.saving",
| `- error: missing argument for parameter 'format' in call
133 | defaultValue: "Saving the file didn’t work. Please try again.",
134 | bundle: .module,
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/SaveResource.swift:132:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
130 | case .fileSaveFailed:
131 | return String(
132 | localized: "save.file.error.saving",
| `- error: cannot convert value of type 'String' to expected argument type 'Locale'
133 | defaultValue: "Saving the file didn’t work. Please try again.",
134 | bundle: .module,
/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 | )
[12/21] Compiling Files Folder.swift
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:72:26: error: extra arguments at positions #3, #4 in call
70 | switch self {
71 | case .fileDeleteFailed:
72 | return String(
| `- error: extra arguments at positions #3, #4 in call
73 | localized: "delete.file.error.generic",
74 | defaultValue: "Something went wrong while removing a file. Please try again.",
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:73:17: error: missing argument for parameter 'format' in call
71 | case .fileDeleteFailed:
72 | return String(
73 | localized: "delete.file.error.generic",
| `- error: missing argument for parameter 'format' in call
74 | defaultValue: "Something went wrong while removing a file. Please try again.",
75 | bundle: .module,
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:73:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
71 | case .fileDeleteFailed:
72 | return String(
73 | localized: "delete.file.error.generic",
| `- error: cannot convert value of type 'String' to expected argument type 'Locale'
74 | defaultValue: "Something went wrong while removing a file. Please try again.",
75 | bundle: .module,
/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 | )
[13/21] Compiling Files DeleteResource.swift
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:72:26: error: extra arguments at positions #3, #4 in call
70 | switch self {
71 | case .fileDeleteFailed:
72 | return String(
| `- error: extra arguments at positions #3, #4 in call
73 | localized: "delete.file.error.generic",
74 | defaultValue: "Something went wrong while removing a file. Please try again.",
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:73:17: error: missing argument for parameter 'format' in call
71 | case .fileDeleteFailed:
72 | return String(
73 | localized: "delete.file.error.generic",
| `- error: missing argument for parameter 'format' in call
74 | defaultValue: "Something went wrong while removing a file. Please try again.",
75 | bundle: .module,
Foundation.String.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/host/spi-builder-workspace/Sources/Files/Operations/DeleteResource.swift:73:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
71 | case .fileDeleteFailed:
72 | return String(
73 | localized: "delete.file.error.generic",
| `- error: cannot convert value of type 'String' to expected argument type 'Locale'
74 | defaultValue: "Something went wrong while removing a file. Please try again.",
75 | bundle: .module,
/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 | )
[14/21] Compiling Files FileSystemFolderStore.swift
[15/21] Compiling Files FileSystemOperations.swift
[16/21] Compiling Files FileSystemContext.swift
[17/21] Compiling Files FileSystemDirectory.swift
[18/21] Emitting module Files
[19/21] Compiling Files Directory.swift
[20/21] Compiling Files File.swift
[21/21] Compiling Files resource_bundle_accessor.swift
BUILD FAILURE 6.2 linux