Build Information
Failed to build ConcurrencyPlus, reference main (daf69e
), with Swift 6.1 for Linux on 27 Apr 2025 13:50:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
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.1
Building package at path: $PWD
https://github.com/ChimeHQ/ConcurrencyPlus.git
https://github.com/ChimeHQ/ConcurrencyPlus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "ConcurrencyPlus",
"name" : "ConcurrencyPlus",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "ConcurrencyPlus",
"targets" : [
"ConcurrencyPlus"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ConcurrencyPlusTests",
"module_type" : "SwiftTarget",
"name" : "ConcurrencyPlusTests",
"path" : "Tests/ConcurrencyPlusTests",
"sources" : [
"CancellingContinuationTests.swift",
"MainActorTests.swift",
"SendableContainerTests.swift",
"TaskQueueTests.swift",
"TaskTests.swift"
],
"target_dependencies" : [
"ConcurrencyPlus"
],
"type" : "test"
},
{
"c99name" : "ConcurrencyPlus",
"module_type" : "SwiftTarget",
"name" : "ConcurrencyPlus",
"path" : "Sources/ConcurrencyPlus",
"product_memberships" : [
"ConcurrencyPlus"
],
"sources" : [
"Continuation+Resuming.swift",
"MainActor+Unsafe.swift",
"NSXPCConnection+Continuation.swift",
"RelaxedDispatchQueue.swift",
"SendableContainers.swift",
"Task+Relay.swift",
"TaskQueue.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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
[4/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)
[5/10] Compiling ConcurrencyPlus NSXPCConnection+Continuation.swift
[6/10] Compiling ConcurrencyPlus Task+Relay.swift
[7/10] Compiling ConcurrencyPlus TaskQueue.swift
[8/10] Compiling ConcurrencyPlus SendableContainers.swift
[9/10] Emitting module ConcurrencyPlus
[10/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling ConcurrencyPlus MainActor+Unsafe.swift
[3/9] Emitting module ConcurrencyPlus
[4/9] Compiling ConcurrencyPlus Continuation+Resuming.swift
[5/9] Compiling ConcurrencyPlus NSXPCConnection+Continuation.swift
[6/9] Compiling ConcurrencyPlus SendableContainers.swift
[7/9] Compiling ConcurrencyPlus TaskQueue.swift
[8/9] Compiling ConcurrencyPlus Task+Relay.swift
[9/9] 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
BUILD FAILURE 6.1 linux