The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncLifetime, reference main (717a57), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 06:38:30 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nonameplum/AsyncLifetime.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nonameplum/AsyncLifetime
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 717a579 Release 1.2.0
Cloned https://github.com/nonameplum/AsyncLifetime.git
Revision (git rev-parse @):
717a579f98c2092db51a911847503be427144cf8
SUCCESS checkout https://github.com/nonameplum/AsyncLifetime.git at main
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
[1651/29810] Fetching swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms from cache (1.34s)
Computing version for https://github.com/apple/swift-async-algorithms
[12021/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.94s)
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (2.07s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.69s)
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "asynclifetime",
      "name": "AsyncLifetime",
      "url": "https://github.com/nonameplum/AsyncLifetime.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncLifetime",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nonameplum/AsyncLifetime.git
[1/340] Fetching asynclifetime
Fetched https://github.com/nonameplum/AsyncLifetime.git from cache (0.93s)
Creating working copy for https://github.com/nonameplum/AsyncLifetime.git
Working copy of https://github.com/nonameplum/AsyncLifetime.git resolved at main (717a579)
warning: '.resolve-product-dependencies': dependency 'asynclifetime' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/nonameplum/AsyncLifetime.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/8] Compiling AsyncLifetime withMainActorLifetime.swift
<unknown>:0: warning: upcoming feature 'RegionBasedIsolation' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'IsolatedDefaultValues' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[4/8] Compiling AsyncLifetime withLifetime.swift
<unknown>:0: warning: upcoming feature 'RegionBasedIsolation' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'IsolatedDefaultValues' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[5/8] Compiling AsyncLifetime AsyncSequence+assign.swift
<unknown>:0: warning: upcoming feature 'RegionBasedIsolation' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'IsolatedDefaultValues' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[6/8] Emitting module AsyncLifetime
<unknown>:0: warning: upcoming feature 'RegionBasedIsolation' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'IsolatedDefaultValues' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[7/8] Compiling AsyncLifetime AnyLifetimeCancellable.swift
<unknown>:0: warning: upcoming feature 'RegionBasedIsolation' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'IsolatedDefaultValues' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[8/8] Compiling AsyncLifetime _withLifetimeTask.swift
<unknown>:0: warning: upcoming feature 'RegionBasedIsolation' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'IsolatedDefaultValues' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/_withLifetimeTask.swift:203:21: error: sending 'object' risks causing data races [#SendingRisksDataRace]
201 |           }
202 |
203 |           try await operation(object, element)
    |                     |- error: sending 'object' risks causing data races [#SendingRisksDataRace]
    |                     `- note: sending 'isolation'-isolated 'object' to nonisolated callee risks causing data races between nonisolated and 'isolation'-isolated uses
204 |         }
205 |       } else {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/_withLifetimeTask.swift:215:21: error: sending 'object' risks causing data races [#SendingRisksDataRace]
213 |           }
214 |
215 |           try await operation(object, element)
    |                     |- error: sending 'object' risks causing data races [#SendingRisksDataRace]
    |                     `- note: sending 'isolation'-isolated 'object' to nonisolated callee risks causing data races between nonisolated and 'isolation'-isolated uses
216 |         }
217 |       }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/_withLifetimeTask.swift:302:15: error: sending 'object' risks causing data races [#SendingRisksDataRace]
300 |         }
301 |
302 |         await operation(object, element)
    |               |- error: sending 'object' risks causing data races [#SendingRisksDataRace]
    |               `- note: sending 'isolation'-isolated 'object' to nonisolated callee risks causing data races between nonisolated and 'isolation'-isolated uses
303 |       }
304 |     }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
BUILD FAILURE 6.3 macosSpm