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

Successful build of Deferred, reference develop (c82b9e), with Swift 6.2 (beta) for Linux on 19 Jun 2025 16:45:53 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: develop
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
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at c82b9ef Add concurrency migration guide
Cloned https://github.com/bignerdranch/Deferred.git
Revision (git rev-parse @):
c82b9ef73132ac88a768b9e2fdbab7765346c61d
SUCCESS checkout https://github.com/bignerdranch/Deferred.git at develop
========================================
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-2":/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 CAtomics Empty.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] Emitting module Deferred
/host/spi-builder-workspace/Sources/Deferred/Atomics.swift:19:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
 17 |
 18 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
 19 | @_implementationOnly import CAtomics
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
 20 | #elseif canImport(Darwin)
 21 | #warning("Using fallback implementation for Swift Playgrounds. This is unsafe for use in production. Check your build setup.")
/host/spi-builder-workspace/Sources/Deferred/DeferredVariant.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
  8 |
  9 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
 10 | @_implementationOnly import CAtomics
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
 11 | #endif
 12 |
[6/24] Compiling Deferred Promise.swift
[7/24] Compiling Deferred Protected.swift
[8/24] Compiling Deferred Future.swift
[9/24] Compiling Deferred FutureAndThen.swift
[10/24] Compiling Deferred FutureAsync.swift
[11/24] Compiling Deferred DeferredVariant.swift
/host/spi-builder-workspace/Sources/Deferred/DeferredVariant.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
  8 |
  9 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
 10 | @_implementationOnly import CAtomics
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
 11 | #endif
 12 |
/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:126:17: 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 |         perform(body)
    |                 `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
127 |     }
128 | }
[12/24] Compiling Deferred Executor.swift
/host/spi-builder-workspace/Sources/Deferred/DeferredVariant.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
  8 |
  9 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
 10 | @_implementationOnly import CAtomics
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
 11 | #endif
 12 |
/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:126:17: 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 |         perform(body)
    |                 `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
127 |     }
128 | }
[13/24] Compiling Deferred ExistentialFuture.swift
/host/spi-builder-workspace/Sources/Deferred/DeferredVariant.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
  8 |
  9 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
 10 | @_implementationOnly import CAtomics
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
 11 | #endif
 12 |
/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:126:17: 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 |         perform(body)
    |                 `- warning: passing non-Sendable parameter 'body' to function expecting a '@Sendable' closure
127 |     }
128 | }
[14/24] Compiling Deferred FutureEveryMap.swift
[15/24] Compiling Deferred FutureIgnore.swift
[16/24] Compiling Deferred FutureMap.swift
[17/24] Compiling Deferred FuturePeek.swift
[18/24] Compiling Deferred FutureCollections.swift
[19/24] Compiling Deferred FutureComposition.swift
[20/24] Compiling Deferred Atomics.swift
/host/spi-builder-workspace/Sources/Deferred/Atomics.swift:19:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
 17 |
 18 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
 19 | @_implementationOnly import CAtomics
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
 20 | #elseif canImport(Darwin)
 21 | #warning("Using fallback implementation for Swift Playgrounds. This is unsafe for use in production. Check your build setup.")
[21/24] Compiling Deferred Deferred.swift
/host/spi-builder-workspace/Sources/Deferred/Atomics.swift:19:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
 17 |
 18 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
 19 | @_implementationOnly import CAtomics
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
 20 | #elseif canImport(Darwin)
 21 | #warning("Using fallback implementation for Swift Playgrounds. This is unsafe for use in production. Check your build setup.")
[22/24] Compiling Deferred DeferredQueue.swift
/host/spi-builder-workspace/Sources/Deferred/Atomics.swift:19:22: warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
 17 |
 18 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
 19 | @_implementationOnly import CAtomics
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Deferred' may lead to instability during execution
 20 | #elseif canImport(Darwin)
 21 | #warning("Using fallback implementation for Swift Playgrounds. This is unsafe for use in production. Check your build setup.")
[23/24] Compiling Deferred FutureUpon.swift
[24/24] Compiling Deferred Locking.swift
[26/42] Compiling Task TaskPromise.swift
[27/42] Compiling Task TaskRecovery.swift
[28/44] Emitting module Task
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:14:22: warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
 12 | #endif
 13 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
 14 | @_implementationOnly import CAtomics
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
 15 | #endif
 16 |
[29/44] Compiling Task TaskIgnore.swift
[30/44] Compiling Task TaskMap.swift
[31/44] Compiling Task Either.swift
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:14:22: warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
 12 | #endif
 13 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
 14 | @_implementationOnly import CAtomics
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
 15 | #endif
 16 |
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:275:48: warning: converting non-Sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
273 |
274 |         if let cancellation = cancellation {
275 |             DispatchQueue.any().async(execute: cancellation)
    |                                                `- warning: converting non-Sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
