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

Failed to build RelativeCollections, reference main (3b5d4f), with Swift 5.8 for macOS (SPM) on 22 Jul 2024 13:18:38 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.46.5
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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/ChimeHQ/RelativeCollections.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/6] Compiling RelativeCollectionsInternal SkipList.swift
[2/6] Compiling RelativeCollectionsInternal Collection+Halve.swift
[3/6] Compiling RelativeCollectionsInternal Collection+RangeQuery.swift
[4/6] Compiling RelativeCollectionsInternal Collection+BinarySearch.swift
[5/6] Compiling RelativeCollectionsInternal RandomAccessCollection+Safe.swift
[6/6] Emitting module RelativeCollectionsInternal
[7/10] 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
                        var branchEntry = branch.storage[entryIndex]
                        ~~~ ^
                        let
[8/10] Compiling RelativeCollections RelativeList+Node.swift
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:148:18: warning: expression of type 'Int' is unused
                                leaf.storage.count
                                ~~~~~~~~~~~~~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:150:12: warning: expression of type 'Int' is unused
                                branch.count
                                ~~~~~~~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:175:24: warning: expression of type 'Weight?' is unused
                                leaf.storage.last?.weight
                                ~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:177:33: warning: expression of type 'Weight?' is unused
                                branch.storage.last?.weight.weight
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:184:24: warning: result of operator '>' is unused
                                leaf.storage.count > capacity.leaf
                                ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:186:26: warning: result of operator '>' is unused
                                branch.storage.count > capacity.branch
                                ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:193:24: warning: result of operator '>' is unused
                                leaf.storage.count > capacity.leaf / 2
                                ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:195:18: warning: result of operator '>' is unused
                                branch.count > capacity.branch / 2
                                ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:152:3: error: missing return in getter expected to return 'Int'
                }
                ^
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:179:3: error: missing return in getter expected to return 'Weight?'
                }
                ^
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:188:3: error: missing return in instance method expected to return 'Bool'
                }
                ^
/Users/admin/builder/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:197:3: error: missing return in instance method expected to return 'Bool'
                }
                ^
[9/10] Emitting module RelativeCollections
[10/10] Compiling RelativeCollections RelativeArray.swift
BUILD FAILURE 5.8 macosSpm