Build Information
Successful build of FranticApparatus with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/jkolb/FranticApparatus.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/9] Compiling FranticApparatus RacePromises.swift
[4/9] Compiling FranticApparatus Lock.swift
[5/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 | }
[6/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]) {
[7/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 | }
[8/9] Compiling FranticApparatus Promise.swift
[9/9] Compiling FranticApparatus AllPromises.swift
Build complete! (17.28s)
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.