The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LocaleUnitSwift, reference v1.0.3 (2da81c), with Swift 6.1 for Android on 3 Mar 2026 01:28:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tearsinthegame/LocaleUnitSwift.git
Reference: v1.0.3
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/tearsinthegame/LocaleUnitSwift
 * tag               v1.0.3     -> FETCH_HEAD
HEAD is now at 2da81c5 Integrated MeasurementFormatUnitUsage for supported predefined Unit types
Cloned https://github.com/tearsinthegame/LocaleUnitSwift.git
Revision (git rev-parse @):
2da81c565ed86c7c4d8325054655effda4a5bfe1
SUCCESS checkout https://github.com/tearsinthegame/LocaleUnitSwift.git at v1.0.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tearsinthegame/LocaleUnitSwift.git
https://github.com/tearsinthegame/LocaleUnitSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LocaleUnitSwift",
  "name" : "LocaleUnitSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "LocaleUnitSwift",
      "targets" : [
        "LocaleUnitSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LocaleUnitSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "LocaleUnitSwiftTests",
      "path" : "Tests/LocaleUnitSwiftTests",
      "sources" : [
        "LocaleUnitSwiftTests.swift"
      ],
      "target_dependencies" : [
        "LocaleUnitSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LocaleUnitSwift",
      "module_type" : "SwiftTarget",
      "name" : "LocaleUnitSwift",
      "path" : "Sources/LocaleUnitSwift",
      "product_memberships" : [
        "LocaleUnitSwift"
      ],
      "sources" : [
        "LocaleUnitSwift.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module LocaleUnitSwift
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:13:109: error: cannot find type 'MeasurementFormatUnitUsage' in scope
 11 |     /// Return the locale-preferred Unit for the given Dimension subclass type.
 12 |     /// If the platform doesn't offer `init(forLocale:)`, returns a sensible default unit.
 13 |     private func getUnit<U: Dimension>(for dimensionType: Dimension.Type, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> Unit {
    |                                                                                                             `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
 14 |
 15 |         // Acceleration
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:174:97: error: cannot find type 'MeasurementFormatUnitUsage' in scope
172 |     /// Returns the user-specific Unit, if locale is not specified
173 |     /// Usage might not be available for every predefined Unit, check the Apple documentation for MeasurementFormatUnitUsage
174 |     public func unit<U: Dimension>(for dimensionType: U.Type, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> Unit {
    |                                                                                                 `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
175 |         if usage != nil {
176 |             return getUnit(for: dimensionType, locale: locale, usage: usage!)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:183:99: error: cannot find type 'MeasurementFormatUnitUsage' in scope
181 |     /// Returns the user-specific Unit symbol as String, if locale is not specified
182 |     /// Usage might not be available for every predefined Unit, check the Apple documentation for MeasurementFormatUnitUsage
183 |     public func symbol<U: Dimension>(for dimensionType: U.Type, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> String {
    |                                                                                                   `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
184 |         if usage != nil {
185 |             return getUnit(for: U.self as Dimension.Type, locale: locale, usage: usage!).symbol
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:193:119: error: cannot find type 'MeasurementFormatUnitUsage' in scope
191 |     /// If the conversion can't be determined, returns the original measurement.
192 |     /// Usage might not be available for every predefined Unit, check the Apple documentation for MeasurementFormatUnitUsage
193 |     public func convertedToLocaleValue<U: Dimension>(_ measurement: Measurement<U>, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> Measurement<U> {
    |                                                                                                                       `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
194 |         let targetUnit = usage == nil ? getUnit(for: U.self as Dimension.Type, locale: locale) : getUnit(for: U.self as Dimension.Type, locale: locale, usage: usage!)
195 |         if let typed = targetUnit as? U {
[4/4] Compiling LocaleUnitSwift LocaleUnitSwift.swift
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:13:109: error: cannot find type 'MeasurementFormatUnitUsage' in scope
 11 |     /// Return the locale-preferred Unit for the given Dimension subclass type.
 12 |     /// If the platform doesn't offer `init(forLocale:)`, returns a sensible default unit.
 13 |     private func getUnit<U: Dimension>(for dimensionType: Dimension.Type, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> Unit {
    |                                                                                                             `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
 14 |
 15 |         // Acceleration
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:174:97: error: cannot find type 'MeasurementFormatUnitUsage' in scope
172 |     /// Returns the user-specific Unit, if locale is not specified
173 |     /// Usage might not be available for every predefined Unit, check the Apple documentation for MeasurementFormatUnitUsage
174 |     public func unit<U: Dimension>(for dimensionType: U.Type, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> Unit {
    |                                                                                                 `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
175 |         if usage != nil {
176 |             return getUnit(for: dimensionType, locale: locale, usage: usage!)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:183:99: error: cannot find type 'MeasurementFormatUnitUsage' in scope
181 |     /// Returns the user-specific Unit symbol as String, if locale is not specified
182 |     /// Usage might not be available for every predefined Unit, check the Apple documentation for MeasurementFormatUnitUsage
183 |     public func symbol<U: Dimension>(for dimensionType: U.Type, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> String {
    |                                                                                                   `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
184 |         if usage != nil {
185 |             return getUnit(for: U.self as Dimension.Type, locale: locale, usage: usage!).symbol
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:193:119: error: cannot find type 'MeasurementFormatUnitUsage' in scope
191 |     /// If the conversion can't be determined, returns the original measurement.
192 |     /// Usage might not be available for every predefined Unit, check the Apple documentation for MeasurementFormatUnitUsage
193 |     public func convertedToLocaleValue<U: Dimension>(_ measurement: Measurement<U>, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> Measurement<U> {
    |                                                                                                                       `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
194 |         let targetUnit = usage == nil ? getUnit(for: U.self as Dimension.Type, locale: locale) : getUnit(for: U.self as Dimension.Type, locale: locale, usage: usage!)
195 |         if let typed = targetUnit as? U {
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:17:77: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 15 |         // Acceleration
 16 |         if dimensionType == UnitAcceleration.self {
 17 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitAcceleration(forLocale: locale) }
    |                                                                             `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 18 |         }
 19 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:17:89: error: cannot convert value of type 'Locale' to expected argument type 'String'
 15 |         // Acceleration
 16 |         if dimensionType == UnitAcceleration.self {
 17 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitAcceleration(forLocale: locale) }
    |                                                                                         `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 18 |         }
 19 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:22:70: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 20 |         // Angle
 21 |         if dimensionType == UnitAngle.self {
 22 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitAngle(forLocale: locale) }
    |                                                                      `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 23 |         }
 24 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:22:82: error: cannot convert value of type 'Locale' to expected argument type 'String'
 20 |         // Angle
 21 |         if dimensionType == UnitAngle.self {
 22 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitAngle(forLocale: locale) }
    |                                                                                  `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 23 |         }
 24 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:27:69: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 25 |         // Area
 26 |         if dimensionType == UnitArea.self {
 27 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitArea(forLocale: locale) }
    |                                                                     `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 28 |         }
 29 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:27:81: error: cannot convert value of type 'Locale' to expected argument type 'String'
 25 |         // Area
 26 |         if dimensionType == UnitArea.self {
 27 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitArea(forLocale: locale) }
    |                                                                                 `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 28 |         }
 29 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:32:82: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 30 |         // Concentration (mass)
 31 |         if dimensionType == UnitConcentrationMass.self {
 32 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitConcentrationMass(forLocale: locale) }
    |                                                                                  `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 33 |         }
 34 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:32:94: error: cannot convert value of type 'Locale' to expected argument type 'String'
 30 |         // Concentration (mass)
 31 |         if dimensionType == UnitConcentrationMass.self {
 32 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitConcentrationMass(forLocale: locale) }
    |                                                                                              `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 33 |         }
 34 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:37:75: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 35 |         // Dispersion (ppm, etc.)
 36 |         if dimensionType == UnitDispersion.self {
 37 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitDispersion(forLocale: locale) }
    |                                                                           `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 38 |         }
 39 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:37:87: error: cannot convert value of type 'Locale' to expected argument type 'String'
 35 |         // Dispersion (ppm, etc.)
 36 |         if dimensionType == UnitDispersion.self {
 37 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitDispersion(forLocale: locale) }
    |                                                                                       `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 38 |         }
 39 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:42:73: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 40 |         // Duration (time)
 41 |         if dimensionType == UnitDuration.self {
 42 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitDuration(forLocale: locale) }
    |                                                                         `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 43 |         }
 44 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:42:85: error: cannot convert value of type 'Locale' to expected argument type 'String'
 40 |         // Duration (time)
 41 |         if dimensionType == UnitDuration.self {
 42 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitDuration(forLocale: locale) }
    |                                                                                     `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 43 |         }
 44 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:47:79: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 45 |         // Electric charge
 46 |         if dimensionType == UnitElectricCharge.self {
 47 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricCharge(forLocale: locale) }
    |                                                                               `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 48 |         }
 49 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:47:91: error: cannot convert value of type 'Locale' to expected argument type 'String'
 45 |         // Electric charge
 46 |         if dimensionType == UnitElectricCharge.self {
 47 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricCharge(forLocale: locale) }
    |                                                                                           `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 48 |         }
 49 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:52:80: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 50 |         // Electric current
 51 |         if dimensionType == UnitElectricCurrent.self {
 52 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricCurrent(forLocale: locale) }
    |                                                                                `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 53 |         }
 54 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:52:92: error: cannot convert value of type 'Locale' to expected argument type 'String'
 50 |         // Electric current
 51 |         if dimensionType == UnitElectricCurrent.self {
 52 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricCurrent(forLocale: locale) }
    |                                                                                            `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 53 |         }
 54 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:57:92: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 55 |         // Electric potential difference (voltage)
 56 |         if dimensionType == UnitElectricPotentialDifference.self {
 57 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricPotentialDifference(forLocale: locale) }
    |                                                                                            `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 58 |         }
 59 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:57:104: error: cannot convert value of type 'Locale' to expected argument type 'String'
 55 |         // Electric potential difference (voltage)
 56 |         if dimensionType == UnitElectricPotentialDifference.self {
 57 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricPotentialDifference(forLocale: locale) }
    |                                                                                                        `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 58 |         }
 59 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:62:83: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 60 |         // Electric resistance
 61 |         if dimensionType == UnitElectricResistance.self {
 62 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricResistance(forLocale: locale) }
    |                                                                                   `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 63 |         }
 64 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:62:95: error: cannot convert value of type 'Locale' to expected argument type 'String'
 60 |         // Electric resistance
 61 |         if dimensionType == UnitElectricResistance.self {
 62 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricResistance(forLocale: locale) }
    |                                                                                               `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 63 |         }
 64 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:69:76: error: cannot find type 'MeasurementFormatUnitUsage' in scope
 67 |             if #available(iOS 16.0, macOS 13.0, *) {
 68 |                 if usage != nil {
 69 |                     return UnitEnergy(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitEnergy>)
    |                                                                            `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
 70 |                 }
 71 |                 return UnitEnergy(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:69:38: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
 67 |             if #available(iOS 16.0, macOS 13.0, *) {
 68 |                 if usage != nil {
 69 |                     return UnitEnergy(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitEnergy>)
    |                                      `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
 70 |                 }
 71 |                 return UnitEnergy(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:69:50: error: cannot convert value of type 'Locale' to expected argument type 'String'
 67 |             if #available(iOS 16.0, macOS 13.0, *) {
 68 |                 if usage != nil {
 69 |                     return UnitEnergy(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitEnergy>)
    |                                                  `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 70 |                 }
 71 |                 return UnitEnergy(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:71:34: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 69 |                     return UnitEnergy(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitEnergy>)
 70 |                 }
 71 |                 return UnitEnergy(forLocale: locale)
    |                                  `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 72 |             }
 73 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:71:46: error: cannot convert value of type 'Locale' to expected argument type 'String'
 69 |                     return UnitEnergy(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitEnergy>)
 70 |                 }
 71 |                 return UnitEnergy(forLocale: locale)
    |                                              `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 72 |             }
 73 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:77:74: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 75 |         // Frequency
 76 |         if dimensionType == UnitFrequency.self {
 77 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitFrequency(forLocale: locale) }
    |                                                                          `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 78 |         }
 79 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:77:86: error: cannot convert value of type 'Locale' to expected argument type 'String'
 75 |         // Frequency
 76 |         if dimensionType == UnitFrequency.self {
 77 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitFrequency(forLocale: locale) }
    |                                                                                      `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 78 |         }
 79 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:82:79: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 80 |         // Fuel efficiency
 81 |         if dimensionType == UnitFuelEfficiency.self {
 82 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitFuelEfficiency(forLocale: locale) }
    |                                                                               `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:82:91: error: cannot convert value of type 'Locale' to expected argument type 'String'
 80 |         // Fuel efficiency
 81 |         if dimensionType == UnitFuelEfficiency.self {
 82 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitFuelEfficiency(forLocale: locale) }
    |                                                                                           `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:87:76: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 85 |         // Illuminance
 86 |         if dimensionType == UnitIlluminance.self {
 87 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitIlluminance(forLocale: locale) }
    |                                                                            `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 88 |         }
 89 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:87:88: error: cannot convert value of type 'Locale' to expected argument type 'String'
 85 |         // Illuminance
 86 |         if dimensionType == UnitIlluminance.self {
 87 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitIlluminance(forLocale: locale) }
    |                                                                                        `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 88 |         }
 89 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:92:83: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 90 |         // Information storage
 91 |         if dimensionType == UnitInformationStorage.self {
 92 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitInformationStorage(forLocale: locale) }
    |                                                                                   `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 93 |         }
 94 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:92:95: error: cannot convert value of type 'Locale' to expected argument type 'String'
 90 |         // Information storage
 91 |         if dimensionType == UnitInformationStorage.self {
 92 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitInformationStorage(forLocale: locale) }
    |                                                                                               `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 93 |         }
 94 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:99:76: error: cannot find type 'MeasurementFormatUnitUsage' in scope
 97 |             if #available(iOS 16.0, macOS 13.0, *) {
 98 |                 if usage != nil {
 99 |                     return UnitLength(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitLength>)
    |                                                                            `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
100 |                 }
101 |                 return UnitLength(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:99:38: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
 97 |             if #available(iOS 16.0, macOS 13.0, *) {
 98 |                 if usage != nil {
 99 |                     return UnitLength(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitLength>)
    |                                      `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
100 |                 }
101 |                 return UnitLength(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:99:50: error: cannot convert value of type 'Locale' to expected argument type 'String'
 97 |             if #available(iOS 16.0, macOS 13.0, *) {
 98 |                 if usage != nil {
 99 |                     return UnitLength(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitLength>)
    |                                                  `- error: cannot convert value of type 'Locale' to expected argument type 'String'
100 |                 }
101 |                 return UnitLength(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:101:34: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 99 |                     return UnitLength(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitLength>)
100 |                 }
101 |                 return UnitLength(forLocale: locale)
    |                                  `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
102 |             }
103 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:101:46: error: cannot convert value of type 'Locale' to expected argument type 'String'
 99 |                     return UnitLength(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitLength>)
100 |                 }
101 |                 return UnitLength(forLocale: locale)
    |                                              `- error: cannot convert value of type 'Locale' to expected argument type 'String'
102 |             }
103 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:109:74: error: cannot find type 'MeasurementFormatUnitUsage' in scope
107 |             if #available(iOS 16.0, macOS 13.0, *) {
108 |                 if usage != nil {
109 |                     return UnitMass(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitMass>)
    |                                                                          `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
110 |                 }
111 |                 return UnitMass(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:109:36: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
107 |             if #available(iOS 16.0, macOS 13.0, *) {
108 |                 if usage != nil {
109 |                     return UnitMass(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitMass>)
    |                                    `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
110 |                 }
111 |                 return UnitMass(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:109:48: error: cannot convert value of type 'Locale' to expected argument type 'String'
107 |             if #available(iOS 16.0, macOS 13.0, *) {
108 |                 if usage != nil {
109 |                     return UnitMass(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitMass>)
    |                                                `- error: cannot convert value of type 'Locale' to expected argument type 'String'
110 |                 }
111 |                 return UnitMass(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:111:32: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
109 |                     return UnitMass(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitMass>)
110 |                 }
111 |                 return UnitMass(forLocale: locale)
    |                                `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
112 |             }
113 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:111:44: error: cannot convert value of type 'Locale' to expected argument type 'String'
109 |                     return UnitMass(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitMass>)
110 |                 }
111 |                 return UnitMass(forLocale: locale)
    |                                            `- error: cannot convert value of type 'Locale' to expected argument type 'String'
112 |             }
113 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:117:70: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
115 |         // Power
116 |         if dimensionType == UnitPower.self {
117 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitPower(forLocale: locale) }
    |                                                                      `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
118 |         }
119 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:117:82: error: cannot convert value of type 'Locale' to expected argument type 'String'
115 |         // Power
116 |         if dimensionType == UnitPower.self {
117 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitPower(forLocale: locale) }
    |                                                                                  `- error: cannot convert value of type 'Locale' to expected argument type 'String'
118 |         }
119 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:125:82: error: cannot find type 'MeasurementFormatUnitUsage' in scope
123 |                 if usage != nil {
124 |                     if #available(macOS 14, *) {
125 |                         return UnitPressure(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitPressure>)
    |                                                                                  `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
