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 Linux on 23 Jun 2025 12:18:42 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /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 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:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ChimeHQ/RelativeCollections.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling RelativeCollectionsInternal Collection+RangeQuery.swift
[5/9] Compiling RelativeCollectionsInternal Collection+Halve.swift
[6/9] Emitting module RelativeCollectionsInternal
[7/9] Compiling RelativeCollectionsInternal Collection+BinarySearch.swift
[8/9] Compiling RelativeCollectionsInternal SkipList.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] Compiling RelativeCollections RelativeList+Node.swift
/host/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 | 			)
/host/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 |
/host/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 |
/host/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(
[13/14] Emitting module RelativeCollections
[14/14] Compiling RelativeCollections RelativeArray.swift
/host/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 | 	}
/host/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 | }
Build complete! (15.12s)
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.10"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.