Build Information
Failed to build SJSAssetExportSession, reference main (8ca065), with Swift 6.2 for macOS (SPM) on 19 Nov 2026 01:12:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
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 8ca0659 Export audio at the source's sample rate by default
Cloned https://github.com/samsonjs/SJSAssetExportSession.git
Revision (git rev-parse @):
8ca065988fea246731ba548957e5b0e02c154cd6
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 CMTime+seconds.swift
[4/12] Compiling SJSAssetExportSession VideoFrame.swift
[5/12] Compiling SJSAssetExportSession Array+Extensions.swift
[6/12] Compiling SJSAssetExportSession FrameScaler.swift
[7/12] Compiling SJSAssetExportSession AudioOutputSettings.swift
[8/12] Compiling SJSAssetExportSession VideoFrameSource.swift
[9/12] Emitting module SJSAssetExportSession
[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:291:17: error: sending 'input' risks causing data races [#SendingRisksDataRace]
288 | // A pool per sample: this loop can run for many frames before returning to the
289 | // queue, and whatever the artist autoreleases would otherwise pile up until then.
290 | let hasMore = autoreleasepool {
| `- note: access can happen concurrently
291 | 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
292 | }
293 | guard hasMore else { return false }
/Users/admin/builder/spi-builder-workspace/Sources/SJSAssetExportSession/SampleWriter.swift:291:17: error: sending 'nextSample' risks causing data races [#SendingRisksDataRace]
288 | // A pool per sample: this loop can run for many frames before returning to the
289 | // queue, and whatever the artist autoreleases would otherwise pile up until then.
290 | let hasMore = autoreleasepool {
| `- note: access can happen concurrently
291 | 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
292 | }
293 | guard hasMore else { return false }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[13/13] Compiling SJSAssetExportSession VideoOutputSettings.swift
BUILD FAILURE 6.2 macosSpm