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 EnigmaKit, reference 1.1.0 (85eea4), with Swift 6.0 (beta) for macOS (SPM) on 23 Jul 2024 10:30:06 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.3.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.47.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mikaoj/EnigmaKit.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mikaoj/EnigmaKit
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 85eea48 Bumped version to 1.1.0
Cloned https://github.com/mikaoj/EnigmaKit.git
Revision (git rev-parse @):
85eea48667d754bf11a4820b9eec9990e6edadc3
SUCCESS checkout https://github.com/mikaoj/EnigmaKit.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mikaoj/EnigmaKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.3.app xcrun 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--14728B76ED507284.txt
[3/10] Compiling EnigmaKit Spindle.swift
/Users/admin/builder/spi-builder-workspace/Sources/EnigmaKit/Wheel.swift:32:14: warning: static property 'alphabet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |   }
31 |
32 |   static var alphabet: [Character] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
   |              |- warning: static property 'alphabet' 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 'alphabet' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'alphabet' 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
33 |
34 |   var inner: [Character]
[4/10] Compiling EnigmaKit Wheel.swift
/Users/admin/builder/spi-builder-workspace/Sources/EnigmaKit/Wheel.swift:32:14: warning: static property 'alphabet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |   }
31 |
32 |   static var alphabet: [Character] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
   |              |- warning: static property 'alphabet' 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 'alphabet' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'alphabet' 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
33 |
34 |   var inner: [Character]
[5/10] Compiling EnigmaKit Enigma.swift
[6/10] Compiling EnigmaKit Array.swift
[7/10] Emitting module EnigmaKit
/Users/admin/builder/spi-builder-workspace/Sources/EnigmaKit/Wheel.swift:32:14: warning: static property 'alphabet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |   }
31 |
32 |   static var alphabet: [Character] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
   |              |- warning: static property 'alphabet' 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 'alphabet' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'alphabet' 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
33 |
34 |   var inner: [Character]
[8/10] Compiling EnigmaKit Rotor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EnigmaKit/Wheel.swift:32:14: warning: static property 'alphabet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |   }
31 |
32 |   static var alphabet: [Character] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
   |              |- warning: static property 'alphabet' 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 'alphabet' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'alphabet' 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
33 |
34 |   var inner: [Character]
[9/10] Compiling EnigmaKit Plugboard.swift
[10/10] Compiling EnigmaKit Reflector.swift
/Users/admin/builder/spi-builder-workspace/Sources/EnigmaKit/Wheel.swift:32:14: warning: static property 'alphabet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 |   }
31 |
32 |   static var alphabet: [Character] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
   |              |- warning: static property 'alphabet' 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 'alphabet' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'alphabet' 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
33 |
34 |   var inner: [Character]
Build complete! (8.49s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "EnigmaKit",
  "name" : "EnigmaKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "EnigmaKit",
      "targets" : [
        "EnigmaKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EnigmaKitTests",
      "module_type" : "SwiftTarget",
      "name" : "EnigmaKitTests",
      "path" : "Tests/EnigmaKitTests",
      "sources" : [
        "EnigmaTests.swift",
        "PlugboardTests.swift",
        "ReflectorTests.swift",
        "RotorTests.swift",
        "SpindleTests.swift",
        "WheelTests.swift"
      ],
      "target_dependencies" : [
        "EnigmaKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EnigmaKit",
      "module_type" : "SwiftTarget",
      "name" : "EnigmaKit",
      "path" : "Sources/EnigmaKit",
      "product_memberships" : [
        "EnigmaKit"
      ],
      "sources" : [
        "Array.swift",
        "Enigma.swift",
        "Plugboard.swift",
        "Reflector.swift",
        "Rotor.swift",
        "Spindle.swift",
        "Wheel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.