276 |         }
277 |     }
[32/44] Compiling Task ExistentialTask.swift
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:14:22: warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
 12 | #endif
 13 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
 14 | @_implementationOnly import CAtomics
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
 15 | #endif
 16 |
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:275:48: warning: converting non-Sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
273 |
274 |         if let cancellation = cancellation {
275 |             DispatchQueue.any().async(execute: cancellation)
    |                                                `- warning: converting non-Sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
276 |         }
277 |     }
[33/44] Compiling Task Progress+ExplicitComposition.swift
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:14:22: warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
 12 | #endif
 13 | #if SWIFT_PACKAGE || (canImport(CAtomics) && !FORCE_PLAYGROUND_COMPATIBILITY)
 14 | @_implementationOnly import CAtomics
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Task' may lead to instability during execution
 15 | #endif
 16 |
/host/spi-builder-workspace/Sources/Task/ExistentialTask.swift:275:48: warning: converting non-Sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
273 |
274 |         if let cancellation = cancellation {
275 |             DispatchQueue.any().async(execute: cancellation)
    |                                                `- warning: converting non-Sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
276 |         }
277 |     }
[34/44] Compiling Task TaskResult.swift
[35/44] Compiling Task TaskUpon.swift
[36/44] Compiling Task TaskEveryMap.swift
[37/44] Compiling Task TaskFallback.swift
[38/44] Compiling Task TaskAsync.swift
[39/44] Compiling Task TaskChain.swift
[40/44] Compiling Task Progress+Future.swift
[41/44] Compiling Task Task.swift
[42/44] Compiling Task TaskAndThen.swift
[43/44] Compiling Task TaskCollections.swift
[44/44] Compiling Task TaskComposition.swift
Build complete! (15.61s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Deferred",
  "name" : "Deferred",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Deferred",
      "targets" : [
        "Deferred",
        "Task"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TaskTests",
      "module_type" : "SwiftTarget",
      "name" : "TaskTests",
      "path" : "Tests/TaskTests",
      "sources" : [
        "AllTestsCommon.swift",
        "TaskAsyncTests.swift",
        "TaskCompositionTests.swift",
        "TaskComprehensiveTests.swift",
        "TaskProgressTests.swift",
        "TaskProtocolTests.swift",
        "TaskResultTests.swift",
        "TaskTests.swift"
      ],
      "target_dependencies" : [
        "Deferred",
        "Task"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Task",
      "module_type" : "SwiftTarget",
      "name" : "Task",
      "path" : "Sources/Task",
      "product_memberships" : [
        "Deferred"
      ],
      "sources" : [
        "Either.swift",
        "ExistentialTask.swift",
        "Progress+ExplicitComposition.swift",
        "Progress+Future.swift",
        "Task.swift",
        "TaskAndThen.swift",
        "TaskAsync.swift",
        "TaskChain.swift",
        "TaskCollections.swift",
        "TaskComposition.swift",
        "TaskEveryMap.swift",
        "TaskFallback.swift",
        "TaskIgnore.swift",
        "TaskMap.swift",
        "TaskPromise.swift",
        "TaskRecovery.swift",
        "TaskResult.swift",
        "TaskUpon.swift"
      ],
      "target_dependencies" : [
        "Deferred",
        "CAtomics"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DeferredTests",
      "module_type" : "SwiftTarget",
      "name" : "DeferredTests",
      "path" : "Tests/DeferredTests",
      "sources" : [
        "AllTestsCommon.swift",
        "DeferredTests.swift",
        "ExistentialFutureTests.swift",
        "FilledDeferredTests.swift",
        "FutureAsyncTests.swift",
        "FutureCustomExecutorTests.swift",
        "FutureIgnoreTests.swift",
        "FutureTests.swift",
        "ObjectDeferredTests.swift",
        "PerformanceTests.swift",
        "ProtectedTests.swift",
        "SwiftBugTests.swift"
      ],
      "target_dependencies" : [
        "Deferred"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Deferred",
      "module_type" : "SwiftTarget",
      "name" : "Deferred",
      "path" : "Sources/Deferred",
      "product_memberships" : [
        "Deferred"
      ],
      "sources" : [
        "Atomics.swift",
        "Deferred.swift",
        "DeferredQueue.swift",
        "DeferredVariant.swift",
        "Executor.swift",
        "ExistentialFuture.swift",
        "Future.swift",
        "FutureAndThen.swift",
        "FutureAsync.swift",
        "FutureCollections.swift",
        "FutureComposition.swift",
        "FutureEveryMap.swift",
        "FutureIgnore.swift",
        "FutureMap.swift",
        "FuturePeek.swift",
        "FutureUpon.swift",
        "Locking.swift",
        "Promise.swift",
        "Protected.swift"
      ],
      "target_dependencies" : [
        "CAtomics"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CAtomics",
      "module_type" : "ClangTarget",
      "name" : "CAtomics",
      "path" : "Sources/CAtomics",
      "product_memberships" : [
        "Deferred"
      ],
      "sources" : [
        "Empty.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.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.
Done.