The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of RelativeCollections, reference main (1823a4), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 12:10:49 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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 1823a41 Make RelativeArray Sendable
Cloned https://github.com/ChimeHQ/RelativeCollections.git
Revision (git rev-parse @):
1823a416259c481f68accd4bc7f6a781cc888662
SUCCESS checkout https://github.com/ChimeHQ/RelativeCollections.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ChimeHQ/RelativeCollections.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/9] Compiling RelativeCollectionsInternal SkipList.swift
[5/9] Compiling RelativeCollectionsInternal Collection+Halve.swift
[6/9] Compiling RelativeCollectionsInternal Collection+RangeQuery.swift
[7/9] Compiling RelativeCollectionsInternal Collection+BinarySearch.swift
[8/9] Compiling RelativeCollectionsInternal RandomAccessCollection+Safe.swift
[9/9] Emitting module RelativeCollectionsInternal
[10/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
[11/13] Compiling RelativeCollections RelativeList+Node.swift
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:74:12: warning: capture of non-sendable type 'Weight.Type' in an isolated closure; this is an error in the Swift 6 language mode
 72 | 			let config = Storage.Configuration(
 73 | 				initial: NodeWeight(count: 0, weight: configuration.initial),
 74 | 				add: { NodeWeight(count: $0.count + $1.count, weight: add($0.weight, $1.weight)) },
    |            `- warning: capture of non-sendable type 'Weight.Type' in an isolated closure; this is an error in the Swift 6 language mode
 75 | 				subtract: { NodeWeight(count: $0.count - $1.count, weight: sub($0.weight, $1.weight)) }
 76 | 			)
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:69:8: warning: capture of non-sendable type 'Weight.Type' in an isolated closure; this is an error in the Swift 6 language mode
 67 |
 68 | 		init(configuration: RelativeList.Leaf.Storage.Configuration) {
 69 | 			let add = configuration.add
    |        `- warning: capture of non-sendable type 'Weight.Type' in an isolated closure; this is an error in the Swift 6 language mode
 70 | 			let sub = configuration.subtract
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:75:17: warning: capture of non-sendable type 'Weight.Type' in an isolated closure; this is an error in the Swift 6 language mode
 73 | 				initial: NodeWeight(count: 0, weight: configuration.initial),
 74 | 				add: { NodeWeight(count: $0.count + $1.count, weight: add($0.weight, $1.weight)) },
 75 | 				subtract: { NodeWeight(count: $0.count - $1.count, weight: sub($0.weight, $1.weight)) }
    |                 `- warning: capture of non-sendable type 'Weight.Type' in an isolated closure; this is an error in the Swift 6 language mode
 76 | 			)
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:70:8: warning: capture of non-sendable type 'Weight.Type' in an isolated closure; this is an error in the Swift 6 language mode
 68 | 		init(configuration: RelativeList.Leaf.Storage.Configuration) {
 69 | 			let add = configuration.add
 70 | 			let sub = configuration.subtract
    |        `- warning: capture of non-sendable type 'Weight.Type' in an isolated closure; this is an error in the Swift 6 language mode
 71 |
 72 | 			let config = Storage.Configuration(
[12/13] Compiling RelativeCollections RelativeArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeArray.swift:74:19: warning: capture of non-sendable type 'Weight.Type' in an isolated closure; this is an error in the Swift 6 language mode
 72 | 	public init() {
 73 | 		self.initial = Weight.zero
 74 | 		self.add = { $0 + $1 }
    |                   `- warning: capture of non-sendable type 'Weight.Type' in an isolated closure; this is an error in the Swift 6 language mode
 75 | 		self.subtract = { $0 - $1 }
 76 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeArray.swift:75:24: warning: capture of non-sendable type 'Weight.Type' in an isolated closure; this is an error in the Swift 6 language mode
 73 | 		self.initial = Weight.zero
 74 | 		self.add = { $0 + $1 }
 75 | 		self.subtract = { $0 - $1 }
    |                        `- warning: capture of non-sendable type 'Weight.Type' in an isolated closure; this is an error in the Swift 6 language mode
 76 | 	}
 77 | }
[13/13] Emitting module RelativeCollections
Build complete! (4.29s)
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.10"
}
Done.