Build Information
Failed to build NextLevelSessionExporter, reference 1.0.1 (b45267), with Swift 6.0 for macOS (SPM) on 13 Jan 2026 13:11:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NextLevel/NextLevelSessionExporter.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NextLevel/NextLevelSessionExporter
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at b452672 updates
Cloned https://github.com/NextLevel/NextLevelSessionExporter.git
Revision (git rev-parse @):
b452672cbdc2387daabdb295f6657c37be75f990
SUCCESS checkout https://github.com/NextLevel/NextLevelSessionExporter.git at 1.0.1
========================================
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:323:62: warning: capture of 'videoOutput' with non-sendable type 'AVAssetReaderVideoCompositionOutput' in a `@Sendable` closure
321 | dispatchGroup.enter()
322 | videoInput.requestMediaDataWhenReady(on: self._inputQueue, using: {
323 | if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
| `- warning: capture of 'videoOutput' with non-sendable type 'AVAssetReaderVideoCompositionOutput' in a `@Sendable` closure
324 | dispatchGroup.leave()
325 | }
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 |
27 | // MARK: - types
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:323:90: warning: capture of 'videoInput' with non-sendable type 'AVAssetWriterInput' in a `@Sendable` closure
321 | dispatchGroup.enter()
322 | videoInput.requestMediaDataWhenReady(on: self._inputQueue, using: {
323 | if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
| `- warning: capture of 'videoInput' with non-sendable type 'AVAssetWriterInput' in a `@Sendable` closure
324 | dispatchGroup.leave()
325 | }
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:333:62: warning: capture of 'audioOutput' with non-sendable type 'AVAssetReaderAudioMixOutput' in a `@Sendable` closure
331 | dispatchGroup.enter()
332 | audioInput.requestMediaDataWhenReady(on: self._inputQueue, using: {
333 | if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
| `- warning: capture of 'audioOutput' with non-sendable type 'AVAssetReaderAudioMixOutput' in a `@Sendable` closure
334 | dispatchGroup.leave()
335 | }
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:333:90: warning: capture of 'audioInput' with non-sendable type 'AVAssetWriterInput' in a `@Sendable` closure
331 | dispatchGroup.enter()
332 | audioInput.requestMediaDataWhenReady(on: self._inputQueue, using: {
333 | if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
| `- warning: capture of 'audioInput' with non-sendable type 'AVAssetWriterInput' in a `@Sendable` closure
334 | dispatchGroup.leave()
335 | }
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()
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 | name: "NextLevelSessionExporter",
30 | platforms: [
BUILD FAILURE 6.0 macosSpm