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 SwiftyHYGDB, reference master (98f632), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 01:12:24 UTC.

Swift 6 data race errors: 4

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Bersaelor/SwiftyHYGDB.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Bersaelor/SwiftyHYGDB
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 98f632f Merge pull request #11 from Bersaelor/feature/swift_package_manager_update
Cloned https://github.com/Bersaelor/SwiftyHYGDB.git
Revision (git rev-parse @):
98f632f1ef7c62b9864d77f52b639a7d5193305c
SUCCESS checkout https://github.com/Bersaelor/SwiftyHYGDB.git at master
========================================
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": "swiftyhygdb",
      "name": "SwiftyHYGDB",
      "url": "https://github.com/Bersaelor/SwiftyHYGDB.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyHYGDB",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Bersaelor/SwiftyHYGDB.git
[8/722] Fetching swiftyhygdb
Fetched https://github.com/Bersaelor/SwiftyHYGDB.git from cache (1.85s)
Creating working copy for https://github.com/Bersaelor/SwiftyHYGDB.git
Working copy of https://github.com/Bersaelor/SwiftyHYGDB.git resolved at master (98f632f)
warning: '.resolve-product-dependencies': dependency 'swiftyhygdb' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Bersaelor/SwiftyHYGDB.git
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/15] Compiling SwiftyHYGDB Star3D.swift
[4/16] Compiling SwiftyHYGDB StarData.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:15:16: warning: static property 'glIds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     static let missingValueIndex: Int = -1
 14 |
 15 |     static var glIds: [String] = []
    |                |- warning: static property 'glIds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'glIds' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'glIds' 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
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:17:16: warning: static property 'bayerFlamstedts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     static var glIds: [String] = []
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
    |                |- warning: static property 'bayerFlamstedts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bayerFlamstedts' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'bayerFlamstedts' 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
 18 |     static var spectralTypes: [String] = []
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:16:16: warning: static property 'properNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 |
 15 |     static var glIds: [String] = []
 16 |     static var properNames: [String] = []
    |                |- warning: static property 'properNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'properNames' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'properNames' 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 |     static var bayerFlamstedts: [String] = []
 18 |     static var spectralTypes: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:18:16: warning: static property 'spectralTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
 18 |     static var spectralTypes: [String] = []
    |                |- warning: static property 'spectralTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'spectralTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'spectralTypes' 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 |
 20 |     private static var yearsSinceEraStart: Int {
[5/16] Compiling SwiftyHYGDB Star3D+Codable.swift
[6/16] Compiling SwiftyHYGDB Indexer.swift
[7/16] Compiling SwiftyHYGDB LineGenerator.swift
[8/16] Compiling SwiftyHYGDB Point3D.swift
[9/16] Compiling SwiftyHYGDB RadialStar+CSV.swift
[10/16] Compiling SwiftyHYGDB RadialStar+Codable.swift
[11/16] Compiling SwiftyHYGDB RadialStar.swift
[12/16] Compiling SwiftyHYGDB Box.swift
[13/16] Compiling SwiftyHYGDB FloatingPoint+CompressedString.swift
[14/16] Emitting module SwiftyHYGDB
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:15:16: warning: static property 'glIds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     static let missingValueIndex: Int = -1
 14 |
 15 |     static var glIds: [String] = []
    |                |- warning: static property 'glIds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'glIds' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'glIds' 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
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:16:16: warning: static property 'properNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 |
 15 |     static var glIds: [String] = []
 16 |     static var properNames: [String] = []
    |                |- warning: static property 'properNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'properNames' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'properNames' 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 |     static var bayerFlamstedts: [String] = []
 18 |     static var spectralTypes: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:17:16: warning: static property 'bayerFlamstedts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     static var glIds: [String] = []
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
    |                |- warning: static property 'bayerFlamstedts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bayerFlamstedts' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'bayerFlamstedts' 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
 18 |     static var spectralTypes: [String] = []
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:18:16: warning: static property 'spectralTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
 18 |     static var spectralTypes: [String] = []
    |                |- warning: static property 'spectralTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'spectralTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'spectralTypes' 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 |
 20 |     private static var yearsSinceEraStart: Int {
[15/16] Compiling SwiftyHYGDB Star3D+CVS.swift
[16/16] Compiling SwiftyHYGDB SwiftyHYGDB.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:15:16: warning: static property 'glIds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     static let missingValueIndex: Int = -1
 14 |
 15 |     static var glIds: [String] = []
    |                |- warning: static property 'glIds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'glIds' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'glIds' 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
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:16:16: warning: static property 'properNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 |
 15 |     static var glIds: [String] = []
 16 |     static var properNames: [String] = []
    |                |- warning: static property 'properNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'properNames' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'properNames' 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 |     static var bayerFlamstedts: [String] = []
 18 |     static var spectralTypes: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:17:16: warning: static property 'bayerFlamstedts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     static var glIds: [String] = []
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
    |                |- warning: static property 'bayerFlamstedts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'bayerFlamstedts' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'bayerFlamstedts' 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
 18 |     static var spectralTypes: [String] = []
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyHYGDB/SwiftyHYGDB.swift:18:16: warning: static property 'spectralTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |     static var properNames: [String] = []
 17 |     static var bayerFlamstedts: [String] = []
 18 |     static var spectralTypes: [String] = []
    |                |- warning: static property 'spectralTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'spectralTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'spectralTypes' 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 |
 20 |     private static var yearsSinceEraStart: Int {
Build complete! (18.70s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyHYGDB",
  "name" : "SwiftyHYGDB",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyHYGDB",
      "targets" : [
        "SwiftyHYGDB"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyHYGDBTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyHYGDBTests",
      "path" : "Tests/SwiftyHYGDBTests",
      "sources" : [
        "LoadSaveRadialStarTests.swift",
        "Testhelper+StarIdentical.swift"
      ],
      "target_dependencies" : [
        "SwiftyHYGDB"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyHYGDB",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyHYGDB",
      "path" : "Sources/SwiftyHYGDB",
      "product_memberships" : [
        "SwiftyHYGDB"
      ],
      "sources" : [
        "Box.swift",
        "FloatingPoint+CompressedString.swift",
        "Indexer.swift",
        "LineGenerator.swift",
        "Point3D.swift",
        "RadialStar+CSV.swift",
        "RadialStar+Codable.swift",
        "RadialStar.swift",
        "Star3D+CVS.swift",
        "Star3D+Codable.swift",
        "Star3D.swift",
        "StarData.swift",
        "SwiftyHYGDB.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.