The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of FuturaAsync, reference 0.9.1 (ad4a5c), with Swift 6.0 for Linux on 26 Nov 2024 09:21:42 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kaqu/futuraasync.git
Reference: 0.9.1
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/kaqu/futuraasync
 * tag               0.9.1      -> FETCH_HEAD
HEAD is now at ad4a5cd fixing methods access
Cloned https://github.com/kaqu/futuraasync.git
Revision (git rev-parse @):
ad4a5cd35e69a24f0e4c1b0668d9f76b92fb1b5d
SUCCESS checkout https://github.com/kaqu/futuraasync.git at 0.9.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kaqu/futuraasync.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.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling FuturaAsync Worker.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:2:12: warning: var 'mainWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 1 | /// worker using main thread/queue of application
 2 | public var mainWorker: Worker = DispatchQueueWorker.main
   |            |- warning: var 'mainWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'mainWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'mainWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 3 | /// default async worker
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:4:12: warning: var 'asyncWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 | public var mainWorker: Worker = DispatchQueueWorker.main
 3 | /// default async worker
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
   |            |- warning: var 'asyncWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'asyncWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'asyncWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:6:12: warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
   |            |- warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaultWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'defaultWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | public protocol Worker {
[4/17] Compiling FuturaAsync ExecutionContext.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:6:12: warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
   |            |- warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaultWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'defaultWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | public protocol Worker {
[5/17] Compiling FuturaAsync Schedule.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:6:12: warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
   |            |- warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaultWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'defaultWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | public protocol Worker {
[6/17] Compiling FuturaAsync Delayed.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:6:12: warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
   |            |- warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaultWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'defaultWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | public protocol Worker {
[7/17] Compiling FuturaAsync FailableFuture.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:6:12: warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
   |            |- warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaultWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'defaultWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | public protocol Worker {
[8/17] Compiling FuturaAsync PromiseError.swift
[9/17] Compiling FuturaAsync Result.swift
[10/17] Compiling FuturaAsync Future+Join.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:6:12: warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
   |            |- warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaultWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'defaultWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | public protocol Worker {
[11/17] Compiling FuturaAsync Future.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:6:12: warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
   |            |- warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaultWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'defaultWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | public protocol Worker {
