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 RelativeCollections, reference main (3b5d4f), with Swift 6.0 for Linux on 5 Nov 2024 12:59:02 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/ChimeHQ/RelativeCollections.git
Reference: main
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/ChimeHQ/RelativeCollections
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3b5d4f4 Fix copy-pasta in CI
Cloned https://github.com/ChimeHQ/RelativeCollections.git
Revision (git rev-parse @):
3b5d4f436b89567839f8e0bad25112ea4004db49
SUCCESS checkout https://github.com/ChimeHQ/RelativeCollections.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ChimeHQ/RelativeCollections.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Emitting module RelativeCollectionsInternal
[5/9] Compiling RelativeCollectionsInternal Collection+BinarySearch.swift
[6/9] Compiling RelativeCollectionsInternal SkipList.swift
[7/9] Compiling RelativeCollectionsInternal Collection+Halve.swift
[8/9] Compiling RelativeCollectionsInternal Collection+RangeQuery.swift
[9/9] Compiling RelativeCollectionsInternal RandomAccessCollection+Safe.swift
[11/14] Compiling RelativeCollections RelativeList.swift
/host/spi-builder-workspace/Sources/RelativeCollections/RelativeList.swift:155:8: warning: variable 'branchEntry' was never mutated; consider changing to 'let' constant
153 | 			}
154 |
155 | 			var branchEntry = branch.storage[entryIndex]
    |        `- warning: variable 'branchEntry' was never mutated; consider changing to 'let' constant
156 | 			let subNode = branchEntry.value
157 | 			let adjustedTarget = target - branchEntry.dependency.count
[12/14] Emitting module RelativeCollections
[13/14] Compiling RelativeCollections RelativeArray.swift
[14/14] Compiling RelativeCollections RelativeList+Node.swift
Build complete! (9.10s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RelativeCollections",
  "name" : "RelativeCollections",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RelativeCollections",
      "targets" : [
        "RelativeCollections"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RelativeCollectionsTests",
      "module_type" : "SwiftTarget",
      "name" : "RelativeCollectionsTests",
      "path" : "Tests/RelativeCollectionsTests",
      "sources" : [
        "RelativeArrayTests.swift",
        "RelativeListTests.swift"
      ],
      "target_dependencies" : [
        "RelativeCollections"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RelativeCollectionsInternalTests",
      "module_type" : "SwiftTarget",
      "name" : "RelativeCollectionsInternalTests",
      "path" : "Tests/RelativeCollectionsInternalTests",
      "sources" : [
        "BinarySearchTests.swift",
        "SkipListTests.swift"
      ],
      "target_dependencies" : [
        "RelativeCollectionsInternal"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RelativeCollectionsInternal",
      "module_type" : "SwiftTarget",
      "name" : "RelativeCollectionsInternal",
      "path" : "Sources/RelativeCollectionsInternal",
      "product_memberships" : [
        "RelativeCollections"
      ],
      "sources" : [
        "Collection+BinarySearch.swift",
        "Collection+Halve.swift",
        "Collection+RangeQuery.swift",
        "RandomAccessCollection+Safe.swift",
        "SkipList.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RelativeCollections",
      "module_type" : "SwiftTarget",
      "name" : "RelativeCollections",
      "path" : "Sources/RelativeCollections",
      "product_memberships" : [
        "RelativeCollections"
      ],
      "sources" : [
        "RelativeArray.swift",
        "RelativeList+Node.swift",
        "RelativeList.swift"
      ],
      "target_dependencies" : [
        "RelativeCollectionsInternal"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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.