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 Linux on 22 Jul 2024 13:17:43 UTC.

Build Command

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

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 /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 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:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/ChimeHQ/RelativeCollections.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:b64e9b208a540cfe8c395754a98ad2db7976bcbca6a5320a43e0e41342f74819
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Building for debugging...
[1/6] Compiling RelativeCollectionsInternal SkipList.swift
[2/6] Compiling RelativeCollectionsInternal Collection+BinarySearch.swift
[3/6] Compiling RelativeCollectionsInternal Collection+Halve.swift
[4/6] Emitting module RelativeCollectionsInternal
[5/6] Compiling RelativeCollectionsInternal Collection+RangeQuery.swift
[6/6] Compiling RelativeCollectionsInternal RandomAccessCollection+Safe.swift
[9/12] 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
                        var branchEntry = branch.storage[entryIndex]
                        ~~~ ^
                        let
[10/12] Compiling RelativeCollections RelativeList+Node.swift
/host/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:148:18: warning: expression of type 'Int' is unused
                                leaf.storage.count
                                ~~~~~~~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:150:12: warning: expression of type 'Int' is unused
                                branch.count
                                ~~~~~~~^~~~~
/host/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:175:24: warning: expression of type 'Weight?' is unused
                                leaf.storage.last?.weight
                                ~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:177:33: warning: expression of type 'Weight?' is unused
                                branch.storage.last?.weight.weight
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/host/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:184:24: warning: result of operator '>' is unused
                                leaf.storage.count > capacity.leaf
                                ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:186:26: warning: result of operator '>' is unused
                                branch.storage.count > capacity.branch
                                ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:193:24: warning: result of operator '>' is unused
                                leaf.storage.count > capacity.leaf / 2
                                ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:195:18: warning: result of operator '>' is unused
                                branch.count > capacity.branch / 2
                                ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:152:3: error: missing return in getter expected to return 'Int'
                }
                ^
/host/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:179:3: error: missing return in getter expected to return 'Weight?'
                }
                ^
/host/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:188:3: error: missing return in instance method expected to return 'Bool'
                }
                ^
/host/spi-builder-workspace/Sources/RelativeCollections/RelativeList+Node.swift:197:3: error: missing return in instance method expected to return 'Bool'
                }
                ^
[11/12] Compiling RelativeCollections RelativeArray.swift
[12/12] Emitting module RelativeCollections
BUILD FAILURE 5.8 linux