Build Information
Successful build of FranticApparatus, reference master (8eb203
), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 16:34:10 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jkolb/FranticApparatus
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8eb2030 Fixed up package, podspec, and projects to have appropriate deployment targets.
Cloned https://github.com/jkolb/FranticApparatus.git
Revision (git rev-parse @):
8eb2030068113c6f3897c55bb9872144c3cbc580
SUCCESS checkout https://github.com/jkolb/FranticApparatus.git at master
========================================
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 (1.04s)
Creating working copy for https://github.com/jkolb/FranticApparatus.git
Working copy of https://github.com/jkolb/FranticApparatus.git resolved at master (8eb2030)
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/9] Compiling FranticApparatus Promise.swift
[4/9] Compiling FranticApparatus RacePromises.swift
[5/9] Compiling FranticApparatus AnyPromises.swift
/Users/admin/builder/spi-builder-workspace/Sources/FranticApparatus/AnyPromises.swift:26: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
23 | */
24 |
25 | public struct ErrorDictionary<Key : Hashable> : Error, CustomStringConvertible {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
26 | 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
27 |
28 | public init(errors: [Key:Error]) {
[6/9] Compiling FranticApparatus Lock.swift
[7/9] Compiling FranticApparatus AllPromises.swift
[8/9] Compiling FranticApparatus ExecutionContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/FranticApparatus/ExecutionContext.swift:28:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 | import Foundation
27 |
28 | public protocol ExecutionContext : class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
29 | func execute(_ block: @escaping () -> Void)
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/FranticApparatus/ExecutionContext.swift:40:22: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
37 |
38 | extension OperationQueue : ExecutionContext {
39 | public func execute(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
40 | addOperation(block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
41 | }
42 | }
[9/9] Emitting module FranticApparatus
/Users/admin/builder/spi-builder-workspace/Sources/FranticApparatus/AnyPromises.swift:26: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
23 | */
24 |
25 | public struct ErrorDictionary<Key : Hashable> : Error, CustomStringConvertible {
| `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
26 | 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
27 |
28 | public init(errors: [Key:Error]) {
/Users/admin/builder/spi-builder-workspace/Sources/FranticApparatus/ExecutionContext.swift:28:36: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 | import Foundation
27 |
28 | public protocol ExecutionContext : class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
29 | func execute(_ block: @escaping () -> Void)
30 | }
Build complete! (6.75s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FranticApparatus",
"name" : "FranticApparatus",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"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",
"ExecutionContext.swift",
"Lock.swift",
"Promise.swift",
"RacePromises.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.