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

Swift 6 data race errors: 6

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/dankogai/swift-int2x.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankogai/swift-int2x
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ca4881a Update README.md
Cloned https://github.com/dankogai/swift-int2x.git
Revision (git rev-parse @):
ca4881a6b480e774fcfcdbac280f5901be959863
SUCCESS checkout https://github.com/dankogai/swift-int2x.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/dankogai/swift-int2x.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/7] Write sources
[2/7] Write Int2XRun-entitlement.plist
[3/7] Write swift-version-6F35C1178C84523A.txt
[5/10] Emitting module Int2X
/Users/admin/builder/spi-builder-workspace/Sources/Int2X/UInt2X.swift:81:23: warning: static property 'useAccelerate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 79 | public class Int2XConfig {
 80 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
 81 |     public static var useAccelerate = true
    |                       |- warning: static property 'useAccelerate' 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 'useAccelerate' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'useAccelerate' 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
 82 |     #else
 83 |     public static let useAccelerate = false
[6/10] Compiling Int2X Int2X.swift
[7/10] Compiling Int2X UInt2X.swift
/Users/admin/builder/spi-builder-workspace/Sources/Int2X/UInt2X.swift:81:23: warning: static property 'useAccelerate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 79 | public class Int2XConfig {
 80 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
 81 |     public static var useAccelerate = true
    |                       |- warning: static property 'useAccelerate' 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 'useAccelerate' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'useAccelerate' 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
 82 |     #else
 83 |     public static let useAccelerate = false
[8/12] Emitting module Int2XRun
/Users/admin/builder/spi-builder-workspace/Sources/Int2X/UInt2X.swift:81:23: warning: class property 'useAccelerate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 79 | public class Int2XConfig {
 80 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
 81 |     public static var useAccelerate = true
    |                       |- warning: class property 'useAccelerate' 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 'useAccelerate' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'useAccelerate' 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
 82 |     #else
 83 |     public static let useAccelerate = false
/Users/admin/builder/spi-builder-workspace/Sources/Int2XRun/main.swift:7:22: warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 5 | }
 6 |
 7 | let ua = Int2XConfig.useAccelerate ? [false, true] : [false]
   |                      `- warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 | for a in ua {
/Users/admin/builder/spi-builder-workspace/Sources/Int2X/UInt2X.swift:81:23: note: class property declared here
 79 | public class Int2XConfig {
 80 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
 81 |     public static var useAccelerate = true
    |                       `- note: class property declared here
 82 |     #else
 83 |     public static let useAccelerate = false
