The Swift Package Index logo.Swift Package Index

Build Information

Successful build of RelativeCollections, reference main (1823a4), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 00:13:32 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
========================================
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",
  "traits": [
    "default"
  ],
  "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",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ChimeHQ/RelativeCollections.git
[1/307] Fetching relativecollections
Fetched https://github.com/ChimeHQ/RelativeCollections.git from cache (0.73s)
Creating working copy for https://github.com/ChimeHQ/RelativeCollections.git
Working copy of https://github.com/ChimeHQ/RelativeCollections.git resolved at main (1823a41)
warning: '.resolve-product-dependencies': dependency 'relativecollections' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ChimeHQ/RelativeCollections.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/9] Compiling RelativeCollectionsInternal SkipList.swift
[5/9] Compiling RelativeCollectionsInternal Collection+RangeQuery.swift
[6/9] Compiling RelativeCollectionsInternal Collection+Halve.swift
[7/9] Emitting module RelativeCollectionsInternal
[8/9] Compiling RelativeCollectionsInternal Collection+BinarySearch.swift
[9/9] Compiling RelativeCollectionsInternal RandomAccessCollection+Safe.swift
[10/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 [#SendableMetatypes]
 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 [#SendableMetatypes]
 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:75:17: warning: capture of non-Sendable type 'Weight.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
 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 [#SendableMetatypes]
 76 | 			)
 77 |
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[11/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
[12/13] Emitting module RelativeCollections
[13/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 [#SendableMetatypes]
 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 [#SendableMetatypes]
 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 [#SendableMetatypes]
 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 [#SendableMetatypes]
 76 | 	}
 77 | }
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
Build complete! (5.68s)
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.