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 FranticApparatus, reference 7.0.0 (382472), with Swift 6.1 for Linux on 25 Apr 2025 09:09:31 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkolb/FranticApparatus.git
Reference: 7.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/jkolb/FranticApparatus
 * tag               7.0.0      -> FETCH_HEAD
HEAD is now at 382472d Add Cocoapods support
Cloned https://github.com/jkolb/FranticApparatus.git
Revision (git rev-parse @):
382472df4b5206856352fabd77d826febf6c8a99
SUCCESS checkout https://github.com/jkolb/FranticApparatus.git at 7.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jkolb/FranticApparatus.git
https://github.com/jkolb/FranticApparatus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FranticApparatus",
  "name" : "FranticApparatus",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FranticApparatus",
      "targets" : [
        "FranticApparatus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FranticApparatusTests",
      "module_type" : "SwiftTarget",
      "name" : "FranticApparatusTests",
      "path" : "Tests/FranticApparatusTests",
      "sources" : [
        "FranticApparatusTests.swift"
      ],
      "target_dependencies" : [
        "FranticApparatus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FranticApparatus",
      "module_type" : "SwiftTarget",
      "name" : "FranticApparatus",
      "path" : "Sources/FranticApparatus",
      "product_memberships" : [
        "FranticApparatus"
      ],
      "sources" : [
        "AllPromises.swift",
        "AnyPromises.swift",
        "Deferred.swift",
        "Dispatcher.swift",
        "GCDDispatcher.swift",
        "Lock.swift",
        "OperationDispatcher.swift",
        "Promise.swift",
        "PromiseError.swift",
        "PromiseMaker.swift",
        "RacePromises.swift",
        "Result.swift",
        "State.swift",
        "Thenable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling FranticApparatus State.swift
[4/17] Compiling FranticApparatus RacePromises.swift
[5/17] Compiling FranticApparatus Result.swift
[6/17] Compiling FranticApparatus Thenable.swift
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:32:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 30 |
 31 | public extension Thenable {
 32 |     public func whenFulfilledThenMap<ResultingValue>(on dispatcher: Dispatcher, map: @escaping (Value) throws -> Result<ResultingValue>) -> Promise<ResultingValue> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 33 |         return then(
 34 |             on: dispatcher,
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 42 |     }
 43 |
 44 |     public func whenFulfilled(on dispatcher: Dispatcher, thenDo: @escaping (Value) throws -> Void) -> Promise<Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 45 |         return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<Value> in
 46 |             try thenDo(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:52:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 50 |     }
 51 |
 52 |     public func whenFulfilledThenTransform<ResultingValue>(on dispatcher: Dispatcher, transform: @escaping (Value) throws -> ResultingValue) -> Promise<ResultingValue> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 53 |         return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<ResultingValue> in
 54 |             let result = try transform(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:60:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 58 |     }
 59 |
 60 |     public func whenFulfilledThenPromise<ResultingValue>(on dispatcher: Dispatcher, promise: @escaping (Value) throws -> Promise<ResultingValue>) -> Promise<ResultingValue> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 61 |         return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<ResultingValue> in
 62 |             let result = try promise(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:68:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 66 |     }
 67 |
 68 |     public func whenRejectedThenMap(on dispatcher: Dispatcher, map: @escaping (Error) throws -> Result<Value>) -> Promise<Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 69 |         return then(
 70 |             on: dispatcher,
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 80 |     }
 81 |
 82 |     public func whenRejected(on dispatcher: Dispatcher, thenDo: @escaping (Error) throws -> Void) -> Promise<Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 83 |         return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
 84 |             try thenDo(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:90:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 88 |     }
 89 |
 90 |     public func whenRejectedThenTransform(on dispatcher: Dispatcher, transform: @escaping (Error) throws -> Value) -> Promise<Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 91 |         return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
 92 |             let result = try transform(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:98:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 96 |     }
 97 |
 98 |     public func whenRejectedThenPromise(on dispatcher: Dispatcher, promise: @escaping (Error) throws -> Promise<Value>) -> Promise<Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 99 |         return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
100 |             let result = try promise(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:106:5: warning: 'public' modifier is redundant for instance method declared in a public extension
104 |     }
105 |
106 |     public func whenComplete(on dispatcher: Dispatcher, thenDo: @escaping () -> Void) -> Promise<Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
107 |         return then(
108 |             on: dispatcher,
[7/17] Compiling FranticApparatus PromiseError.swift
/host/spi-builder-workspace/Sources/FranticApparatus/PromiseError.swift:43:16: warning: stored property 'errors' of 'Sendable'-conforming generic struct 'ErrorDictionary' has non-sendable type '[Key : any Error]'; this is an error in the Swift 6 language mode
40 | }
41 |
42 | public struct ErrorDictionary<Key : Hashable> : Error, CustomStringConvertible {
   |                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
43 |     public let errors: [Key:Error]
   |                `- warning: stored property 'errors' of 'Sendable'-conforming generic struct 'ErrorDictionary' has non-sendable type '[Key : any Error]'; this is an error in the Swift 6 language mode
44 |
45 |     public init(errors: [Key:Error]) {
[8/17] Compiling FranticApparatus PromiseMaker.swift
/host/spi-builder-workspace/Sources/FranticApparatus/PromiseError.swift:43:16: warning: stored property 'errors' of 'Sendable'-conforming generic struct 'ErrorDictionary' has non-sendable type '[Key : any Error]'; this is an error in the Swift 6 language mode
40 | }
41 |
42 | public struct ErrorDictionary<Key : Hashable> : Error, CustomStringConvertible {
   |                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
43 |     public let errors: [Key:Error]
   |                `- warning: stored property 'errors' of 'Sendable'-conforming generic struct 'ErrorDictionary' has non-sendable type '[Key : any Error]'; this is an error in the Swift 6 language mode
44 |
45 |     public init(errors: [Key:Error]) {
[9/17] Compiling FranticApparatus GCDDispatcher.swift
/host/spi-builder-workspace/Sources/FranticApparatus/GCDDispatcher.swift:39:30: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
36 |     }
37 |
38 |     public func dispatch(_ closure: @escaping () -> Void) {
   |                            `- note: parameter 'closure' is implicitly non-sendable
39 |         queue.async(execute: closure)
   |                              `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
40 |     }
41 | }
[10/17] Compiling FranticApparatus Lock.swift
/host/spi-builder-workspace/Sources/FranticApparatus/GCDDispatcher.swift:39:30: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
36 |     }
37 |
38 |     public func dispatch(_ closure: @escaping () -> Void) {
   |                            `- note: parameter 'closure' is implicitly non-sendable
39 |         queue.async(execute: closure)
   |                              `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
40 |     }
41 | }
[11/17] Compiling FranticApparatus Deferred.swift
[12/17] Compiling FranticApparatus Dispatcher.swift
[13/17] Emitting module FranticApparatus
/host/spi-builder-workspace/Sources/FranticApparatus/PromiseError.swift:43:16: warning: stored property 'errors' of 'Sendable'-conforming generic struct 'ErrorDictionary' has non-sendable type '[Key : any Error]'; this is an error in the Swift 6 language mode
40 | }
41 |
42 | public struct ErrorDictionary<Key : Hashable> : Error, CustomStringConvertible {
   |                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
43 |     public let errors: [Key:Error]
   |                `- warning: stored property 'errors' of 'Sendable'-conforming generic struct 'ErrorDictionary' has non-sendable type '[Key : any Error]'; this is an error in the Swift 6 language mode
44 |
45 |     public init(errors: [Key:Error]) {
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:32:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 30 |
 31 | public extension Thenable {
 32 |     public func whenFulfilledThenMap<ResultingValue>(on dispatcher: Dispatcher, map: @escaping (Value) throws -> Result<ResultingValue>) -> Promise<ResultingValue> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 33 |         return then(
 34 |             on: dispatcher,
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 42 |     }
 43 |
 44 |     public func whenFulfilled(on dispatcher: Dispatcher, thenDo: @escaping (Value) throws -> Void) -> Promise<Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 45 |         return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<Value> in
 46 |             try thenDo(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:52:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 50 |     }
 51 |
 52 |     public func whenFulfilledThenTransform<ResultingValue>(on dispatcher: Dispatcher, transform: @escaping (Value) throws -> ResultingValue) -> Promise<ResultingValue> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 53 |         return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<ResultingValue> in
 54 |             let result = try transform(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:60:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 58 |     }
 59 |
 60 |     public func whenFulfilledThenPromise<ResultingValue>(on dispatcher: Dispatcher, promise: @escaping (Value) throws -> Promise<ResultingValue>) -> Promise<ResultingValue> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 61 |         return whenFulfilledThenMap(on: dispatcher) { (value) throws -> Result<ResultingValue> in
 62 |             let result = try promise(value)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:68:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 66 |     }
 67 |
 68 |     public func whenRejectedThenMap(on dispatcher: Dispatcher, map: @escaping (Error) throws -> Result<Value>) -> Promise<Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 69 |         return then(
 70 |             on: dispatcher,
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:82:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 80 |     }
 81 |
 82 |     public func whenRejected(on dispatcher: Dispatcher, thenDo: @escaping (Error) throws -> Void) -> Promise<Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 83 |         return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
 84 |             try thenDo(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:90:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 88 |     }
 89 |
 90 |     public func whenRejectedThenTransform(on dispatcher: Dispatcher, transform: @escaping (Error) throws -> Value) -> Promise<Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 91 |         return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
 92 |             let result = try transform(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:98:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 96 |     }
 97 |
 98 |     public func whenRejectedThenPromise(on dispatcher: Dispatcher, promise: @escaping (Error) throws -> Promise<Value>) -> Promise<Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 99 |         return whenRejectedThenMap(on: dispatcher) { (reason) throws -> Result<Value> in
100 |             let result = try promise(reason)
/host/spi-builder-workspace/Sources/FranticApparatus/Thenable.swift:106:5: warning: 'public' modifier is redundant for instance method declared in a public extension
104 |     }
105 |
106 |     public func whenComplete(on dispatcher: Dispatcher, thenDo: @escaping () -> Void) -> Promise<Value> {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
107 |         return then(
108 |             on: dispatcher,
[14/17] Compiling FranticApparatus AllPromises.swift
[15/17] Compiling FranticApparatus AnyPromises.swift
[16/17] Compiling FranticApparatus OperationDispatcher.swift
/host/spi-builder-workspace/Sources/FranticApparatus/OperationDispatcher.swift:39:28: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
36 |     }
37 |
38 |     public func dispatch(_ closure: @escaping () -> Void) {
   |                            `- note: parameter 'closure' is implicitly non-sendable
39 |         queue.addOperation(closure)
   |                            `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
40 |     }
41 | }
[17/17] Compiling FranticApparatus Promise.swift
/host/spi-builder-workspace/Sources/FranticApparatus/OperationDispatcher.swift:39:28: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
36 |     }
37 |
38 |     public func dispatch(_ closure: @escaping () -> Void) {
   |                            `- note: parameter 'closure' is implicitly non-sendable
39 |         queue.addOperation(closure)
   |                            `- warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
40 |     }
41 | }
Build complete! (7.40s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FranticApparatus",
  "name" : "FranticApparatus",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FranticApparatus",
      "targets" : [
        "FranticApparatus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FranticApparatusTests",
      "module_type" : "SwiftTarget",
      "name" : "FranticApparatusTests",
      "path" : "Tests/FranticApparatusTests",
      "sources" : [
        "FranticApparatusTests.swift"
      ],
      "target_dependencies" : [
        "FranticApparatus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FranticApparatus",
      "module_type" : "SwiftTarget",
      "name" : "FranticApparatus",
      "path" : "Sources/FranticApparatus",
      "product_memberships" : [
        "FranticApparatus"
      ],
      "sources" : [
        "AllPromises.swift",
        "AnyPromises.swift",
        "Deferred.swift",
        "Dispatcher.swift",
        "GCDDispatcher.swift",
        "Lock.swift",
        "OperationDispatcher.swift",
        "Promise.swift",
        "PromiseError.swift",
        "PromiseMaker.swift",
        "RacePromises.swift",
        "Result.swift",
        "State.swift",
        "Thenable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.