/Users/admin/builder/spi-builder-workspace/Sources/Int2XRun/main.swift:12:21: warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
10 |     if 1 < ua.count {
11 |         #if os(macOS) || os(iOS)
12 |         Int2XConfig.useAccelerate = a
   |                     `- warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 |         #endif
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Int2X/UInt2X.swift:81:23: note: class property declared here
 79 | public class Int2XConfig {
 80 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
 81 |     public static var useAccelerate = true
    |                       `- note: class property declared here
 82 |     #else
 83 |     public static let useAccelerate = false
/Users/admin/builder/spi-builder-workspace/Sources/Int2XRun/main.swift:22:21: warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 |     if 1 < ua.count {
21 |         #if os(macOS) || os(iOS)
22 |         Int2XConfig.useAccelerate = a
   |                     `- warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 |         #endif
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Int2X/UInt2X.swift:81:23: note: class property declared here
 79 | public class Int2XConfig {
 80 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
 81 |     public static var useAccelerate = true
    |                       `- note: class property declared here
 82 |     #else
 83 |     public static let useAccelerate = false
/Users/admin/builder/spi-builder-workspace/Sources/Int2XRun/main.swift:32:21: warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 |     if 1 < ua.count {
31 |         #if os(macOS) || os(iOS)
32 |         Int2XConfig.useAccelerate = a
   |                     `- warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 |         #endif
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Int2X/UInt2X.swift:81:23: note: class property declared here
 79 | public class Int2XConfig {
 80 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
 81 |     public static var useAccelerate = true
    |                       `- note: class property declared here
 82 |     #else
 83 |     public static let useAccelerate = false
[9/12] Compiling Int2XRun main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Int2X/UInt2X.swift:81:23: warning: class property 'useAccelerate' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 79 | public class Int2XConfig {
 80 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
 81 |     public static var useAccelerate = true
    |                       |- warning: class property 'useAccelerate' 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 'useAccelerate' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'useAccelerate' 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
 82 |     #else
 83 |     public static let useAccelerate = false
/Users/admin/builder/spi-builder-workspace/Sources/Int2XRun/main.swift:7:22: warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 5 | }
 6 |
 7 | let ua = Int2XConfig.useAccelerate ? [false, true] : [false]
   |                      `- warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 | for a in ua {
/Users/admin/builder/spi-builder-workspace/Sources/Int2X/UInt2X.swift:81:23: note: class property declared here
 79 | public class Int2XConfig {
 80 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
 81 |     public static var useAccelerate = true
    |                       `- note: class property declared here
 82 |     #else
 83 |     public static let useAccelerate = false
/Users/admin/builder/spi-builder-workspace/Sources/Int2XRun/main.swift:12:21: warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
10 |     if 1 < ua.count {
11 |         #if os(macOS) || os(iOS)
12 |         Int2XConfig.useAccelerate = a
   |                     `- warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 |         #endif
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Int2X/UInt2X.swift:81:23: note: class property declared here
 79 | public class Int2XConfig {
 80 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
 81 |     public static var useAccelerate = true
    |                       `- note: class property declared here
 82 |     #else
 83 |     public static let useAccelerate = false
/Users/admin/builder/spi-builder-workspace/Sources/Int2XRun/main.swift:22:21: warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 |     if 1 < ua.count {
21 |         #if os(macOS) || os(iOS)
22 |         Int2XConfig.useAccelerate = a
   |                     `- warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 |         #endif
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Int2X/UInt2X.swift:81:23: note: class property declared here
 79 | public class Int2XConfig {
 80 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
 81 |     public static var useAccelerate = true
    |                       `- note: class property declared here
 82 |     #else
 83 |     public static let useAccelerate = false
/Users/admin/builder/spi-builder-workspace/Sources/Int2XRun/main.swift:32:21: warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 |     if 1 < ua.count {
31 |         #if os(macOS) || os(iOS)
32 |         Int2XConfig.useAccelerate = a
   |                     `- warning: reference to class property 'useAccelerate' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 |         #endif
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Int2X/UInt2X.swift:81:23: note: class property declared here
 79 | public class Int2XConfig {
 80 |     #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
 81 |     public static var useAccelerate = true
    |                       `- note: class property declared here
 82 |     #else
 83 |     public static let useAccelerate = false
[9/12] Write Objects.LinkFileList
[10/12] Linking Int2XRun
[11/12] Applying Int2XRun
Build complete! (32.14s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Int2X",
  "name" : "Int2X",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Int2X",
      "targets" : [
        "Int2X"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Int2XRun",
      "targets" : [
        "Int2XRun"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Int2XTests",
      "module_type" : "SwiftTarget",
      "name" : "Int2XTests",
      "path" : "Tests/Int2XTests",
      "sources" : [
        "Int2XTests.swift",
        "UInt2XTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Int2X"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Int2XRun",
      "module_type" : "SwiftTarget",
      "name" : "Int2XRun",
      "path" : "Sources/Int2XRun",
      "product_memberships" : [
        "Int2XRun"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Int2X"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Int2X",
      "module_type" : "SwiftTarget",
      "name" : "Int2X",
      "path" : "Sources/Int2X",
      "product_memberships" : [
        "Int2X",
        "Int2XRun"
      ],
      "sources" : [
        "Int2X.swift",
        "UInt2X.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.