126 |                     }
127 |                 }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:125:44: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
123 |                 if usage != nil {
124 |                     if #available(macOS 14, *) {
125 |                         return UnitPressure(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitPressure>)
    |                                            `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
126 |                     }
127 |                 }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:125:56: error: cannot convert value of type 'Locale' to expected argument type 'String'
123 |                 if usage != nil {
124 |                     if #available(macOS 14, *) {
125 |                         return UnitPressure(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitPressure>)
    |                                                        `- error: cannot convert value of type 'Locale' to expected argument type 'String'
126 |                     }
127 |                 }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:128:36: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
126 |                     }
127 |                 }
128 |                 return UnitPressure(forLocale: locale)
    |                                    `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
129 |             }
130 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:128:48: error: cannot convert value of type 'Locale' to expected argument type 'String'
126 |                     }
127 |                 }
128 |                 return UnitPressure(forLocale: locale)
    |                                                `- error: cannot convert value of type 'Locale' to expected argument type 'String'
129 |             }
130 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:137:79: error: cannot find type 'MeasurementFormatUnitUsage' in scope
135 |                 if usage != nil {
136 |                     if #available(macOS 14, *) {
137 |                         return UnitSpeed(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitSpeed>)
    |                                                                               `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
138 |                     }
139 |                 }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:137:41: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
135 |                 if usage != nil {
136 |                     if #available(macOS 14, *) {
137 |                         return UnitSpeed(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitSpeed>)
    |                                         `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
138 |                     }
139 |                 }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:137:53: error: cannot convert value of type 'Locale' to expected argument type 'String'
135 |                 if usage != nil {
136 |                     if #available(macOS 14, *) {
137 |                         return UnitSpeed(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitSpeed>)
    |                                                     `- error: cannot convert value of type 'Locale' to expected argument type 'String'
138 |                     }
139 |                 }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:140:33: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
138 |                     }
139 |                 }
140 |                 return UnitSpeed(forLocale: locale)
    |                                 `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
141 |             }
142 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:140:45: error: cannot convert value of type 'Locale' to expected argument type 'String'
138 |                     }
139 |                 }
140 |                 return UnitSpeed(forLocale: locale)
    |                                             `- error: cannot convert value of type 'Locale' to expected argument type 'String'
141 |             }
142 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:148:81: error: cannot find type 'MeasurementFormatUnitUsage' in scope
146 |             if #available(iOS 16.0, macOS 13.0, *) {
147 |                 if usage != nil {
148 |                     return UnitTemperature(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitTemperature>)
    |                                                                                 `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
