Build Information
Successful build of MiniFuture, reference master (894ed0
), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 16:44:29 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/tkareine/MiniFuture.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tkareine/MiniFuture
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 894ed0c Update readme
Cloned https://github.com/tkareine/MiniFuture.git
Revision (git rev-parse @):
894ed0cf7c1bb8aeafe0a8fa5fa48a9a403ecdf6
SUCCESS checkout https://github.com/tkareine/MiniFuture.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": "minifuture",
"name": "MiniFuture",
"url": "https://github.com/tkareine/MiniFuture.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MiniFuture",
"dependencies": [
]
}
]
}
Fetching https://github.com/tkareine/MiniFuture.git
[1/657] Fetching minifuture
Fetched https://github.com/tkareine/MiniFuture.git from cache (1.34s)
Creating working copy for https://github.com/tkareine/MiniFuture.git
Working copy of https://github.com/tkareine/MiniFuture.git resolved at master (894ed0c)
warning: '.resolve-product-dependencies': dependency 'minifuture' 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/tkareine/MiniFuture.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/7] Write sources
[2/7] Write Benchmark-entitlement.plist
[3/7] Write swift-version--7754E27361AE5C74.txt
[5/11] Compiling MiniFuture Future.swift
/Users/admin/builder/spi-builder-workspace/Source/Future.swift:13:32: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
10 | }
11 |
12 | static func async(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
13 | sharedQueue.async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Source/Future.swift:17:46: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
14 | }
15 |
16 | static func async(_ group: Group, block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
17 | sharedQueue.async(group: group, execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Source/Future.swift:222:60: warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
220 | let callbacks: [CompletionCallback] = condition.synchronized { _ in
221 | if result != nil {
222 | fatalError("Tried to complete PromiseFuture with \(value.value), but " +
| | `- note: use 'String(describing:)' to silence this warning
| `- warning: string interpolation produces a debug description for a function value; did you mean to make this explicit?
223 | "the future is already completed with \(result!)")
224 | }
[6/11] Emitting module MiniFuture
[7/11] Compiling MiniFuture Condition.swift
/Users/admin/builder/spi-builder-workspace/Source/Condition.swift:23:15: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
21 | let condRes = pthread_cond_destroy(condition)
22 | assert(condRes == 0)
23 | condition.deallocate(capacity: 1)
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
24 | let mutexRes = pthread_mutex_destroy(mutex)
25 | assert(mutexRes == 0)
/Users/admin/builder/spi-builder-workspace/Source/Condition.swift:26:11: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
24 | let mutexRes = pthread_mutex_destroy(mutex)
25 | assert(mutexRes == 0)
26 | mutex.deallocate(capacity: 1)
| `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
27 | }
28 |
[8/11] Compiling MiniFuture Try.swift
[9/13] Compiling Benchmark main.swift
[10/13] Emitting module Benchmark
[10/13] Write Objects.LinkFileList
[11/13] Linking Benchmark
[12/13] Applying Benchmark
Build complete! (6.05s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MiniFuture",
"name" : "MiniFuture",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MiniFuture",
"targets" : [
"MiniFuture"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Benchmark",
"targets" : [
"Benchmark"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"4"
],
"targets" : [
{
"c99name" : "MiniFutureTests",
"module_type" : "SwiftTarget",
"name" : "MiniFutureTests",
"path" : "Test",
"sources" : [
"AppError.swift",
"FutureTests.swift",
"TryTests.swift"
],
"target_dependencies" : [
"MiniFuture"
],
"type" : "test"
},
{
"c99name" : "MiniFuture",
"module_type" : "SwiftTarget",
"name" : "MiniFuture",
"path" : "Source",
"product_memberships" : [
"MiniFuture",
"Benchmark"
],
"sources" : [
"Condition.swift",
"Future.swift",
"Try.swift"
],
"type" : "library"
},
{
"c99name" : "Benchmark",
"module_type" : "SwiftTarget",
"name" : "Benchmark",
"path" : "Benchmark",
"product_memberships" : [
"Benchmark"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MiniFuture"
],
"type" : "executable"
}
],
"tools_version" : "4.0"
}
Done.