Build Information
Successful build of CoreColor, reference 1.0.0 (2db37b
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 06:04:56 UTC.
Swift 6 data race errors: 24
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yukonblue/CoreColor.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yukonblue/CoreColor
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 2db37bb Incorporate additional unit tests (#9)
Cloned https://github.com/yukonblue/CoreColor.git
Revision (git rev-parse @):
2db37bb70acf32c15ee0b9977606abb7ae1e8eae
SUCCESS checkout https://github.com/yukonblue/CoreColor.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "corecolor",
"name": "CoreColor",
"url": "https://github.com/yukonblue/CoreColor.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CoreColor",
"dependencies": [
]
}
]
}
Fetching https://github.com/yukonblue/CoreColor.git
[1/530] Fetching corecolor
Fetched https://github.com/yukonblue/CoreColor.git from cache (1.10s)
Creating working copy for https://github.com/yukonblue/CoreColor.git
Working copy of https://github.com/yukonblue/CoreColor.git resolved at 1.0.0 (2db37bb)
warning: '.resolve-product-dependencies': dependency 'corecolor' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/yukonblue/CoreColor.git
https://github.com/yukonblue/CoreColor.git
{
"dependencies" : [
],
"manifest_display_name" : "CoreColor",
"name" : "CoreColor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CoreColor",
"targets" : [
"CoreColor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CoreColorTests",
"module_type" : "SwiftTarget",
"name" : "CoreColorTests",
"path" : "Tests/CoreColorTests",
"sources" : [
"CMYKTests.swift",
"ColorTestCase.swift",
"HSLTests.swift",
"HSVTests.swift",
"LABTests.swift",
"LUVTests.swift",
"RGBColorSpaceTests.swift",
"RGBColorSpacesConversionTests.swift",
"RGBTests.swift",
"XYZTests.swift"
],
"target_dependencies" : [
"CoreColor"
],
"type" : "test"
},
{
"c99name" : "CoreColor",
"module_type" : "SwiftTarget",
"name" : "CoreColor",
"path" : "Sources/CoreColor",
"product_memberships" : [
"CoreColor"
],
"sources" : [
"Color+Constrast.swift",
"Color.swift",
"ColorComponentInfo.swift",
"ColorSpace.swift",
"Constants.swift",
"FloatingPoint+Utilities.swift",
"Models/CMYK.swift",
"Models/HSL.swift",
"Models/HSV.swift",
"Models/LAB.swift",
"Models/LUV.swift",
"Models/RGB.swift",
"Models/RGBColorSpaces.swift",
"Models/RGBColorspace.swift",
"Models/RGBInt.swift",
"Models/XYZ.swift",
"Models/xyY.swift",
"WhitePoint.swift",
"WhitePointColorSpace.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/21] Compiling CoreColor RGBInt.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/XYZ.swift:53:23: warning: static property 'XYZ65' is not concurrency-safe because non-'Sendable' type 'XYZColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
51 | /// XYZ color space calculated relative to CIE 1931 2° Standard Illuminant D65.
52 | ///
53 | static public let XYZ65: XYZColorSpace = XYZColorSpace(whitePoint: Illuminant.D65)
| |- warning: static property 'XYZ65' is not concurrency-safe because non-'Sendable' type 'XYZColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'XYZ65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | ///
:
60 |
61 | /// XYZ color space.
62 | public struct XYZColorSpace: XYZColorSpaceRepresentable, ColorSpace {
| `- note: consider making struct 'XYZColorSpace' conform to the 'Sendable' protocol
63 |
64 | public typealias ColorModel = XYZ
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/XYZ.swift:58:23: warning: static property 'XYZ50' is not concurrency-safe because non-'Sendable' type 'XYZColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
56 | /// XYZ color space calculated relative to CIE 1931 2° Standard Illuminant D50.
57 | ///
58 | static public let XYZ50: XYZColorSpace = XYZColorSpace(whitePoint: Illuminant.D50)
| |- warning: static property 'XYZ50' is not concurrency-safe because non-'Sendable' type 'XYZColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'XYZ50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
61 | /// XYZ color space.
62 | public struct XYZColorSpace: XYZColorSpaceRepresentable, ColorSpace {
| `- note: consider making struct 'XYZColorSpace' conform to the 'Sendable' protocol
63 |
64 | public typealias ColorModel = XYZ
[4/21] Compiling CoreColor XYZ.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/XYZ.swift:53:23: warning: static property 'XYZ65' is not concurrency-safe because non-'Sendable' type 'XYZColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
51 | /// XYZ color space calculated relative to CIE 1931 2° Standard Illuminant D65.
52 | ///
53 | static public let XYZ65: XYZColorSpace = XYZColorSpace(whitePoint: Illuminant.D65)
| |- warning: static property 'XYZ65' is not concurrency-safe because non-'Sendable' type 'XYZColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'XYZ65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | ///
:
60 |
61 | /// XYZ color space.
62 | public struct XYZColorSpace: XYZColorSpaceRepresentable, ColorSpace {
| `- note: consider making struct 'XYZColorSpace' conform to the 'Sendable' protocol
63 |
64 | public typealias ColorModel = XYZ
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/XYZ.swift:58:23: warning: static property 'XYZ50' is not concurrency-safe because non-'Sendable' type 'XYZColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
56 | /// XYZ color space calculated relative to CIE 1931 2° Standard Illuminant D50.
57 | ///
58 | static public let XYZ50: XYZColorSpace = XYZColorSpace(whitePoint: Illuminant.D50)
| |- warning: static property 'XYZ50' is not concurrency-safe because non-'Sendable' type 'XYZColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'XYZ50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
61 | /// XYZ color space.
62 | public struct XYZColorSpace: XYZColorSpaceRepresentable, ColorSpace {
| `- note: consider making struct 'XYZColorSpace' conform to the 'Sendable' protocol
63 |
64 | public typealias ColorModel = XYZ
[5/21] Compiling CoreColor xyY.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:26:23: warning: static property 'A' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
24 | /// This illuminant has a CCT of 2856K.
25 | ///
26 | static public let A: WhitePoint = .init(name: "A", chromaticity: xyY(x: 0.44758, y: 0.40745))
| |- warning: static property 'A' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:33:23: warning: static property 'B' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
31 | /// This illuminant has a CCT of 4874K.
32 | ///
33 | static public let B: WhitePoint = .init(name: "B", chromaticity: xyY(x: 0.34842, y: 0.35161))
| |- warning: static property 'B' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:40:23: warning: static property 'C' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
38 | /// This illuminant has a CCT of 6774K.
39 | ///
40 | static public let C: WhitePoint = .init(name: "C", chromaticity: xyY(x: 0.31006, y: 0.31616))
| |- warning: static property 'C' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'C' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:47:23: warning: static property 'D50' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
45 | /// This illuminant has a CCT of 5003K.
46 | ///
47 | static public let D50: WhitePoint = .init(name: "D50", chromaticity: xyY(x: 0.34570, y: 0.35850))
| |- warning: static property 'D50' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:54:23: warning: static property 'D55' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
52 | /// This illuminant has a CCT of 5503K.
53 | ///
54 | static public let D55: WhitePoint = .init(name: "D55", chromaticity: xyY(x: 0.33243, y: 0.34744))
| |- warning: static property 'D55' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D55' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:61:23: warning: static property 'D65' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
59 | /// This illuminant has a CCT of 6504K.
60 | ///
61 | static public let D65: WhitePoint = .init(name: "D65", chromaticity: xyY(x: 0.31270, y: 0.32900))
| |- warning: static property 'D65' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:68:23: warning: static property 'D75' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
66 | /// This illuminant has a CCT of 7504K.
67 | ///
68 | static public let D75: WhitePoint = .init(name: "D75", chromaticity: xyY(x: 0.29903, y: 0.31488))
| |- warning: static property 'D75' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D75' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:75:23: warning: static property 'E' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
73 | /// This illuminant has a CCT of 5454K.
74 | ///
75 | static public let E: WhitePoint = .init(name: "E", chromaticity: xyY(x: 1.0 / 3.0, y: 1.0 / 3.0))
| |- warning: static property 'E' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'E' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
[6/21] Compiling CoreColor WhitePoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:26:23: warning: static property 'A' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
24 | /// This illuminant has a CCT of 2856K.
25 | ///
26 | static public let A: WhitePoint = .init(name: "A", chromaticity: xyY(x: 0.44758, y: 0.40745))
| |- warning: static property 'A' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:33:23: warning: static property 'B' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
31 | /// This illuminant has a CCT of 4874K.
32 | ///
33 | static public let B: WhitePoint = .init(name: "B", chromaticity: xyY(x: 0.34842, y: 0.35161))
| |- warning: static property 'B' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:40:23: warning: static property 'C' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
38 | /// This illuminant has a CCT of 6774K.
39 | ///
40 | static public let C: WhitePoint = .init(name: "C", chromaticity: xyY(x: 0.31006, y: 0.31616))
| |- warning: static property 'C' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'C' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:47:23: warning: static property 'D50' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
45 | /// This illuminant has a CCT of 5003K.
46 | ///
47 | static public let D50: WhitePoint = .init(name: "D50", chromaticity: xyY(x: 0.34570, y: 0.35850))
| |- warning: static property 'D50' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:54:23: warning: static property 'D55' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
52 | /// This illuminant has a CCT of 5503K.
53 | ///
54 | static public let D55: WhitePoint = .init(name: "D55", chromaticity: xyY(x: 0.33243, y: 0.34744))
| |- warning: static property 'D55' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D55' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:61:23: warning: static property 'D65' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
59 | /// This illuminant has a CCT of 6504K.
60 | ///
61 | static public let D65: WhitePoint = .init(name: "D65", chromaticity: xyY(x: 0.31270, y: 0.32900))
| |- warning: static property 'D65' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:68:23: warning: static property 'D75' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
66 | /// This illuminant has a CCT of 7504K.
67 | ///
68 | static public let D75: WhitePoint = .init(name: "D75", chromaticity: xyY(x: 0.29903, y: 0.31488))
| |- warning: static property 'D75' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D75' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:75:23: warning: static property 'E' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
73 | /// This illuminant has a CCT of 5454K.
74 | ///
75 | static public let E: WhitePoint = .init(name: "E", chromaticity: xyY(x: 1.0 / 3.0, y: 1.0 / 3.0))
| |- warning: static property 'E' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'E' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
[7/21] Compiling CoreColor RGBColorSpaces.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:10:17: warning: let 'SRGB_R' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import simd
9 |
10 | fileprivate let SRGB_R = xyY(x: 0.6400, y: 0.3300)
| |- warning: let 'SRGB_R' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'SRGB_R' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | fileprivate let SRGB_G = xyY(x: 0.3000, y: 0.6000)
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/xyY.swift:9:15: note: consider making struct 'xyY' conform to the 'Sendable' protocol
7 |
8 | /// Representation of CIE chromaticity.
9 | public struct xyY: Equatable {
| `- note: consider making struct 'xyY' conform to the 'Sendable' protocol
10 |
11 | public let x: Float
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:12:17: warning: let 'SRGB_G' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
10 | fileprivate let SRGB_R = xyY(x: 0.6400, y: 0.3300)
11 |
12 | fileprivate let SRGB_G = xyY(x: 0.3000, y: 0.6000)
| |- warning: let 'SRGB_G' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'SRGB_G' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | fileprivate let SRGB_B = xyY(x: 0.1500, y: 0.0600)
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/xyY.swift:9:15: note: consider making struct 'xyY' conform to the 'Sendable' protocol
7 |
8 | /// Representation of CIE chromaticity.
9 | public struct xyY: Equatable {
| `- note: consider making struct 'xyY' conform to the 'Sendable' protocol
10 |
11 | public let x: Float
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:14:17: warning: let 'SRGB_B' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
12 | fileprivate let SRGB_G = xyY(x: 0.3000, y: 0.6000)
13 |
14 | fileprivate let SRGB_B = xyY(x: 0.1500, y: 0.0600)
| |- warning: let 'SRGB_B' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'SRGB_B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Set of pre-defined RGB color spaces.
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/xyY.swift:9:15: note: consider making struct 'xyY' conform to the 'Sendable' protocol
7 |
8 | /// Representation of CIE chromaticity.
9 | public struct xyY: Equatable {
| `- note: consider making struct 'xyY' conform to the 'Sendable' protocol
10 |
11 | public let x: Float
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:25:23: warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// - [IEC 61966-2-1](https://webstore.iec.ch/publication/6169)
24 | ///
25 | static public let sRGB: RGBColorSpace = RGBColorSpace(
| |- warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | name: "sRGB",
27 | whitePoint: Illuminant.D65,
:
85 |
86 | /// RGB color space.
87 | public struct RGBColorSpace: RGBColorSpaceRepresentable {
| `- note: consider making struct 'RGBColorSpace' conform to the 'Sendable' protocol
88 |
89 | public func convert<T>(from srcColor: T) -> RGB where T : Color {
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:40:23: warning: static property 'LinearSRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
38 | /// - [IEC 61966-2-1](https://webstore.iec.ch/publication/6169)
39 | ///
40 | static public let LinearSRGB: RGBColorSpace = RGBColorSpace(
| |- warning: static property 'LinearSRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LinearSRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | name: "Linear sRGB",
42 | whitePoint: Illuminant.D65,
:
85 |
86 | /// RGB color space.
87 | public struct RGBColorSpace: RGBColorSpaceRepresentable {
| `- note: consider making struct 'RGBColorSpace' conform to the 'Sendable' protocol
88 |
89 | public func convert<T>(from srcColor: T) -> RGB where T : Color {
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:57:23: warning: static property 'AdobeRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
55 | /// - [Adobe RGB (1998) Color Image Encoding](https://www.adobe.com/digitalimag/pdfs/AdobeRGB1998.pdf)
56 | ///
57 | static public let AdobeRGB: RGBColorSpace = RGBColorSpace(
| |- warning: static property 'AdobeRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'AdobeRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | name: "Adobe RGB",
59 | whitePoint: Illuminant.D65,
:
85 |
86 | /// RGB color space.
87 | public struct RGBColorSpace: RGBColorSpaceRepresentable {
| `- note: consider making struct 'RGBColorSpace' conform to the 'Sendable' protocol
88 |
89 | public func convert<T>(from srcColor: T) -> RGB where T : Color {
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:76:23: warning: static property 'DisplayP3' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
74 | * - [Digital Cinema System Specification - Version 1.1](https://www.dcimovies.com/archives/spec_v1_1/DCI_DCinema_System_Spec_v1_1.pdf)
75 | */
76 | static public let DisplayP3: RGBColorSpace = RGBColorSpace(
| |- warning: static property 'DisplayP3' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DisplayP3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | name: "Display P3",
78 | whitePoint: Illuminant.D65,
:
85 |
86 | /// RGB color space.
87 | public struct RGBColorSpace: RGBColorSpaceRepresentable {
| `- note: consider making struct 'RGBColorSpace' conform to the 'Sendable' protocol
88 |
89 | public func convert<T>(from srcColor: T) -> RGB where T : Color {
[8/21] Compiling CoreColor RGBColorspace.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:10:17: warning: let 'SRGB_R' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import simd
9 |
10 | fileprivate let SRGB_R = xyY(x: 0.6400, y: 0.3300)
| |- warning: let 'SRGB_R' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'SRGB_R' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | fileprivate let SRGB_G = xyY(x: 0.3000, y: 0.6000)
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/xyY.swift:9:15: note: consider making struct 'xyY' conform to the 'Sendable' protocol
7 |
8 | /// Representation of CIE chromaticity.
9 | public struct xyY: Equatable {
| `- note: consider making struct 'xyY' conform to the 'Sendable' protocol
10 |
11 | public let x: Float
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:12:17: warning: let 'SRGB_G' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
10 | fileprivate let SRGB_R = xyY(x: 0.6400, y: 0.3300)
11 |
12 | fileprivate let SRGB_G = xyY(x: 0.3000, y: 0.6000)
| |- warning: let 'SRGB_G' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'SRGB_G' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | fileprivate let SRGB_B = xyY(x: 0.1500, y: 0.0600)
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/xyY.swift:9:15: note: consider making struct 'xyY' conform to the 'Sendable' protocol
7 |
8 | /// Representation of CIE chromaticity.
9 | public struct xyY: Equatable {
| `- note: consider making struct 'xyY' conform to the 'Sendable' protocol
10 |
11 | public let x: Float
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:14:17: warning: let 'SRGB_B' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
12 | fileprivate let SRGB_G = xyY(x: 0.3000, y: 0.6000)
13 |
14 | fileprivate let SRGB_B = xyY(x: 0.1500, y: 0.0600)
| |- warning: let 'SRGB_B' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'SRGB_B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Set of pre-defined RGB color spaces.
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/xyY.swift:9:15: note: consider making struct 'xyY' conform to the 'Sendable' protocol
7 |
8 | /// Representation of CIE chromaticity.
9 | public struct xyY: Equatable {
| `- note: consider making struct 'xyY' conform to the 'Sendable' protocol
10 |
11 | public let x: Float
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:25:23: warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// - [IEC 61966-2-1](https://webstore.iec.ch/publication/6169)
24 | ///
25 | static public let sRGB: RGBColorSpace = RGBColorSpace(
| |- warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | name: "sRGB",
27 | whitePoint: Illuminant.D65,
:
85 |
86 | /// RGB color space.
87 | public struct RGBColorSpace: RGBColorSpaceRepresentable {
| `- note: consider making struct 'RGBColorSpace' conform to the 'Sendable' protocol
88 |
89 | public func convert<T>(from srcColor: T) -> RGB where T : Color {
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:40:23: warning: static property 'LinearSRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
38 | /// - [IEC 61966-2-1](https://webstore.iec.ch/publication/6169)
39 | ///
40 | static public let LinearSRGB: RGBColorSpace = RGBColorSpace(
| |- warning: static property 'LinearSRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LinearSRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | name: "Linear sRGB",
42 | whitePoint: Illuminant.D65,
:
85 |
86 | /// RGB color space.
87 | public struct RGBColorSpace: RGBColorSpaceRepresentable {
| `- note: consider making struct 'RGBColorSpace' conform to the 'Sendable' protocol
88 |
89 | public func convert<T>(from srcColor: T) -> RGB where T : Color {
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:57:23: warning: static property 'AdobeRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
55 | /// - [Adobe RGB (1998) Color Image Encoding](https://www.adobe.com/digitalimag/pdfs/AdobeRGB1998.pdf)
56 | ///
57 | static public let AdobeRGB: RGBColorSpace = RGBColorSpace(
| |- warning: static property 'AdobeRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'AdobeRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | name: "Adobe RGB",
59 | whitePoint: Illuminant.D65,
:
85 |
86 | /// RGB color space.
87 | public struct RGBColorSpace: RGBColorSpaceRepresentable {
| `- note: consider making struct 'RGBColorSpace' conform to the 'Sendable' protocol
88 |
89 | public func convert<T>(from srcColor: T) -> RGB where T : Color {
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:76:23: warning: static property 'DisplayP3' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
74 | * - [Digital Cinema System Specification - Version 1.1](https://www.dcimovies.com/archives/spec_v1_1/DCI_DCinema_System_Spec_v1_1.pdf)
75 | */
76 | static public let DisplayP3: RGBColorSpace = RGBColorSpace(
| |- warning: static property 'DisplayP3' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DisplayP3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | name: "Display P3",
78 | whitePoint: Illuminant.D65,
:
85 |
86 | /// RGB color space.
87 | public struct RGBColorSpace: RGBColorSpaceRepresentable {
| `- note: consider making struct 'RGBColorSpace' conform to the 'Sendable' protocol
88 |
89 | public func convert<T>(from srcColor: T) -> RGB where T : Color {
[9/22] Compiling CoreColor WhitePointColorSpace.swift
[10/22] Emitting module CoreColor
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/CMYK.swift:70:16: warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'CMYKColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | /// CMYK color space.
55 | public struct CMYKColorSpace: ColorSpace {
| `- note: consider making struct 'CMYKColorSpace' conform to the 'Sendable' protocol
56 |
57 | public typealias ColorModel = CMYK
:
68 | extension CMYK {
69 |
70 | static let colorspace: CMYKColorSpace = CMYKColorSpace()
| |- warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'CMYKColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorspace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/HSL.swift:110:16: warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'HSLColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | /// HSL color space.
95 | public struct HSLColorSpace: ColorSpace {
| `- note: consider making struct 'HSLColorSpace' conform to the 'Sendable' protocol
96 |
97 | public typealias ColorModel = HSL
:
108 | extension HSL {
109 |
110 | static let colorspace: HSLColorSpace = HSLColorSpace()
| |- warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'HSLColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorspace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | }
112 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/HSV.swift:83:16: warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'HSVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | /// HSV color space.
68 | public struct HSVColorSpace: ColorSpace {
| `- note: consider making struct 'HSVColorSpace' conform to the 'Sendable' protocol
69 |
70 | public typealias ColorModel = HSV
:
81 | extension HSV {
82 |
83 | static let colorspace: HSVColorSpace = HSVColorSpace()
| |- warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'HSVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorspace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/LAB.swift:38:23: warning: static property 'LAB50' is not concurrency-safe because non-'Sendable' type 'LABColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// LAB color space.
17 | public struct LABColorSpace: LABColorSpaceRepresentable {
| `- note: consider making struct 'LABColorSpace' conform to the 'Sendable' protocol
18 |
19 | public typealias ColorModel = LAB
:
36 | /// LAB color space calculated relative to CIE 1931 2° Standard Illuminant D50.
37 | ///
38 | static public let LAB50: LABColorSpace = LABColorSpace(whitePoint: Illuminant.D50)
| |- warning: static property 'LAB50' is not concurrency-safe because non-'Sendable' type 'LABColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LAB50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/LAB.swift:43:23: warning: static property 'LAB65' is not concurrency-safe because non-'Sendable' type 'LABColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// LAB color space.
17 | public struct LABColorSpace: LABColorSpaceRepresentable {
| `- note: consider making struct 'LABColorSpace' conform to the 'Sendable' protocol
18 |
19 | public typealias ColorModel = LAB
:
41 | /// LAB color space calculated relative to CIE 1931 2° Standard Illuminant D65.
42 | ///
43 | static public let LAB65: LABColorSpace = LABColorSpace(whitePoint: Illuminant.D65)
| |- warning: static property 'LAB65' is not concurrency-safe because non-'Sendable' type 'LABColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LAB65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/LUV.swift:32:23: warning: static property 'LUV65' is not concurrency-safe because non-'Sendable' type 'LUVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// LUV color space.
11 | public struct LUVColorSpace: WhitePointColorSpace {
| `- note: consider making struct 'LUVColorSpace' conform to the 'Sendable' protocol
12 |
13 | public typealias ColorModel = LUV
:
30 | /// LUV color space calculated relative to CIE 1931 2° Standard Illuminant D65.
31 | ///
32 | static public let LUV65: LUVColorSpace = LUVColorSpace(whitePoint: Illuminant.D65)
| |- warning: static property 'LUV65' is not concurrency-safe because non-'Sendable' type 'LUVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LUV65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/LUV.swift:37:23: warning: static property 'LUV50' is not concurrency-safe because non-'Sendable' type 'LUVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// LUV color space.
11 | public struct LUVColorSpace: WhitePointColorSpace {
| `- note: consider making struct 'LUVColorSpace' conform to the 'Sendable' protocol
12 |
13 | public typealias ColorModel = LUV
:
35 | /// LUV color space calculated relative to CIE 1931 2° Standard Illuminant D50.
36 | ///
37 | static public let LUV50: LUVColorSpace = LUVColorSpace(whitePoint: Illuminant.D50)
| |- warning: static property 'LUV50' is not concurrency-safe because non-'Sendable' type 'LUVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LUV50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:10:17: warning: let 'SRGB_R' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import simd
9 |
10 | fileprivate let SRGB_R = xyY(x: 0.6400, y: 0.3300)
| |- warning: let 'SRGB_R' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'SRGB_R' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | fileprivate let SRGB_G = xyY(x: 0.3000, y: 0.6000)
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/xyY.swift:9:15: note: consider making struct 'xyY' conform to the 'Sendable' protocol
7 |
8 | /// Representation of CIE chromaticity.
9 | public struct xyY: Equatable {
| `- note: consider making struct 'xyY' conform to the 'Sendable' protocol
10 |
11 | public let x: Float
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:12:17: warning: let 'SRGB_G' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
10 | fileprivate let SRGB_R = xyY(x: 0.6400, y: 0.3300)
11 |
12 | fileprivate let SRGB_G = xyY(x: 0.3000, y: 0.6000)
| |- warning: let 'SRGB_G' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'SRGB_G' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | fileprivate let SRGB_B = xyY(x: 0.1500, y: 0.0600)
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/xyY.swift:9:15: note: consider making struct 'xyY' conform to the 'Sendable' protocol
7 |
8 | /// Representation of CIE chromaticity.
9 | public struct xyY: Equatable {
| `- note: consider making struct 'xyY' conform to the 'Sendable' protocol
10 |
11 | public let x: Float
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:14:17: warning: let 'SRGB_B' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
12 | fileprivate let SRGB_G = xyY(x: 0.3000, y: 0.6000)
13 |
14 | fileprivate let SRGB_B = xyY(x: 0.1500, y: 0.0600)
| |- warning: let 'SRGB_B' is not concurrency-safe because non-'Sendable' type 'xyY' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'SRGB_B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Set of pre-defined RGB color spaces.
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/xyY.swift:9:15: note: consider making struct 'xyY' conform to the 'Sendable' protocol
7 |
8 | /// Representation of CIE chromaticity.
9 | public struct xyY: Equatable {
| `- note: consider making struct 'xyY' conform to the 'Sendable' protocol
10 |
11 | public let x: Float
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:25:23: warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
23 | /// - [IEC 61966-2-1](https://webstore.iec.ch/publication/6169)
24 | ///
25 | static public let sRGB: RGBColorSpace = RGBColorSpace(
| |- warning: static property 'sRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | name: "sRGB",
27 | whitePoint: Illuminant.D65,
:
85 |
86 | /// RGB color space.
87 | public struct RGBColorSpace: RGBColorSpaceRepresentable {
| `- note: consider making struct 'RGBColorSpace' conform to the 'Sendable' protocol
88 |
89 | public func convert<T>(from srcColor: T) -> RGB where T : Color {
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:40:23: warning: static property 'LinearSRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
38 | /// - [IEC 61966-2-1](https://webstore.iec.ch/publication/6169)
39 | ///
40 | static public let LinearSRGB: RGBColorSpace = RGBColorSpace(
| |- warning: static property 'LinearSRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LinearSRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | name: "Linear sRGB",
42 | whitePoint: Illuminant.D65,
:
85 |
86 | /// RGB color space.
87 | public struct RGBColorSpace: RGBColorSpaceRepresentable {
| `- note: consider making struct 'RGBColorSpace' conform to the 'Sendable' protocol
88 |
89 | public func convert<T>(from srcColor: T) -> RGB where T : Color {
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:57:23: warning: static property 'AdobeRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
55 | /// - [Adobe RGB (1998) Color Image Encoding](https://www.adobe.com/digitalimag/pdfs/AdobeRGB1998.pdf)
56 | ///
57 | static public let AdobeRGB: RGBColorSpace = RGBColorSpace(
| |- warning: static property 'AdobeRGB' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'AdobeRGB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | name: "Adobe RGB",
59 | whitePoint: Illuminant.D65,
:
85 |
86 | /// RGB color space.
87 | public struct RGBColorSpace: RGBColorSpaceRepresentable {
| `- note: consider making struct 'RGBColorSpace' conform to the 'Sendable' protocol
88 |
89 | public func convert<T>(from srcColor: T) -> RGB where T : Color {
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/RGBColorSpaces.swift:76:23: warning: static property 'DisplayP3' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
74 | * - [Digital Cinema System Specification - Version 1.1](https://www.dcimovies.com/archives/spec_v1_1/DCI_DCinema_System_Spec_v1_1.pdf)
75 | */
76 | static public let DisplayP3: RGBColorSpace = RGBColorSpace(
| |- warning: static property 'DisplayP3' is not concurrency-safe because non-'Sendable' type 'RGBColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'DisplayP3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | name: "Display P3",
78 | whitePoint: Illuminant.D65,
:
85 |
86 | /// RGB color space.
87 | public struct RGBColorSpace: RGBColorSpaceRepresentable {
| `- note: consider making struct 'RGBColorSpace' conform to the 'Sendable' protocol
88 |
89 | public func convert<T>(from srcColor: T) -> RGB where T : Color {
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/XYZ.swift:53:23: warning: static property 'XYZ65' is not concurrency-safe because non-'Sendable' type 'XYZColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
51 | /// XYZ color space calculated relative to CIE 1931 2° Standard Illuminant D65.
52 | ///
53 | static public let XYZ65: XYZColorSpace = XYZColorSpace(whitePoint: Illuminant.D65)
| |- warning: static property 'XYZ65' is not concurrency-safe because non-'Sendable' type 'XYZColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'XYZ65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | ///
:
60 |
61 | /// XYZ color space.
62 | public struct XYZColorSpace: XYZColorSpaceRepresentable, ColorSpace {
| `- note: consider making struct 'XYZColorSpace' conform to the 'Sendable' protocol
63 |
64 | public typealias ColorModel = XYZ
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/XYZ.swift:58:23: warning: static property 'XYZ50' is not concurrency-safe because non-'Sendable' type 'XYZColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
56 | /// XYZ color space calculated relative to CIE 1931 2° Standard Illuminant D50.
57 | ///
58 | static public let XYZ50: XYZColorSpace = XYZColorSpace(whitePoint: Illuminant.D50)
| |- warning: static property 'XYZ50' is not concurrency-safe because non-'Sendable' type 'XYZColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'XYZ50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
61 | /// XYZ color space.
62 | public struct XYZColorSpace: XYZColorSpaceRepresentable, ColorSpace {
| `- note: consider making struct 'XYZColorSpace' conform to the 'Sendable' protocol
63 |
64 | public typealias ColorModel = XYZ
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:26:23: warning: static property 'A' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
24 | /// This illuminant has a CCT of 2856K.
25 | ///
26 | static public let A: WhitePoint = .init(name: "A", chromaticity: xyY(x: 0.44758, y: 0.40745))
| |- warning: static property 'A' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:33:23: warning: static property 'B' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
31 | /// This illuminant has a CCT of 4874K.
32 | ///
33 | static public let B: WhitePoint = .init(name: "B", chromaticity: xyY(x: 0.34842, y: 0.35161))
| |- warning: static property 'B' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:40:23: warning: static property 'C' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
38 | /// This illuminant has a CCT of 6774K.
39 | ///
40 | static public let C: WhitePoint = .init(name: "C", chromaticity: xyY(x: 0.31006, y: 0.31616))
| |- warning: static property 'C' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'C' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:47:23: warning: static property 'D50' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
45 | /// This illuminant has a CCT of 5003K.
46 | ///
47 | static public let D50: WhitePoint = .init(name: "D50", chromaticity: xyY(x: 0.34570, y: 0.35850))
| |- warning: static property 'D50' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:54:23: warning: static property 'D55' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
52 | /// This illuminant has a CCT of 5503K.
53 | ///
54 | static public let D55: WhitePoint = .init(name: "D55", chromaticity: xyY(x: 0.33243, y: 0.34744))
| |- warning: static property 'D55' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D55' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:61:23: warning: static property 'D65' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
59 | /// This illuminant has a CCT of 6504K.
60 | ///
61 | static public let D65: WhitePoint = .init(name: "D65", chromaticity: xyY(x: 0.31270, y: 0.32900))
| |- warning: static property 'D65' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:68:23: warning: static property 'D75' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
66 | /// This illuminant has a CCT of 7504K.
67 | ///
68 | static public let D75: WhitePoint = .init(name: "D75", chromaticity: xyY(x: 0.29903, y: 0.31488))
| |- warning: static property 'D75' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D75' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/WhitePoint.swift:75:23: warning: static property 'E' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Abstraction of CIE white point.
9 | public struct WhitePoint: Equatable {
| `- note: consider making struct 'WhitePoint' conform to the 'Sendable' protocol
10 |
11 | /// The canonical name of the white point.
:
73 | /// This illuminant has a CCT of 5454K.
74 | ///
75 | static public let E: WhitePoint = .init(name: "E", chromaticity: xyY(x: 1.0 / 3.0, y: 1.0 / 3.0))
| |- warning: static property 'E' is not concurrency-safe because non-'Sendable' type 'WhitePoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'E' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
[11/22] Compiling CoreColor LUV.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/LUV.swift:32:23: warning: static property 'LUV65' is not concurrency-safe because non-'Sendable' type 'LUVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// LUV color space.
11 | public struct LUVColorSpace: WhitePointColorSpace {
| `- note: consider making struct 'LUVColorSpace' conform to the 'Sendable' protocol
12 |
13 | public typealias ColorModel = LUV
:
30 | /// LUV color space calculated relative to CIE 1931 2° Standard Illuminant D65.
31 | ///
32 | static public let LUV65: LUVColorSpace = LUVColorSpace(whitePoint: Illuminant.D65)
| |- warning: static property 'LUV65' is not concurrency-safe because non-'Sendable' type 'LUVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LUV65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/LUV.swift:37:23: warning: static property 'LUV50' is not concurrency-safe because non-'Sendable' type 'LUVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// LUV color space.
11 | public struct LUVColorSpace: WhitePointColorSpace {
| `- note: consider making struct 'LUVColorSpace' conform to the 'Sendable' protocol
12 |
13 | public typealias ColorModel = LUV
:
35 | /// LUV color space calculated relative to CIE 1931 2° Standard Illuminant D50.
36 | ///
37 | static public let LUV50: LUVColorSpace = LUVColorSpace(whitePoint: Illuminant.D50)
| |- warning: static property 'LUV50' is not concurrency-safe because non-'Sendable' type 'LUVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LUV50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[12/22] Compiling CoreColor RGB.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/LUV.swift:32:23: warning: static property 'LUV65' is not concurrency-safe because non-'Sendable' type 'LUVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// LUV color space.
11 | public struct LUVColorSpace: WhitePointColorSpace {
| `- note: consider making struct 'LUVColorSpace' conform to the 'Sendable' protocol
12 |
13 | public typealias ColorModel = LUV
:
30 | /// LUV color space calculated relative to CIE 1931 2° Standard Illuminant D65.
31 | ///
32 | static public let LUV65: LUVColorSpace = LUVColorSpace(whitePoint: Illuminant.D65)
| |- warning: static property 'LUV65' is not concurrency-safe because non-'Sendable' type 'LUVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LUV65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/LUV.swift:37:23: warning: static property 'LUV50' is not concurrency-safe because non-'Sendable' type 'LUVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// LUV color space.
11 | public struct LUVColorSpace: WhitePointColorSpace {
| `- note: consider making struct 'LUVColorSpace' conform to the 'Sendable' protocol
12 |
13 | public typealias ColorModel = LUV
:
35 | /// LUV color space calculated relative to CIE 1931 2° Standard Illuminant D50.
36 | ///
37 | static public let LUV50: LUVColorSpace = LUVColorSpace(whitePoint: Illuminant.D50)
| |- warning: static property 'LUV50' is not concurrency-safe because non-'Sendable' type 'LUVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LUV50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[13/22] Compiling CoreColor HSV.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/HSV.swift:83:16: warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'HSVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | /// HSV color space.
68 | public struct HSVColorSpace: ColorSpace {
| `- note: consider making struct 'HSVColorSpace' conform to the 'Sendable' protocol
69 |
70 | public typealias ColorModel = HSV
:
81 | extension HSV {
82 |
83 | static let colorspace: HSVColorSpace = HSVColorSpace()
| |- warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'HSVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorspace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/LAB.swift:38:23: warning: static property 'LAB50' is not concurrency-safe because non-'Sendable' type 'LABColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// LAB color space.
17 | public struct LABColorSpace: LABColorSpaceRepresentable {
| `- note: consider making struct 'LABColorSpace' conform to the 'Sendable' protocol
18 |
19 | public typealias ColorModel = LAB
:
36 | /// LAB color space calculated relative to CIE 1931 2° Standard Illuminant D50.
37 | ///
38 | static public let LAB50: LABColorSpace = LABColorSpace(whitePoint: Illuminant.D50)
| |- warning: static property 'LAB50' is not concurrency-safe because non-'Sendable' type 'LABColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LAB50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/LAB.swift:43:23: warning: static property 'LAB65' is not concurrency-safe because non-'Sendable' type 'LABColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// LAB color space.
17 | public struct LABColorSpace: LABColorSpaceRepresentable {
| `- note: consider making struct 'LABColorSpace' conform to the 'Sendable' protocol
18 |
19 | public typealias ColorModel = LAB
:
41 | /// LAB color space calculated relative to CIE 1931 2° Standard Illuminant D65.
42 | ///
43 | static public let LAB65: LABColorSpace = LABColorSpace(whitePoint: Illuminant.D65)
| |- warning: static property 'LAB65' is not concurrency-safe because non-'Sendable' type 'LABColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LAB65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
[14/22] Compiling CoreColor LAB.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/HSV.swift:83:16: warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'HSVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | /// HSV color space.
68 | public struct HSVColorSpace: ColorSpace {
| `- note: consider making struct 'HSVColorSpace' conform to the 'Sendable' protocol
69 |
70 | public typealias ColorModel = HSV
:
81 | extension HSV {
82 |
83 | static let colorspace: HSVColorSpace = HSVColorSpace()
| |- warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'HSVColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorspace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/LAB.swift:38:23: warning: static property 'LAB50' is not concurrency-safe because non-'Sendable' type 'LABColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// LAB color space.
17 | public struct LABColorSpace: LABColorSpaceRepresentable {
| `- note: consider making struct 'LABColorSpace' conform to the 'Sendable' protocol
18 |
19 | public typealias ColorModel = LAB
:
36 | /// LAB color space calculated relative to CIE 1931 2° Standard Illuminant D50.
37 | ///
38 | static public let LAB50: LABColorSpace = LABColorSpace(whitePoint: Illuminant.D50)
| |- warning: static property 'LAB50' is not concurrency-safe because non-'Sendable' type 'LABColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LAB50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | ///
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/LAB.swift:43:23: warning: static property 'LAB65' is not concurrency-safe because non-'Sendable' type 'LABColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// LAB color space.
17 | public struct LABColorSpace: LABColorSpaceRepresentable {
| `- note: consider making struct 'LABColorSpace' conform to the 'Sendable' protocol
18 |
19 | public typealias ColorModel = LAB
:
41 | /// LAB color space calculated relative to CIE 1931 2° Standard Illuminant D65.
42 | ///
43 | static public let LAB65: LABColorSpace = LABColorSpace(whitePoint: Illuminant.D65)
| |- warning: static property 'LAB65' is not concurrency-safe because non-'Sendable' type 'LABColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'LAB65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
[15/22] Compiling CoreColor Constants.swift
[16/22] Compiling CoreColor FloatingPoint+Utilities.swift
[17/22] Compiling CoreColor CMYK.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/CMYK.swift:70:16: warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'CMYKColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | /// CMYK color space.
55 | public struct CMYKColorSpace: ColorSpace {
| `- note: consider making struct 'CMYKColorSpace' conform to the 'Sendable' protocol
56 |
57 | public typealias ColorModel = CMYK
:
68 | extension CMYK {
69 |
70 | static let colorspace: CMYKColorSpace = CMYKColorSpace()
| |- warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'CMYKColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorspace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/HSL.swift:110:16: warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'HSLColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | /// HSL color space.
95 | public struct HSLColorSpace: ColorSpace {
| `- note: consider making struct 'HSLColorSpace' conform to the 'Sendable' protocol
96 |
97 | public typealias ColorModel = HSL
:
108 | extension HSL {
109 |
110 | static let colorspace: HSLColorSpace = HSLColorSpace()
| |- warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'HSLColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorspace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | }
112 |
[18/22] Compiling CoreColor HSL.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/CMYK.swift:70:16: warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'CMYKColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | /// CMYK color space.
55 | public struct CMYKColorSpace: ColorSpace {
| `- note: consider making struct 'CMYKColorSpace' conform to the 'Sendable' protocol
56 |
57 | public typealias ColorModel = CMYK
:
68 | extension CMYK {
69 |
70 | static let colorspace: CMYKColorSpace = CMYKColorSpace()
| |- warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'CMYKColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorspace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreColor/Models/HSL.swift:110:16: warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'HSLColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | /// HSL color space.
95 | public struct HSLColorSpace: ColorSpace {
| `- note: consider making struct 'HSLColorSpace' conform to the 'Sendable' protocol
96 |
97 | public typealias ColorModel = HSL
:
108 | extension HSL {
109 |
110 | static let colorspace: HSLColorSpace = HSLColorSpace()
| |- warning: static property 'colorspace' is not concurrency-safe because non-'Sendable' type 'HSLColorSpace' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorspace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | }
112 |
[19/22] Compiling CoreColor ColorComponentInfo.swift
[20/22] Compiling CoreColor ColorSpace.swift
[21/22] Compiling CoreColor Color+Constrast.swift
[22/22] Compiling CoreColor Color.swift
Build complete! (4.58s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CoreColor",
"name" : "CoreColor",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CoreColor",
"targets" : [
"CoreColor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CoreColorTests",
"module_type" : "SwiftTarget",
"name" : "CoreColorTests",
"path" : "Tests/CoreColorTests",
"sources" : [
"CMYKTests.swift",
"ColorTestCase.swift",
"HSLTests.swift",
"HSVTests.swift",
"LABTests.swift",
"LUVTests.swift",
"RGBColorSpaceTests.swift",
"RGBColorSpacesConversionTests.swift",
"RGBTests.swift",
"XYZTests.swift"
],
"target_dependencies" : [
"CoreColor"
],
"type" : "test"
},
{
"c99name" : "CoreColor",
"module_type" : "SwiftTarget",
"name" : "CoreColor",
"path" : "Sources/CoreColor",
"product_memberships" : [
"CoreColor"
],
"sources" : [
"Color+Constrast.swift",
"Color.swift",
"ColorComponentInfo.swift",
"ColorSpace.swift",
"Constants.swift",
"FloatingPoint+Utilities.swift",
"Models/CMYK.swift",
"Models/HSL.swift",
"Models/HSV.swift",
"Models/LAB.swift",
"Models/LUV.swift",
"Models/RGB.swift",
"Models/RGBColorSpaces.swift",
"Models/RGBColorspace.swift",
"Models/RGBInt.swift",
"Models/XYZ.swift",
"Models/xyY.swift",
"WhitePoint.swift",
"WhitePointColorSpace.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.