149 |                 }
150 |                 return UnitTemperature(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:148:43: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
146 |             if #available(iOS 16.0, macOS 13.0, *) {
147 |                 if usage != nil {
148 |                     return UnitTemperature(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitTemperature>)
    |                                           `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
149 |                 }
150 |                 return UnitTemperature(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:148:55: error: cannot convert value of type 'Locale' to expected argument type 'String'
146 |             if #available(iOS 16.0, macOS 13.0, *) {
147 |                 if usage != nil {
148 |                     return UnitTemperature(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitTemperature>)
    |                                                       `- error: cannot convert value of type 'Locale' to expected argument type 'String'
149 |                 }
150 |                 return UnitTemperature(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:150:39: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
148 |                     return UnitTemperature(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitTemperature>)
149 |                 }
150 |                 return UnitTemperature(forLocale: locale)
    |                                       `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
151 |             }
152 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:150:51: error: cannot convert value of type 'Locale' to expected argument type 'String'
148 |                     return UnitTemperature(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitTemperature>)
149 |                 }
150 |                 return UnitTemperature(forLocale: locale)
    |                                                   `- error: cannot convert value of type 'Locale' to expected argument type 'String'
151 |             }
152 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:158:76: error: cannot find type 'MeasurementFormatUnitUsage' in scope
156 |             if #available(iOS 16.0, macOS 13.0, *) {
157 |                 if usage != nil {
158 |                     return UnitVolume(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitVolume>)
    |                                                                            `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
159 |                 }
160 |                 return UnitVolume(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:158:38: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
156 |             if #available(iOS 16.0, macOS 13.0, *) {
157 |                 if usage != nil {
158 |                     return UnitVolume(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitVolume>)
    |                                      `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
159 |                 }
160 |                 return UnitVolume(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:158:50: error: cannot convert value of type 'Locale' to expected argument type 'String'
156 |             if #available(iOS 16.0, macOS 13.0, *) {
157 |                 if usage != nil {
158 |                     return UnitVolume(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitVolume>)
    |                                                  `- error: cannot convert value of type 'Locale' to expected argument type 'String'
159 |                 }
160 |                 return UnitVolume(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:160:34: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
158 |                     return UnitVolume(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitVolume>)
159 |                 }
160 |                 return UnitVolume(forLocale: locale)
    |                                  `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
161 |             }
162 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:160:46: error: cannot convert value of type 'Locale' to expected argument type 'String'
158 |                     return UnitVolume(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitVolume>)
159 |                 }
160 |                 return UnitVolume(forLocale: locale)
    |                                              `- error: cannot convert value of type 'Locale' to expected argument type 'String'
161 |             }
162 |         }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module LocaleUnitSwift
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:13:109: error: cannot find type 'MeasurementFormatUnitUsage' in scope
 11 |     /// Return the locale-preferred Unit for the given Dimension subclass type.
 12 |     /// If the platform doesn't offer `init(forLocale:)`, returns a sensible default unit.
 13 |     private func getUnit<U: Dimension>(for dimensionType: Dimension.Type, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> Unit {
    |                                                                                                             `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
 14 |
 15 |         // Acceleration
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:174:97: error: cannot find type 'MeasurementFormatUnitUsage' in scope
172 |     /// Returns the user-specific Unit, if locale is not specified
173 |     /// Usage might not be available for every predefined Unit, check the Apple documentation for MeasurementFormatUnitUsage
174 |     public func unit<U: Dimension>(for dimensionType: U.Type, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> Unit {
    |                                                                                                 `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
175 |         if usage != nil {
176 |             return getUnit(for: dimensionType, locale: locale, usage: usage!)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:183:99: error: cannot find type 'MeasurementFormatUnitUsage' in scope
181 |     /// Returns the user-specific Unit symbol as String, if locale is not specified
182 |     /// Usage might not be available for every predefined Unit, check the Apple documentation for MeasurementFormatUnitUsage
183 |     public func symbol<U: Dimension>(for dimensionType: U.Type, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> String {
    |                                                                                                   `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
184 |         if usage != nil {
185 |             return getUnit(for: U.self as Dimension.Type, locale: locale, usage: usage!).symbol
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:193:119: error: cannot find type 'MeasurementFormatUnitUsage' in scope
191 |     /// If the conversion can't be determined, returns the original measurement.
192 |     /// Usage might not be available for every predefined Unit, check the Apple documentation for MeasurementFormatUnitUsage
193 |     public func convertedToLocaleValue<U: Dimension>(_ measurement: Measurement<U>, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> Measurement<U> {
    |                                                                                                                       `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
194 |         let targetUnit = usage == nil ? getUnit(for: U.self as Dimension.Type, locale: locale) : getUnit(for: U.self as Dimension.Type, locale: locale, usage: usage!)
195 |         if let typed = targetUnit as? U {
[3/3] Compiling LocaleUnitSwift LocaleUnitSwift.swift
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:13:109: error: cannot find type 'MeasurementFormatUnitUsage' in scope
 11 |     /// Return the locale-preferred Unit for the given Dimension subclass type.
 12 |     /// If the platform doesn't offer `init(forLocale:)`, returns a sensible default unit.
 13 |     private func getUnit<U: Dimension>(for dimensionType: Dimension.Type, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> Unit {
    |                                                                                                             `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
 14 |
 15 |         // Acceleration
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:174:97: error: cannot find type 'MeasurementFormatUnitUsage' in scope
172 |     /// Returns the user-specific Unit, if locale is not specified
173 |     /// Usage might not be available for every predefined Unit, check the Apple documentation for MeasurementFormatUnitUsage
174 |     public func unit<U: Dimension>(for dimensionType: U.Type, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> Unit {
    |                                                                                                 `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
175 |         if usage != nil {
176 |             return getUnit(for: dimensionType, locale: locale, usage: usage!)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:183:99: error: cannot find type 'MeasurementFormatUnitUsage' in scope
181 |     /// Returns the user-specific Unit symbol as String, if locale is not specified
182 |     /// Usage might not be available for every predefined Unit, check the Apple documentation for MeasurementFormatUnitUsage
183 |     public func symbol<U: Dimension>(for dimensionType: U.Type, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> String {
    |                                                                                                   `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
184 |         if usage != nil {
185 |             return getUnit(for: U.self as Dimension.Type, locale: locale, usage: usage!).symbol
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:193:119: error: cannot find type 'MeasurementFormatUnitUsage' in scope
191 |     /// If the conversion can't be determined, returns the original measurement.
192 |     /// Usage might not be available for every predefined Unit, check the Apple documentation for MeasurementFormatUnitUsage
193 |     public func convertedToLocaleValue<U: Dimension>(_ measurement: Measurement<U>, locale: Locale = .current, usage: MeasurementFormatUnitUsage<U>? = nil) -> Measurement<U> {
    |                                                                                                                       `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
194 |         let targetUnit = usage == nil ? getUnit(for: U.self as Dimension.Type, locale: locale) : getUnit(for: U.self as Dimension.Type, locale: locale, usage: usage!)
195 |         if let typed = targetUnit as? U {
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:17:77: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 15 |         // Acceleration
 16 |         if dimensionType == UnitAcceleration.self {
 17 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitAcceleration(forLocale: locale) }
    |                                                                             `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 18 |         }
 19 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:17:89: error: cannot convert value of type 'Locale' to expected argument type 'String'
 15 |         // Acceleration
 16 |         if dimensionType == UnitAcceleration.self {
 17 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitAcceleration(forLocale: locale) }
    |                                                                                         `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 18 |         }
 19 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:22:70: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 20 |         // Angle
 21 |         if dimensionType == UnitAngle.self {
 22 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitAngle(forLocale: locale) }
    |                                                                      `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 23 |         }
 24 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:22:82: error: cannot convert value of type 'Locale' to expected argument type 'String'
 20 |         // Angle
 21 |         if dimensionType == UnitAngle.self {
 22 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitAngle(forLocale: locale) }
    |                                                                                  `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 23 |         }
 24 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:27:69: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 25 |         // Area
 26 |         if dimensionType == UnitArea.self {
 27 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitArea(forLocale: locale) }
    |                                                                     `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 28 |         }
 29 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:27:81: error: cannot convert value of type 'Locale' to expected argument type 'String'
 25 |         // Area
 26 |         if dimensionType == UnitArea.self {
 27 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitArea(forLocale: locale) }
    |                                                                                 `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 28 |         }
 29 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:32:82: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 30 |         // Concentration (mass)
 31 |         if dimensionType == UnitConcentrationMass.self {
 32 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitConcentrationMass(forLocale: locale) }
    |                                                                                  `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 33 |         }
 34 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:32:94: error: cannot convert value of type 'Locale' to expected argument type 'String'
 30 |         // Concentration (mass)
 31 |         if dimensionType == UnitConcentrationMass.self {
 32 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitConcentrationMass(forLocale: locale) }
    |                                                                                              `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 33 |         }
 34 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:37:75: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 35 |         // Dispersion (ppm, etc.)
 36 |         if dimensionType == UnitDispersion.self {
 37 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitDispersion(forLocale: locale) }
    |                                                                           `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 38 |         }
 39 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:37:87: error: cannot convert value of type 'Locale' to expected argument type 'String'
 35 |         // Dispersion (ppm, etc.)
 36 |         if dimensionType == UnitDispersion.self {
 37 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitDispersion(forLocale: locale) }
    |                                                                                       `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 38 |         }
 39 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:42:73: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 40 |         // Duration (time)
 41 |         if dimensionType == UnitDuration.self {
 42 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitDuration(forLocale: locale) }
    |                                                                         `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 43 |         }
 44 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:42:85: error: cannot convert value of type 'Locale' to expected argument type 'String'
 40 |         // Duration (time)
 41 |         if dimensionType == UnitDuration.self {
 42 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitDuration(forLocale: locale) }
    |                                                                                     `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 43 |         }
 44 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:47:79: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 45 |         // Electric charge
 46 |         if dimensionType == UnitElectricCharge.self {
 47 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricCharge(forLocale: locale) }
    |                                                                               `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 48 |         }
 49 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:47:91: error: cannot convert value of type 'Locale' to expected argument type 'String'
 45 |         // Electric charge
 46 |         if dimensionType == UnitElectricCharge.self {
 47 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricCharge(forLocale: locale) }
    |                                                                                           `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 48 |         }
 49 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:52:80: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 50 |         // Electric current
 51 |         if dimensionType == UnitElectricCurrent.self {
 52 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricCurrent(forLocale: locale) }
    |                                                                                `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 53 |         }
 54 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:52:92: error: cannot convert value of type 'Locale' to expected argument type 'String'
 50 |         // Electric current
 51 |         if dimensionType == UnitElectricCurrent.self {
 52 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricCurrent(forLocale: locale) }
    |                                                                                            `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 53 |         }
 54 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:57:92: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 55 |         // Electric potential difference (voltage)
 56 |         if dimensionType == UnitElectricPotentialDifference.self {
 57 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricPotentialDifference(forLocale: locale) }
    |                                                                                            `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 58 |         }
 59 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:57:104: error: cannot convert value of type 'Locale' to expected argument type 'String'
 55 |         // Electric potential difference (voltage)
 56 |         if dimensionType == UnitElectricPotentialDifference.self {
 57 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricPotentialDifference(forLocale: locale) }
    |                                                                                                        `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 58 |         }
 59 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:62:83: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 60 |         // Electric resistance
 61 |         if dimensionType == UnitElectricResistance.self {
 62 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricResistance(forLocale: locale) }
    |                                                                                   `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 63 |         }
 64 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:62:95: error: cannot convert value of type 'Locale' to expected argument type 'String'
 60 |         // Electric resistance
 61 |         if dimensionType == UnitElectricResistance.self {
 62 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitElectricResistance(forLocale: locale) }
    |                                                                                               `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 63 |         }
 64 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:69:76: error: cannot find type 'MeasurementFormatUnitUsage' in scope
 67 |             if #available(iOS 16.0, macOS 13.0, *) {
 68 |                 if usage != nil {
 69 |                     return UnitEnergy(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitEnergy>)
    |                                                                            `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
 70 |                 }
 71 |                 return UnitEnergy(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:69:38: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
 67 |             if #available(iOS 16.0, macOS 13.0, *) {
 68 |                 if usage != nil {
 69 |                     return UnitEnergy(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitEnergy>)
    |                                      `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
 70 |                 }
 71 |                 return UnitEnergy(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:69:50: error: cannot convert value of type 'Locale' to expected argument type 'String'
 67 |             if #available(iOS 16.0, macOS 13.0, *) {
 68 |                 if usage != nil {
 69 |                     return UnitEnergy(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitEnergy>)
    |                                                  `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 70 |                 }
 71 |                 return UnitEnergy(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:71:34: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 69 |                     return UnitEnergy(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitEnergy>)
 70 |                 }
 71 |                 return UnitEnergy(forLocale: locale)
    |                                  `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 72 |             }
 73 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:71:46: error: cannot convert value of type 'Locale' to expected argument type 'String'
 69 |                     return UnitEnergy(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitEnergy>)
 70 |                 }
 71 |                 return UnitEnergy(forLocale: locale)
    |                                              `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 72 |             }
 73 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:77:74: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 75 |         // Frequency
 76 |         if dimensionType == UnitFrequency.self {
 77 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitFrequency(forLocale: locale) }
    |                                                                          `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 78 |         }
 79 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:77:86: error: cannot convert value of type 'Locale' to expected argument type 'String'
 75 |         // Frequency
 76 |         if dimensionType == UnitFrequency.self {
 77 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitFrequency(forLocale: locale) }
    |                                                                                      `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 78 |         }
 79 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:82:79: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 80 |         // Fuel efficiency
 81 |         if dimensionType == UnitFuelEfficiency.self {
 82 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitFuelEfficiency(forLocale: locale) }
    |                                                                               `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:82:91: error: cannot convert value of type 'Locale' to expected argument type 'String'
 80 |         // Fuel efficiency
 81 |         if dimensionType == UnitFuelEfficiency.self {
 82 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitFuelEfficiency(forLocale: locale) }
    |                                                                                           `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 83 |         }
 84 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:87:76: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 85 |         // Illuminance
 86 |         if dimensionType == UnitIlluminance.self {
 87 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitIlluminance(forLocale: locale) }
    |                                                                            `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 88 |         }
 89 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:87:88: error: cannot convert value of type 'Locale' to expected argument type 'String'
 85 |         // Illuminance
 86 |         if dimensionType == UnitIlluminance.self {
 87 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitIlluminance(forLocale: locale) }
    |                                                                                        `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 88 |         }
 89 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:92:83: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 90 |         // Information storage
 91 |         if dimensionType == UnitInformationStorage.self {
 92 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitInformationStorage(forLocale: locale) }
    |                                                                                   `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 93 |         }
 94 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:92:95: error: cannot convert value of type 'Locale' to expected argument type 'String'
 90 |         // Information storage
 91 |         if dimensionType == UnitInformationStorage.self {
 92 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitInformationStorage(forLocale: locale) }
    |                                                                                               `- error: cannot convert value of type 'Locale' to expected argument type 'String'
 93 |         }
 94 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:99:76: error: cannot find type 'MeasurementFormatUnitUsage' in scope
 97 |             if #available(iOS 16.0, macOS 13.0, *) {
 98 |                 if usage != nil {
 99 |                     return UnitLength(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitLength>)
    |                                                                            `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
100 |                 }
101 |                 return UnitLength(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:99:38: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
 97 |             if #available(iOS 16.0, macOS 13.0, *) {
 98 |                 if usage != nil {
 99 |                     return UnitLength(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitLength>)
    |                                      `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
100 |                 }
101 |                 return UnitLength(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:99:50: error: cannot convert value of type 'Locale' to expected argument type 'String'
 97 |             if #available(iOS 16.0, macOS 13.0, *) {
 98 |                 if usage != nil {
 99 |                     return UnitLength(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitLength>)
    |                                                  `- error: cannot convert value of type 'Locale' to expected argument type 'String'
100 |                 }
101 |                 return UnitLength(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:101:34: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
 99 |                     return UnitLength(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitLength>)
100 |                 }
101 |                 return UnitLength(forLocale: locale)
    |                                  `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
102 |             }
103 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:101:46: error: cannot convert value of type 'Locale' to expected argument type 'String'
 99 |                     return UnitLength(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitLength>)
100 |                 }
101 |                 return UnitLength(forLocale: locale)
    |                                              `- error: cannot convert value of type 'Locale' to expected argument type 'String'
102 |             }
103 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:109:74: error: cannot find type 'MeasurementFormatUnitUsage' in scope
107 |             if #available(iOS 16.0, macOS 13.0, *) {
108 |                 if usage != nil {
109 |                     return UnitMass(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitMass>)
    |                                                                          `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
