Build Information
Failed to build AsyncLifetime, reference 1.2.0 (717a57), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 05:10:20 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nonameplum/AsyncLifetime.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nonameplum/AsyncLifetime
* tag 1.2.0 -> FETCH_HEAD
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 1.2.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/nonameplum/AsyncLifetime.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] AsyncLifetime
[30 / 71]
[35 / 71]
[39 / 71]
[40 / 71]
[44 / 71]
[46 / 71]
[49 / 71]
[53 / 71]
[55 / 71]
[56 / 71]
[62 / 71] AsyncLifetime
[68 / 71] AsyncLifetime
Fetching https://github.com/apple/swift-async-algorithms
[1/6723] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms (1.33s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.5 (2.02s)
Fetching https://github.com/apple/swift-collections.git
[1/27686] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (4.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (4.71s)
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
warning: upcoming feature 'RegionBasedIsolation' already enabled as of the Swift 6 language mode
warning: upcoming feature 'IsolatedDefaultValues' already enabled as of the Swift 6 language mode
warning: upcoming feature 'InferSendableFromCaptures' already enabled as of the Swift 6 language mode
error: SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/_withLifetimeTask.swift failed with a nonzero exit code. Command line: cd /Users/admin/builder
builtin-SwiftPerFileCompile _withLifetimeTask.swift
<unknown>:0: warning: upcoming feature 'RegionBasedIsolation' already enabled as of the Swift 6 language mode
<unknown>:0: warning: upcoming feature 'IsolatedDefaultValues' already enabled as of the Swift 6 language mode
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' already enabled as of the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/_withLifetimeTask.swift:53:7: [1;33mwarning: [1;39mconformance of 'AsyncIterator' to protocol 'AsyncIteratorProtocol' may be isolated and cannot be passed to @concurrent context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m51 |[0;0m }
[0;36m52 |[0;0m } else {
[0;36m53 |[0;0m for try await element in stream {
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'AsyncIterator' to protocol 'AsyncIteratorProtocol' may be isolated and cannot be passed to @concurrent context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m54 |[0;0m guard !Task.isCancelled,
[0;36m55 |[0;0m let object
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/_withLifetimeTask.swift:206:9: [1;33mwarning: [1;39mconformance of 'AsyncIterator' to protocol 'AsyncIteratorProtocol' may be isolated and cannot be passed to @concurrent context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m204 |[0;0m }
[0;36m205 |[0;0m } else {
[0;36m206 |[0;0m for try await element in stream {
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'AsyncIterator' to protocol 'AsyncIteratorProtocol' may be isolated and cannot be passed to @concurrent context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m207 |[0;0m guard !Task.isCancelled,
[0;36m208 |[0;0m let object
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/_withLifetimeTask.swift:203:21: [1;31merror: [1;39msending 'object' risks causing data races[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
[0;36m201 |[0;0m }
[0;36m202 |[0;0m
[0;36m203 |[0;0m try await operation(object, element)
[0;36m|[0;0m |- [1;31merror: [1;39msending 'object' risks causing data races[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39msending 'isolation'-isolated 'object' to @concurrent callee risks causing data races between @concurrent and 'isolation'-isolated uses[0;0m
[0;36m204 |[0;0m }
[0;36m205 |[0;0m } else {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/_withLifetimeTask.swift:215:21: [1;31merror: [1;39msending 'object' risks causing data races[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
[0;36m213 |[0;0m }
[0;36m214 |[0;0m
[0;36m215 |[0;0m try await operation(object, element)
[0;36m|[0;0m |- [1;31merror: [1;39msending 'object' risks causing data races[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39msending 'isolation'-isolated 'object' to @concurrent callee risks causing data races between @concurrent and 'isolation'-isolated uses[0;0m
[0;36m216 |[0;0m }
[0;36m217 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/_withLifetimeTask.swift:302:15: [1;31merror: [1;39msending 'object' risks causing data races[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
[0;36m300 |[0;0m }
[0;36m301 |[0;0m
[0;36m302 |[0;0m await operation(object, element)
[0;36m|[0;0m |- [1;31merror: [1;39msending 'object' risks causing data races[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39msending 'isolation'-isolated 'object' to @concurrent callee risks causing data races between @concurrent and 'isolation'-isolated uses[0;0m
[0;36m303 |[0;0m }
[0;36m304 |[0;0m }
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
[#RegionIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/region-isolation>
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/AnyLifetimeCancellable.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/AsyncSequence+assign.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/_withLifetimeTask.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/withLifetime.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncLifetime/withMainActorLifetime.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncLifetime.build/Debug/AsyncLifetime-t.build/Objects-normal/arm64/_withLifetimeTask.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncLifetime.build/Debug/AsyncLifetime-t.build/Objects-normal/arm64/_withLifetimeTask.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncLifetime.build/Debug/AsyncLifetime-t.build/Objects-normal/arm64/_withLifetimeTask.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncLifetime.build/Debug/AsyncLifetime-t.build/Objects-normal/arm64/_withLifetimeTask.dia -target arm64-apple-macos14.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncLifetime.build/Debug/AsyncLifetime-t.build/Objects-normal/arm64/AsyncLifetime-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature IsolatedDefaultValues -enable-upcoming-feature RegionBasedIsolation -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncLifetime.build/Debug/AsyncLifetime-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncLifetime.build/Debug/AsyncLifetime-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncLifetime.build/Debug/AsyncLifetime-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AsyncLifetime -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncLifetime.build/Debug/AsyncLifetime-t.build/Objects-normal/arm64/AsyncLifetime_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncLifetime.build/Debug/AsyncLifetime-t.build/Objects-normal/arm64/_withLifetimeTask.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/AsyncLifetime.build/Debug/AsyncLifetime-t.build/Objects-normal/arm64/AsyncLifetime.swiftmodule -index-unit-output-path /AsyncLifetime.build/Debug/AsyncLifetime-t.build/Objects-normal/arm64/_withLifetimeTask.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm