Build Information
Successful build of Promis, reference 3.0.0 (cbc7ac
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 02:42:22 UTC.
Swift 6 data race errors: 0
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/albertodebortoli/Promis.git
Reference: 3.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/albertodebortoli/Promis
* tag 3.0.0 -> FETCH_HEAD
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 3.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": "promis",
"name": "Promis",
"url": "https://github.com/albertodebortoli/Promis.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Promis",
"dependencies": [
]
}
]
}
Fetching https://github.com/albertodebortoli/Promis.git
[1/537] Fetching promis
Fetched https://github.com/albertodebortoli/Promis.git from cache (0.82s)
Creating working copy for https://github.com/albertodebortoli/Promis.git
Working copy of https://github.com/albertodebortoli/Promis.git resolved at 3.0.0 (cbc7acc)
warning: '.resolve-product-dependencies': dependency 'promis' 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/albertodebortoli/Promis.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 Promis PromisError.swift
[4/9] Compiling Promis FutureState.swift
[5/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
[6/9] Emitting module Promis
[7/9] Compiling Promis Future+WhenAll.swift
[8/9] Compiling Promis Promise.swift
[9/9] Compiling Promis Future.swift
Build complete! (9.07s)
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.