Build Information
Failed to build VideoIO, reference 2.3.1 (22f7c0
), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 06:52:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MetalPetal/VideoIO.git
Reference: 2.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MetalPetal/VideoIO
* tag 2.3.1 -> FETCH_HEAD
HEAD is now at 22f7c00 Fix tvOS build issue
Cloned https://github.com/MetalPetal/VideoIO.git
Revision (git rev-parse @):
22f7c00083b7e16c7e15ace1adcdb90fb5ffe006
SUCCESS checkout https://github.com/MetalPetal/VideoIO.git at 2.3.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/MetalPetal/VideoIO.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/19] Compiling VideoIO UnfairLock.swift
[4/20] Compiling VideoIO VideoOrientationUtilities.swift
[5/20] Compiling VideoIO Camera+AudioQueueCapture.swift
[6/20] Compiling VideoIO Camera+FocusExposure.swift
[7/20] Compiling VideoIO DeviceOrientationTracker.swift
[8/20] Compiling VideoIO MovieFileType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/20] Compiling VideoIO Camera+PhotoCapture.swift
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:389:6: error: stored properties cannot be marked unavailable with '@available'
387 | internal var photoCaptureDelegateHandlers: [AnyObject] = []
388 |
389 | @available(macOS, unavailable)
| `- error: stored properties cannot be marked unavailable with '@available'
390 | internal var audioQueueCaptureSession: AudioQueueCaptureSession?
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:390:44: error: 'AudioQueueCaptureSession' is unavailable in macOS
388 |
389 | @available(macOS, unavailable)
390 | internal var audioQueueCaptureSession: AudioQueueCaptureSession?
| `- error: 'AudioQueueCaptureSession' is unavailable in macOS
391 | }
392 |
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift:17:14: note: 'AudioQueueCaptureSession' has been explicitly marked unavailable here
15 |
16 | @available(macOS, unavailable)
17 | public class AudioQueueCaptureSession {
| `- note: 'AudioQueueCaptureSession' has been explicitly marked unavailable here
18 |
19 | public enum Error: Swift.Error {
[10/20] Compiling VideoIO Camera.swift
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:389:6: error: stored properties cannot be marked unavailable with '@available'
387 | internal var photoCaptureDelegateHandlers: [AnyObject] = []
388 |
389 | @available(macOS, unavailable)
| `- error: stored properties cannot be marked unavailable with '@available'
390 | internal var audioQueueCaptureSession: AudioQueueCaptureSession?
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:390:44: error: 'AudioQueueCaptureSession' is unavailable in macOS
388 |
389 | @available(macOS, unavailable)
390 | internal var audioQueueCaptureSession: AudioQueueCaptureSession?
| `- error: 'AudioQueueCaptureSession' is unavailable in macOS
391 | }
392 |
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift:17:14: note: 'AudioQueueCaptureSession' has been explicitly marked unavailable here
15 |
16 | @available(macOS, unavailable)
17 | public class AudioQueueCaptureSession {
| `- note: 'AudioQueueCaptureSession' has been explicitly marked unavailable here
18 |
19 | public enum Error: Swift.Error {
[11/20] Emitting module VideoIO
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AssetExportSession.swift:216:18: warning: class 'ExportProgress' must restate inherited '@unchecked Sendable' conformance
214 |
215 |
216 | public class ExportProgress: Progress {
| `- warning: class 'ExportProgress' must restate inherited '@unchecked Sendable' conformance
217 | public let videoEncodingProgress: Progress?
218 | public let audioEncodingProgress: Progress?
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:389:6: error: stored properties cannot be marked unavailable with '@available'
387 | internal var photoCaptureDelegateHandlers: [AnyObject] = []
388 |
389 | @available(macOS, unavailable)
| `- error: stored properties cannot be marked unavailable with '@available'
390 | internal var audioQueueCaptureSession: AudioQueueCaptureSession?
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:390:44: error: 'AudioQueueCaptureSession' is unavailable in macOS
388 |
389 | @available(macOS, unavailable)
390 | internal var audioQueueCaptureSession: AudioQueueCaptureSession?
| `- error: 'AudioQueueCaptureSession' is unavailable in macOS
391 | }
392 |
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift:17:14: note: 'AudioQueueCaptureSession' has been explicitly marked unavailable here
15 |
16 | @available(macOS, unavailable)
17 | public class AudioQueueCaptureSession {
| `- note: 'AudioQueueCaptureSession' has been explicitly marked unavailable here
18 |
19 | public enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:31:20: warning: stored property 'requiredSourceTrackIDs' of 'Sendable'-conforming class 'Instruction' has non-sendable type '[NSValue]?'; this is an error in the Swift 6 language mode
29 | public let containsTweening: Bool = true
30 |
31 | public let requiredSourceTrackIDs: [NSValue]?
| `- warning: stored property 'requiredSourceTrackIDs' of 'Sendable'-conforming class 'Instruction' has non-sendable type '[NSValue]?'; this is an error in the Swift 6 language mode
32 |
33 | public let passthroughTrackID: CMPersistentTrackID = kCMPersistentTrackID_Invalid
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:48:16: warning: sendability of function types in property 'sourcePixelBufferAttributes' does not match requirement in protocol 'AVVideoCompositing'; this is an error in the Swift 6 language mode
46 | }
47 |
48 | public let sourcePixelBufferAttributes: [String : Any]? = [kCVPixelBufferPixelFormatTypeKey as String: [kCVPixelFormatType_420YpCbCr8BiPlanarFullRange, kCVPixelFormatType_32BGRA, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange]]
| `- warning: sendability of function types in property 'sourcePixelBufferAttributes' does not match requirement in protocol 'AVVideoCompositing'; this is an error in the Swift 6 language mode
49 |
50 | public let requiredPixelBufferAttributesForRenderContext: [String : Any] = [kCVPixelBufferPixelFormatTypeKey as String: kCVPixelFormatType_32BGRA]
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h:122:91: note: expected sendability to match requirement here
120 | ///
121 | /// Missing attributes will be set by the composition engine to values allowing the best performance. This property is queried once before any composition request is sent to the compositor. Changing source buffer attributes afterwards is not supported.
122 | @property (nonatomic, readonly, nullable) NSDictionary<NSString *, id> NS_SWIFT_SENDABLE *sourcePixelBufferAttributes;
| `- note: expected sendability to match requirement here
123 |
124 | /// Indicates the pixel buffer attributes required by the video compositor for new buffers that it creates for processing.
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:50:16: warning: sendability of function types in property 'requiredPixelBufferAttributesForRenderContext' does not match requirement in protocol 'AVVideoCompositing'; this is an error in the Swift 6 language mode
48 | public let sourcePixelBufferAttributes: [String : Any]? = [kCVPixelBufferPixelFormatTypeKey as String: [kCVPixelFormatType_420YpCbCr8BiPlanarFullRange, kCVPixelFormatType_32BGRA, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange]]
49 |
50 | public let requiredPixelBufferAttributesForRenderContext: [String : Any] = [kCVPixelBufferPixelFormatTypeKey as String: kCVPixelFormatType_32BGRA]
| `- warning: sendability of function types in property 'requiredPixelBufferAttributesForRenderContext' does not match requirement in protocol 'AVVideoCompositing'; this is an error in the Swift 6 language mode
51 |
52 | public func renderContextChanged(_ newRenderContext: AVVideoCompositionRenderContext) {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h:129:81: note: expected sendability to match requirement here
127 | ///
128 | /// This property is queried once before any composition request is sent to the compositor. Changing required buffer attributes afterwards is not supported.
129 | @property (nonatomic, readonly) NSDictionary<NSString *, id> NS_SWIFT_SENDABLE *requiredPixelBufferAttributesForRenderContext;
| `- note: expected sendability to match requirement here
130 |
131 | /// Called to notify the custom compositor that a composition will switch to a different render context
[12/20] Compiling VideoIO AVAsset.swift
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AssetExportSession.swift:216:18: warning: class 'ExportProgress' must restate inherited '@unchecked Sendable' conformance
214 |
215 |
216 | public class ExportProgress: Progress {
| `- warning: class 'ExportProgress' must restate inherited '@unchecked Sendable' conformance
217 | public let videoEncodingProgress: Progress?
218 | public let audioEncodingProgress: Progress?
[13/20] Compiling VideoIO AssetExportSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AssetExportSession.swift:216:18: warning: class 'ExportProgress' must restate inherited '@unchecked Sendable' conformance
214 |
215 |
216 | public class ExportProgress: Progress {
| `- warning: class 'ExportProgress' must restate inherited '@unchecked Sendable' conformance
217 | public let videoEncodingProgress: Progress?
218 | public let audioEncodingProgress: Progress?
[14/20] Compiling VideoIO PlayerVideoOutput.swift
[15/20] Compiling VideoIO SampleBufferUtilities.swift
[16/20] Compiling VideoIO AudioQueueCaptureSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift:48:42: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
46 | static func attach(to: AnyObject, callback: @escaping () -> Void) {
47 | let tracker = LifetimeTracker(callback: callback)
48 | objc_setAssociatedObject(to, &Key.tracker, tracker, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
49 | }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift:206:16: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<AudioQueueCaptureSession.ClientInfo>'; this is likely incorrect because 'Optional<AudioQueueCaptureSession.ClientInfo>' may contain an object reference.
204 | }
205 | AudioQueueEnqueueBuffer(inAudioQueue, bufferRef, 0, nil)
206 | }, &self.clientInfo, nil, nil, 0, &audioQueue)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<AudioQueueCaptureSession.ClientInfo>'; this is likely incorrect because 'Optional<AudioQueueCaptureSession.ClientInfo>' may contain an object reference.
207 |
208 | if status != 0 {
[17/20] Compiling VideoIO AudioVideoSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift:48:42: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
46 | static func attach(to: AnyObject, callback: @escaping () -> Void) {
47 | let tracker = LifetimeTracker(callback: callback)
48 | objc_setAssociatedObject(to, &Key.tracker, tracker, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
49 | }
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift:206:16: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<AudioQueueCaptureSession.ClientInfo>'; this is likely incorrect because 'Optional<AudioQueueCaptureSession.ClientInfo>' may contain an object reference.
204 | }
205 | AudioQueueEnqueueBuffer(inAudioQueue, bufferRef, 0, nil)
206 | }, &self.clientInfo, nil, nil, 0, &audioQueue)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Optional<AudioQueueCaptureSession.ClientInfo>'; this is likely incorrect because 'Optional<AudioQueueCaptureSession.ClientInfo>' may contain an object reference.
207 |
208 | if status != 0 {
[18/20] Compiling VideoIO MovieMerger.swift
[19/20] Compiling VideoIO MultitrackMovieRecorder.swift
[20/20] Compiling VideoIO VideoComposition.swift
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:31:20: warning: stored property 'requiredSourceTrackIDs' of 'Sendable'-conforming class 'Instruction' has non-sendable type '[NSValue]?'; this is an error in the Swift 6 language mode
29 | public let containsTweening: Bool = true
30 |
31 | public let requiredSourceTrackIDs: [NSValue]?
| `- warning: stored property 'requiredSourceTrackIDs' of 'Sendable'-conforming class 'Instruction' has non-sendable type '[NSValue]?'; this is an error in the Swift 6 language mode
32 |
33 | public let passthroughTrackID: CMPersistentTrackID = kCMPersistentTrackID_Invalid
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:48:16: warning: sendability of function types in property 'sourcePixelBufferAttributes' does not match requirement in protocol 'AVVideoCompositing'; this is an error in the Swift 6 language mode
46 | }
47 |
48 | public let sourcePixelBufferAttributes: [String : Any]? = [kCVPixelBufferPixelFormatTypeKey as String: [kCVPixelFormatType_420YpCbCr8BiPlanarFullRange, kCVPixelFormatType_32BGRA, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange]]
| `- warning: sendability of function types in property 'sourcePixelBufferAttributes' does not match requirement in protocol 'AVVideoCompositing'; this is an error in the Swift 6 language mode
49 |
50 | public let requiredPixelBufferAttributesForRenderContext: [String : Any] = [kCVPixelBufferPixelFormatTypeKey as String: kCVPixelFormatType_32BGRA]
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h:122:91: note: expected sendability to match requirement here
120 | ///
121 | /// Missing attributes will be set by the composition engine to values allowing the best performance. This property is queried once before any composition request is sent to the compositor. Changing source buffer attributes afterwards is not supported.
122 | @property (nonatomic, readonly, nullable) NSDictionary<NSString *, id> NS_SWIFT_SENDABLE *sourcePixelBufferAttributes;
| `- note: expected sendability to match requirement here
123 |
124 | /// Indicates the pixel buffer attributes required by the video compositor for new buffers that it creates for processing.
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift:50:16: warning: sendability of function types in property 'requiredPixelBufferAttributesForRenderContext' does not match requirement in protocol 'AVVideoCompositing'; this is an error in the Swift 6 language mode
48 | public let sourcePixelBufferAttributes: [String : Any]? = [kCVPixelBufferPixelFormatTypeKey as String: [kCVPixelFormatType_420YpCbCr8BiPlanarFullRange, kCVPixelFormatType_32BGRA, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange]]
49 |
50 | public let requiredPixelBufferAttributesForRenderContext: [String : Any] = [kCVPixelBufferPixelFormatTypeKey as String: kCVPixelFormatType_32BGRA]
| `- warning: sendability of function types in property 'requiredPixelBufferAttributesForRenderContext' does not match requirement in protocol 'AVVideoCompositing'; this is an error in the Swift 6 language mode
51 |
52 | public func renderContextChanged(_ newRenderContext: AVVideoCompositionRenderContext) {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h:129:81: note: expected sendability to match requirement here
127 | ///
128 | /// This property is queried once before any composition request is sent to the compositor. Changing required buffer attributes afterwards is not supported.
129 | @property (nonatomic, readonly) NSDictionary<NSString *, id> NS_SWIFT_SENDABLE *requiredPixelBufferAttributesForRenderContext;
| `- note: expected sendability to match requirement here
130 |
131 | /// Called to notify the custom compositor that a composition will switch to a different render context
BUILD FAILURE 6.2 macosSpm