The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NextLevelSessionExporter, reference main (1bb6e1), with Swift 6.0 for macOS (SPM) on 30 Apr 2026 00:21:02 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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/NextLevel/NextLevelSessionExporter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NextLevel/NextLevelSessionExporter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1bb6e19 Merge pull request #58 from madsodgaard/main
Cloned https://github.com/NextLevel/NextLevelSessionExporter.git
Revision (git rev-parse @):
1bb6e19731ff512f4652f8ce2a8f67c779b1598f
SUCCESS checkout https://github.com/NextLevel/NextLevelSessionExporter.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/NextLevel/NextLevelSessionExporter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SessionExporter
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
[4/4] Compiling SessionExporter NextLevelSessionExporter.swift
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:404:62: warning: capture of 'videoOutput' with non-sendable type 'AVAssetReaderVideoCompositionOutput' in a `@Sendable` closure
 402 |             dispatchGroup.enter()
 403 |             videoInput.requestMediaDataWhenReady(on: self._inputQueue, using: {
 404 |                 if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
     |                                                              `- warning: capture of 'videoOutput' with non-sendable type 'AVAssetReaderVideoCompositionOutput' in a `@Sendable` closure
 405 |                     dispatchGroup.leave()
 406 |                 }
AVFoundation.AVAssetReaderVideoCompositionOutput:2:12: note: class 'AVAssetReaderVideoCompositionOutput' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class AVAssetReaderVideoCompositionOutput : AVAssetReaderOutput {
   |            `- note: class 'AVAssetReaderVideoCompositionOutput' does not conform to the 'Sendable' protocol
 3 |     @available(*, unavailable)
 4 |     public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:25:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'AVFoundation' as warnings
  23 |
  24 | import Foundation
  25 | import AVFoundation
     | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'AVFoundation' as warnings
  26 | import VideoToolbox
  27 |
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:404:90: warning: capture of 'videoInput' with non-sendable type 'AVAssetWriterInput' in a `@Sendable` closure
 402 |             dispatchGroup.enter()
 403 |             videoInput.requestMediaDataWhenReady(on: self._inputQueue, using: {
 404 |                 if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
     |                                                                                          `- warning: capture of 'videoInput' with non-sendable type 'AVAssetWriterInput' in a `@Sendable` closure
 405 |                     dispatchGroup.leave()
 406 |                 }
AVFoundation.AVAssetWriterInput:2:12: note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class AVAssetWriterInput : NSObject {
   |            `- note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
 3 |     @available(*, unavailable)
 4 |     public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:414:62: warning: capture of 'audioOutput' with non-sendable type 'AVAssetReaderAudioMixOutput' in a `@Sendable` closure
 412 |             dispatchGroup.enter()
 413 |             audioInput.requestMediaDataWhenReady(on: self._inputQueue, using: {
 414 |                 if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
     |                                                              `- warning: capture of 'audioOutput' with non-sendable type 'AVAssetReaderAudioMixOutput' in a `@Sendable` closure
 415 |                     dispatchGroup.leave()
 416 |                 }
AVFoundation.AVAssetReaderAudioMixOutput:2:12: note: class 'AVAssetReaderAudioMixOutput' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class AVAssetReaderAudioMixOutput : AVAssetReaderOutput {
   |            `- note: class 'AVAssetReaderAudioMixOutput' does not conform to the 'Sendable' protocol
 3 |     @available(*, unavailable)
 4 |     public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:414:90: warning: capture of 'audioInput' with non-sendable type 'AVAssetWriterInput' in a `@Sendable` closure
 412 |             dispatchGroup.enter()
 413 |             audioInput.requestMediaDataWhenReady(on: self._inputQueue, using: {
 414 |                 if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
     |                                                                                          `- warning: capture of 'audioInput' with non-sendable type 'AVAssetWriterInput' in a `@Sendable` closure
 415 |                     dispatchGroup.leave()
 416 |                 }
AVFoundation.AVAssetWriterInput:2:12: note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class AVAssetWriterInput : NSObject {
   |            `- note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
 3 |     @available(*, unavailable)
 4 |     public convenience init()
BUILD FAILURE 6.0 macosSpm