The Swift Package Index logo.Swift Package Index

Build Information

Successful build of FutureResult, reference 1.0.0 (04e845), with Swift 6.2 for Linux on 21 Jun 2025 07:33:28 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/tapsandswipes/FutureResult.git
Reference: 1.0.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/tapsandswipes/FutureResult
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 04e8452 Update dependency
Cloned https://github.com/tapsandswipes/FutureResult.git
Revision (git rev-parse @):
04e8452df265ee7b0c89707d1b2e12a91d212b1a
SUCCESS checkout https://github.com/tapsandswipes/FutureResult.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tapsandswipes/FutureResult.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/tapsandswipes/Chainable.git
[1/51] Fetching chainable
Fetched https://github.com/tapsandswipes/Chainable.git from cache (0.20s)
Computing version for https://github.com/tapsandswipes/Chainable.git
Computed https://github.com/tapsandswipes/Chainable.git at 1.0.0 (0.68s)
Creating working copy for https://github.com/tapsandswipes/Chainable.git
Working copy of https://github.com/tapsandswipes/Chainable.git resolved at 1.0.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/9] Emitting module FunctionComposition
[7/9] Compiling FunctionComposition FunctionComposition.swift
[9/10] Emitting module Chainable
[10/10] Compiling Chainable Chainable.swift
[12/18] Compiling ResultExtras Result+Initializers.swift
[13/18] Compiling ResultExtras Result+Accessors.swift
[14/18] Compiling ResultExtras Result+Chainable.swift
/host/spi-builder-workspace/Sources/ResultExtras/Result+Chainable.swift:4:1: warning: extension declares a conformance of imported type 'Result' to imported protocol 'Chainable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 2 | import Chainable
 3 |
 4 | extension Result: Chainable {}
   | |- warning: extension declares a conformance of imported type 'Result' to imported protocol 'Chainable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |
 6 | public
[15/18] Compiling ResultExtras Result+Composition.swift
[16/18] Emitting module ResultExtras
/host/spi-builder-workspace/Sources/ResultExtras/Result+Chainable.swift:4:1: warning: extension declares a conformance of imported type 'Result' to imported protocol 'Chainable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 2 | import Chainable
 3 |
 4 | extension Result: Chainable {}
   | |- warning: extension declares a conformance of imported type 'Result' to imported protocol 'Chainable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |
 6 | public
[17/18] Compiling ResultExtras Result+Transforms.swift
[18/18] Compiling ResultExtras Result+Utils.swift
[20/31] Compiling FutureResult FutureResult+Initializers.swift
[21/31] Compiling FutureResult FutureResult+Monoid.swift
[22/32] Compiling FutureResult FutureResult.swift
[23/32] Compiling FutureResult FutureResult+Transforms.swift
[24/32] Compiling FutureResult FutureResult+Utils.swift
[25/32] Compiling FutureResult FutureResult+Scheduling.swift
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:68:17: warning: mutation of captured var 'r' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
66 |         waitQueue.async {
67 |             run {
68 |                 r = $0
   |                 `- warning: mutation of captured var 'r' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
69 |                 semaphore.signal()
70 |             }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[26/32] Compiling FutureResult FutureResult+Debug.swift
[27/32] Compiling FutureResult FutureResult+Functor.swift
[28/32] Compiling FutureResult Atomic.swift
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Async.swift:9:65: warning: converting a value of type '(__shared sending Result<R, E>) -> ()' to type '(Result<R, E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
 7 | extension FutureResult {
 8 |     func run() async throws -> R {
 9 |         try await withCheckedThrowingContinuation { self.run($0.resume) }
   |                                                                 |- warning: converting a value of type '(__shared sending Result<R, E>) -> ()' to type '(Result<R, E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
   |                                                                 `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
10 |     }
11 | }
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Async.swift:17:69: warning: converting a value of type '(__shared sending Result<(), E>) -> ()' to type '(Result<(), E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
15 | extension FutureResult where R == Void {
16 |     func run() async throws {
17 |         _ = try await withCheckedThrowingContinuation { self.run($0.resume(with:)) }
   |                                                                     |- warning: converting a value of type '(__shared sending Result<(), E>) -> ()' to type '(Result<(), E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
   |                                                                     `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
18 |     }
19 | }
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Async.swift:25:53: warning: converting a value of type '(__shared sending Result<R, Never>) -> ()' to type '(Result<R, Never>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
23 | extension FutureResult where E == Never {
24 |     func run() async -> R {
25 |         await withCheckedContinuation { self.run($0.resume) }
   |                                                     |- warning: converting a value of type '(__shared sending Result<R, Never>) -> ()' to type '(Result<R, Never>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
   |                                                     `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
26 |     }
27 | }
[29/32] Compiling FutureResult FutureResult+Async.swift
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Async.swift:9:65: warning: converting a value of type '(__shared sending Result<R, E>) -> ()' to type '(Result<R, E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
 7 | extension FutureResult {
 8 |     func run() async throws -> R {
 9 |         try await withCheckedThrowingContinuation { self.run($0.resume) }
   |                                                                 |- warning: converting a value of type '(__shared sending Result<R, E>) -> ()' to type '(Result<R, E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
   |                                                                 `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
10 |     }
11 | }
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Async.swift:17:69: warning: converting a value of type '(__shared sending Result<(), E>) -> ()' to type '(Result<(), E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
15 | extension FutureResult where R == Void {
16 |     func run() async throws {
17 |         _ = try await withCheckedThrowingContinuation { self.run($0.resume(with:)) }
   |                                                                     |- warning: converting a value of type '(__shared sending Result<(), E>) -> ()' to type '(Result<(), E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
   |                                                                     `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
18 |     }
19 | }
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Async.swift:25:53: warning: converting a value of type '(__shared sending Result<R, Never>) -> ()' to type '(Result<R, Never>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
23 | extension FutureResult where E == Never {
24 |     func run() async -> R {
25 |         await withCheckedContinuation { self.run($0.resume) }
   |                                                     |- warning: converting a value of type '(__shared sending Result<R, Never>) -> ()' to type '(Result<R, Never>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
   |                                                     `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
26 |     }
27 | }
[30/32] Compiling FutureResult FutureResult+Chainable.swift
[31/32] Compiling FutureResult FutureResult+Composition.swift
[32/32] Emitting module FutureResult
Build complete! (13.86s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "chainable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tapsandswipes/Chainable.git"
    }
  ],
  "manifest_display_name" : "FutureResult",
  "name" : "FutureResult",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FutureResult",
      "targets" : [
        "FutureResult"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FunctionComposition",
      "targets" : [
        "FunctionComposition"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ResultExtras",
      "targets" : [
        "ResultExtras"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ResultExtras",
      "module_type" : "SwiftTarget",
      "name" : "ResultExtras",
      "path" : "Sources/ResultExtras",
      "product_dependencies" : [
        "Chainable"
      ],
      "product_memberships" : [
        "FutureResult",
        "ResultExtras"
      ],
      "sources" : [
        "Result+Accessors.swift",
        "Result+Chainable.swift",
        "Result+Composition.swift",
        "Result+Initializers.swift",
        "Result+Transforms.swift",
        "Result+Utils.swift"
      ],
      "target_dependencies" : [
        "FunctionComposition"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FutureResultTests",
      "module_type" : "SwiftTarget",
      "name" : "FutureResultTests",
      "path" : "Tests/FutureResultTests",
      "sources" : [
        "FunctionCompositionTests.swift",
        "FutureResult+AsyncTests.swift",
        "FutureResult+ChainableTests.swift",
        "FutureResultTests.swift",
        "TestHelpers.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "FutureResult",
        "ResultExtras",
        "FunctionComposition"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FutureResult",
      "module_type" : "SwiftTarget",
      "name" : "FutureResult",
      "path" : "Sources/FutureResult",
      "product_dependencies" : [
        "Chainable"
      ],
      "product_memberships" : [
        "FutureResult"
      ],
      "sources" : [
        "Atomic.swift",
        "FutureResult+Async.swift",
        "FutureResult+Chainable.swift",
        "FutureResult+Composition.swift",
        "FutureResult+Debug.swift",
        "FutureResult+Functor.swift",
        "FutureResult+Initializers.swift",
        "FutureResult+Monoid.swift",
        "FutureResult+Scheduling.swift",
        "FutureResult+Transforms.swift",
        "FutureResult+Utils.swift",
        "FutureResult.swift"
      ],
      "target_dependencies" : [
        "FunctionComposition",
        "ResultExtras"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FunctionComposition",
      "module_type" : "SwiftTarget",
      "name" : "FunctionComposition",
      "path" : "Sources/FunctionComposition",
      "product_memberships" : [
        "FutureResult",
        "FunctionComposition",
        "ResultExtras"
      ],
      "sources" : [
        "FunctionComposition.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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
Done.