Build Information
Successful build of OperationAwaiting, reference 1.2.0 (a1c40b
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 04:10:19 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/Frizlab/OperationAwaiting.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Frizlab/OperationAwaiting
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at a1c40b3 Make project compatible w/ previous OS versions
Cloned https://github.com/Frizlab/OperationAwaiting.git
Revision (git rev-parse @):
a1c40b3e1fc6d837adee76d4fb924e27441151a3
SUCCESS checkout https://github.com/Frizlab/OperationAwaiting.git at 1.2.0
Fetching https://github.com/Frizlab/HasResult.git
Fetching https://github.com/happn-tech/RetryingOperation.git
Fetching https://github.com/apple/swift-log.git
[2/22] Fetching hasresult
[17/417] Fetching hasresult, retryingoperation
[302/4126] Fetching hasresult, retryingoperation, swift-log
Fetched https://github.com/Frizlab/HasResult.git from cache (1.15s)
Fetched https://github.com/happn-tech/RetryingOperation.git from cache (1.15s)
Computing version for https://github.com/happn-tech/RetryingOperation.git
Fetched https://github.com/apple/swift-log.git from cache (1.15s)
Computed https://github.com/happn-tech/RetryingOperation.git at 1.1.7 (0.55s)
Computing version for https://github.com/Frizlab/HasResult.git
Computed https://github.com/Frizlab/HasResult.git at 1.0.0 (0.53s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.2 (0.54s)
Creating working copy for https://github.com/happn-tech/RetryingOperation.git
Working copy of https://github.com/happn-tech/RetryingOperation.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.2
Creating working copy for https://github.com/Frizlab/HasResult.git
Working copy of https://github.com/Frizlab/HasResult.git resolved at 1.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": "operationawaiting",
"name": "OperationAwaiting",
"url": "https://github.com/Frizlab/OperationAwaiting.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OperationAwaiting",
"dependencies": [
{
"identity": "hasresult",
"name": "HasResult",
"url": "https://github.com/Frizlab/HasResult.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HasResult",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Frizlab/OperationAwaiting.git
[1/146] Fetching operationawaiting
Fetched https://github.com/Frizlab/OperationAwaiting.git from cache (0.67s)
Fetching https://github.com/Frizlab/HasResult.git from cache
Fetched https://github.com/Frizlab/HasResult.git from cache (0.44s)
Computing version for https://github.com/Frizlab/HasResult.git
Computed https://github.com/Frizlab/HasResult.git at 1.0.0 (0.02s)
Creating working copy for https://github.com/Frizlab/HasResult.git
Working copy of https://github.com/Frizlab/HasResult.git resolved at 1.0.0
Creating working copy for https://github.com/Frizlab/OperationAwaiting.git
Working copy of https://github.com/Frizlab/OperationAwaiting.git resolved at 1.2.0 (a1c40b3)
warning: '.resolve-product-dependencies': dependency 'operationawaiting' is not used by any target
Found 1 product dependencies
- HasResult
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Frizlab/OperationAwaiting.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/5] Emitting module HasResult
[5/5] Compiling HasResult HasResult.swift
[6/8] Emitting module OperationAwaiting
[7/8] Compiling OperationAwaiting Operation+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:11:9: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
9 | func startAndWait() async {
10 | assert(completionBlock == nil, "Async support for Operation, as implemented, requires the completion block to be left nil.")
11 | await withTaskCancellationHandler(handler: { cancel() }, operation: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
12 | await withCheckedContinuation{ (continuation: CheckedContinuation<Void, Never>) -> Void in
13 | completionBlock = { continuation.resume() }
/Users/admin/builder/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:26:20: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
24 | func startAndGetResult() async throws -> ResultType {
25 | assert(completionBlock == nil, "Async support for Operation, as implemented, requires the completion block to be left nil.")
26 | return try await withTaskCancellationHandler(handler: { cancel() }, operation: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
27 | try await withCheckedThrowingContinuation{ (continuation: CheckedContinuation<ResultType, Error>) -> Void in
28 | completionBlock = { continuation.resume(with: self.result) }
[8/8] Compiling OperationAwaiting OperationQueue+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:14:9: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
12 | If the current task is cancelled, the operation will be cancelled too. */
13 | func addOperationAndWait(_ op: Operation) async {
14 | await withTaskCancellationHandler(handler: { op.cancel() }, operation: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
15 | await withCheckedContinuation{ (continuation: CheckedContinuation<Void, Never>) -> Void in
16 | let completionOperation = BlockOperation{ continuation.resume() }
/Users/admin/builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:29:9: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
27 | If the current task is cancelled, all of the operations will be cancelled too. */
28 | func addOperationsAndWait(_ ops: [Operation]) async {
29 | await withTaskCancellationHandler(handler: { ops.forEach{ $0.cancel() } }, operation: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
30 | await withCheckedContinuation{ (continuation: CheckedContinuation<Void, Never>) -> Void in
31 | let completionOperation = BlockOperation{ continuation.resume() }
/Users/admin/builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:44:20: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
42 | If the current task is cancelled, the operation will be cancelled too. */
43 | func addOperationAndGetResult<O : Operation>(_ op: O) async throws -> O.ResultType where O : HasResult {
44 | return try await withTaskCancellationHandler(handler: { op.cancel() }, operation: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
45 | try await withCheckedThrowingContinuation{ (continuation: CheckedContinuation<O.ResultType, Error>) -> Void in
46 | let completionOperation = BlockOperation{ continuation.resume(with: op.result) }
/Users/admin/builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:60:16: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
58 | If the current task is cancelled, all of the operations will be cancelled too. */
59 | func addOperationsAndGetResults<O : Operation>(_ ops: [O]) async -> [Result<O.ResultType, Error>] where O : HasResult {
60 | return await withTaskCancellationHandler(handler: { ops.forEach{ $0.cancel() } }, operation: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
61 | await withCheckedContinuation{ (continuation: CheckedContinuation<[Result<O.ResultType, Error>], Never>) -> Void in
62 | let completionOperation = BlockOperation{ continuation.resume(returning: ops.map{ $0.result }) }
Build complete! (8.91s)
Build complete.
{
"dependencies" : [
{
"identity" : "hasresult",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/HasResult.git"
},
{
"identity" : "retryingoperation",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.7",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/happn-tech/RetryingOperation.git"
}
],
"manifest_display_name" : "OperationAwaiting",
"name" : "OperationAwaiting",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "OperationAwaiting",
"targets" : [
"OperationAwaiting"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OperationAwaitingTests",
"module_type" : "SwiftTarget",
"name" : "OperationAwaitingTests",
"path" : "Tests/OperationAwaitingTests",
"product_dependencies" : [
"HasResult",
"RetryingOperation"
],
"sources" : [
"Helpers/AsyncOperation.swift",
"Helpers/AsyncOperationWithResult.swift",
"OperationAwaitingTests.swift"
],
"target_dependencies" : [
"OperationAwaiting"
],
"type" : "test"
},
{
"c99name" : "OperationAwaiting",
"module_type" : "SwiftTarget",
"name" : "OperationAwaiting",
"path" : "Sources/OperationAwaiting",
"product_dependencies" : [
"HasResult"
],
"product_memberships" : [
"OperationAwaiting"
],
"sources" : [
"Operation+Async.swift",
"OperationQueue+Async.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.