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 ruminant with Swift 6.0 for Linux.

Swift 6 data race errors: 1

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jdevuyst/ruminant.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/jdevuyst/ruminant
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7ca8661 Add hash value tests
Cloned https://github.com/jdevuyst/ruminant.git
Revision (git rev-parse @):
7ca86610b5051906fb6732b017d022a99c7360c4
SUCCESS checkout https://github.com/jdevuyst/ruminant.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/jdevuyst/ruminant.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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
Fetching https://github.com/typelift/SwiftCheck.git
[1/4870] Fetching swiftcheck
Fetched https://github.com/typelift/SwiftCheck.git from cache (0.33s)
Computing version for https://github.com/typelift/SwiftCheck.git
Computed https://github.com/typelift/SwiftCheck.git at 0.12.0 (1.05s)
Fetching https://github.com/llvm-swift/FileCheck.git
[1/479] Fetching filecheck
Fetched https://github.com/llvm-swift/FileCheck.git from cache (0.20s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.2.6 (0.43s)
Fetching https://github.com/mxcl/Chalk.git
Fetching https://github.com/apple/swift-argument-parser
[1/81] Fetching chalk
[82/11760] Fetching chalk, swift-argument-parser
Fetched https://github.com/mxcl/Chalk.git from cache (0.67s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.68s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.43s)
Creating working copy for https://github.com/typelift/SwiftCheck.git
Working copy of https://github.com/typelift/SwiftCheck.git resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.4.0
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/llvm-swift/FileCheck.git
Working copy of https://github.com/llvm-swift/FileCheck.git resolved at 0.2.6
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling ruminant vector.swift
/host/spi-builder-workspace/Sources/vector.swift:285:13: warning: var 'transientVectorCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
283 | //
284 |
285 | private var transientVectorCounter = 0
    |             |- warning: var 'transientVectorCounter' 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 'transientVectorCounter' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'transientVectorCounter' 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
286 |
287 | public struct TransientVector<T: Hashable> {
[5/8] Compiling ruminant util.swift
[6/8] Compiling ruminant tree.swift
[7/8] Emitting module ruminant
/host/spi-builder-workspace/Sources/vector.swift:285:13: warning: var 'transientVectorCounter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
283 | //
284 |
285 | private var transientVectorCounter = 0
    |             |- warning: var 'transientVectorCounter' 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 'transientVectorCounter' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'transientVectorCounter' 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
286 |
287 | public struct TransientVector<T: Hashable> {
[8/8] Compiling ruminant chunkediterator.swift
Build complete! (11.97s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftcheck",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/typelift/SwiftCheck.git"
    }
  ],
  "manifest_display_name" : "ruminant",
  "name" : "ruminant",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ruminant",
      "targets" : [
        "ruminant"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ruminantTests",
      "module_type" : "SwiftTarget",
      "name" : "ruminantTests",
      "path" : "Tests",
      "product_dependencies" : [
        "SwiftCheck"
      ],
      "sources" : [
        "ruminantTests/chunkediteratorTest.swift",
        "ruminantTests/exampleTests.swift",
        "ruminantTests/quickCheckTests.swift",
        "ruminantTests/utilTest.swift",
        "ruminantTests/vectorTest.swift"
      ],
      "target_dependencies" : [
        "ruminant"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ruminant",
      "module_type" : "SwiftTarget",
      "name" : "ruminant",
      "path" : ".",
      "product_memberships" : [
        "ruminant"
      ],
      "sources" : [
        "Sources/chunkediterator.swift",
        "Sources/tree.swift",
        "Sources/util.swift",
        "Sources/vector.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.