[12/17] Compiling FuturaAsync FutureHandler.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:5:5: warning: 'public' modifier is redundant for initializer declared in a public extension
 3 | public extension Promise {
 4 |
 5 |     public convenience init<T>(using worker: Worker = asyncWorker, withRetriesCount retryCount: UInt = 0, performing task: @escaping () throws -> (T))  where Value == Result<T> {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
 6 |         self.init()
 7 |         var lastError: Error?
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:4:12: warning: var 'asyncWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 | public var mainWorker: Worker = DispatchQueueWorker.main
 3 | /// default async worker
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
   |            |- warning: var 'asyncWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'asyncWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'asyncWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 |     }
16 |
17 |     public func fulfill<T>(with value: T) where Value == Result<T> {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 |         future.succeed(with: value)
19 |     }
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:21:5: warning: 'public' modifier is redundant for instance method declared in a public extension
19 |     }
20 |
21 |     public func `break`<T>(with error: Error = PromiseError.cancelled) where Value == Result<T> {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 |         future.fail(with: error)
23 |     }
[13/17] Compiling FuturaAsync Promise.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:5:5: warning: 'public' modifier is redundant for initializer declared in a public extension
 3 | public extension Promise {
 4 |
 5 |     public convenience init<T>(using worker: Worker = asyncWorker, withRetriesCount retryCount: UInt = 0, performing task: @escaping () throws -> (T))  where Value == Result<T> {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
 6 |         self.init()
 7 |         var lastError: Error?
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:4:12: warning: var 'asyncWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 | public var mainWorker: Worker = DispatchQueueWorker.main
 3 | /// default async worker
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
   |            |- warning: var 'asyncWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'asyncWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'asyncWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 |     }
16 |
17 |     public func fulfill<T>(with value: T) where Value == Result<T> {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 |         future.succeed(with: value)
19 |     }
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:21:5: warning: 'public' modifier is redundant for instance method declared in a public extension
19 |     }
20 |
21 |     public func `break`<T>(with error: Error = PromiseError.cancelled) where Value == Result<T> {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 |         future.fail(with: error)
23 |     }
[14/17] Compiling FuturaAsync Catchable.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:6:12: warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
   |            |- warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaultWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'defaultWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | public protocol Worker {
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/DispatchQueueWorker.swift:14:30: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
11 | extension DispatchQueueWorker : Worker {
12 |
13 |     public func schedule(_ work: @escaping () -> Void) -> Void {
   |                            `- note: parameter 'work' is implicitly non-sendable
14 |         queue.async(execute: work)
   |                              `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
15 |     }
16 |
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/DispatchQueueWorker.swift:22:21: warning: capture of 'work' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |         queue.async {
21 |             do {
22 |                 try work()
   |                     |- warning: capture of 'work' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
23 |                 catchable.close()
24 |             } catch {
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/DispatchQueueWorker.swift:23:17: warning: capture of 'catchable' with non-sendable type 'Catchable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |             do {
22 |                 try work()
23 |                 catchable.close()
   |                 `- warning: capture of 'catchable' with non-sendable type 'Catchable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |             } catch {
25 |                 catchable.handle(error: error)
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Catchable.swift:1:20: note: class 'Catchable' does not conform to the 'Sendable' protocol
 1 | public final class Catchable {
   |                    `- note: class 'Catchable' does not conform to the 'Sendable' protocol
 2 |
 3 |     private let future: FailableFuture<Void> = Future()
[15/17] Compiling FuturaAsync DispatchQueueWorker.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:6:12: warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
   |            |- warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaultWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'defaultWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | public protocol Worker {
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/DispatchQueueWorker.swift:14:30: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
11 | extension DispatchQueueWorker : Worker {
12 |
13 |     public func schedule(_ work: @escaping () -> Void) -> Void {
   |                            `- note: parameter 'work' is implicitly non-sendable
14 |         queue.async(execute: work)
   |                              `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
15 |     }
16 |
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/DispatchQueueWorker.swift:22:21: warning: capture of 'work' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |         queue.async {
21 |             do {
22 |                 try work()
   |                     |- warning: capture of 'work' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
23 |                 catchable.close()
24 |             } catch {
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/DispatchQueueWorker.swift:23:17: warning: capture of 'catchable' with non-sendable type 'Catchable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |             do {
22 |                 try work()
23 |                 catchable.close()
   |                 `- warning: capture of 'catchable' with non-sendable type 'Catchable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |             } catch {
25 |                 catchable.handle(error: error)
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Catchable.swift:1:20: note: class 'Catchable' does not conform to the 'Sendable' protocol
 1 | public final class Catchable {
   |                    `- note: class 'Catchable' does not conform to the 'Sendable' protocol
 2 |
 3 |     private let future: FailableFuture<Void> = Future()
[16/17] Emitting module FuturaAsync
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:6:12: warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
   |            |- warning: var 'defaultWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'defaultWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'defaultWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | public protocol Worker {
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:5:5: warning: 'public' modifier is redundant for initializer declared in a public extension
 3 | public extension Promise {
 4 |
 5 |     public convenience init<T>(using worker: Worker = asyncWorker, withRetriesCount retryCount: UInt = 0, performing task: @escaping () throws -> (T))  where Value == Result<T> {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
 6 |         self.init()
 7 |         var lastError: Error?
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:4:12: warning: var 'asyncWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 | public var mainWorker: Worker = DispatchQueueWorker.main
 3 | /// default async worker
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
   |            |- warning: var 'asyncWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'asyncWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'asyncWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 | public var defaultWorker: Worker = asyncWorker
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:17:5: warning: 'public' modifier is redundant for instance method declared in a public extension
15 |     }
16 |
17 |     public func fulfill<T>(with value: T) where Value == Result<T> {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
18 |         future.succeed(with: value)
19 |     }
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:21:5: warning: 'public' modifier is redundant for instance method declared in a public extension
19 |     }
20 |
21 |     public func `break`<T>(with error: Error = PromiseError.cancelled) where Value == Result<T> {
   |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 |         future.fail(with: error)
23 |     }
/host/spi-builder-workspace/Sources/FuturaAsync/Schedule/Worker.swift:2:12: warning: var 'mainWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 1 | /// worker using main thread/queue of application
 2 | public var mainWorker: Worker = DispatchQueueWorker.main
   |            |- warning: var 'mainWorker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'mainWorker' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'mainWorker' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 3 | /// default async worker
 4 | public var asyncWorker: Worker = DispatchQueueWorker.default
[17/17] Compiling FuturaAsync Lock.swift
Build complete! (10.22s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FuturaAsync",
  "name" : "FuturaAsync",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FuturaAsync",
      "targets" : [
        "FuturaAsync"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FuturaAsyncTests",
      "module_type" : "SwiftTarget",
      "name" : "FuturaAsyncTests",
      "path" : "Tests/FuturaAsyncTests",
      "sources" : [
        "FuturaAsyncTests.swift",
        "FutureTests.swift",
        "LockTests.swift",
        "PromiseAndFutureTests.swift",
        "WorkerAndCatchableTests.swift"
      ],
      "target_dependencies" : [
        "FuturaAsync"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FuturaAsync",
      "module_type" : "SwiftTarget",
      "name" : "FuturaAsync",
      "path" : "Sources/FuturaAsync",
      "product_memberships" : [
        "FuturaAsync"
      ],
      "sources" : [
        "Future/Delayed.swift",
        "Future/FailableFuture.swift",
        "Future/Future+Join.swift",
        "Future/Future.swift",
        "Future/FutureHandler.swift",
        "Future/Promise.swift",
        "Future/PromiseError.swift",
        "Future/Result.swift",
        "Schedule/Catchable.swift",
        "Schedule/DispatchQueueWorker.swift",
        "Schedule/ExecutionContext.swift",
        "Schedule/Schedule.swift",
        "Schedule/Worker.swift",
        "Synchronization/Lock.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.