110 |                 }
111 |                 return UnitMass(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:109:36: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
107 |             if #available(iOS 16.0, macOS 13.0, *) {
108 |                 if usage != nil {
109 |                     return UnitMass(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitMass>)
    |                                    `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
110 |                 }
111 |                 return UnitMass(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:109:48: error: cannot convert value of type 'Locale' to expected argument type 'String'
107 |             if #available(iOS 16.0, macOS 13.0, *) {
108 |                 if usage != nil {
109 |                     return UnitMass(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitMass>)
    |                                                `- error: cannot convert value of type 'Locale' to expected argument type 'String'
110 |                 }
111 |                 return UnitMass(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:111:32: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
109 |                     return UnitMass(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitMass>)
110 |                 }
111 |                 return UnitMass(forLocale: locale)
    |                                `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
112 |             }
113 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:111:44: error: cannot convert value of type 'Locale' to expected argument type 'String'
109 |                     return UnitMass(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitMass>)
110 |                 }
111 |                 return UnitMass(forLocale: locale)
    |                                            `- error: cannot convert value of type 'Locale' to expected argument type 'String'
112 |             }
113 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:117:70: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
115 |         // Power
116 |         if dimensionType == UnitPower.self {
117 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitPower(forLocale: locale) }
    |                                                                      `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
118 |         }
119 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:117:82: error: cannot convert value of type 'Locale' to expected argument type 'String'
115 |         // Power
116 |         if dimensionType == UnitPower.self {
117 |             if #available(iOS 16.0, macOS 13.0, *) { return UnitPower(forLocale: locale) }
    |                                                                                  `- error: cannot convert value of type 'Locale' to expected argument type 'String'
