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 macOS (SPM) on 5 Nov 2024 13:16:03 UTC.

Swift 6 data race errors: 0

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/ChimeHQ/RelativeCollections.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
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": "relativecollections",
      "name": "RelativeCollections",
      "url": "https://github.com/ChimeHQ/RelativeCollections.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RelativeCollections",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ChimeHQ/RelativeCollections.git
[1/299] Fetching relativecollections
Fetched https://github.com/ChimeHQ/RelativeCollections.git from cache (0.80s)
Creating working copy for https://github.com/ChimeHQ/RelativeCollections.git
Working copy of https://github.com/ChimeHQ/RelativeCollections.git resolved at main (3b5d4f4)
warning: '.resolve-product-dependencies': dependency 'relativecollections' 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/ChimeHQ/RelativeCollections.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/9] Compiling RelativeCollectionsInternal SkipList.swift
[5/9] Compiling RelativeCollectionsInternal Collection+BinarySearch.swift
[6/9] Compiling RelativeCollectionsInternal Collection+RangeQuery.swift
[7/9] Compiling RelativeCollectionsInternal Collection+Halve.swift
[8/9] Compiling RelativeCollectionsInternal RandomAccessCollection+Safe.swift
[9/9] Emitting module RelativeCollectionsInternal
[10/13] Compiling RelativeCollections RelativeList+Node.swift
[11/13] Emitting module RelativeCollections
[12/13] Compiling RelativeCollections RelativeList.swift
/Users/admin/builder/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
[13/13] Compiling RelativeCollections RelativeArray.swift
Build complete! (8.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RelativeCollections",
  "name" : "RelativeCollections",
  "path" : "/Users/admin/builder/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"
}
Done.