This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Helpers with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 8

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/toastersocks/Helpers.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/toastersocks/Helpers
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ae8fe3d Add Combine extensions for additional combineLatest arities.
Cloned https://github.com/toastersocks/Helpers.git
Revision (git rev-parse @):
ae8fe3d43f72082cd4a67a0e9791fa982aa90d54
SUCCESS checkout https://github.com/toastersocks/Helpers.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/toastersocks/Helpers.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/9] Compiling Helpers Variadic.swift
[4/9] Compiling Helpers Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:18:20: warning: static property 'red' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 |     enum Rainbow {
18 |         static var red: Color     = .red
   |                    |- warning: static property 'red' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'red' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'red' 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
19 |         static var orange: Color  = .orange
20 |         static var yellow: Color  = .yellow
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:19:20: warning: static property 'orange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     enum Rainbow {
18 |         static var red: Color     = .red
19 |         static var orange: Color  = .orange
   |                    |- warning: static property 'orange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'orange' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'orange' 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
20 |         static var yellow: Color  = .yellow
21 |         static var green: Color   = .green
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:20:20: warning: static property 'yellow' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
18 |         static var red: Color     = .red
19 |         static var orange: Color  = .orange
20 |         static var yellow: Color  = .yellow
   |                    |- warning: static property 'yellow' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'yellow' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'yellow' 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
21 |         static var green: Color   = .green
22 |         static var blue: Color    = .blue
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:21:20: warning: static property 'green' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 |         static var orange: Color  = .orange
20 |         static var yellow: Color  = .yellow
21 |         static var green: Color   = .green
   |                    |- warning: static property 'green' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'green' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'green' 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
22 |         static var blue: Color    = .blue
23 |         static var indigo: Color  = .indigo
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:22:20: warning: static property 'blue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 |         static var yellow: Color  = .yellow
21 |         static var green: Color   = .green
22 |         static var blue: Color    = .blue
   |                    |- warning: static property 'blue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'blue' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'blue' 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
23 |         static var indigo: Color  = .indigo
24 |         static var violet: Color  = .purple
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:23:20: warning: static property 'indigo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 |         static var green: Color   = .green
22 |         static var blue: Color    = .blue
23 |         static var indigo: Color  = .indigo
   |                    |- warning: static property 'indigo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'indigo' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'indigo' 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
24 |         static var violet: Color  = .purple
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:24:20: warning: static property 'violet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 |         static var blue: Color    = .blue
23 |         static var indigo: Color  = .indigo
24 |         static var violet: Color  = .purple
   |                    |- warning: static property 'violet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'violet' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'violet' 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
25 |
26 |         static var allColors: [Color] = [
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:26:20: warning: static property 'allColors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
24 |         static var violet: Color  = .purple
25 |
26 |         static var allColors: [Color] = [
   |                    |- warning: static property 'allColors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'allColors' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'allColors' 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
27 |             .red,
28 |             .orange,
[5/9] Emitting module Helpers
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:18:20: warning: static property 'red' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 |     enum Rainbow {
18 |         static var red: Color     = .red
   |                    |- warning: static property 'red' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'red' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'red' 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
19 |         static var orange: Color  = .orange
20 |         static var yellow: Color  = .yellow
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:19:20: warning: static property 'orange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     enum Rainbow {
18 |         static var red: Color     = .red
19 |         static var orange: Color  = .orange
   |                    |- warning: static property 'orange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'orange' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'orange' 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
20 |         static var yellow: Color  = .yellow
21 |         static var green: Color   = .green
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:20:20: warning: static property 'yellow' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
18 |         static var red: Color     = .red
19 |         static var orange: Color  = .orange
20 |         static var yellow: Color  = .yellow
   |                    |- warning: static property 'yellow' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'yellow' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'yellow' 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
21 |         static var green: Color   = .green
22 |         static var blue: Color    = .blue
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:21:20: warning: static property 'green' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 |         static var orange: Color  = .orange
20 |         static var yellow: Color  = .yellow
21 |         static var green: Color   = .green
   |                    |- warning: static property 'green' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'green' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'green' 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
22 |         static var blue: Color    = .blue
23 |         static var indigo: Color  = .indigo
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:22:20: warning: static property 'blue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 |         static var yellow: Color  = .yellow
21 |         static var green: Color   = .green
22 |         static var blue: Color    = .blue
   |                    |- warning: static property 'blue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'blue' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'blue' 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
23 |         static var indigo: Color  = .indigo
24 |         static var violet: Color  = .purple
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:23:20: warning: static property 'indigo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 |         static var green: Color   = .green
22 |         static var blue: Color    = .blue
23 |         static var indigo: Color  = .indigo
   |                    |- warning: static property 'indigo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'indigo' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'indigo' 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
24 |         static var violet: Color  = .purple
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:24:20: warning: static property 'violet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 |         static var blue: Color    = .blue
23 |         static var indigo: Color  = .indigo
24 |         static var violet: Color  = .purple
   |                    |- warning: static property 'violet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'violet' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'violet' 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
25 |
26 |         static var allColors: [Color] = [
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Extensions.swift:26:20: warning: static property 'allColors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
24 |         static var violet: Color  = .purple
25 |
26 |         static var allColors: [Color] = [
   |                    |- warning: static property 'allColors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'allColors' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: annotate 'allColors' 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
27 |             .red,
28 |             .orange,
[6/9] Compiling Helpers Combine+.swift
[7/9] Compiling Helpers Backport.swift
[8/9] Compiling Helpers Backports.swift
[9/9] Compiling Helpers PreviewHelpers.swift
Build complete! (33.09s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Helpers",
  "name" : "Helpers",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "Helpers",
      "targets" : [
        "Helpers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HelpersTests",
      "module_type" : "SwiftTarget",
      "name" : "HelpersTests",
      "path" : "Tests/HelpersTests",
      "sources" : [
        "HelpersTests.swift"
      ],
      "target_dependencies" : [
        "Helpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Helpers",
      "module_type" : "SwiftTarget",
      "name" : "Helpers",
      "path" : "Sources/Helpers",
      "product_memberships" : [
        "Helpers"
      ],
      "sources" : [
        "Backport.swift",
        "Backports.swift",
        "Combine+.swift",
        "Extensions.swift",
        "PreviewHelpers.swift",
        "Variadic.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.