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 Linux on 1 Nov 2024 01:05:18 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Bersaelor/SwiftyHYGDB.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling SwiftyHYGDB StarData.swift
/host/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] = []
/host/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 |
/host/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] = []
/host/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 {
[4/16] Compiling SwiftyHYGDB RadialStar+Codable.swift
[5/16] Compiling SwiftyHYGDB RadialStar.swift
[6/16] Compiling SwiftyHYGDB Star3D+CVS.swift
[7/16] Compiling SwiftyHYGDB Star3D+Codable.swift
[8/16] Compiling SwiftyHYGDB Star3D.swift
[9/16] Compiling SwiftyHYGDB Point3D.swift
[10/16] Compiling SwiftyHYGDB RadialStar+CSV.swift
[11/16] Compiling SwiftyHYGDB Indexer.swift
[12/16] Compiling SwiftyHYGDB LineGenerator.swift
[13/16] Compiling SwiftyHYGDB Box.swift
[14/16] Compiling SwiftyHYGDB FloatingPoint+CompressedString.swift
[15/16] Emitting module SwiftyHYGDB
/host/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] = []
/host/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] = []
/host/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 |
/host/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 {
[16/16] Compiling SwiftyHYGDB SwiftyHYGDB.swift
/host/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] = []
/host/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] = []
/host/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 |
/host/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! (17.41s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyHYGDB",
  "name" : "SwiftyHYGDB",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.