The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwiftUIColor, reference main (cfea55), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 05:57:59 UTC.

Swift 6 data race errors: 7

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/SwiftUIColor.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/p-x9/SwiftUIColor
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cfea559 Merge pull request #16 from p-x9/feature/ios18-preview-error
Cloned https://github.com/p-x9/SwiftUIColor.git
Revision (git rev-parse @):
cfea559bcbd681899a8b815e8e84eaadd8be8c2e
SUCCESS checkout https://github.com/p-x9/SwiftUIColor.git at main
========================================
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": "swiftuicolor",
      "name": "SwiftUIColor",
      "url": "https://github.com/p-x9/SwiftUIColor.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUIColor",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/p-x9/SwiftUIColor.git
[1/1447] Fetching swiftuicolor
Fetched https://github.com/p-x9/SwiftUIColor.git from cache (0.80s)
Creating working copy for https://github.com/p-x9/SwiftUIColor.git
Working copy of https://github.com/p-x9/SwiftUIColor.git resolved at main (cfea559)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/p-x9/SwiftUIColor.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftUIColor",
  "name" : "SwiftUIColor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUIColor",
      "targets" : [
        "SwiftUIColor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "prepare-swiftui-color",
      "targets" : [
        "prepare-swiftui-color"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "prepare_swiftui_color",
      "module_type" : "SwiftTarget",
      "name" : "prepare-swiftui-color",
      "path" : "Sources/prepare-swiftui-color",
      "product_memberships" : [
        "prepare-swiftui-color"
      ],
      "sources" : [
        "Generator.swift",
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftUIColorTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIColorTests",
      "path" : "Tests/SwiftUIColorTests",
      "sources" : [
        "SwiftUIColorTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUIColor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUIColor",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIColor",
      "path" : "Sources/SwiftUIColor",
      "product_memberships" : [
        "SwiftUIColor"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Assets/Media.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Color+iOS.swift",
        "Color+macOS.swift",
        "Color+tvOS.swift",
        "Color+universal.swift",
        "Color+visionOS.swift",
        "Color+watchOS.swift",
        "PreviewWorkaround.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/8] Write sources
[0/8] Write prepare-swiftui-color-entitlement.plist
[3/8] Copying Media.xcassets
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/20] Compiling prepare_swiftui_color main.swift
[7/20] Compiling prepare_swiftui_color Generator.swift
[8/20] Emitting module prepare_swiftui_color
[8/20] Write Objects.LinkFileList
[9/20] Linking prepare-swiftui-color
[10/20] Applying prepare-swiftui-color
[12/20] Compiling SwiftUIColor resource_bundle_accessor.swift
[13/20] Compiling SwiftUIColor PreviewWorkaround.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/PreviewWorkaround.swift:16:16: warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension Foundation.Bundle {
16 |     static var myModule: Bundle = {
   |                |- warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'myModule' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'myModule' 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
17 |         if #available(iOS 18.0, macOS 15.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *) {
18 |             return .module
[14/20] Compiling SwiftUIColor Color+watchOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/PreviewWorkaround.swift:16:16: warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension Foundation.Bundle {
16 |     static var myModule: Bundle = {
   |                |- warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'myModule' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'myModule' 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
17 |         if #available(iOS 18.0, macOS 15.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *) {
18 |             return .module
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Color+watchOS.swift:75:16: warning: static property 'watchOS' is not concurrency-safe because non-'Sendable' type 'Color.WatchOS' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | public extension Color {
31 |     struct WatchOS {
   |            `- note: consider making struct 'WatchOS' conform to the 'Sendable' protocol
32 |         public let tertiaryLabel = Color("watchOS/tertiaryLabel", bundle: .myModule)
33 |
   :
73 |
74 | public extension Color {
75 |     static let watchOS = WatchOS()
   |                |- warning: static property 'watchOS' is not concurrency-safe because non-'Sendable' type 'Color.WatchOS' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'watchOS' 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
76 | }
77 |
[15/20] Compiling SwiftUIColor Color+visionOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/PreviewWorkaround.swift:16:16: warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension Foundation.Bundle {
16 |     static var myModule: Bundle = {
   |                |- warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'myModule' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'myModule' 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
17 |         if #available(iOS 18.0, macOS 15.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *) {
18 |             return .module
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Color+visionOS.swift:138:16: warning: static property 'visionOS' is not concurrency-safe because non-'Sendable' type 'Color.VisionOS' may have shared mutable state; this is an error in the Swift 6 language mode
 50 |
 51 | public extension Color {
 52 |     struct VisionOS {
    |            `- note: consider making struct 'VisionOS' conform to the 'Sendable' protocol
 53 |         public let systemBackground = Color("visionOS/systemBackground", bundle: .myModule)
 54 |
    :
136 |
137 | public extension Color {
138 |     static let visionOS = VisionOS()
    |                |- warning: static property 'visionOS' is not concurrency-safe because non-'Sendable' type 'Color.VisionOS' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'visionOS' 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
139 | }
140 |
[16/20] Compiling SwiftUIColor Color+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/PreviewWorkaround.swift:16:16: warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension Foundation.Bundle {
16 |     static var myModule: Bundle = {
   |                |- warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'myModule' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'myModule' 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
17 |         if #available(iOS 18.0, macOS 15.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *) {
18 |             return .module
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Color+macOS.swift:159:16: warning: static property 'macOS' is not concurrency-safe because non-'Sendable' type 'Color.MacOS' may have shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 | public extension Color {
 59 |     struct MacOS {
    |            `- note: consider making struct 'MacOS' conform to the 'Sendable' protocol
 60 |         public let controlAccentColor = Color("macOS/controlAccentColor", bundle: .myModule)
 61 |
    :
157 |
158 | public extension Color {
159 |     static let macOS = MacOS()
    |                |- warning: static property 'macOS' is not concurrency-safe because non-'Sendable' type 'Color.MacOS' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'macOS' 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
160 | }
161 |
[17/20] Compiling SwiftUIColor Color+tvOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/PreviewWorkaround.swift:16:16: warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension Foundation.Bundle {
16 |     static var myModule: Bundle = {
   |                |- warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'myModule' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'myModule' 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
17 |         if #available(iOS 18.0, macOS 15.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *) {
18 |             return .module
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Color+tvOS.swift:90:16: warning: static property 'tvOS' is not concurrency-safe because non-'Sendable' type 'Color.TvOS' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | public extension Color {
 36 |     struct TvOS {
    |            `- note: consider making struct 'TvOS' conform to the 'Sendable' protocol
 37 |         public let tertiaryLabel = Color("tvOS/tertiaryLabel", bundle: .myModule)
 38 |
    :
 88 |
 89 | public extension Color {
 90 |     static let tvOS = TvOS()
    |                |- warning: static property 'tvOS' is not concurrency-safe because non-'Sendable' type 'Color.TvOS' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'tvOS' 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
 91 | }
 92 |
[18/20] Compiling SwiftUIColor Color+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/PreviewWorkaround.swift:16:16: warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension Foundation.Bundle {
16 |     static var myModule: Bundle = {
   |                |- warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'myModule' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'myModule' 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
17 |         if #available(iOS 18.0, macOS 15.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *) {
18 |             return .module
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Color+iOS.swift:144:16: warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
 52 |
 53 | public extension Color {
 54 |     struct IOS {
    |            `- note: consider making struct 'IOS' conform to the 'Sendable' protocol
 55 |         public let systemBackground = Color("iOS/systemBackground", bundle: .myModule)
 56 |
    :
142 |
143 | public extension Color {
144 |     static let iOS = IOS()
    |                |- warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'iOS' 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
145 | }
146 |
[19/20] Emitting module SwiftUIColor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/PreviewWorkaround.swift:16:16: warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension Foundation.Bundle {
16 |     static var myModule: Bundle = {
   |                |- warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'myModule' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'myModule' 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
17 |         if #available(iOS 18.0, macOS 15.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *) {
18 |             return .module
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Color+iOS.swift:144:16: warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
 52 |
 53 | public extension Color {
 54 |     struct IOS {
    |            `- note: consider making struct 'IOS' conform to the 'Sendable' protocol
 55 |         public let systemBackground = Color("iOS/systemBackground", bundle: .myModule)
 56 |
    :
142 |
143 | public extension Color {
144 |     static let iOS = IOS()
    |                |- warning: static property 'iOS' is not concurrency-safe because non-'Sendable' type 'Color.IOS' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'iOS' 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
145 | }
146 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Color+macOS.swift:159:16: warning: static property 'macOS' is not concurrency-safe because non-'Sendable' type 'Color.MacOS' may have shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 | public extension Color {
 59 |     struct MacOS {
    |            `- note: consider making struct 'MacOS' conform to the 'Sendable' protocol
 60 |         public let controlAccentColor = Color("macOS/controlAccentColor", bundle: .myModule)
 61 |
    :
157 |
158 | public extension Color {
159 |     static let macOS = MacOS()
    |                |- warning: static property 'macOS' is not concurrency-safe because non-'Sendable' type 'Color.MacOS' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'macOS' 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
160 | }
161 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Color+tvOS.swift:90:16: warning: static property 'tvOS' is not concurrency-safe because non-'Sendable' type 'Color.TvOS' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | public extension Color {
 36 |     struct TvOS {
    |            `- note: consider making struct 'TvOS' conform to the 'Sendable' protocol
 37 |         public let tertiaryLabel = Color("tvOS/tertiaryLabel", bundle: .myModule)
 38 |
    :
 88 |
 89 | public extension Color {
 90 |     static let tvOS = TvOS()
    |                |- warning: static property 'tvOS' is not concurrency-safe because non-'Sendable' type 'Color.TvOS' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'tvOS' 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
 91 | }
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Color+universal.swift:75:16: warning: static property 'universal' is not concurrency-safe because non-'Sendable' type 'Color.Universal' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | public extension Color {
31 |     struct Universal {
   |            `- note: consider making struct 'Universal' conform to the 'Sendable' protocol
32 |         public let tertiaryLabel = Color("universal/tertiaryLabel", bundle: .myModule)
33 |
   :
73 |
74 | public extension Color {
75 |     static let universal = Universal()
   |                |- warning: static property 'universal' is not concurrency-safe because non-'Sendable' type 'Color.Universal' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'universal' 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
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Color+visionOS.swift:138:16: warning: static property 'visionOS' is not concurrency-safe because non-'Sendable' type 'Color.VisionOS' may have shared mutable state; this is an error in the Swift 6 language mode
 50 |
 51 | public extension Color {
 52 |     struct VisionOS {
    |            `- note: consider making struct 'VisionOS' conform to the 'Sendable' protocol
 53 |         public let systemBackground = Color("visionOS/systemBackground", bundle: .myModule)
 54 |
    :
136 |
137 | public extension Color {
138 |     static let visionOS = VisionOS()
    |                |- warning: static property 'visionOS' is not concurrency-safe because non-'Sendable' type 'Color.VisionOS' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'visionOS' 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
139 | }
140 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Color+watchOS.swift:75:16: warning: static property 'watchOS' is not concurrency-safe because non-'Sendable' type 'Color.WatchOS' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | public extension Color {
31 |     struct WatchOS {
   |            `- note: consider making struct 'WatchOS' conform to the 'Sendable' protocol
32 |         public let tertiaryLabel = Color("watchOS/tertiaryLabel", bundle: .myModule)
33 |
   :
73 |
74 | public extension Color {
75 |     static let watchOS = WatchOS()
   |                |- warning: static property 'watchOS' is not concurrency-safe because non-'Sendable' type 'Color.WatchOS' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'watchOS' 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
76 | }
77 |
[20/20] Compiling SwiftUIColor Color+universal.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/PreviewWorkaround.swift:16:16: warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension Foundation.Bundle {
16 |     static var myModule: Bundle = {
   |                |- warning: static property 'myModule' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'myModule' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'myModule' 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
17 |         if #available(iOS 18.0, macOS 15.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *) {
18 |             return .module
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Color+universal.swift:75:16: warning: static property 'universal' is not concurrency-safe because non-'Sendable' type 'Color.Universal' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | public extension Color {
31 |     struct Universal {
   |            `- note: consider making struct 'Universal' conform to the 'Sendable' protocol
32 |         public let tertiaryLabel = Color("universal/tertiaryLabel", bundle: .myModule)
33 |
   :
73 |
74 | public extension Color {
75 |     static let universal = Universal()
   |                |- warning: static property 'universal' is not concurrency-safe because non-'Sendable' type 'Color.Universal' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'universal' 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
76 | }
77 |
Build complete! (11.94s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftUIColor",
  "name" : "SwiftUIColor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUIColor",
      "targets" : [
        "SwiftUIColor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "prepare-swiftui-color",
      "targets" : [
        "prepare-swiftui-color"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "prepare_swiftui_color",
      "module_type" : "SwiftTarget",
      "name" : "prepare-swiftui-color",
      "path" : "Sources/prepare-swiftui-color",
      "product_memberships" : [
        "prepare-swiftui-color"
      ],
      "sources" : [
        "Generator.swift",
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftUIColorTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIColorTests",
      "path" : "Tests/SwiftUIColorTests",
      "sources" : [
        "SwiftUIColorTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUIColor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUIColor",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIColor",
      "path" : "Sources/SwiftUIColor",
      "product_memberships" : [
        "SwiftUIColor"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIColor/Assets/Media.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Color+iOS.swift",
        "Color+macOS.swift",
        "Color+tvOS.swift",
        "Color+universal.swift",
        "Color+visionOS.swift",
        "Color+watchOS.swift",
        "PreviewWorkaround.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.