Build Information
Successful build of OperationAwaiting with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/OperationAwaiting.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/Frizlab/OperationAwaiting.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/2] Compiling HasResult HasResult.swift
[2/2] Emitting module HasResult
[3/5] Compiling OperationAwaiting OperationQueue+Async.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:14:9: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
await withTaskCancellationHandler(handler: { op.cancel() }, operation: {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:14:9: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
await withTaskCancellationHandler(handler: { op.cancel() }, operation: {
^ ~~~~~~~ ~~~~~~~~~
operation onCancel
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:14:48: warning: capture of 'op' with non-sendable type 'Operation' in a `@Sendable` closure
await withTaskCancellationHandler(handler: { op.cancel() }, operation: {
^
Foundation.Operation:2:12: note: class 'Operation' does not conform to the 'Sendable' protocol
open class Operation : NSObject {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:29:9: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
await withTaskCancellationHandler(handler: { ops.forEach{ $0.cancel() } }, operation: {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:29:9: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
await withTaskCancellationHandler(handler: { ops.forEach{ $0.cancel() } }, operation: {
^ ~~~~~~~ ~~~~~~~~~
operation onCancel
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:29:48: warning: capture of 'ops' with non-sendable type '[Operation]' in a `@Sendable` closure
await withTaskCancellationHandler(handler: { ops.forEach{ $0.cancel() } }, operation: {
^
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
@frozen public struct Array<Element> : _DestructorSafeContainer {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:44:20: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
return try await withTaskCancellationHandler(handler: { op.cancel() }, operation: {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:44:20: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
return try await withTaskCancellationHandler(handler: { op.cancel() }, operation: {
^ ~~~~~~~ ~~~~~~~~~
operation onCancel
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:60:16: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
return await withTaskCancellationHandler(handler: { ops.forEach{ $0.cancel() } }, operation: {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:60:16: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
return await withTaskCancellationHandler(handler: { ops.forEach{ $0.cancel() } }, operation: {
^ ~~~~~~~ ~~~~~~~~~
operation onCancel
[4/5] Compiling OperationAwaiting Operation+Async.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:11:9: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
await withTaskCancellationHandler(handler: { cancel() }, operation: {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:11:9: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
await withTaskCancellationHandler(handler: { cancel() }, operation: {
^ ~~~~~~~ ~~~~~~~~~
operation onCancel
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:11:48: warning: capture of 'self' with non-sendable type 'Operation' in a `@Sendable` closure
await withTaskCancellationHandler(handler: { cancel() }, operation: {
^
Foundation.Operation:2:12: note: class 'Operation' does not conform to the 'Sendable' protocol
open class Operation : NSObject {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:26:20: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
return try await withTaskCancellationHandler(handler: { cancel() }, operation: {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:26:20: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
return try await withTaskCancellationHandler(handler: { cancel() }, operation: {
^ ~~~~~~~ ~~~~~~~~~
operation onCancel
[5/5] Emitting module OperationAwaiting
Build complete! (11.67s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/happn-tech/RetryingOperation.git from cache
Fetching https://github.com/Frizlab/HasResult.git from cache
Fetched https://github.com/happn-tech/RetryingOperation.git (0.23s)
Fetched https://github.com/Frizlab/HasResult.git (0.24s)
Computing version for https://github.com/happn-tech/RetryingOperation.git
Computed https://github.com/happn-tech/RetryingOperation.git at 1.1.7 (0.06s)
Fetched https://github.com/apple/swift-log.git (0.37s)
Computing version for https://github.com/Frizlab/HasResult.git
Computed https://github.com/Frizlab/HasResult.git at 1.0.0 (0.07s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.2 (0.06s)
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
Build complete.
Done.