Build Information
Successful build of Promis with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
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/albertodebortoli/Promis.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/albertodebortoli/Promis
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at cbc7acc Merge pull request #18 from albertodebortoli/fix-whenAll-leak
Cloned https://github.com/albertodebortoli/Promis.git
Revision (git rev-parse @):
cbc7accb649990c1248cf1de7159cf427a932550
SUCCESS checkout https://github.com/albertodebortoli/Promis.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/albertodebortoli/Promis.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 Promis FutureState.swift
[4/9] Compiling Promis PromisError.swift
[5/9] Compiling Promis Future.swift
[6/9] Compiling Promis Future+WhenAll.swift
[7/9] Compiling Promis Future+Chaining.swift
/Users/admin/builder/spi-builder-workspace/Framework/Sources/Future+Chaining.swift:27:21: warning: capture of 'block' with non-sendable type '(Future<ResultType>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | if let queue = queue {
26 | queue.async {
27 | block(future)
| |- warning: capture of 'block' with non-sendable type '(Future<ResultType>) -> 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'
28 | }
29 | } else {
/Users/admin/builder/spi-builder-workspace/Framework/Sources/Future+Chaining.swift:27:27: warning: capture of 'future' with non-sendable type 'Future<ResultType>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
25 | if let queue = queue {
26 | queue.async {
27 | block(future)
| `- warning: capture of 'future' with non-sendable type 'Future<ResultType>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 | } else {
/Users/admin/builder/spi-builder-workspace/Framework/Sources/Future.swift:11:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class Future<ResultType> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
12 |
13 | let cv: NSCondition
[8/9] Emitting module Promis
[9/9] Compiling Promis Promise.swift
Build complete! (18.56s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Promis",
"name" : "Promis",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Promis",
"targets" : [
"Promis"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PromisTests",
"module_type" : "SwiftTarget",
"name" : "PromisTests",
"path" : "Tests/Sources",
"sources" : [
"PromisTests.swift"
],
"target_dependencies" : [
"Promis"
],
"type" : "test"
},
{
"c99name" : "Promis",
"module_type" : "SwiftTarget",
"name" : "Promis",
"path" : "Framework/Sources",
"product_memberships" : [
"Promis"
],
"sources" : [
"Future+Chaining.swift",
"Future+WhenAll.swift",
"Future.swift",
"FutureState.swift",
"PromisError.swift",
"Promise.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.