Build Information
Failed to build AnyMeasure, reference main (359f83), with Swift 6.2 for Linux on 20 Jun 2025 11:05:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wildthink/anymeasure.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/wildthink/anymeasure
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 359f83f wip - switch to use BaseTable
Cloned https://github.com/wildthink/anymeasure.git
Revision (git rev-parse @):
359f83fc3901b355d5bc62c6faea5099374ea471
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wildthink/anymeasure.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/wildthink/anymeasure.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-numerics
[1/2082] Fetching swift-docc-plugin
[231/7839] Fetching swift-docc-plugin, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.58s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.58s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 0.1.0 (3.58s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.17s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/8] Write sources
[6/8] Compiling _NumericsShims _NumericsShims.c
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/18] Compiling RealModule Real.swift
[10/19] Compiling RealModule RealFunctions.swift
[11/19] Compiling RealModule Float80+Real.swift
[12/19] Compiling RealModule AlgebraicField.swift
[13/19] Compiling RealModule ApproximateEquality.swift
[14/19] Emitting module RealModule
[15/19] Compiling RealModule AugmentedArithmetic.swift
[16/19] Compiling RealModule Double+Real.swift
[17/19] Compiling RealModule Float+Real.swift
[18/19] Compiling RealModule ElementaryFunctions.swift
[19/19] Compiling RealModule Float16+Real.swift
[21/25] Emitting module ComplexModule
[22/25] Compiling ComplexModule ElementaryFunctions.swift
[23/25] Compiling ComplexModule Arithmetic.swift
[24/25] Compiling ComplexModule Complex.swift
[25/25] Compiling ComplexModule Differentiable.swift
[27/28] Compiling Numerics Numerics.swift
[28/28] Emitting module Numerics
[30/40] Compiling AnyMeasure Ratio.swift
[31/41] Compiling AnyMeasure Quantity.swift
[32/41] Compiling AnyMeasure IntervalMath.swift
[33/41] Compiling AnyMeasure Metric.swift
/host/spi-builder-workspace/Sources/AnyMeasure/Metric.swift:36:1: error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Unit'
34 | fatalError("init(coder:) has not been implemented")
35 | }
36 |
| `- error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Unit'
37 | public func randomValue(using gen: inout RandomNumberGenerator) -> NSMeasurement {
38 | let r = _range.randomValue(using: &gen)
Foundation.Unit.init:2:17: note: 'required' initializer is declared in superclass here
1 | class Unit {
2 | required public init(symbol: String)}
| `- note: 'required' initializer is declared in superclass here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Metric.swift:53:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
51 | public func unitString(
52 | style: Formatter.UnitStyle = .short,
53 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
54 | ) -> String {
55 | switch style {
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/Metric.swift:70:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
68 | _ value: NSMeasurement,
69 | style: Formatter.UnitStyle = .short,
70 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
71 | ) -> String {
72 | let ms = units.format(value)
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/Metric.swift:67:26: error: instance method 'format(_:style:unit:)' is declared in extension of 'Unit' and cannot be overridden
65 | }
66 |
67 | public override func format(
| `- error: instance method 'format(_:style:unit:)' is declared in extension of 'Unit' and cannot be overridden
68 | _ value: NSMeasurement,
69 | style: Formatter.UnitStyle = .short,
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:107:16: note: overridden declaration is here
105 | public extension Unit {
106 |
107 | @objc func format(
| `- note: overridden declaration is here
108 | _ value: NSMeasurement,
109 | style: Formatter.UnitStyle = .short,
/host/spi-builder-workspace/Sources/AnyMeasure/Metric.swift:10:14: warning: class 'Metric' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | public class Metric: Unit, UnitPresentation {
| `- warning: class 'Metric' must restate inherited '@unchecked Sendable' conformance
11 | public var label: String { subject.name }
12 | public var range: ClosedRange<Double> { _range.range }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/41] Compiling AnyMeasure AnyMeasure.swift
[35/41] Compiling AnyMeasure Core.swift
[36/41] Emitting module AnyMeasure
/host/spi-builder-workspace/Sources/AnyMeasure/Currency.swift:51:12: warning: class 'CurrencyConverter' must restate inherited '@unchecked Sendable' conformance
49 | business interruption, or loss of business opportunity.
50 | */
51 | open class CurrencyConverter: UnitConverterLinear {
| `- warning: class 'CurrencyConverter' must restate inherited '@unchecked Sendable' conformance
52 |
53 | // BIG List Below
/host/spi-builder-workspace/Sources/AnyMeasure/Currency.swift:118:1: error: 'required' initializer 'init(symbol:converter:)' must be provided by subclass of 'Dimension'
116 | super.init(symbol: sym, converter: CurrencyConverter(sym))
117 | }
118 |
| `- error: 'required' initializer 'init(symbol:converter:)' must be provided by subclass of 'Dimension'
119 | public override class func baseUnit() -> UnitCurrency {
120 | return UnitCurrency.USD
Foundation.Dimension.init:2:17: note: 'required' initializer is declared in superclass here
1 | class Dimension {
2 | required public init(symbol: String, converter: UnitConverter)}
| `- note: 'required' initializer is declared in superclass here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Currency.swift:93:12: error: 'required' modifier must be present on all overrides of a required initializer
91 | var country_code: String?
92 |
93 | public init (symbol: String) {
| `- error: 'required' modifier must be present on all overrides of a required initializer
94 | super.init(symbol: symbol, converter: UnitCurrency.instantiateConverter(symbol))
95 | }
Foundation.Dimension.init:2:17: note: overridden required initializer is here
1 | class Dimension {
2 | required public init(symbol: String)}
| `- note: overridden required initializer is here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Currency.swift:86:20: warning: class 'UnitCurrency' must restate inherited '@unchecked Sendable' conformance
84 | }
85 |
86 | public final class UnitCurrency: Dimension, Codable {
| `- warning: class 'UnitCurrency' must restate inherited '@unchecked Sendable' conformance
87 |
88 | public static var instantiateConverter: (String) -> CurrencyConverter
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:30:20: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
28 | var commonUnit: Unit
29 |
30 | var formatter: MeasurementFormatter
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
31 | }
32 |
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:50:1: error: 'required' initializer 'init(symbol:converter:)' must be provided by subclass of 'Dimension'
48 | fatalError("init(coder:) has not been implemented")
49 | }
50 | }
| `- error: 'required' initializer 'init(symbol:converter:)' must be provided by subclass of 'Dimension'
51 |
52 | public extension UsableUnitWrapper where Wrapped: Dimension {
Foundation.Dimension.init:2:17: note: 'required' initializer is declared in superclass here
1 | class Dimension {
2 | required public init(symbol: String, converter: UnitConverter)}
| `- note: 'required' initializer is declared in superclass here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:50:1: error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Dimension'
48 | fatalError("init(coder:) has not been implemented")
49 | }
50 | }
| `- error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Dimension'
51 |
52 | public extension UsableUnitWrapper where Wrapped: Dimension {
Foundation.Dimension.init:2:17: note: 'required' initializer is declared in superclass here
1 | class Dimension {
2 | required public init(symbol: String)}
| `- note: 'required' initializer is declared in superclass here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:34:14: warning: class 'UsableUnitWrapper' must restate inherited '@unchecked Sendable' conformance
32 |
33 | // MARK: UsableUnitWrapper
34 | public class UsableUnitWrapper<Wrapped: Unit>: Dimension, UsableUnit {
| `- warning: class 'UsableUnitWrapper' must restate inherited '@unchecked Sendable' conformance
35 | typealias Wrapped = Wrapped
36 | public var usage: UnitUsage
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:99:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
97 | func formatted(
98 | style: Formatter.UnitStyle = .short,
99 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
100 | ) -> String {
101 | self.unit.format(self, style: style, unit: unit)
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:110:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
108 | _ value: NSMeasurement,
109 | style: Formatter.UnitStyle = .short,
110 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
111 | ) -> String {
112 | let fmt = MeasurementFormatter()
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:107:6: error: Objective-C interoperability is disabled
105 | public extension Unit {
106 |
107 | @objc func format(
| `- error: Objective-C interoperability is disabled
108 | _ value: NSMeasurement,
109 | style: Formatter.UnitStyle = .short,
/host/spi-builder-workspace/Sources/AnyMeasure/Metric.swift:36:1: error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Unit'
34 | fatalError("init(coder:) has not been implemented")
35 | }
36 |
| `- error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Unit'
37 | public func randomValue(using gen: inout RandomNumberGenerator) -> NSMeasurement {
38 | let r = _range.randomValue(using: &gen)
Foundation.Unit.init:2:17: note: 'required' initializer is declared in superclass here
1 | class Unit {
2 | required public init(symbol: String)}
| `- note: 'required' initializer is declared in superclass here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Metric.swift:53:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
51 | public func unitString(
52 | style: Formatter.UnitStyle = .short,
53 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
54 | ) -> String {
55 | switch style {
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/Metric.swift:70:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
68 | _ value: NSMeasurement,
69 | style: Formatter.UnitStyle = .short,
70 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
71 | ) -> String {
72 | let ms = units.format(value)
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/Metric.swift:67:26: error: instance method 'format(_:style:unit:)' is declared in extension of 'Unit' and cannot be overridden
65 | }
66 |
67 | public override func format(
| `- error: instance method 'format(_:style:unit:)' is declared in extension of 'Unit' and cannot be overridden
68 | _ value: NSMeasurement,
69 | style: Formatter.UnitStyle = .short,
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:107:16: note: overridden declaration is here
105 | public extension Unit {
106 |
107 | @objc func format(
| `- note: overridden declaration is here
108 | _ value: NSMeasurement,
109 | style: Formatter.UnitStyle = .short,
/host/spi-builder-workspace/Sources/AnyMeasure/Metric.swift:10:14: warning: class 'Metric' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | public class Metric: Unit, UnitPresentation {
| `- warning: class 'Metric' must restate inherited '@unchecked Sendable' conformance
11 | public var label: String { subject.name }
12 | public var range: ClosedRange<Double> { _range.range }
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:30:1: error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Unit'
28 | fatalError("init(coder:) has not been implemented")
29 | }
30 |
| `- error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Unit'
31 | public func randomValue(using gen: inout RandomNumberGenerator) -> NSMeasurement {
32 | let r = _range.randomValue(using: &gen)
Foundation.Unit.init:2:17: note: 'required' initializer is declared in superclass here
1 | class Unit {
2 | required public init(symbol: String)}
| `- note: 'required' initializer is declared in superclass here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:47:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
45 | public func unitString(
46 | style: Formatter.UnitStyle = .short,
47 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
48 | ) -> String {
49 | switch style {
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:64:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
62 | _ value: NSMeasurement,
63 | style: Formatter.UnitStyle = .short,
64 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
65 | ) -> String {
66 | let fmt = NumberFormatter()
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:61:26: error: instance method 'format(_:style:unit:)' is declared in extension of 'Unit' and cannot be overridden
59 | }
60 |
61 | public override func format(
| `- error: instance method 'format(_:style:unit:)' is declared in extension of 'Unit' and cannot be overridden
62 | _ value: NSMeasurement,
63 | style: Formatter.UnitStyle = .short,
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:107:16: note: overridden declaration is here
105 | public extension Unit {
106 |
107 | @objc func format(
| `- note: overridden declaration is here
108 | _ value: NSMeasurement,
109 | style: Formatter.UnitStyle = .short,
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:13:20: warning: class 'UnitCount' must restate inherited '@unchecked Sendable' conformance
11 |
12 |
13 | public final class UnitCount: Unit, UnitPresentation {
| `- warning: class 'UnitCount' must restate inherited '@unchecked Sendable' conformance
14 | public var label: String { "Count" }
15 | var _range: Interval<Double>
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:83:6: error: Objective-C interoperability is disabled
81 |
82 | extension Unit {
83 | @objc
| `- error: Objective-C interoperability is disabled
84 | public class func count(max: Double = 100) -> UnitCount {
85 | return UnitCount(range: 0...max)
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:90:6: error: Objective-C interoperability is disabled
88 |
89 | extension UnitCount {
90 | @objc
| `- error: Objective-C interoperability is disabled
91 | public override class func count(max: Double = 100) -> UnitCount {
92 | return UnitCount(range: 0...max)
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:91:32: error: class method 'count(max:)' is declared in extension of 'Unit' and cannot be overridden
82 | extension Unit {
83 | @objc
84 | public class func count(max: Double = 100) -> UnitCount {
| `- note: overridden declaration is here
85 | return UnitCount(range: 0...max)
86 | }
:
89 | extension UnitCount {
90 | @objc
91 | public override class func count(max: Double = 100) -> UnitCount {
| `- error: class method 'count(max:)' is declared in extension of 'Unit' and cannot be overridden
92 | return UnitCount(range: 0...max)
93 | }
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:119:20: warning: class 'UnitPercent' must restate inherited '@unchecked Sendable' conformance
117 | // MARK: Percent
118 | /// Percentage Unit
119 | final public class UnitPercent: Unit {
| `- warning: class 'UnitPercent' must restate inherited '@unchecked Sendable' conformance
120 |
121 | private struct Symbol {
[37/41] Compiling AnyMeasure Currency.swift
/host/spi-builder-workspace/Sources/AnyMeasure/Currency.swift:51:12: warning: class 'CurrencyConverter' must restate inherited '@unchecked Sendable' conformance
49 | business interruption, or loss of business opportunity.
50 | */
51 | open class CurrencyConverter: UnitConverterLinear {
| `- warning: class 'CurrencyConverter' must restate inherited '@unchecked Sendable' conformance
52 |
53 | // BIG List Below
/host/spi-builder-workspace/Sources/AnyMeasure/Currency.swift:118:1: error: 'required' initializer 'init(symbol:converter:)' must be provided by subclass of 'Dimension'
116 | super.init(symbol: sym, converter: CurrencyConverter(sym))
117 | }
118 |
| `- error: 'required' initializer 'init(symbol:converter:)' must be provided by subclass of 'Dimension'
119 | public override class func baseUnit() -> UnitCurrency {
120 | return UnitCurrency.USD
Foundation.Dimension.init:2:17: note: 'required' initializer is declared in superclass here
1 | class Dimension {
2 | required public init(symbol: String, converter: UnitConverter)}
| `- note: 'required' initializer is declared in superclass here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Currency.swift:93:12: error: 'required' modifier must be present on all overrides of a required initializer
91 | var country_code: String?
92 |
93 | public init (symbol: String) {
| `- error: 'required' modifier must be present on all overrides of a required initializer
94 | super.init(symbol: symbol, converter: UnitCurrency.instantiateConverter(symbol))
95 | }
Foundation.Dimension.init:2:17: note: overridden required initializer is here
1 | class Dimension {
2 | required public init(symbol: String)}
| `- note: overridden required initializer is here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Currency.swift:86:20: warning: class 'UnitCurrency' must restate inherited '@unchecked Sendable' conformance
84 | }
85 |
86 | public final class UnitCurrency: Dimension, Codable {
| `- warning: class 'UnitCurrency' must restate inherited '@unchecked Sendable' conformance
87 |
88 | public static var instantiateConverter: (String) -> CurrencyConverter
[38/41] Compiling AnyMeasure Duration.swift
/host/spi-builder-workspace/Sources/AnyMeasure/Currency.swift:51:12: warning: class 'CurrencyConverter' must restate inherited '@unchecked Sendable' conformance
49 | business interruption, or loss of business opportunity.
50 | */
51 | open class CurrencyConverter: UnitConverterLinear {
| `- warning: class 'CurrencyConverter' must restate inherited '@unchecked Sendable' conformance
52 |
53 | // BIG List Below
/host/spi-builder-workspace/Sources/AnyMeasure/Currency.swift:118:1: error: 'required' initializer 'init(symbol:converter:)' must be provided by subclass of 'Dimension'
116 | super.init(symbol: sym, converter: CurrencyConverter(sym))
117 | }
118 |
| `- error: 'required' initializer 'init(symbol:converter:)' must be provided by subclass of 'Dimension'
119 | public override class func baseUnit() -> UnitCurrency {
120 | return UnitCurrency.USD
Foundation.Dimension.init:2:17: note: 'required' initializer is declared in superclass here
1 | class Dimension {
2 | required public init(symbol: String, converter: UnitConverter)}
| `- note: 'required' initializer is declared in superclass here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Currency.swift:93:12: error: 'required' modifier must be present on all overrides of a required initializer
91 | var country_code: String?
92 |
93 | public init (symbol: String) {
| `- error: 'required' modifier must be present on all overrides of a required initializer
94 | super.init(symbol: symbol, converter: UnitCurrency.instantiateConverter(symbol))
95 | }
Foundation.Dimension.init:2:17: note: overridden required initializer is here
1 | class Dimension {
2 | required public init(symbol: String)}
| `- note: overridden required initializer is here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Currency.swift:86:20: warning: class 'UnitCurrency' must restate inherited '@unchecked Sendable' conformance
84 | }
85 |
86 | public final class UnitCurrency: Dimension, Codable {
| `- warning: class 'UnitCurrency' must restate inherited '@unchecked Sendable' conformance
87 |
88 | public static var instantiateConverter: (String) -> CurrencyConverter
[39/41] Compiling AnyMeasure Extensions.swift
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:30:20: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
28 | var commonUnit: Unit
29 |
30 | var formatter: MeasurementFormatter
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
31 | }
32 |
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:50:1: error: 'required' initializer 'init(symbol:converter:)' must be provided by subclass of 'Dimension'
48 | fatalError("init(coder:) has not been implemented")
49 | }
50 | }
| `- error: 'required' initializer 'init(symbol:converter:)' must be provided by subclass of 'Dimension'
51 |
52 | public extension UsableUnitWrapper where Wrapped: Dimension {
Foundation.Dimension.init:2:17: note: 'required' initializer is declared in superclass here
1 | class Dimension {
2 | required public init(symbol: String, converter: UnitConverter)}
| `- note: 'required' initializer is declared in superclass here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:50:1: error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Dimension'
48 | fatalError("init(coder:) has not been implemented")
49 | }
50 | }
| `- error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Dimension'
51 |
52 | public extension UsableUnitWrapper where Wrapped: Dimension {
Foundation.Dimension.init:2:17: note: 'required' initializer is declared in superclass here
1 | class Dimension {
2 | required public init(symbol: String)}
| `- note: 'required' initializer is declared in superclass here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:34:14: warning: class 'UsableUnitWrapper' must restate inherited '@unchecked Sendable' conformance
32 |
33 | // MARK: UsableUnitWrapper
34 | public class UsableUnitWrapper<Wrapped: Unit>: Dimension, UsableUnit {
| `- warning: class 'UsableUnitWrapper' must restate inherited '@unchecked Sendable' conformance
35 | typealias Wrapped = Wrapped
36 | public var usage: UnitUsage
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:99:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
97 | func formatted(
98 | style: Formatter.UnitStyle = .short,
99 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
100 | ) -> String {
101 | self.unit.format(self, style: style, unit: unit)
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:110:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
108 | _ value: NSMeasurement,
109 | style: Formatter.UnitStyle = .short,
110 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
111 | ) -> String {
112 | let fmt = MeasurementFormatter()
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:107:6: error: Objective-C interoperability is disabled
105 | public extension Unit {
106 |
107 | @objc func format(
| `- error: Objective-C interoperability is disabled
108 | _ value: NSMeasurement,
109 | style: Formatter.UnitStyle = .short,
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:112:19: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
110 | unit: MeasurementFormatter.UnitOptions = .providedUnit
111 | ) -> String {
112 | let fmt = MeasurementFormatter()
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
113 | fmt.unitStyle = style
114 | fmt.unitOptions = unit
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
[40/41] Compiling AnyMeasure Interval.swift
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:30:20: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
28 | var commonUnit: Unit
29 |
30 | var formatter: MeasurementFormatter
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
31 | }
32 |
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:50:1: error: 'required' initializer 'init(symbol:converter:)' must be provided by subclass of 'Dimension'
48 | fatalError("init(coder:) has not been implemented")
49 | }
50 | }
| `- error: 'required' initializer 'init(symbol:converter:)' must be provided by subclass of 'Dimension'
51 |
52 | public extension UsableUnitWrapper where Wrapped: Dimension {
Foundation.Dimension.init:2:17: note: 'required' initializer is declared in superclass here
1 | class Dimension {
2 | required public init(symbol: String, converter: UnitConverter)}
| `- note: 'required' initializer is declared in superclass here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:50:1: error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Dimension'
48 | fatalError("init(coder:) has not been implemented")
49 | }
50 | }
| `- error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Dimension'
51 |
52 | public extension UsableUnitWrapper where Wrapped: Dimension {
Foundation.Dimension.init:2:17: note: 'required' initializer is declared in superclass here
1 | class Dimension {
2 | required public init(symbol: String)}
| `- note: 'required' initializer is declared in superclass here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:34:14: warning: class 'UsableUnitWrapper' must restate inherited '@unchecked Sendable' conformance
32 |
33 | // MARK: UsableUnitWrapper
34 | public class UsableUnitWrapper<Wrapped: Unit>: Dimension, UsableUnit {
| `- warning: class 'UsableUnitWrapper' must restate inherited '@unchecked Sendable' conformance
35 | typealias Wrapped = Wrapped
36 | public var usage: UnitUsage
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:99:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
97 | func formatted(
98 | style: Formatter.UnitStyle = .short,
99 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
100 | ) -> String {
101 | self.unit.format(self, style: style, unit: unit)
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:110:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
108 | _ value: NSMeasurement,
109 | style: Formatter.UnitStyle = .short,
110 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
111 | ) -> String {
112 | let fmt = MeasurementFormatter()
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:107:6: error: Objective-C interoperability is disabled
105 | public extension Unit {
106 |
107 | @objc func format(
| `- error: Objective-C interoperability is disabled
108 | _ value: NSMeasurement,
109 | style: Formatter.UnitStyle = .short,
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:112:19: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
110 | unit: MeasurementFormatter.UnitOptions = .providedUnit
111 | ) -> String {
112 | let fmt = MeasurementFormatter()
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
113 | fmt.unitStyle = style
114 | fmt.unitOptions = unit
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
[41/41] Compiling AnyMeasure UnitCount.swift
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:30:1: error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Unit'
28 | fatalError("init(coder:) has not been implemented")
29 | }
30 |
| `- error: 'required' initializer 'init(symbol:)' must be provided by subclass of 'Unit'
31 | public func randomValue(using gen: inout RandomNumberGenerator) -> NSMeasurement {
32 | let r = _range.randomValue(using: &gen)
Foundation.Unit.init:2:17: note: 'required' initializer is declared in superclass here
1 | class Unit {
2 | required public init(symbol: String)}
| `- note: 'required' initializer is declared in superclass here
3 |
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:47:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
45 | public func unitString(
46 | style: Formatter.UnitStyle = .short,
47 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
48 | ) -> String {
49 | switch style {
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:64:15: error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
62 | _ value: NSMeasurement,
63 | style: Formatter.UnitStyle = .short,
64 | unit: MeasurementFormatter.UnitOptions = .providedUnit
| `- error: 'MeasurementFormatter' is unavailable: Not supported in swift-corelibs-foundation
65 | ) -> String {
66 | let fmt = NumberFormatter()
Foundation.MeasurementFormatter:2:12: note: 'MeasurementFormatter' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
2 | open class MeasurementFormatter : Formatter, NSSecureCoding {
| `- note: 'MeasurementFormatter' has been explicitly marked unavailable here
3 | public struct UnitOptions : OptionSet, Sendable {
4 | public private(set) var rawValue: UInt { get }
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:61:26: error: instance method 'format(_:style:unit:)' is declared in extension of 'Unit' and cannot be overridden
59 | }
60 |
61 | public override func format(
| `- error: instance method 'format(_:style:unit:)' is declared in extension of 'Unit' and cannot be overridden
62 | _ value: NSMeasurement,
63 | style: Formatter.UnitStyle = .short,
/host/spi-builder-workspace/Sources/AnyMeasure/Extensions.swift:107:16: note: overridden declaration is here
105 | public extension Unit {
106 |
107 | @objc func format(
| `- note: overridden declaration is here
108 | _ value: NSMeasurement,
109 | style: Formatter.UnitStyle = .short,
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:13:20: warning: class 'UnitCount' must restate inherited '@unchecked Sendable' conformance
11 |
12 |
13 | public final class UnitCount: Unit, UnitPresentation {
| `- warning: class 'UnitCount' must restate inherited '@unchecked Sendable' conformance
14 | public var label: String { "Count" }
15 | var _range: Interval<Double>
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:83:6: error: Objective-C interoperability is disabled
81 |
82 | extension Unit {
83 | @objc
| `- error: Objective-C interoperability is disabled
84 | public class func count(max: Double = 100) -> UnitCount {
85 | return UnitCount(range: 0...max)
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:90:6: error: Objective-C interoperability is disabled
88 |
89 | extension UnitCount {
90 | @objc
| `- error: Objective-C interoperability is disabled
91 | public override class func count(max: Double = 100) -> UnitCount {
92 | return UnitCount(range: 0...max)
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:91:32: error: class method 'count(max:)' is declared in extension of 'Unit' and cannot be overridden
82 | extension Unit {
83 | @objc
84 | public class func count(max: Double = 100) -> UnitCount {
| `- note: overridden declaration is here
85 | return UnitCount(range: 0...max)
86 | }
:
89 | extension UnitCount {
90 | @objc
91 | public override class func count(max: Double = 100) -> UnitCount {
| `- error: class method 'count(max:)' is declared in extension of 'Unit' and cannot be overridden
92 | return UnitCount(range: 0...max)
93 | }
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:119:20: warning: class 'UnitPercent' must restate inherited '@unchecked Sendable' conformance
117 | // MARK: Percent
118 | /// Percentage Unit
119 | final public class UnitPercent: Unit {
| `- warning: class 'UnitPercent' must restate inherited '@unchecked Sendable' conformance
120 |
121 | private struct Symbol {
/host/spi-builder-workspace/Sources/AnyMeasure/UnitCount.swift:109:38: error: ambiguous use of 'count(max:)'
82 | extension Unit {
83 | @objc
84 | public class func count(max: Double = 100) -> UnitCount {
| `- note: found this candidate
85 | return UnitCount(range: 0...max)
86 | }
:
89 | extension UnitCount {
90 | @objc
91 | public override class func count(max: Double = 100) -> UnitCount {
| `- note: found this candidate
92 | return UnitCount(range: 0...max)
93 | }
:
107 |
108 | static var zero: Measurement<UnitType> {
109 | Measurement(value: 0, unit: .count())
| `- error: ambiguous use of 'count(max:)'
110 | }
111 |
BUILD FAILURE 6.2 linux