118 |         }
119 |
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:125:82: error: cannot find type 'MeasurementFormatUnitUsage' in scope
123 |                 if usage != nil {
124 |                     if #available(macOS 14, *) {
125 |                         return UnitPressure(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitPressure>)
    |                                                                                  `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
126 |                     }
127 |                 }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:125:44: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
123 |                 if usage != nil {
124 |                     if #available(macOS 14, *) {
125 |                         return UnitPressure(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitPressure>)
    |                                            `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
126 |                     }
127 |                 }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:125:56: error: cannot convert value of type 'Locale' to expected argument type 'String'
123 |                 if usage != nil {
124 |                     if #available(macOS 14, *) {
125 |                         return UnitPressure(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitPressure>)
    |                                                        `- error: cannot convert value of type 'Locale' to expected argument type 'String'
126 |                     }
127 |                 }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:128:36: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
126 |                     }
127 |                 }
128 |                 return UnitPressure(forLocale: locale)
    |                                    `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
129 |             }
130 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:128:48: error: cannot convert value of type 'Locale' to expected argument type 'String'
126 |                     }
127 |                 }
128 |                 return UnitPressure(forLocale: locale)
    |                                                `- error: cannot convert value of type 'Locale' to expected argument type 'String'
129 |             }
130 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:137:79: error: cannot find type 'MeasurementFormatUnitUsage' in scope
135 |                 if usage != nil {
136 |                     if #available(macOS 14, *) {
137 |                         return UnitSpeed(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitSpeed>)
    |                                                                               `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
