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 cache, reference main (ecf053), with Swift 6.1 for Wasm on 29 Oct 2025 06:30:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nashysolutions/Cache.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/nashysolutions/Cache
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ecf053c Update README.
Cloned https://github.com/nashysolutions/Cache.git
Revision (git rev-parse @):
ecf053c2818ebd1f4fd5e15ce99f054ed85c2962
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nashysolutions/Cache.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nashysolutions/Cache.git
https://github.com/nashysolutions/Cache.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "foundation-dependencies",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "5.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nashysolutions/foundation-dependencies.git"
    },
    {
      "identity" : "swift-dependencies",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.1",
            "upper_bound" : "1.9.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-dependencies.git"
    }
  ],
  "manifest_display_name" : "cache",
  "name" : "cache",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Cache",
      "targets" : [
        "Cache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CacheTests",
      "module_type" : "SwiftTarget",
      "name" : "CacheTests",
      "path" : "Tests/CacheTests",
      "product_dependencies" : [
        "DependenciesTestSupport"
      ],
      "sources" : [
        "FileSystemCacheTests.swift",
        "Helpers/AnyResourceBox.swift",
        "Helpers/DummyAgent.swift",
        "Helpers/DummyFolder.swift",
        "Helpers/MockFileSystemFolderStore.swift",
        "Helpers/TestValue.swift",
        "VolatileCacheTests.swift"
      ],
      "target_dependencies" : [
        "Cache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cache",
      "module_type" : "SwiftTarget",
      "name" : "Cache",
      "path" : "Sources/Cache",
      "product_dependencies" : [
        "FoundationDependencies"
      ],
      "product_memberships" : [
        "Cache"
      ],
      "sources" : [
        "Cache/Cache.swift",
        "Cache/DatabaseBackedCache.swift",
        "Cache/FileSystemCache.swift",
        "Cache/VolatileCache.swift",
        "Database/Database.swift",
        "Database/FileSystemDatabase.swift",
        "Database/VolatileDatabase.swift",
        "Expiry.swift",
        "Resource/CodableResource.swift",
        "Resource/ExpiringResource.swift",
        "Resource/Resource.swift",
        "Resource/ResourceProvider.swift",
        "Storage/CodableStorage.swift",
        "Storage/FileSystemStorage.swift",
        "Storage/Storage.swift",
        "Storage/VolatileStorage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/pointfreeco/swift-dependencies.git
Fetching https://github.com/nashysolutions/foundation-dependencies.git
[1/167] Fetching foundation-dependencies
[43/6558] Fetching foundation-dependencies, swift-dependencies
Fetched https://github.com/nashysolutions/foundation-dependencies.git from cache (0.51s)
[2493/6391] Fetching swift-dependencies
Fetched https://github.com/pointfreeco/swift-dependencies.git from cache (1.95s)
Computing version for https://github.com/pointfreeco/swift-dependencies.git
Computed https://github.com/pointfreeco/swift-dependencies.git at 1.8.1 (3.76s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5552] Fetching xctest-dynamic-overlay
[3555/78205] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.49s)
[10172/72653] Fetching swift-syntax
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
Fetched https://github.com/swiftlang/swift-syntax from cache (11.58s)
[1/883] Fetching swift-concurrency-extras
[884/3402] Fetching swift-concurrency-extras, combine-schedulers
[1565/4694] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.84s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.86s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.86s)
Computing version for https://github.com/nashysolutions/foundation-dependencies.git
Computed https://github.com/nashysolutions/foundation-dependencies.git at 5.0.1 (17.00s)
Fetching https://github.com/nashysolutions/files.git
Fetching https://github.com/nashysolutions/versioning.git
[1/80] Fetching versioning
[3/241] Fetching versioning, files
Fetched https://github.com/nashysolutions/versioning.git from cache (0.39s)
Fetched https://github.com/nashysolutions/files.git from cache (0.41s)
Computing version for https://github.com/nashysolutions/versioning.git
Computed https://github.com/nashysolutions/versioning.git at 2.1.0 (1.67s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (2.11s)
Computing version for https://github.com/nashysolutions/files.git
Computed https://github.com/nashysolutions/files.git at 2.2.2 (1.69s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.20s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (1.12s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (1.07s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.74s)
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.2
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/nashysolutions/files.git
Working copy of https://github.com/nashysolutions/files.git resolved at 2.2.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.7.0
Creating working copy for https://github.com/nashysolutions/foundation-dependencies.git
Working copy of https://github.com/nashysolutions/foundation-dependencies.git resolved at 5.0.1
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/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
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/19] Write sources
[4/19] Copying Info.plist
[4/19] Copying Localizable.xcstrings
[4/19] Write sources
[14/19] Write swift-version-24593BA9C3E375BF.txt
[16/46] Emitting module Versioning
[17/46] Emitting module Files
[18/47] Compiling IssueReportingPackageSupport _Test.swift
[19/47] Emitting module IssueReportingPackageSupport
[20/48] Compiling ConcurrencyExtras Result.swift
[21/49] Emitting module ConcurrencyExtras
[23/49] Compiling ConcurrencyExtras UncheckedSendable.swift
[23/49] Wrapping AST for IssueReportingPackageSupport for debugging
[25/71] Emitting module IssueReportingTestSupport
[26/71] Compiling IssueReporting TestContext.swift
[27/71] Compiling IssueReporting Unimplemented.swift
[28/73] Compiling IssueReporting XCTest.swift
[29/73] Compiling IssueReporting IsTesting.swift
[30/73] Compiling IssueReporting IssueReporter.swift
[31/73] Emitting module IssueReporting
[32/73] Compiling IssueReporting WithExpectedIssue.swift
[33/73] Compiling IssueReporting WithIssueContext.swift
[34/73] Compiling IssueReporting SwiftTesting.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:71:26: error: extra arguments at positions #3, #4 in call
 69 |         switch self {
 70 |         case .fileDeleteFailed:
 71 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
 72 |                 localized: "delete.file.error.generic",
 73 |                 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/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:72:17: error: missing argument for parameter 'format' in call
 70 |         case .fileDeleteFailed:
 71 |             return String(
 72 |                 localized: "delete.file.error.generic",
    |                 `- error: missing argument for parameter 'format' in call
 73 |                 defaultValue: "Something went wrong while removing a file. Please try again.",
 74 |                 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/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:72:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
 70 |         case .fileDeleteFailed:
 71 |             return String(
 72 |                 localized: "delete.file.error.generic",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
 73 |                 defaultValue: "Something went wrong while removing a file. Please try again.",
 74 |                 bundle: .module,
/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 |             )
[35/73] Compiling IssueReporting UncheckedSendable.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:71:26: error: extra arguments at positions #3, #4 in call
 69 |         switch self {
 70 |         case .fileDeleteFailed:
 71 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
 72 |                 localized: "delete.file.error.generic",
 73 |                 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/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:72:17: error: missing argument for parameter 'format' in call
 70 |         case .fileDeleteFailed:
 71 |             return String(
 72 |                 localized: "delete.file.error.generic",
    |                 `- error: missing argument for parameter 'format' in call
 73 |                 defaultValue: "Something went wrong while removing a file. Please try again.",
 74 |                 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/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:72:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
 70 |         case .fileDeleteFailed:
 71 |             return String(
 72 |                 localized: "delete.file.error.generic",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
 73 |                 defaultValue: "Something went wrong while removing a file. Please try again.",
 74 |                 bundle: .module,
/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 |             )
[36/73] Compiling Files UpdateResource.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:106:26: error: extra arguments at positions #3, #4 in call
104 |
105 |         case .unexpected:
106 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
107 |                 localized: "update.resource.error.generic",
108 |                 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/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:107:17: error: missing argument for parameter 'format' in call
105 |         case .unexpected:
106 |             return String(
107 |                 localized: "update.resource.error.generic",
    |                 `- error: missing argument for parameter 'format' in call
108 |                 defaultValue: "Something went wrong while updating your data. Please try again.",
109 |                 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/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:107:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
105 |         case .unexpected:
106 |             return String(
107 |                 localized: "update.resource.error.generic",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
108 |                 defaultValue: "Something went wrong while updating your data. Please try again.",
109 |                 bundle: .module,
/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 |             )
[37/73] Compiling IssueReporting FailureObserver.swift
[38/73] Compiling IssueReporting LockIsolated.swift
[39/73] Compiling IssueReportingTestSupport SwiftTesting.swift
[40/73] Compiling IssueReportingTestSupport XCTest.swift
[41/73] Compiling Files resource_bundle_accessor.swift
[42/74] Compiling Files LoadResource.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:128:26: error: extra arguments at positions #3, #4 in call
126 |         switch self {
127 |         case .emptyFile(let storageKey):
128 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
129 |                 localized: "load.file.error.empty",
130 |                 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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:129:17: error: missing argument for parameter 'format' in call
127 |         case .emptyFile(let storageKey):
128 |             return String(
129 |                 localized: "load.file.error.empty",
    |                 `- error: missing argument for parameter 'format' in call
130 |                 defaultValue: "The file \(storageKey) is empty.",
131 |                 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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:129:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
127 |         case .emptyFile(let storageKey):
128 |             return String(
129 |                 localized: "load.file.error.empty",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
130 |                 defaultValue: "The file \(storageKey) is empty.",
131 |                 bundle: .module,
/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 #3, #4 in call
134 |
135 |         case .decodingFailed(let storageKey):
136 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
137 |                 localized: "load.file.error.decoding",
138 |                 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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:137:17: error: missing argument for parameter 'format' in call
135 |         case .decodingFailed(let storageKey):
136 |             return String(
137 |                 localized: "load.file.error.decoding",
    |                 `- error: missing argument for parameter 'format' in call
138 |                 defaultValue: "Failed to decode the contents of the file \(storageKey).",
139 |                 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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:137:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
135 |         case .decodingFailed(let storageKey):
136 |             return String(
137 |                 localized: "load.file.error.decoding",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
138 |                 defaultValue: "Failed to decode the contents of the file \(storageKey).",
139 |                 bundle: .module,
/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 #3, #4 in call
142 |
143 |         case .fileReadFailed(let storageKey, let error):
144 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
145 |                 localized: "load.file.error.reading",
146 |                 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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:145:17: error: missing argument for parameter 'format' in call
143 |         case .fileReadFailed(let storageKey, let error):
144 |             return String(
145 |                 localized: "load.file.error.reading",
    |                 `- error: missing argument for parameter 'format' in call
146 |                 defaultValue: "Failed to read the file \(storageKey): \(error.localizedDescription).",
147 |                 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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:145:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
143 |         case .fileReadFailed(let storageKey, let error):
144 |             return String(
145 |                 localized: "load.file.error.reading",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
146 |                 defaultValue: "Failed to read the file \(storageKey): \(error.localizedDescription).",
147 |                 bundle: .module,
/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 |             )
[43/74] Compiling IssueReporting AppHostWarning.swift
[44/74] Compiling IssueReporting Deprecations.swift
[47/74] Compiling IssueReporting Rethrows.swift
[48/74] Compiling IssueReporting ErrorReporting.swift
[49/74] Compiling Files SaveResource.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:122:26: error: extra arguments at positions #3, #4 in call
120 |         switch self {
121 |         case .encodingFailed:
122 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
123 |                 localized: "save.file.error.encoding",
124 |                 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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:123:17: error: missing argument for parameter 'format' in call
121 |         case .encodingFailed:
122 |             return String(
123 |                 localized: "save.file.error.encoding",
    |                 `- error: missing argument for parameter 'format' in call
124 |                 defaultValue: "We couldn’t save your data. Please try again.",
125 |                 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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:123:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
121 |         case .encodingFailed:
122 |             return String(
123 |                 localized: "save.file.error.encoding",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
124 |                 defaultValue: "We couldn’t save your data. Please try again.",
125 |                 bundle: .module,
/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 #3, #4 in call
128 |
129 |         case .fileSaveFailed:
130 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
131 |                 localized: "save.file.error.saving",
132 |                 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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:131:17: error: missing argument for parameter 'format' in call
129 |         case .fileSaveFailed:
130 |             return String(
131 |                 localized: "save.file.error.saving",
    |                 `- error: missing argument for parameter 'format' in call
132 |                 defaultValue: "Saving the file didn’t work. Please try again.",
133 |                 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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:131:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
129 |         case .fileSaveFailed:
130 |             return String(
131 |                 localized: "save.file.error.saving",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
132 |                 defaultValue: "Saving the file didn’t work. Please try again.",
133 |                 bundle: .module,
/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 |             )
[50/74] Compiling ConcurrencyExtras MainSerialExecutor.swift
[51/74] Compiling ConcurrencyExtras Task.swift
[52/74] Compiling IssueReporting BreakpointReporter.swift
[53/74] Compiling IssueReporting FatalErrorReporter.swift
[56/74] Compiling IssueReporting RuntimeWarningReporter.swift
[57/74] Compiling IssueReporting ReportIssue.swift
[58/74] Compiling ConcurrencyExtras LockIsolated.swift
[59/75] Compiling Versioning SemanticVersion.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/32] Compiling ConcurrencyExtras MainSerialExecutor.swift
[3/33] Compiling Files Folder.swift
[4/33] Compiling Files DeleteResource.swift
[5/33] Compiling ConcurrencyExtras LockIsolated.swift
[6/33] Emitting module IssueReportingPackageSupport
[7/33] Compiling IssueReportingPackageSupport _Test.swift
[8/34] Emitting module ConcurrencyExtras
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:71:26: error: extra arguments at positions #3, #4 in call
 69 |         switch self {
 70 |         case .fileDeleteFailed:
 71 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
 72 |                 localized: "delete.file.error.generic",
 73 |                 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/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:72:17: error: missing argument for parameter 'format' in call
 70 |         case .fileDeleteFailed:
 71 |             return String(
 72 |                 localized: "delete.file.error.generic",
    |                 `- error: missing argument for parameter 'format' in call
 73 |                 defaultValue: "Something went wrong while removing a file. Please try again.",
 74 |                 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/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:72:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
 70 |         case .fileDeleteFailed:
 71 |             return String(
 72 |                 localized: "delete.file.error.generic",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
 73 |                 defaultValue: "Something went wrong while removing a file. Please try again.",
 74 |                 bundle: .module,
/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 |             )
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:71:26: error: extra arguments at positions #3, #4 in call
 69 |         switch self {
 70 |         case .fileDeleteFailed:
 71 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
 72 |                 localized: "delete.file.error.generic",
 73 |                 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/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:72:17: error: missing argument for parameter 'format' in call
 70 |         case .fileDeleteFailed:
 71 |             return String(
 72 |                 localized: "delete.file.error.generic",
    |                 `- error: missing argument for parameter 'format' in call
 73 |                 defaultValue: "Something went wrong while removing a file. Please try again.",
 74 |                 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/.build/checkouts/files/Sources/Files/Operations/DeleteResource.swift:72:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
 70 |         case .fileDeleteFailed:
 71 |             return String(
 72 |                 localized: "delete.file.error.generic",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
 73 |                 defaultValue: "Something went wrong while removing a file. Please try again.",
 74 |                 bundle: .module,
/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 |             )
[11/35] Compiling Files UpdateResource.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:106:26: error: extra arguments at positions #3, #4 in call
104 |
105 |         case .unexpected:
106 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
107 |                 localized: "update.resource.error.generic",
108 |                 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/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:107:17: error: missing argument for parameter 'format' in call
105 |         case .unexpected:
106 |             return String(
107 |                 localized: "update.resource.error.generic",
    |                 `- error: missing argument for parameter 'format' in call
108 |                 defaultValue: "Something went wrong while updating your data. Please try again.",
109 |                 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/.build/checkouts/files/Sources/Files/Operations/UpdateResource.swift:107:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
105 |         case .unexpected:
106 |             return String(
107 |                 localized: "update.resource.error.generic",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
108 |                 defaultValue: "Something went wrong while updating your data. Please try again.",
109 |                 bundle: .module,
/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 |             )
[12/35] Compiling Files SaveResource.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:122:26: error: extra arguments at positions #3, #4 in call
120 |         switch self {
121 |         case .encodingFailed:
122 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
123 |                 localized: "save.file.error.encoding",
124 |                 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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:123:17: error: missing argument for parameter 'format' in call
121 |         case .encodingFailed:
122 |             return String(
123 |                 localized: "save.file.error.encoding",
    |                 `- error: missing argument for parameter 'format' in call
124 |                 defaultValue: "We couldn’t save your data. Please try again.",
125 |                 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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:123:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
121 |         case .encodingFailed:
122 |             return String(
123 |                 localized: "save.file.error.encoding",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
124 |                 defaultValue: "We couldn’t save your data. Please try again.",
125 |                 bundle: .module,
/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 #3, #4 in call
128 |
129 |         case .fileSaveFailed:
130 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
131 |                 localized: "save.file.error.saving",
132 |                 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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:131:17: error: missing argument for parameter 'format' in call
129 |         case .fileSaveFailed:
130 |             return String(
131 |                 localized: "save.file.error.saving",
    |                 `- error: missing argument for parameter 'format' in call
132 |                 defaultValue: "Saving the file didn’t work. Please try again.",
133 |                 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/.build/checkouts/files/Sources/Files/Operations/SaveResource.swift:131:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
129 |         case .fileSaveFailed:
130 |             return String(
131 |                 localized: "save.file.error.saving",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
132 |                 defaultValue: "Saving the file didn’t work. Please try again.",
133 |                 bundle: .module,
/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 |             )
[13/35] Compiling Files FileSystemContext.swift
[14/35] Compiling Files FileSystemDirectory.swift
[15/35] Compiling Files Directory.swift
[16/35] Compiling Files File.swift
[20/35] Compiling ConcurrencyExtras Result.swift
[21/35] Compiling ConcurrencyExtras Task.swift
[22/35] Compiling Files LoadResource.swift
/host/spi-builder-workspace/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:128:26: error: extra arguments at positions #3, #4 in call
126 |         switch self {
127 |         case .emptyFile(let storageKey):
128 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
129 |                 localized: "load.file.error.empty",
130 |                 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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:129:17: error: missing argument for parameter 'format' in call
127 |         case .emptyFile(let storageKey):
128 |             return String(
129 |                 localized: "load.file.error.empty",
    |                 `- error: missing argument for parameter 'format' in call
130 |                 defaultValue: "The file \(storageKey) is empty.",
131 |                 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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:129:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
127 |         case .emptyFile(let storageKey):
128 |             return String(
129 |                 localized: "load.file.error.empty",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
130 |                 defaultValue: "The file \(storageKey) is empty.",
131 |                 bundle: .module,
/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 #3, #4 in call
134 |
135 |         case .decodingFailed(let storageKey):
136 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
137 |                 localized: "load.file.error.decoding",
138 |                 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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:137:17: error: missing argument for parameter 'format' in call
135 |         case .decodingFailed(let storageKey):
136 |             return String(
137 |                 localized: "load.file.error.decoding",
    |                 `- error: missing argument for parameter 'format' in call
138 |                 defaultValue: "Failed to decode the contents of the file \(storageKey).",
139 |                 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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:137:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
135 |         case .decodingFailed(let storageKey):
136 |             return String(
137 |                 localized: "load.file.error.decoding",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
138 |                 defaultValue: "Failed to decode the contents of the file \(storageKey).",
139 |                 bundle: .module,
/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 #3, #4 in call
142 |
143 |         case .fileReadFailed(let storageKey, let error):
144 |             return String(
    |                          `- error: extra arguments at positions #3, #4 in call
145 |                 localized: "load.file.error.reading",
146 |                 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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:145:17: error: missing argument for parameter 'format' in call
143 |         case .fileReadFailed(let storageKey, let error):
144 |             return String(
145 |                 localized: "load.file.error.reading",
    |                 `- error: missing argument for parameter 'format' in call
146 |                 defaultValue: "Failed to read the file \(storageKey): \(error.localizedDescription).",
147 |                 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/.build/checkouts/files/Sources/Files/Operations/LoadResource.swift:145:28: error: cannot convert value of type 'String' to expected argument type 'Locale'
143 |         case .fileReadFailed(let storageKey, let error):
144 |             return String(
145 |                 localized: "load.file.error.reading",
    |                            `- error: cannot convert value of type 'String' to expected argument type 'Locale'
146 |                 defaultValue: "Failed to read the file \(storageKey): \(error.localizedDescription).",
147 |                 bundle: .module,
/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 |             )
[25/34] Emitting module Files
[26/34] Compiling Files FileSystemFolderStore.swift
[27/34] Compiling Files FileSystemOperations.swift
[28/34] Compiling ConcurrencyExtras UncheckedSendable.swift
[29/35] Compiling Files resource_bundle_accessor.swift
[30/35] Emitting module Versioning
BUILD FAILURE 6.1 wasm