Build Information
Successful build of FranticApparatus, reference 7.0.0 (382472
), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 16:34:02 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkolb/FranticApparatus.git
Reference: 7.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "franticapparatus",
"name": "FranticApparatus",
"url": "https://github.com/jkolb/FranticApparatus.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FranticApparatus",
"dependencies": [
]
}
]
}
Fetching https://github.com/jkolb/FranticApparatus.git
[1/2018] Fetching franticapparatus
Fetched https://github.com/jkolb/FranticApparatus.git from cache (0.95s)
Creating working copy for https://github.com/jkolb/FranticApparatus.git
Working copy of https://github.com/jkolb/FranticApparatus.git resolved at 7.0.0 (382472d)
warning: '.resolve-product-dependencies': dependency 'franticapparatus' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/jkolb/FranticApparatus.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/16] Compiling FranticApparatus State.swift
[4/16] Compiling FranticApparatus Result.swift
[5/17] Compiling FranticApparatus Thenable.swift
/Users/admin/builder/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,
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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,
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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,
[6/17] Compiling FranticApparatus RacePromises.swift
[7/17] Compiling FranticApparatus PromiseMaker.swift
[8/17] Compiling FranticApparatus PromiseError.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 AllPromises.swift
[12/17] Compiling FranticApparatus AnyPromises.swift
[13/17] Compiling FranticApparatus Deferred.swift
[14/17] Compiling FranticApparatus Dispatcher.swift
[15/17] Emitting module FranticApparatus
/Users/admin/builder/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]) {
/Users/admin/builder/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,
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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,
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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,
[16/17] Compiling FranticApparatus OperationDispatcher.swift
/Users/admin/builder/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
/Users/admin/builder/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! (10.08s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FranticApparatus",
"name" : "FranticApparatus",
"path" : "/Users/admin/builder/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"
}
Done.