138 |                     }
139 |                 }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:137:41: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
135 |                 if usage != nil {
136 |                     if #available(macOS 14, *) {
137 |                         return UnitSpeed(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitSpeed>)
    |                                         `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
138 |                     }
139 |                 }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:137:53: error: cannot convert value of type 'Locale' to expected argument type 'String'
135 |                 if usage != nil {
136 |                     if #available(macOS 14, *) {
137 |                         return UnitSpeed(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitSpeed>)
    |                                                     `- error: cannot convert value of type 'Locale' to expected argument type 'String'
138 |                     }
139 |                 }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:140:33: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
138 |                     }
139 |                 }
140 |                 return UnitSpeed(forLocale: locale)
    |                                 `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
141 |             }
142 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:140:45: error: cannot convert value of type 'Locale' to expected argument type 'String'
138 |                     }
139 |                 }
140 |                 return UnitSpeed(forLocale: locale)
    |                                             `- error: cannot convert value of type 'Locale' to expected argument type 'String'
141 |             }
142 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:148:81: error: cannot find type 'MeasurementFormatUnitUsage' in scope
146 |             if #available(iOS 16.0, macOS 13.0, *) {
147 |                 if usage != nil {
148 |                     return UnitTemperature(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitTemperature>)
    |                                                                                 `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
149 |                 }
150 |                 return UnitTemperature(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:148:43: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
146 |             if #available(iOS 16.0, macOS 13.0, *) {
147 |                 if usage != nil {
148 |                     return UnitTemperature(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitTemperature>)
    |                                           `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
149 |                 }
150 |                 return UnitTemperature(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:148:55: error: cannot convert value of type 'Locale' to expected argument type 'String'
146 |             if #available(iOS 16.0, macOS 13.0, *) {
147 |                 if usage != nil {
148 |                     return UnitTemperature(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitTemperature>)
    |                                                       `- error: cannot convert value of type 'Locale' to expected argument type 'String'
149 |                 }
150 |                 return UnitTemperature(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:150:39: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
148 |                     return UnitTemperature(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitTemperature>)
149 |                 }
150 |                 return UnitTemperature(forLocale: locale)
    |                                       `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
151 |             }
152 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:150:51: error: cannot convert value of type 'Locale' to expected argument type 'String'
148 |                     return UnitTemperature(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitTemperature>)
149 |                 }
150 |                 return UnitTemperature(forLocale: locale)
    |                                                   `- error: cannot convert value of type 'Locale' to expected argument type 'String'
151 |             }
152 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:158:76: error: cannot find type 'MeasurementFormatUnitUsage' in scope
156 |             if #available(iOS 16.0, macOS 13.0, *) {
157 |                 if usage != nil {
158 |                     return UnitVolume(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitVolume>)
    |                                                                            `- error: cannot find type 'MeasurementFormatUnitUsage' in scope
