Build Information
Successful build of MiseEnPlace, reference 5.3.0 (24aa8c
), with Swift 6.0 for Linux on 3 Nov 2024 00:08:00 UTC.
Swift 6 data race errors: 14
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/MiseEnPlace.git
Reference: 5.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/richardpiazza/MiseEnPlace
* tag 5.3.0 -> FETCH_HEAD
HEAD is now at 24aa8cd Media Manager (#8)
Cloned https://github.com/richardpiazza/MiseEnPlace.git
Revision (git rev-parse @):
24aa8cd18af14a1c698cd63a7422c9463ec0be12
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/MiseEnPlace.git at 5.3.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/richardpiazza/MiseEnPlace.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/28] Emitting module MiseEnPlace
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:48:23: warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | }
47 |
48 | public static var locale: Locale = Locale.current {
| |- warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'locale' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | didSet {
50 | singleDecimalFormatter.locale = locale
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:68:23: warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | /// Changes the default behavior of the `Quantification` translation functions.
68 | public static var abbreviateTranslations: Bool = false
| |- warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'abbreviateTranslations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'abbreviateTranslations' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Replaces precise oz->g / floz->ml conversions with 30g/30ml respectively.
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:71:23: warning: static property 'useLooseConversions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// Replaces precise oz->g / floz->ml conversions with 30g/30ml respectively.
71 | public static var useLooseConversions: Bool = false
| |- warning: static property 'useLooseConversions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useLooseConversions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'useLooseConversions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// The number of **milliliters** to use for converting to/from **fluid ounces**.
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:84:23: warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// The method by which cross `MeasurementSystemMethod` conversions are performed. The default is `.methodThanSystem`.
84 | public static var conversionOrder: ConversionOrder = .methodThanSystem
| |- warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conversionOrder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conversionOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | }
86 |
/host/spi-builder-workspace/Sources/MiseEnPlace/Intergral.swift:47:23: warning: static property 'singleDigits' is not concurrency-safe because non-'Sendable' type '[Integral]' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Enumeration of commonly used integrals in cooking.
4 | public enum Integral: Int, CaseIterable, CustomStringConvertible {
| `- note: consider making enum 'Integral' conform to the 'Sendable' protocol
5 | case zero = 0
6 | case one = 1
:
45 | case nineHundred = 900
46 |
47 | public static let singleDigits: [Integral] = [.zero, .one, .two, .three, .four, .five, .six, .seven, .eight, .nine]
| |- warning: static property 'singleDigits' is not concurrency-safe because non-'Sendable' type '[Integral]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleDigits' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | public var description: String {
/host/spi-builder-workspace/Sources/MiseEnPlace/MediaManager.swift:5:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MediaManager' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MediaManager {
| `- note: consider making struct 'MediaManager' conform to the 'Sendable' protocol
4 |
5 | public static let shared: MediaManager = MediaManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MediaManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | let fileManager: FileManager
/host/spi-builder-workspace/Sources/MiseEnPlace/MiseEnPlaceError.swift:9:10: warning: associated value 'measurementAmount(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
7 | case nanZeroConversion
8 | case unhandledConversion
9 | case measurementAmount(method: MeasurementMethod?)
| `- warning: associated value 'measurementAmount(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
10 | case measurementUnit(method: MeasurementMethod?)
11 |
/host/spi-builder-workspace/Sources/MiseEnPlace/MeasurementMethod.swift:6:13: note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
4 | ///
5 | /// In the case of the **MiseEnPlace** framework, this means _Volume_ and _Mass_.
6 | public enum MeasurementMethod: Int {
| `- note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
7 | case quantity = 0
8 | case volume = 1
/host/spi-builder-workspace/Sources/MiseEnPlace/MiseEnPlaceError.swift:10:10: warning: associated value 'measurementUnit(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
8 | case unhandledConversion
9 | case measurementAmount(method: MeasurementMethod?)
10 | case measurementUnit(method: MeasurementMethod?)
| `- warning: associated value 'measurementUnit(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
11 |
12 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/MiseEnPlace/MeasurementMethod.swift:6:13: note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
4 | ///
5 | /// In the case of the **MiseEnPlace** framework, this means _Volume_ and _Mass_.
6 | public enum MeasurementMethod: Int {
| `- note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
7 | case quantity = 0
8 | case volume = 1
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:39:16: warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
37 | /// A representation usable for when a `Quantification` must be expressed, but the intended outcome
38 | /// is to express the implicit lack-of-quantification.
39 | static let notQuantified: Quantification = .init(amount: 0.0, unit: .noUnit)
| |- warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notQuantified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A representation when no-specific amount can be defined.
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:42:16: warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
40 |
41 | /// A representation when no-specific amount can be defined.
42 | static let asNeeded: Quantification = .init(amount: -1.0, unit: .noUnit)
| |- warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asNeeded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// A measurement typical of a 'small' portion size
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:7:23: warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
7 | public static let oneToOne: Ratio = Ratio(volume: 1.0, weight: 1.0)
| |- warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneToOne' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | /// A common/default ratio where volume is twice the measurement in weight
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:9:23: warning: static property 'twoToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
7 | public static let oneToOne: Ratio = Ratio(volume: 1.0, weight: 1.0)
8 | /// A common/default ratio where volume is twice the measurement in weight
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
| |- warning: static property 'twoToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoToOne' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | /// A common/default ratio where weight is twice the measurement in volume
11 | public static let oneToTwo: Ratio = Ratio(volume: 1.0, weight: 2.0)
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:11:23: warning: static property 'oneToTwo' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
:
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
10 | /// A common/default ratio where weight is twice the measurement in volume
11 | public static let oneToTwo: Ratio = Ratio(volume: 1.0, weight: 2.0)
| |- warning: static property 'oneToTwo' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneToTwo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public var volume: Double
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:116:17: warning: var 'significantDigitFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | fileprivate var significantDigitFormatter: NumberFormatter = {
| |- warning: var 'significantDigitFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'significantDigitFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'significantDigitFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | let formatter = NumberFormatter()
118 | formatter.usesSignificantDigits = true
[4/31] Compiling MiseEnPlace Fraction.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Intergral.swift:47:23: warning: static property 'singleDigits' is not concurrency-safe because non-'Sendable' type '[Integral]' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Enumeration of commonly used integrals in cooking.
4 | public enum Integral: Int, CaseIterable, CustomStringConvertible {
| `- note: consider making enum 'Integral' conform to the 'Sendable' protocol
5 | case zero = 0
6 | case one = 1
:
45 | case nineHundred = 900
46 |
47 | public static let singleDigits: [Integral] = [.zero, .one, .two, .three, .four, .five, .six, .seven, .eight, .nine]
| |- warning: static property 'singleDigits' is not concurrency-safe because non-'Sendable' type '[Integral]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleDigits' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | public var description: String {
[5/31] Compiling MiseEnPlace Ingredient.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Intergral.swift:47:23: warning: static property 'singleDigits' is not concurrency-safe because non-'Sendable' type '[Integral]' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Enumeration of commonly used integrals in cooking.
4 | public enum Integral: Int, CaseIterable, CustomStringConvertible {
| `- note: consider making enum 'Integral' conform to the 'Sendable' protocol
5 | case zero = 0
6 | case one = 1
:
45 | case nineHundred = 900
46 |
47 | public static let singleDigits: [Integral] = [.zero, .one, .two, .three, .four, .five, .six, .seven, .eight, .nine]
| |- warning: static property 'singleDigits' is not concurrency-safe because non-'Sendable' type '[Integral]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleDigits' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | public var description: String {
[6/31] Compiling MiseEnPlace Intergral.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Intergral.swift:47:23: warning: static property 'singleDigits' is not concurrency-safe because non-'Sendable' type '[Integral]' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Enumeration of commonly used integrals in cooking.
4 | public enum Integral: Int, CaseIterable, CustomStringConvertible {
| `- note: consider making enum 'Integral' conform to the 'Sendable' protocol
5 | case zero = 0
6 | case one = 1
:
45 | case nineHundred = 900
46 |
47 | public static let singleDigits: [Integral] = [.zero, .one, .two, .three, .four, .five, .six, .seven, .eight, .nine]
| |- warning: static property 'singleDigits' is not concurrency-safe because non-'Sendable' type '[Integral]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleDigits' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | public var description: String {
[7/31] Compiling MiseEnPlace Measured.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Intergral.swift:47:23: warning: static property 'singleDigits' is not concurrency-safe because non-'Sendable' type '[Integral]' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Enumeration of commonly used integrals in cooking.
4 | public enum Integral: Int, CaseIterable, CustomStringConvertible {
| `- note: consider making enum 'Integral' conform to the 'Sendable' protocol
5 | case zero = 0
6 | case one = 1
:
45 | case nineHundred = 900
46 |
47 | public static let singleDigits: [Integral] = [.zero, .one, .two, .three, .four, .five, .six, .seven, .eight, .nine]
| |- warning: static property 'singleDigits' is not concurrency-safe because non-'Sendable' type '[Integral]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleDigits' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | public var description: String {
[8/31] Compiling MiseEnPlace Sequenced.swift
[9/31] Compiling MiseEnPlace String+MiseEnPlace.swift
[10/31] Compiling MiseEnPlace Unique.swift
[11/31] Compiling MiseEnPlace Configuration.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:48:23: warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | }
47 |
48 | public static var locale: Locale = Locale.current {
| |- warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'locale' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | didSet {
50 | singleDecimalFormatter.locale = locale
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:68:23: warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | /// Changes the default behavior of the `Quantification` translation functions.
68 | public static var abbreviateTranslations: Bool = false
| |- warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'abbreviateTranslations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'abbreviateTranslations' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Replaces precise oz->g / floz->ml conversions with 30g/30ml respectively.
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:71:23: warning: static property 'useLooseConversions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// Replaces precise oz->g / floz->ml conversions with 30g/30ml respectively.
71 | public static var useLooseConversions: Bool = false
| |- warning: static property 'useLooseConversions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useLooseConversions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'useLooseConversions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// The number of **milliliters** to use for converting to/from **fluid ounces**.
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:84:23: warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// The method by which cross `MeasurementSystemMethod` conversions are performed. The default is `.methodThanSystem`.
84 | public static var conversionOrder: ConversionOrder = .methodThanSystem
| |- warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conversionOrder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conversionOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | }
86 |
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:39:16: warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
37 | /// A representation usable for when a `Quantification` must be expressed, but the intended outcome
38 | /// is to express the implicit lack-of-quantification.
39 | static let notQuantified: Quantification = .init(amount: 0.0, unit: .noUnit)
| |- warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notQuantified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A representation when no-specific amount can be defined.
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:42:16: warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
40 |
41 | /// A representation when no-specific amount can be defined.
42 | static let asNeeded: Quantification = .init(amount: -1.0, unit: .noUnit)
| |- warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asNeeded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// A measurement typical of a 'small' portion size
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:7:23: warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
7 | public static let oneToOne: Ratio = Ratio(volume: 1.0, weight: 1.0)
| |- warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneToOne' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | /// A common/default ratio where volume is twice the measurement in weight
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
[12/31] Compiling MiseEnPlace Descriptive.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:48:23: warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | }
47 |
48 | public static var locale: Locale = Locale.current {
| |- warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'locale' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | didSet {
50 | singleDecimalFormatter.locale = locale
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:68:23: warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | /// Changes the default behavior of the `Quantification` translation functions.
68 | public static var abbreviateTranslations: Bool = false
| |- warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'abbreviateTranslations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'abbreviateTranslations' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Replaces precise oz->g / floz->ml conversions with 30g/30ml respectively.
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:71:23: warning: static property 'useLooseConversions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// Replaces precise oz->g / floz->ml conversions with 30g/30ml respectively.
71 | public static var useLooseConversions: Bool = false
| |- warning: static property 'useLooseConversions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useLooseConversions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'useLooseConversions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// The number of **milliliters** to use for converting to/from **fluid ounces**.
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:84:23: warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// The method by which cross `MeasurementSystemMethod` conversions are performed. The default is `.methodThanSystem`.
84 | public static var conversionOrder: ConversionOrder = .methodThanSystem
| |- warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conversionOrder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conversionOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | }
86 |
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:39:16: warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
37 | /// A representation usable for when a `Quantification` must be expressed, but the intended outcome
38 | /// is to express the implicit lack-of-quantification.
39 | static let notQuantified: Quantification = .init(amount: 0.0, unit: .noUnit)
| |- warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notQuantified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A representation when no-specific amount can be defined.
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:42:16: warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
40 |
41 | /// A representation when no-specific amount can be defined.
42 | static let asNeeded: Quantification = .init(amount: -1.0, unit: .noUnit)
| |- warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asNeeded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// A measurement typical of a 'small' portion size
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:7:23: warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
7 | public static let oneToOne: Ratio = Ratio(volume: 1.0, weight: 1.0)
| |- warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneToOne' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | /// A common/default ratio where volume is twice the measurement in weight
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
[13/31] Compiling MiseEnPlace Double+MiseEnPlace.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:48:23: warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | }
47 |
48 | public static var locale: Locale = Locale.current {
| |- warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'locale' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | didSet {
50 | singleDecimalFormatter.locale = locale
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:68:23: warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | /// Changes the default behavior of the `Quantification` translation functions.
68 | public static var abbreviateTranslations: Bool = false
| |- warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'abbreviateTranslations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'abbreviateTranslations' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Replaces precise oz->g / floz->ml conversions with 30g/30ml respectively.
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:71:23: warning: static property 'useLooseConversions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// Replaces precise oz->g / floz->ml conversions with 30g/30ml respectively.
71 | public static var useLooseConversions: Bool = false
| |- warning: static property 'useLooseConversions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useLooseConversions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'useLooseConversions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// The number of **milliliters** to use for converting to/from **fluid ounces**.
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:84:23: warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// The method by which cross `MeasurementSystemMethod` conversions are performed. The default is `.methodThanSystem`.
84 | public static var conversionOrder: ConversionOrder = .methodThanSystem
| |- warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conversionOrder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conversionOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | }
86 |
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:39:16: warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
37 | /// A representation usable for when a `Quantification` must be expressed, but the intended outcome
38 | /// is to express the implicit lack-of-quantification.
39 | static let notQuantified: Quantification = .init(amount: 0.0, unit: .noUnit)
| |- warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notQuantified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A representation when no-specific amount can be defined.
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:42:16: warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
40 |
41 | /// A representation when no-specific amount can be defined.
42 | static let asNeeded: Quantification = .init(amount: -1.0, unit: .noUnit)
| |- warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asNeeded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// A measurement typical of a 'small' portion size
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:7:23: warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
7 | public static let oneToOne: Ratio = Ratio(volume: 1.0, weight: 1.0)
| |- warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneToOne' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | /// A common/default ratio where volume is twice the measurement in weight
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
[14/31] Compiling MiseEnPlace FormulaElement.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:48:23: warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | }
47 |
48 | public static var locale: Locale = Locale.current {
| |- warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'locale' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | didSet {
50 | singleDecimalFormatter.locale = locale
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:68:23: warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | /// Changes the default behavior of the `Quantification` translation functions.
68 | public static var abbreviateTranslations: Bool = false
| |- warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'abbreviateTranslations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'abbreviateTranslations' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Replaces precise oz->g / floz->ml conversions with 30g/30ml respectively.
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:71:23: warning: static property 'useLooseConversions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 |
70 | /// Replaces precise oz->g / floz->ml conversions with 30g/30ml respectively.
71 | public static var useLooseConversions: Bool = false
| |- warning: static property 'useLooseConversions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useLooseConversions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'useLooseConversions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// The number of **milliliters** to use for converting to/from **fluid ounces**.
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:84:23: warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// The method by which cross `MeasurementSystemMethod` conversions are performed. The default is `.methodThanSystem`.
84 | public static var conversionOrder: ConversionOrder = .methodThanSystem
| |- warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conversionOrder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conversionOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | }
86 |
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:39:16: warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
37 | /// A representation usable for when a `Quantification` must be expressed, but the intended outcome
38 | /// is to express the implicit lack-of-quantification.
39 | static let notQuantified: Quantification = .init(amount: 0.0, unit: .noUnit)
| |- warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notQuantified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A representation when no-specific amount can be defined.
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:42:16: warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
40 |
41 | /// A representation when no-specific amount can be defined.
42 | static let asNeeded: Quantification = .init(amount: -1.0, unit: .noUnit)
| |- warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asNeeded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// A measurement typical of a 'small' portion size
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:7:23: warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
7 | public static let oneToOne: Ratio = Ratio(volume: 1.0, weight: 1.0)
| |- warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneToOne' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | /// A common/default ratio where volume is twice the measurement in weight
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
[15/31] Compiling MiseEnPlace Quantification.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:39:16: warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
37 | /// A representation usable for when a `Quantification` must be expressed, but the intended outcome
38 | /// is to express the implicit lack-of-quantification.
39 | static let notQuantified: Quantification = .init(amount: 0.0, unit: .noUnit)
| |- warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notQuantified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A representation when no-specific amount can be defined.
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:42:16: warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
40 |
41 | /// A representation when no-specific amount can be defined.
42 | static let asNeeded: Quantification = .init(amount: -1.0, unit: .noUnit)
| |- warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asNeeded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// A measurement typical of a 'small' portion size
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:68:23: warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | /// Changes the default behavior of the `Quantification` translation functions.
68 | public static var abbreviateTranslations: Bool = false
| |- warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'abbreviateTranslations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'abbreviateTranslations' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Replaces precise oz->g / floz->ml conversions with 30g/30ml respectively.
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:84:23: warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// The method by which cross `MeasurementSystemMethod` conversions are performed. The default is `.methodThanSystem`.
84 | public static var conversionOrder: ConversionOrder = .methodThanSystem
| |- warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conversionOrder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conversionOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | }
86 |
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:7:23: warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
7 | public static let oneToOne: Ratio = Ratio(volume: 1.0, weight: 1.0)
| |- warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneToOne' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | /// A common/default ratio where volume is twice the measurement in weight
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:9:23: warning: static property 'twoToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
7 | public static let oneToOne: Ratio = Ratio(volume: 1.0, weight: 1.0)
8 | /// A common/default ratio where volume is twice the measurement in weight
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
| |- warning: static property 'twoToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoToOne' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | /// A common/default ratio where weight is twice the measurement in volume
11 | public static let oneToTwo: Ratio = Ratio(volume: 1.0, weight: 2.0)
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:11:23: warning: static property 'oneToTwo' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
:
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
10 | /// A common/default ratio where weight is twice the measurement in volume
11 | public static let oneToTwo: Ratio = Ratio(volume: 1.0, weight: 2.0)
| |- warning: static property 'oneToTwo' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneToTwo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public var volume: Double
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:116:17: warning: var 'significantDigitFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | fileprivate var significantDigitFormatter: NumberFormatter = {
| |- warning: var 'significantDigitFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'significantDigitFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'significantDigitFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | let formatter = NumberFormatter()
118 | formatter.usesSignificantDigits = true
[16/31] Compiling MiseEnPlace Ratio.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:39:16: warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
37 | /// A representation usable for when a `Quantification` must be expressed, but the intended outcome
38 | /// is to express the implicit lack-of-quantification.
39 | static let notQuantified: Quantification = .init(amount: 0.0, unit: .noUnit)
| |- warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notQuantified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A representation when no-specific amount can be defined.
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:42:16: warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
40 |
41 | /// A representation when no-specific amount can be defined.
42 | static let asNeeded: Quantification = .init(amount: -1.0, unit: .noUnit)
| |- warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asNeeded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// A measurement typical of a 'small' portion size
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:68:23: warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | /// Changes the default behavior of the `Quantification` translation functions.
68 | public static var abbreviateTranslations: Bool = false
| |- warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'abbreviateTranslations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'abbreviateTranslations' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Replaces precise oz->g / floz->ml conversions with 30g/30ml respectively.
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:84:23: warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// The method by which cross `MeasurementSystemMethod` conversions are performed. The default is `.methodThanSystem`.
84 | public static var conversionOrder: ConversionOrder = .methodThanSystem
| |- warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conversionOrder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conversionOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | }
86 |
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:7:23: warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
7 | public static let oneToOne: Ratio = Ratio(volume: 1.0, weight: 1.0)
| |- warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneToOne' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | /// A common/default ratio where volume is twice the measurement in weight
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:9:23: warning: static property 'twoToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
7 | public static let oneToOne: Ratio = Ratio(volume: 1.0, weight: 1.0)
8 | /// A common/default ratio where volume is twice the measurement in weight
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
| |- warning: static property 'twoToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoToOne' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | /// A common/default ratio where weight is twice the measurement in volume
11 | public static let oneToTwo: Ratio = Ratio(volume: 1.0, weight: 2.0)
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:11:23: warning: static property 'oneToTwo' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
:
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
10 | /// A common/default ratio where weight is twice the measurement in volume
11 | public static let oneToTwo: Ratio = Ratio(volume: 1.0, weight: 2.0)
| |- warning: static property 'oneToTwo' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneToTwo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public var volume: Double
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:116:17: warning: var 'significantDigitFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | fileprivate var significantDigitFormatter: NumberFormatter = {
| |- warning: var 'significantDigitFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'significantDigitFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'significantDigitFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | let formatter = NumberFormatter()
118 | formatter.usesSignificantDigits = true
[17/31] Compiling MiseEnPlace Recipe.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:39:16: warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
37 | /// A representation usable for when a `Quantification` must be expressed, but the intended outcome
38 | /// is to express the implicit lack-of-quantification.
39 | static let notQuantified: Quantification = .init(amount: 0.0, unit: .noUnit)
| |- warning: static property 'notQuantified' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notQuantified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A representation when no-specific amount can be defined.
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:42:16: warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// ```
12 | ///
13 | public struct Quantification: Quantifiable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
14 |
15 | public var amount: Double
:
40 |
41 | /// A representation when no-specific amount can be defined.
42 | static let asNeeded: Quantification = .init(amount: -1.0, unit: .noUnit)
| |- warning: static property 'asNeeded' is not concurrency-safe because non-'Sendable' type 'Quantification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asNeeded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// A measurement typical of a 'small' portion size
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:68:23: warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | /// Changes the default behavior of the `Quantification` translation functions.
68 | public static var abbreviateTranslations: Bool = false
| |- warning: static property 'abbreviateTranslations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'abbreviateTranslations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'abbreviateTranslations' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /// Replaces precise oz->g / floz->ml conversions with 30g/30ml respectively.
/host/spi-builder-workspace/Sources/MiseEnPlace/Configuration.swift:84:23: warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// The method by which cross `MeasurementSystemMethod` conversions are performed. The default is `.methodThanSystem`.
84 | public static var conversionOrder: ConversionOrder = .methodThanSystem
| |- warning: static property 'conversionOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'conversionOrder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'conversionOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | }
86 |
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:7:23: warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
7 | public static let oneToOne: Ratio = Ratio(volume: 1.0, weight: 1.0)
| |- warning: static property 'oneToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneToOne' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | /// A common/default ratio where volume is twice the measurement in weight
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:9:23: warning: static property 'twoToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
7 | public static let oneToOne: Ratio = Ratio(volume: 1.0, weight: 1.0)
8 | /// A common/default ratio where volume is twice the measurement in weight
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
| |- warning: static property 'twoToOne' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoToOne' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | /// A common/default ratio where weight is twice the measurement in volume
11 | public static let oneToTwo: Ratio = Ratio(volume: 1.0, weight: 2.0)
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:11:23: warning: static property 'oneToTwo' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The relation between volume and weight
4 | public struct Ratio: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Ratio' conform to the 'Sendable' protocol
5 |
6 | /// A common/default ratio where volume is equivalent to weight
:
9 | public static let twoToOne: Ratio = Ratio(volume: 2.0, weight: 1.0)
10 | /// A common/default ratio where weight is twice the measurement in volume
11 | public static let oneToTwo: Ratio = Ratio(volume: 1.0, weight: 2.0)
| |- warning: static property 'oneToTwo' is not concurrency-safe because non-'Sendable' type 'Ratio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneToTwo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public var volume: Double
/host/spi-builder-workspace/Sources/MiseEnPlace/Ratio.swift:116:17: warning: var 'significantDigitFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
114 | }
115 |
116 | fileprivate var significantDigitFormatter: NumberFormatter = {
| |- warning: var 'significantDigitFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'significantDigitFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'significantDigitFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | let formatter = NumberFormatter()
118 | formatter.usesSignificantDigits = true
[18/31] Compiling MiseEnPlace AnyFormulaElement.swift
[19/31] Compiling MiseEnPlace AnyIngredient.swift
[20/31] Compiling MiseEnPlace AnyProcedureElement.swift
[21/31] Compiling MiseEnPlace AnyRecipe.swift
[22/31] Compiling MiseEnPlace ProcedureElement.swift
[23/31] Compiling MiseEnPlace Proportioned.swift
[24/31] Compiling MiseEnPlace Quantifiable.swift
[25/31] Compiling MiseEnPlace MeasurementMethod.swift
[26/31] Compiling MiseEnPlace MeasurementSystem.swift
[27/31] Compiling MiseEnPlace MeasurementSystemMethod.swift
[28/31] Compiling MiseEnPlace MeasurementUnit.swift
[29/31] Compiling MiseEnPlace MediaManager.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/MediaManager.swift:5:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MediaManager' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MediaManager {
| `- note: consider making struct 'MediaManager' conform to the 'Sendable' protocol
4 |
5 | public static let shared: MediaManager = MediaManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MediaManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | let fileManager: FileManager
/host/spi-builder-workspace/Sources/MiseEnPlace/MiseEnPlaceError.swift:9:10: warning: associated value 'measurementAmount(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
7 | case nanZeroConversion
8 | case unhandledConversion
9 | case measurementAmount(method: MeasurementMethod?)
| `- warning: associated value 'measurementAmount(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
10 | case measurementUnit(method: MeasurementMethod?)
11 |
/host/spi-builder-workspace/Sources/MiseEnPlace/MeasurementMethod.swift:6:13: note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
4 | ///
5 | /// In the case of the **MiseEnPlace** framework, this means _Volume_ and _Mass_.
6 | public enum MeasurementMethod: Int {
| `- note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
7 | case quantity = 0
8 | case volume = 1
/host/spi-builder-workspace/Sources/MiseEnPlace/MiseEnPlaceError.swift:10:10: warning: associated value 'measurementUnit(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
8 | case unhandledConversion
9 | case measurementAmount(method: MeasurementMethod?)
10 | case measurementUnit(method: MeasurementMethod?)
| `- warning: associated value 'measurementUnit(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
11 |
12 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/MiseEnPlace/MeasurementMethod.swift:6:13: note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
4 | ///
5 | /// In the case of the **MiseEnPlace** framework, this means _Volume_ and _Mass_.
6 | public enum MeasurementMethod: Int {
| `- note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
7 | case quantity = 0
8 | case volume = 1
[30/31] Compiling MiseEnPlace MiseEnPlaceError.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/MediaManager.swift:5:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MediaManager' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MediaManager {
| `- note: consider making struct 'MediaManager' conform to the 'Sendable' protocol
4 |
5 | public static let shared: MediaManager = MediaManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MediaManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | let fileManager: FileManager
/host/spi-builder-workspace/Sources/MiseEnPlace/MiseEnPlaceError.swift:9:10: warning: associated value 'measurementAmount(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
7 | case nanZeroConversion
8 | case unhandledConversion
9 | case measurementAmount(method: MeasurementMethod?)
| `- warning: associated value 'measurementAmount(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
10 | case measurementUnit(method: MeasurementMethod?)
11 |
/host/spi-builder-workspace/Sources/MiseEnPlace/MeasurementMethod.swift:6:13: note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
4 | ///
5 | /// In the case of the **MiseEnPlace** framework, this means _Volume_ and _Mass_.
6 | public enum MeasurementMethod: Int {
| `- note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
7 | case quantity = 0
8 | case volume = 1
/host/spi-builder-workspace/Sources/MiseEnPlace/MiseEnPlaceError.swift:10:10: warning: associated value 'measurementUnit(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
8 | case unhandledConversion
9 | case measurementAmount(method: MeasurementMethod?)
10 | case measurementUnit(method: MeasurementMethod?)
| `- warning: associated value 'measurementUnit(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
11 |
12 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/MiseEnPlace/MeasurementMethod.swift:6:13: note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
4 | ///
5 | /// In the case of the **MiseEnPlace** framework, this means _Volume_ and _Mass_.
6 | public enum MeasurementMethod: Int {
| `- note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
7 | case quantity = 0
8 | case volume = 1
[31/31] Compiling MiseEnPlace Multimedia.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/MediaManager.swift:5:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MediaManager' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MediaManager {
| `- note: consider making struct 'MediaManager' conform to the 'Sendable' protocol
4 |
5 | public static let shared: MediaManager = MediaManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MediaManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | let fileManager: FileManager
/host/spi-builder-workspace/Sources/MiseEnPlace/MiseEnPlaceError.swift:9:10: warning: associated value 'measurementAmount(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
7 | case nanZeroConversion
8 | case unhandledConversion
9 | case measurementAmount(method: MeasurementMethod?)
| `- warning: associated value 'measurementAmount(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
10 | case measurementUnit(method: MeasurementMethod?)
11 |
/host/spi-builder-workspace/Sources/MiseEnPlace/MeasurementMethod.swift:6:13: note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
4 | ///
5 | /// In the case of the **MiseEnPlace** framework, this means _Volume_ and _Mass_.
6 | public enum MeasurementMethod: Int {
| `- note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
7 | case quantity = 0
8 | case volume = 1
/host/spi-builder-workspace/Sources/MiseEnPlace/MiseEnPlaceError.swift:10:10: warning: associated value 'measurementUnit(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
8 | case unhandledConversion
9 | case measurementAmount(method: MeasurementMethod?)
10 | case measurementUnit(method: MeasurementMethod?)
| `- warning: associated value 'measurementUnit(method:)' of 'Sendable'-conforming enum 'MiseEnPlaceError' has non-sendable type 'MeasurementMethod'; this is an error in the Swift 6 language mode
11 |
12 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/MiseEnPlace/MeasurementMethod.swift:6:13: note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
4 | ///
5 | /// In the case of the **MiseEnPlace** framework, this means _Volume_ and _Mass_.
6 | public enum MeasurementMethod: Int {
| `- note: consider making enum 'MeasurementMethod' conform to the 'Sendable' protocol
7 | case quantity = 0
8 | case volume = 1
Build complete! (10.39s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MiseEnPlace",
"name" : "MiseEnPlace",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "16.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "MiseEnPlace",
"targets" : [
"MiseEnPlace"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "MiseEnPlaceTests",
"module_type" : "SwiftTarget",
"name" : "MiseEnPlaceTests",
"path" : "Tests/MiseEnPlaceTests",
"sources" : [
"AsNeededTests.swift",
"ConfigurationTests.swift",
"DescriptiveTests.swift",
"DoubleTests.swift",
"EachMeasurementUnitTests.swift",
"EdgeConditionTests.swift",
"EqualRatioIngredientTests.swift",
"FractionTests.swift",
"HighMassRatioIngredientTests.swift",
"HighVolumeRatioIngredientTests.swift",
"InterpreterTests.swift",
"LooseConversionTests.swift",
"MeasurementUnitTests.swift",
"MultimediaTests.swift",
"QuantificationTests.swift",
"RatioTests.swift",
"RecipeTests.swift",
"SignificantDigitTests.swift",
"TestIngredient.swift",
"TestMeasuredIngredient.swift",
"TestMeasuredRecipe.swift",
"TestProcedureElement.swift",
"TestRecipe.swift"
],
"target_dependencies" : [
"MiseEnPlace"
],
"type" : "test"
},
{
"c99name" : "MiseEnPlace",
"module_type" : "SwiftTarget",
"name" : "MiseEnPlace",
"path" : "Sources/MiseEnPlace",
"product_memberships" : [
"MiseEnPlace"
],
"sources" : [
"AnyFormulaElement.swift",
"AnyIngredient.swift",
"AnyProcedureElement.swift",
"AnyRecipe.swift",
"Configuration.swift",
"Descriptive.swift",
"Double+MiseEnPlace.swift",
"FormulaElement.swift",
"Fraction.swift",
"Ingredient.swift",
"Intergral.swift",
"Measured.swift",
"MeasurementMethod.swift",
"MeasurementSystem.swift",
"MeasurementSystemMethod.swift",
"MeasurementUnit.swift",
"MediaManager.swift",
"MiseEnPlaceError.swift",
"Multimedia.swift",
"ProcedureElement.swift",
"Proportioned.swift",
"Quantifiable.swift",
"Quantification.swift",
"Ratio.swift",
"Recipe.swift",
"Sequenced.swift",
"String+MiseEnPlace.swift",
"Unique.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.