The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Deferred, reference 4.1.0 (96ad3f), with Swift 6.4 for Linux on 18 Sep 2026 15:21:57 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bignerdranch/Deferred.git
Reference: 4.1.0
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/bignerdranch/Deferred
 * tag               4.1.0      -> FETCH_HEAD
HEAD is now at 96ad3f6 Merge pull request #293 from bignerdranch/zwaldowski/bump-version
Cloned https://github.com/bignerdranch/Deferred.git
Revision (git rev-parse @):
96ad3f6dd1ddaffe1830dbb3b1cb783a87d6e952
SUCCESS checkout https://github.com/bignerdranch/Deferred.git at 4.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/bignerdranch/Deferred.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/DeferredTests/Tests/AllTestsCommon.swift': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/TaskTests/Tests/AllTestsCommon.swift': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/DeferredTests/Tests/AllTestsCommon.swift': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/TaskTests/Tests/AllTestsCommon.swift': File not found.
Building for debugging...
[Pre-planning 1 / 125]
[38 / 53] Deferred
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:46:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 44 | ///     }
 45 | ///
 46 | public protocol Executor: class {
    |                           `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 47 |     /// Execute the `body` closure.
 48 |     func submit(_ body: @escaping() -> Void)
[48 / 63] Task
[57 / 63] Task
[58 / 63] Task
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:288:48: warning: converting non-Sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
286 |
287 |         if let cancellation = cancellation {
288 |             DispatchQueue.any().async(execute: cancellation)
    |                                                `- warning: converting non-Sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
289 |         }
290 |     }
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/Deferred/Executor.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Executor.swift
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:46:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 44 | ///     }
 45 | ///
 46 | public protocol Executor: class {
    |                           `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 47 |     /// Execute the `body` closure.
 48 |     func submit(_ body: @escaping() -> Void)
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:83:24: warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
 80 |     }
 81 |
 82 |     public func submit(_ body: @escaping() -> Void) {
    |                          `- note: parameter 'body' is implicitly non-Sendable
 83 |         async(execute: body)
    |                        `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
 84 |     }
 85 |
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:99:22: warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
 96 | /// operations in the queue.
 97 | extension OperationQueue: Executor {
 98 |     public func submit(_ body: @escaping() -> Void) {
    |                          `- note: parameter 'body' is implicitly non-Sendable
 99 |         addOperation(body)
    |                      `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
100 |     }
101 | }
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:127:21: warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
123 | /// of the run loop.
124 | extension RunLoop: Executor {
125 |     public func submit(_ body: @escaping() -> Void) {
    |                          `- note: parameter 'body' is implicitly non-Sendable
126 |         if #available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
127 |             perform(body)
    |                     `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
128 |         } else {
129 |             getCFRunLoop().submit(body)
/host/spi-builder-workspace/Sources/Deferred/Executor.swift:129:13: error: 'getCFRunLoop' is inaccessible due to 'internal' protection level
127 |             perform(body)
128 |         } else {
129 |             getCFRunLoop().submit(body)
    |             `- error: 'getCFRunLoop' is inaccessible due to 'internal' protection level
130 |         }
131 |     }
Foundation.RunLoop.getCFRunLoop:2:15: note: 'getCFRunLoop()' declared here
1 | class RunLoop {
2 | internal func getCFRunLoop() -> CFRunLoop}
  |               `- note: 'getCFRunLoop()' declared here
3 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Deferred/Atomics.swift /host/spi-builder-workspace/Sources/Deferred/Deferred.swift /host/spi-builder-workspace/Sources/Deferred/DeferredQueue.swift -primary-file /host/spi-builder-workspace/Sources/Deferred/DeferredVariant.swift -primary-file /host/spi-builder-workspace/Sources/Deferred/Executor.swift -primary-file /host/spi-builder-workspace/Sources/Deferred/ExistentialFuture.swift /host/spi-builder-workspace/Sources/Deferred/Future.swift /host/spi-builder-workspace/Sources/Deferred/FutureAndThen.swift /host/spi-builder-workspace/Sources/Deferred/FutureAsync.swift /host/spi-builder-workspace/Sources/Deferred/FutureCollections.swift /host/spi-builder-workspace/Sources/Deferred/FutureComposition.swift /host/spi-builder-workspace/Sources/Deferred/FutureEveryMap.swift /host/spi-builder-workspace/Sources/Deferred/FutureIgnore.swift /host/spi-builder-workspace/Sources/Deferred/FutureMap.swift /host/spi-builder-workspace/Sources/Deferred/FuturePeek.swift /host/spi-builder-workspace/Sources/Deferred/FutureUpon.swift /host/spi-builder-workspace/Sources/Deferred/Locking.swift /host/spi-builder-workspace/Sources/Deferred/Promise.swift /host/spi-builder-workspace/Sources/Deferred/Protected.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/Deferred.build/Debug-linux-x86_64/Deferred-t.build/Objects-normal/x86_64/supplementaryOutputs-2 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/Sources/Atomics/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/Sources/Atomics/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Deferred.build/Debug-linux-x86_64/Deferred-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Deferred.build/Debug-linux-x86_64/Deferred-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Deferred.build/Debug-linux-x86_64/Deferred-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Deferred -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Deferred.build/Debug-linux-x86_64/Deferred-t.build/Objects-normal/x86_64/Deferred_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Deferred.build/Debug-linux-x86_64/Deferred-t.build/Objects-normal/x86_64/DeferredVariant.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Deferred.build/Debug-linux-x86_64/Deferred-t.build/Objects-normal/x86_64/Executor.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Deferred.build/Debug-linux-x86_64/Deferred-t.build/Objects-normal/x86_64/ExistentialFuture.o -index-unit-output-path /Deferred.build/Debug-linux-x86_64/Deferred-t.build/Objects-normal/x86_64/DeferredVariant.o -index-unit-output-path /Deferred.build/Debug-linux-x86_64/Deferred-t.build/Objects-normal/x86_64/Executor.o -index-unit-output-path /Deferred.build/Debug-linux-x86_64/Deferred-t.build/Objects-normal/x86_64/ExistentialFuture.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux