Build Information
Failed to build files, reference 2.1.0 (9c7630
), with Swift 6.1 for Android on 14 Jun 2025 09:17:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/nashysolutions/files.git
https://github.com/nashysolutions/files.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "error-presentation",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nashysolutions/error-presentation.git"
}
],
"manifest_display_name" : "files",
"name" : "files",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Files",
"targets" : [
"Files"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FilesTests",
"module_type" : "SwiftTarget",
"name" : "FilesTests",
"path" : "Tests/FilesTests",
"sources" : [
"CopyResourceTests.swift",
"DeleteResourceErrorTests.swift",
"DeleteResourceTests.swift",
"DirectoryTests.swift",
"FileExistenceTests.swift",
"FileReadWriteTests.swift",
"FileSystemFolderStoreTests.swift",
"FileSystemOperationsTests.swift",
"FolderExistenceTests.swift",
"LiveAgent.swift",
"LiveAgentTests.swift",
"MockContext.swift",
"MockFolder.swift",
"MockResource.swift",
"MoveResourceTests.swift",
"RemoveDirectoryTests.swift",
"URLExpectation.swift"
],
"target_dependencies" : [
"Files"
],
"type" : "test"
},
{
"c99name" : "Files",
"module_type" : "SwiftTarget",
"name" : "Files",
"path" : "Sources/Files",
"product_dependencies" : [
"ErrorPresentation"
],
"product_memberships" : [
"Files"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Files/Resources/Localizable.xcstrings",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Directory.swift",
"File.swift",
"FileSystemContext.swift",
"FileSystemDirectory.swift",
"FileSystemFolderStore.swift",
"FileSystemOperations.swift",
"Folder.swift",
"Operations/DeleteResource.swift",
"Operations/LoadResource.swift",
"Operations/SaveResource.swift",
"Operations/UpdateResource.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:53019eca44ba8cce4deef66552e72c09c078a8a7314109c78012ab10170a991e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-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.29s)
Computing version for https://github.com/nashysolutions/error-presentation.git
Computed https://github.com/nashysolutions/error-presentation.git at 1.0.0 (0.85s)
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
[1/5] Copying Localizable.xcstrings
[1/5] Copying Info.plist
[1/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/7] Compiling ErrorPresentation LocalizedCustomerFacingError.swift
[7/7] Emitting module ErrorPresentation
[9/20] 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 | )
[10/21] Compiling Files FileSystemContext.swift
[11/21] Compiling Files FileSystemDirectory.swift
[12/21] Compiling Files FileSystemFolderStore.swift
[13/21] Compiling Files FileSystemOperations.swift
[14/21] Emitting module Files
[15/21] Compiling Files Directory.swift
[16/21] Compiling Files File.swift
[17/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 | )
[18/21] 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 | )
[19/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 | )
[20/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 | )
[21/21] Compiling Files resource_bundle_accessor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:53019eca44ba8cce4deef66552e72c09c078a8a7314109c78012ab10170a991e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module ErrorPresentation
[3/3] Compiling ErrorPresentation LocalizedCustomerFacingError.swift
[5/16] Compiling Files FileSystemContext.swift
[6/16] Compiling Files FileSystemDirectory.swift
[7/17] 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 | )
[8/17] 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 | )
[9/17] Compiling Files FileSystemFolderStore.swift
[10/17] Compiling Files FileSystemOperations.swift
[11/17] 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 | )
[12/17] 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/17] 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/17] Compiling Files Directory.swift
[15/17] Compiling Files File.swift
[16/17] Emitting module Files
[17/17] Compiling Files resource_bundle_accessor.swift
BUILD FAILURE 6.1 android