Build Information
Successful build of MiseEnPlace, reference 5.5.1 (5929b7
), with Swift 6.0 for Linux on 30 Mar 2025 18:10:20 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/MiseEnPlace.git
Reference: 5.5.1
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.5.1 -> FETCH_HEAD
HEAD is now at 5929b79 Each Multiplication (#15)
Cloned https://github.com/richardpiazza/MiseEnPlace.git
Revision (git rev-parse @):
5929b79e054555279f2bd499e512002827db653a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/MiseEnPlace.git at 5.5.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/richardpiazza/MiseEnPlace.git
https://github.com/richardpiazza/MiseEnPlace.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.55.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"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" : [
"AnyFormulaElement+MiseEnPlaceTests.swift",
"AnyIngredient+MiseEnPlaceTests.swift",
"AnyProcedureElement+MiseEnPlaceTests.swift",
"AnyRecipe+MiseEnPlaceTests.swift",
"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"
],
"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+Formula.swift",
"Recipe+Procedure.swift",
"Recipe.swift",
"Sequenced.swift",
"String+MiseEnPlace.swift",
"Unique.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/nicklockwood/SwiftFormat
[1/46578] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (24.62s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.5 (1.88s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.55.5
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/31] 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:36: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
34 | /// A representation usable for when a `Quantification` must be expressed,
35 | /// but the intent is to express the implicit lack-of-quantification.
36 | 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
37 |
38 | /// A representation usable for when a `Quantification` must be expressed,
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:40: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
38 | /// A representation usable for when a `Quantification` must be expressed,
39 | /// but the amount is explicitly un-quantifiable.
40 | 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
41 |
42 | /// 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:121:13: 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
119 | }
120 |
121 | private 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
122 | let formatter = NumberFormatter()
123 | formatter.usesSignificantDigits = true
[5/34] Compiling MiseEnPlace Sequenced.swift
[6/34] Compiling MiseEnPlace String+MiseEnPlace.swift
[7/34] Compiling MiseEnPlace Unique.swift
[8/34] Compiling MiseEnPlace Proportioned.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:36: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
34 | /// A representation usable for when a `Quantification` must be expressed,
35 | /// but the intent is to express the implicit lack-of-quantification.
36 | 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
37 |
38 | /// A representation usable for when a `Quantification` must be expressed,
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:40: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
38 | /// A representation usable for when a `Quantification` must be expressed,
39 | /// but the amount is explicitly un-quantifiable.
40 | 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
41 |
42 | /// 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:121:13: 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
119 | }
120 |
121 | private 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
122 | let formatter = NumberFormatter()
123 | formatter.usesSignificantDigits = true
[9/34] Compiling MiseEnPlace Quantifiable.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:36: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
34 | /// A representation usable for when a `Quantification` must be expressed,
35 | /// but the intent is to express the implicit lack-of-quantification.
36 | 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
37 |
38 | /// A representation usable for when a `Quantification` must be expressed,
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:40: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
38 | /// A representation usable for when a `Quantification` must be expressed,
39 | /// but the amount is explicitly un-quantifiable.
40 | 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
41 |
42 | /// 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:121:13: 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
119 | }
120 |
121 | private 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
122 | let formatter = NumberFormatter()
123 | formatter.usesSignificantDigits = true
[10/34] Compiling MiseEnPlace Quantification.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:36: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
34 | /// A representation usable for when a `Quantification` must be expressed,
35 | /// but the intent is to express the implicit lack-of-quantification.
36 | 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
37 |
38 | /// A representation usable for when a `Quantification` must be expressed,
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:40: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
38 | /// A representation usable for when a `Quantification` must be expressed,
39 | /// but the amount is explicitly un-quantifiable.
40 | 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
41 |
42 | /// 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:121:13: 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
119 | }
120 |
121 | private 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
122 | let formatter = NumberFormatter()
123 | formatter.usesSignificantDigits = true
[11/34] Compiling MiseEnPlace Ratio.swift
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:36: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
34 | /// A representation usable for when a `Quantification` must be expressed,
35 | /// but the intent is to express the implicit lack-of-quantification.
36 | 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
37 |
38 | /// A representation usable for when a `Quantification` must be expressed,
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:40: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
38 | /// A representation usable for when a `Quantification` must be expressed,
39 | /// but the amount is explicitly un-quantifiable.
40 | 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
41 |
42 | /// 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:121:13: 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
119 | }
120 |
121 | private 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
122 | let formatter = NumberFormatter()
123 | formatter.usesSignificantDigits = true
[12/34] 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
[13/34] 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
[14/34] 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
[15/34] Compiling MiseEnPlace ProcedureElement.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
[16/34] Compiling MiseEnPlace Recipe+Formula.swift
[17/34] Compiling MiseEnPlace Recipe+Procedure.swift
[18/34] Compiling MiseEnPlace Recipe.swift
[19/34] Compiling MiseEnPlace AnyFormulaElement.swift
[20/34] Compiling MiseEnPlace AnyIngredient.swift
[21/34] Compiling MiseEnPlace AnyProcedureElement.swift
[22/34] Compiling MiseEnPlace AnyRecipe.swift
[23/34] 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 {
[24/34] 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 {
[25/34] 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 {
[26/34] 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 {
[27/34] Compiling MiseEnPlace MeasurementMethod.swift
[28/34] Compiling MiseEnPlace MeasurementSystem.swift
[29/34] Compiling MiseEnPlace MeasurementSystemMethod.swift
[30/34] Compiling MiseEnPlace MeasurementUnit.swift
[31/34] 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:36: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
34 | /// A representation usable for when a `Quantification` must be expressed,
35 | /// but the intent is to express the implicit lack-of-quantification.
36 | 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
37 |
38 | /// A representation usable for when a `Quantification` must be expressed,
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:40: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
38 | /// A representation usable for when a `Quantification` must be expressed,
39 | /// but the amount is explicitly un-quantifiable.
40 | 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
41 |
42 | /// 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)
[32/34] 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:36: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
34 | /// A representation usable for when a `Quantification` must be expressed,
35 | /// but the intent is to express the implicit lack-of-quantification.
36 | 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
37 |
38 | /// A representation usable for when a `Quantification` must be expressed,
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:40: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
38 | /// A representation usable for when a `Quantification` must be expressed,
39 | /// but the amount is explicitly un-quantifiable.
40 | 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
41 |
42 | /// 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)
[33/34] 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:36: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
34 | /// A representation usable for when a `Quantification` must be expressed,
35 | /// but the intent is to express the implicit lack-of-quantification.
36 | 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
37 |
38 | /// A representation usable for when a `Quantification` must be expressed,
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:40: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
38 | /// A representation usable for when a `Quantification` must be expressed,
39 | /// but the amount is explicitly un-quantifiable.
40 | 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
41 |
42 | /// 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)
[34/34] 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:36: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
34 | /// A representation usable for when a `Quantification` must be expressed,
35 | /// but the intent is to express the implicit lack-of-quantification.
36 | 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
37 |
38 | /// A representation usable for when a `Quantification` must be expressed,
/host/spi-builder-workspace/Sources/MiseEnPlace/Quantification.swift:40: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
2 |
3 | /// An amount and unit pairing.
4 | public struct Quantification: Equatable, CustomStringConvertible {
| `- note: consider making struct 'Quantification' conform to the 'Sendable' protocol
5 |
6 | public var amount: Double
:
38 | /// A representation usable for when a `Quantification` must be expressed,
39 | /// but the amount is explicitly un-quantifiable.
40 | 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
41 |
42 | /// 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)
Build complete! (45.76s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.55.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"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" : [
"AnyFormulaElement+MiseEnPlaceTests.swift",
"AnyIngredient+MiseEnPlaceTests.swift",
"AnyProcedureElement+MiseEnPlaceTests.swift",
"AnyRecipe+MiseEnPlaceTests.swift",
"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"
],
"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+Formula.swift",
"Recipe+Procedure.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:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.