The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SJSAssetExportSession, reference main (12243a), with Swift 6.2 for macOS (SPM) on 10 Oct 2026 08:20:05 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/samsonjs/SJSAssetExportSession.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/samsonjs/SJSAssetExportSession
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 12243ab Bump version to 0.5.1
Cloned https://github.com/samsonjs/SJSAssetExportSession.git
Revision (git rev-parse @):
12243ab2e3e23465c457019de40d13faa5a88653
SUCCESS checkout https://github.com/samsonjs/SJSAssetExportSession.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/samsonjs/SJSAssetExportSession.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
[3/12] Compiling SJSAssetExportSession VideoFrameSource.swift
[4/12] Compiling SJSAssetExportSession CMTime+seconds.swift
[5/12] Emitting module SJSAssetExportSession
[6/12] Compiling SJSAssetExportSession VideoOutputSettings.swift
[7/12] Compiling SJSAssetExportSession AudioOutputSettings.swift
[8/12] Compiling SJSAssetExportSession Array+Extensions.swift
[9/12] Compiling SJSAssetExportSession VideoFrame.swift
[10/12] Compiling SJSAssetExportSession ExportSession.swift
[11/12] Compiling SJSAssetExportSession ExportSession+Error.swift
[12/12] Compiling SJSAssetExportSession SampleWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SJSAssetExportSession/SampleWriter.swift:283:17: error: sending 'input' risks causing data races [#SendingRisksDataRace]
280 |             // A pool per sample: this loop can run for many frames before returning to the
281 |             // queue, and whatever the artist autoreleases would otherwise pile up until then.
282 |             let hasMore = autoreleasepool {
    |                                           `- note: access can happen concurrently
283 |                 writeNextSample(to: input, from: nextSample)
    |                 |- error: sending 'input' risks causing data races [#SendingRisksDataRace]
    |                 `- note: 'self'-isolated 'input' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
284 |             }
285 |             guard hasMore else { return false }
/Users/admin/builder/spi-builder-workspace/Sources/SJSAssetExportSession/SampleWriter.swift:283:17: error: sending 'nextSample' risks causing data races [#SendingRisksDataRace]
280 |             // A pool per sample: this loop can run for many frames before returning to the
281 |             // queue, and whatever the artist autoreleases would otherwise pile up until then.
282 |             let hasMore = autoreleasepool {
    |                                           `- note: access can happen concurrently
283 |                 writeNextSample(to: input, from: nextSample)
    |                 |- error: sending 'nextSample' risks causing data races [#SendingRisksDataRace]
    |                 `- note: 'self'-isolated 'nextSample' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
284 |             }
285 |             guard hasMore else { return false }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
BUILD FAILURE 6.2 macosSpm