Build Information
Failed to build ConcurrencyPlus, reference main (daf69e
), with Swift 6.0 for Linux on 29 Nov 2024 12:47:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/ConcurrencyPlus.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/ConcurrencyPlus
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at daf69ed Prepare for archiving
Cloned https://github.com/ChimeHQ/ConcurrencyPlus.git
Revision (git rev-parse @):
daf69ed837fa04d4ba666f5a99378cf1815f0dab
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/ConcurrencyPlus.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/ChimeHQ/ConcurrencyPlus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
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/10] Compiling ConcurrencyPlus SendableContainers.swift
[4/10] Compiling ConcurrencyPlus TaskQueue.swift
[5/10] Compiling ConcurrencyPlus Task+Relay.swift
[6/10] Compiling ConcurrencyPlus RelaxedDispatchQueue.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:27:18: error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
25 | #if compiler(>=5.9)
26 | if #available(macOS 14.0, iOS 17.0, tvOS 17.0, watchOS 10.0, *) {
27 | internalQueue.asyncUnsafe(execute: block)
| `- error: value of type 'DispatchQueue' has no member 'asyncUnsafe'
28 | } else {
29 | internalQueue.async(execute: block)
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:29:33: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
22 |
23 | /// Identical semantics to `DispatchQueue.asyncUnsafe()`.
24 | public func async(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
25 | #if compiler(>=5.9)
26 | if #available(macOS 14.0, iOS 17.0, tvOS 17.0, watchOS 10.0, *) {
27 | internalQueue.asyncUnsafe(execute: block)
28 | } else {
29 | internalQueue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
30 | }
31 | #else
[7/10] Compiling ConcurrencyPlus Continuation+Resuming.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/Continuation+Resuming.swift:17:13: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
15 | switch (value, error) {
16 | case (let value?, nil):
17 | resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
18 | case (_, let error?):
19 | resume(throwing: error)
[8/10] Compiling ConcurrencyPlus NSXPCConnection+Continuation.swift
[9/10] Compiling ConcurrencyPlus MainActor+Unsafe.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:21:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
16 | #else
17 | @_unavailableFromAsync
18 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | #if swift(>=5.9)
20 | if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
21 | return try MainActor.assumeIsolated(body)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | }
23 | #endif
[10/10] Emitting module ConcurrencyPlus
BUILD FAILURE 6.0 linux