The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build foundation-dependencies, reference main (222ceb), with Swift 6.1 for Android on 7 Sep 2025 07:50:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nashysolutions/foundation-dependencies.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/foundation-dependencies
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 222ceb5 Updating docs.
Cloned https://github.com/nashysolutions/foundation-dependencies.git
Revision (git rev-parse @):
222ceb5c0e8a09d9182f9c68fe3350f5bf58dc01
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nashysolutions/foundation-dependencies.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nashysolutions/foundation-dependencies.git
https://github.com/nashysolutions/foundation-dependencies.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "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"
    },
    {
      "identity" : "versioning",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "2.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nashysolutions/versioning.git"
    },
    {
      "identity" : "files",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "2.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nashysolutions/files.git"
    }
  ],
  "manifest_display_name" : "foundation-dependencies",
  "name" : "foundation-dependencies",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "FoundationDependencies",
      "targets" : [
        "FoundationDependencies"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FoundationDependencies",
      "module_type" : "SwiftTarget",
      "name" : "FoundationDependencies",
      "path" : "Sources/FoundationDependencies",
      "product_dependencies" : [
        "Dependencies",
        "Versioning",
        "Files"
      ],
      "product_memberships" : [
        "FoundationDependencies"
      ],
      "sources" : [
        "FileSystem/FileSystemClient.swift",
        "FileSystem/FileSystemResourceClient.swift",
        "Log/LogClient.swift",
        "MainBundle/BundleResourceProvider.swift",
        "MainBundle/ColorAsset.swift",
        "MainBundle/ImageAsset.swift",
        "MainBundle/MainBundleClient.swift",
        "MainBundle/XcodeBundle.swift",
        "MainBundle/XcodeBundleError.swift",
        "UserDefaults/UserDefaultsClient.swift",
        "UserDefaults/UserDefaultsLiveStore.swift",
        "UserDefaults/UserDefaultsStoreProtocol.swift",
        "UserDefaults/UserDefaultsTestStore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/nashysolutions/files.git
Fetching https://github.com/nashysolutions/versioning.git
Fetching https://github.com/pointfreeco/swift-dependencies.git
[1/150] Fetching files
[151/230] Fetching files, versioning
[231/6555] Fetching files, versioning, swift-dependencies
Fetched https://github.com/nashysolutions/versioning.git from cache (0.25s)
[2933/6475] Fetching files, swift-dependencies
Fetched https://github.com/nashysolutions/files.git from cache (0.38s)
Fetched https://github.com/pointfreeco/swift-dependencies.git from cache (0.38s)
Computing version for https://github.com/nashysolutions/files.git
Computed https://github.com/nashysolutions/files.git at 2.2.0 (0.86s)
Computing version for https://github.com/nashysolutions/versioning.git
Computed https://github.com/nashysolutions/versioning.git at 2.1.0 (0.47s)
Computing version for https://github.com/pointfreeco/swift-dependencies.git
Computed https://github.com/pointfreeco/swift-dependencies.git at 1.8.1 (0.53s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-clocks
[1/2417] Fetching combine-schedulers
[2418/3295] Fetching combine-schedulers, swift-concurrency-extras
[3296/4587] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
[4588/10092] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.34s)
[2776/7675] Fetching swift-concurrency-extras, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.35s)
[1539/6383] Fetching swift-concurrency-extras, xctest-dynamic-overlay
[5504/78246] Fetching swift-concurrency-extras, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.63s)
[14129/77368] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.64s)
[9343/71863] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.29s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (4.72s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.57s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.52s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.49s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.93s)
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-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/nashysolutions/versioning.git
Working copy of https://github.com/nashysolutions/versioning.git resolved at 2.1.0
Creating working copy for https://github.com/nashysolutions/files.git
Working copy of https://github.com/nashysolutions/files.git resolved at 2.2.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.1
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Building for debugging...
[0/13] Write sources
[1/13] Copying Localizable.xcstrings
[4/13] Copying Info.plist
[6/13] Write sources
[12/13] Write swift-version-24593BA9C3E375BF.txt
[14/40] Emitting module IssueReportingPackageSupport
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/40] Compiling IssueReportingPackageSupport _Test.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/60] Compiling ConcurrencyExtras MainSerialExecutor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/61] Compiling ConcurrencyExtras UncheckedSendable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/61] Emitting module IssueReporting
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/63] Compiling IssueReporting WithExpectedIssue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/63] Compiling IssueReporting WithIssueContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/63] Compiling Versioning SemanticVersion.swift
[23/63] Emitting module Versioning
[24/63] 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 |             )
[25/63] Compiling IssueReporting FailureObserver.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[26/63] Compiling IssueReporting LockIsolated.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[27/63] Compiling IssueReporting Rethrows.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/65] Compiling IssueReporting SwiftTesting.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/65] Compiling IssueReporting UncheckedSendable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[30/65] Compiling IssueReporting Warn.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[31/65] Compiling ConcurrencyExtras Result.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[32/65] Compiling ConcurrencyExtras Task.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/65] 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 |             )
[34/65] 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 |             )
[38/65] Emitting module Files
[39/65] Emitting module ConcurrencyExtras
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[42/65] Compiling IssueReporting FatalErrorReporter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[43/65] Compiling IssueReporting ErrorReporting.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[44/65] Compiling ConcurrencyExtras LockIsolated.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[46/65] Compiling IssueReporting BreakpointReporter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/66] Compiling IssueReporting RuntimeWarningReporter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/66] Compiling IssueReporting ReportIssue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/66] Compiling IssueReporting XCTest.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[50/66] Compiling IssueReporting IsTesting.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/66] Compiling IssueReporting IssueReporter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/66] Compiling IssueReporting TestContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/66] Compiling IssueReporting Unimplemented.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[55/66] Compiling IssueReporting AppHostWarning.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[56/66] Compiling IssueReporting Deprecations.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 |             )
[67/67] Compiling Files resource_bundle_accessor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
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/28] 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 |             )
[3/29] Emitting module IssueReportingPackageSupport
[4/29] Compiling IssueReportingPackageSupport _Test.swift
[5/30] Compiling ConcurrencyExtras MainSerialExecutor.swift
[6/30] Compiling ConcurrencyExtras Result.swift
[7/30] Compiling ConcurrencyExtras LockIsolated.swift
[8/31] Compiling ConcurrencyExtras Locking.swift
[9/31] Compiling ConcurrencyExtras UncheckedBox.swift
[10/31] Compiling ConcurrencyExtras Task.swift
[11/31] 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/31] Emitting module Files
[14/31] Compiling ConcurrencyExtras AsyncStream.swift
[15/31] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[16/31] Compiling Files resource_bundle_accessor.swift
[17/31] Compiling ConcurrencyExtras ActorIsolated.swift
[18/31] Compiling ConcurrencyExtras AnyHashableSendable.swift
[19/31] 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 |             )
[20/31] Compiling Files Folder.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 |             )
[21/31] Compiling Files DeleteResource.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 |             )
[24/31] Emitting module ConcurrencyExtras
[29/31] Compiling ConcurrencyExtras UncheckedSendable.swift
[30/32] Emitting module Versioning
BUILD FAILURE 6.1 android