The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SJSAssetExportSession, reference 0.5.1 (12243a), with Swift 6.1 for macOS (SPM) on 10 Oct 2026 08:03:15 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.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: 0.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/samsonjs/SJSAssetExportSession
 * tag               0.5.1      -> FETCH_HEAD
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 0.5.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/samsonjs/SJSAssetExportSession.git
https://github.com/samsonjs/SJSAssetExportSession.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SJSAssetExportSession",
  "name" : "SJSAssetExportSession",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "SJSAssetExportSession",
      "targets" : [
        "SJSAssetExportSession"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SJSAssetExportSessionTests",
      "module_type" : "SwiftTarget",
      "name" : "SJSAssetExportSessionTests",
      "path" : "Tests/SJSAssetExportSessionTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SJSAssetExportSessionTests/Resources/test-4k-hdr-hevc-30fps.mov",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SJSAssetExportSessionTests/Resources/test-5.1-audio.mp4",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SJSAssetExportSessionTests/Resources/test-720p-h264-24fps.mov",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SJSAssetExportSessionTests/Resources/test-no-audio.mp4",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SJSAssetExportSessionTests/Resources/test-no-video.m4a",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SJSAssetExportSessionTests/Resources/test-spatial-audio.mov",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SJSAssetExportSessionTests/Resources/test-x264-1080p-h264-60fps.mp4",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AudioMixTests.swift",
        "AutoDestructingURL.swift",
        "BaseTests.swift",
        "DrawFrameTests.swift",
        "ExportFidelityTests.swift",
        "FrameRateTests.swift",
        "ReadmeExamples.swift",
        "SJSAssetExportSessionTests.swift",
        "SendableWrapper.swift",
        "TestVideo.swift"
      ],
      "target_dependencies" : [
        "SJSAssetExportSession"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SJSAssetExportSession",
      "module_type" : "SwiftTarget",
      "name" : "SJSAssetExportSession",
      "path" : "Sources/SJSAssetExportSession",
      "product_memberships" : [
        "SJSAssetExportSession"
      ],
      "sources" : [
        "Array+Extensions.swift",
        "AudioOutputSettings.swift",
        "CMTime+seconds.swift",
        "ExportSession+Error.swift",
        "ExportSession.swift",
        "SampleWriter.swift",
        "VideoFrame.swift",
        "VideoFrameSource.swift",
        "VideoOutputSettings.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/12] Compiling SJSAssetExportSession Array+Extensions.swift
[4/12] Compiling SJSAssetExportSession AudioOutputSettings.swift
[5/12] Compiling SJSAssetExportSession CMTime+seconds.swift
[6/12] Emitting module SJSAssetExportSession
[7/12] Compiling SJSAssetExportSession ExportSession+Error.swift
[8/12] Compiling SJSAssetExportSession VideoOutputSettings.swift
[9/12] Compiling SJSAssetExportSession ExportSession.swift
[10/12] Compiling SJSAssetExportSession VideoFrame.swift
[11/12] Compiling SJSAssetExportSession VideoFrameSource.swift
[12/12] Compiling SJSAssetExportSession SampleWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SJSAssetExportSession/SampleWriter.swift:283:37: error: sending 'input' risks causing data races
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
    |                                     `- note: 'self'-isolated 'input' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
284 |             }
285 |             guard hasMore else { return false }
/Users/admin/builder/spi-builder-workspace/Sources/SJSAssetExportSession/SampleWriter.swift:283:50: error: sending 'nextSample' risks causing data races
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
    |                                                  `- note: 'self'-isolated 'nextSample' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
284 |             }
285 |             guard hasMore else { return false }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling SJSAssetExportSession VideoFrameSource.swift
[3/11] Compiling SJSAssetExportSession VideoFrame.swift
[4/11] Compiling SJSAssetExportSession ExportSession.swift
[5/11] Compiling SJSAssetExportSession ExportSession+Error.swift
[6/11] Compiling SJSAssetExportSession Array+Extensions.swift
[7/11] Compiling SJSAssetExportSession CMTime+seconds.swift
[8/11] Compiling SJSAssetExportSession VideoOutputSettings.swift
[9/11] Emitting module SJSAssetExportSession
[10/11] Compiling SJSAssetExportSession SampleWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SJSAssetExportSession/SampleWriter.swift:283:37: error: sending 'input' risks causing data races
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
    |                                     `- note: 'self'-isolated 'input' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
284 |             }
285 |             guard hasMore else { return false }
/Users/admin/builder/spi-builder-workspace/Sources/SJSAssetExportSession/SampleWriter.swift:283:50: error: sending 'nextSample' risks causing data races
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
    |                                                  `- note: 'self'-isolated 'nextSample' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
284 |             }
285 |             guard hasMore else { return false }
[11/11] Compiling SJSAssetExportSession AudioOutputSettings.swift
BUILD FAILURE 6.1 macosSpm