The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Int2X, reference 0.4.2 (1fb584), with Swift 6.1 for macOS (SPM) on 14 Aug 2026 21:23:22 UTC.

Swift 6 data race errors: 5

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: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-int2x.git
Reference: 0.4.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankogai/swift-int2x
 * tag               0.4.2      -> FETCH_HEAD
HEAD is now at 1fb5847 revise README: playgrounds section, Swift 6 prerequisite
Cloned https://github.com/dankogai/swift-int2x.git
Revision (git rev-parse @):
1fb584751385c21af9a64f26e1356262153ff7c3
SUCCESS checkout https://github.com/dankogai/swift-int2x.git at 0.4.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dankogai/swift-int2x.git
https://github.com/dankogai/swift-int2x.git
{
  "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
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Int2XTests",
      "module_type" : "SwiftTarget",
      "name" : "Int2XTests",
      "path" : "Tests/Int2XTests",
      "sources" : [
        "Int2XTests.swift",
        "UInt2XTests.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" : "6.0"
}
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/7] Write sources
[1/7] Write Int2XRun-entitlement.plist
[3/7] Write swift-version-2F0A5646E1D333AE.txt
[5/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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 79 | public class Int2XConfig {
 80 |     #if os(macOS)
 81 |     public static var useAccelerate = true
    |                       |- warning: static property 'useAccelerate' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'useAccelerate' part of global actor 'MainActor'
    |                       `- 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] 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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 79 | public class Int2XConfig {
 80 |     #if os(macOS)
 81 |     public static var useAccelerate = true
    |                       |- warning: static property 'useAccelerate' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'useAccelerate' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 82 |     #else
 83 |     public static let useAccelerate = false
[8/12] Compiling Int2XRun main.swift
/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)
 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)
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)
 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)
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)
 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)
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)
 81 |     public static var useAccelerate = true
    |                       `- note: class property declared here
 82 |     #else
 83 |     public static let useAccelerate = false
[9/12] Emitting module Int2XRun
/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)
 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)
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)
 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)
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)
 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)
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)
 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! (7.82s)
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
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Int2XTests",
      "module_type" : "SwiftTarget",
      "name" : "Int2XTests",
      "path" : "Tests/Int2XTests",
      "sources" : [
        "Int2XTests.swift",
        "UInt2XTests.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" : "6.0"
}
Done.