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

Failed to build Uncertain, reference main (962d4c), with Swift 6.0 for Linux on 28 Aug 2025 15:16:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/Uncertain.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/mattt/Uncertain
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 962d4cc Add link to NSHipster blog post (#11)
Cloned https://github.com/mattt/Uncertain.git
Revision (git rev-parse @):
962d4cc802a2b179685d33919cb02588218d063e
SUCCESS checkout https://github.com/mattt/Uncertain.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mattt/Uncertain.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module Uncertain
[4/4] Compiling Uncertain Uncertain.swift
/host/spi-builder-workspace/Sources/Uncertain/Uncertain.swift:118:25: error: converting non-sendable function value to '@Sendable (T, T) -> Bool' may introduce data races
 116 |             left: lhs.node,
 117 |             threshold: rhs,
 118 |             comparison: ==
     |                         `- error: converting non-sendable function value to '@Sendable (T, T) -> Bool' may introduce data races
 119 |         )
 120 |
/host/spi-builder-workspace/Sources/Uncertain/Uncertain.swift:132:25: error: converting non-sendable function value to '@Sendable (T, T) -> Bool' may introduce data races
 130 |             left: lhs.node,
 131 |             threshold: rhs,
 132 |             comparison: !=
     |                         `- error: converting non-sendable function value to '@Sendable (T, T) -> Bool' may introduce data races
 133 |         )
 134 |
/host/spi-builder-workspace/Sources/Uncertain/Uncertain.swift:163:25: error: converting non-sendable function value to '@Sendable (T, T) -> Bool' may introduce data races
 161 |             left: lhs.node,
 162 |             threshold: rhs,
 163 |             comparison: >
     |                         `- error: converting non-sendable function value to '@Sendable (T, T) -> Bool' may introduce data races
 164 |         )
 165 |
/host/spi-builder-workspace/Sources/Uncertain/Uncertain.swift:177:25: error: converting non-sendable function value to '@Sendable (T, T) -> Bool' may introduce data races
 175 |             left: lhs.node,
 176 |             threshold: rhs,
 177 |             comparison: <
     |                         `- error: converting non-sendable function value to '@Sendable (T, T) -> Bool' may introduce data races
 178 |         )
 179 |
/host/spi-builder-workspace/Sources/Uncertain/Uncertain.swift:191:25: error: converting non-sendable function value to '@Sendable (T, T) -> Bool' may introduce data races
 189 |             left: lhs.node,
 190 |             threshold: rhs,
 191 |             comparison: >=
     |                         `- error: converting non-sendable function value to '@Sendable (T, T) -> Bool' may introduce data races
 192 |         )
 193 |
/host/spi-builder-workspace/Sources/Uncertain/Uncertain.swift:205:25: error: converting non-sendable function value to '@Sendable (T, T) -> Bool' may introduce data races
 203 |             left: lhs.node,
 204 |             threshold: rhs,
 205 |             comparison: <=
     |                         `- error: converting non-sendable function value to '@Sendable (T, T) -> Bool' may introduce data races
 206 |         )
 207 |
/host/spi-builder-workspace/Sources/Uncertain/Uncertain.swift:235:24: error: converting non-sendable function value to '@Sendable (T, T) -> T' may introduce data races
 233 |             left: lhs.node,
 234 |             right: rhs.node,
 235 |             operation: +
     |                        `- error: converting non-sendable function value to '@Sendable (T, T) -> T' may introduce data races
 236 |         )
 237 |
/host/spi-builder-workspace/Sources/Uncertain/Uncertain.swift:249:24: error: converting non-sendable function value to '@Sendable (T, T) -> T' may introduce data races
 247 |             left: lhs.node,
 248 |             right: rhs.node,
 249 |             operation: -
     |                        `- error: converting non-sendable function value to '@Sendable (T, T) -> T' may introduce data races
 250 |         )
 251 |
/host/spi-builder-workspace/Sources/Uncertain/Uncertain.swift:263:24: error: converting non-sendable function value to '@Sendable (T, T) -> T' may introduce data races
 261 |             left: lhs.node,
 262 |             right: rhs.node,
 263 |             operation: *
     |                        `- error: converting non-sendable function value to '@Sendable (T, T) -> T' may introduce data races
 264 |         )
 265 |
/host/spi-builder-workspace/Sources/Uncertain/Uncertain.swift:337:24: error: converting non-sendable function value to '@Sendable (T, T) -> T' may introduce data races
 335 |             left: lhs.node,
 336 |             right: rhs.node,
 337 |             operation: /
     |                        `- error: converting non-sendable function value to '@Sendable (T, T) -> T' may introduce data races
 338 |         )
 339 |
BUILD FAILURE 6.0 linux