159 |                 }
160 |                 return UnitVolume(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:158:38: error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
156 |             if #available(iOS 16.0, macOS 13.0, *) {
157 |                 if usage != nil {
158 |                     return UnitVolume(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitVolume>)
    |                                      `- error: incorrect argument labels in call (have 'forLocale:usage:', expected 'symbol:converter:')
159 |                 }
160 |                 return UnitVolume(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:158:50: error: cannot convert value of type 'Locale' to expected argument type 'String'
156 |             if #available(iOS 16.0, macOS 13.0, *) {
157 |                 if usage != nil {
158 |                     return UnitVolume(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitVolume>)
    |                                                  `- error: cannot convert value of type 'Locale' to expected argument type 'String'
159 |                 }
160 |                 return UnitVolume(forLocale: locale)
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:160:34: error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
158 |                     return UnitVolume(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitVolume>)
159 |                 }
160 |                 return UnitVolume(forLocale: locale)
    |                                  `- error: incorrect argument label in call (have 'forLocale:', expected 'symbol:')
161 |             }
162 |         }
/host/spi-builder-workspace/Sources/LocaleUnitSwift/LocaleUnitSwift.swift:160:46: error: cannot convert value of type 'Locale' to expected argument type 'String'
158 |                     return UnitVolume(forLocale: locale, usage: usage! as! MeasurementFormatUnitUsage<UnitVolume>)
159 |                 }
160 |                 return UnitVolume(forLocale: locale)
    |                                              `- error: cannot convert value of type 'Locale' to expected argument type 'String'
161 |             }
162 |         }
BUILD FAILURE 6.1 android