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 Deferred, reference 4.1.0 (96ad3f), with Swift 6.2 (beta) for Linux on 19 Jun 2025 16:45:55 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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/bignerdranch/Deferred.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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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.
Building for debugging...
[0/4] Write sources
[2/4] Compiling Atomics Empty.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] Emitting module 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)
[6/24] Compiling Deferred Promise.swift
[7/24] Compiling Deferred Protected.swift
[8/24] Compiling Deferred Atomics.swift
[9/24] Compiling Deferred Deferred.swift
[10/24] Compiling Deferred DeferredQueue.swift
[11/24] Compiling Deferred Future.swift
[12/24] Compiling Deferred FutureAndThen.swift
[13/24] Compiling Deferred FutureAsync.swift
[14/24] Compiling Deferred FutureCollections.swift
[15/24] Compiling Deferred FutureComposition.swift
[16/24] Compiling Deferred FutureUpon.swift
[17/24] Compiling Deferred Locking.swift
[18/24] Compiling Deferred FutureMap.swift
[19/24] Compiling Deferred FuturePeek.swift
[20/24] Compiling Deferred FutureEveryMap.swift
[21/24] Compiling Deferred FutureIgnore.swift
[22/24] Compiling Deferred DeferredVariant.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 |
[23/24] Compiling Deferred 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 |
[24/24] Compiling Deferred ExistentialFuture.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 |
BUILD FAILURE 6.2 linux