The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VideoIO, reference master (1623b3), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 08:00:41 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MetalPetal/VideoIO.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MetalPetal/VideoIO
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1623b3d [Camera] Add method to switch to a specific video device
Cloned https://github.com/MetalPetal/VideoIO.git
Revision (git rev-parse @):
1623b3d597d8ae987979ce8ac7b1ce0d085d2855
SUCCESS checkout https://github.com/MetalPetal/VideoIO.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/MetalPetal/VideoIO.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] VideoIO
[29 / 100]
[32 / 100]
[39 / 100]
[41 / 100]
[42 / 100]
[47 / 100]
[49 / 100]
[52 / 100]
[57 / 100]
[60 / 100]
[62 / 100]
[63 / 100]
[70 / 100]
[71 / 100]
[72 / 100]
[76 / 100]
[79 / 100]
[80 / 100]
[91 / 100] VideoIO
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/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/AudioVideoSettings.swift:12:1: warning: extension declares a conformance of imported type 'AVVideoCodecType' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'AVFoundation' introduce this conformance in the future
 10 | import VideoToolbox
 11 |
 12 | extension AVVideoCodecType: Codable {
    | |- warning: extension declares a conformance of imported type 'AVVideoCodecType' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'AVFoundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 13 |
 14 | }
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:403:6: error: stored properties cannot be marked unavailable with '@available'
401 |     internal var photoCaptureDelegateHandlers: [AnyObject] = []
402 |
403 |     @available(macOS, unavailable)
    |      `- error: stored properties cannot be marked unavailable with '@available'
404 |     internal var audioQueueCaptureSession: AudioQueueCaptureSession?
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:404:44: error: 'AudioQueueCaptureSession' is unavailable in macOS
402 |
403 |     @available(macOS, unavailable)
404 |     internal var audioQueueCaptureSession: AudioQueueCaptureSession?
    |                                            `- error: 'AudioQueueCaptureSession' is unavailable in macOS
405 | }
406 |
/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]?'
 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]?'
 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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h:123:91: note: expected sendability to match requirement here
121 | ///
122 | /// 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.
123 | @property (nonatomic, readonly, nullable) NSDictionary<NSString *, id> NS_SWIFT_SENDABLE *sourcePixelBufferAttributes;
    |                                                                                           `- note: expected sendability to match requirement here
124 |
125 | /// 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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h:130:81: note: expected sendability to match requirement here
128 | ///
129 | /// This property is queried once before any composition request is sent to the compositor. Changing required buffer attributes afterwards is not supported.
130 | @property (nonatomic, readonly) NSDictionary<NSString *, id> NS_SWIFT_SENDABLE *requiredPixelBufferAttributesForRenderContext;
    |                                                                                 `- note: expected sendability to match requirement here
131 |
132 | /// Called to notify the custom compositor that a composition will switch to a different render context
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AVAsset.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AssetExportSession.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioQueueCaptureSession.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/AudioVideoSettings.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+AudioQueueCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+FocusExposure.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera+PhotoCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/Camera.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/DeviceOrientationTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieFileType.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MovieMerger.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/MultitrackMovieRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/SampleBufferUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/UnfairLock.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoComposition.swift /Users/admin/builder/spi-builder-workspace/Sources/VideoIO/VideoOrientationUtilities.swift -target arm64-apple-macos12.0 -module-can-import-version CoreMotion 3185.0.6 3185.0.6 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VideoIO.build/Debug/VideoIO-t.build/Objects-normal/arm64/VideoIO-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VideoIO.build/Debug/VideoIO-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VideoIO.build/Debug/VideoIO-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VideoIO.build/Debug/VideoIO-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name VideoIO -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VideoIO.build/Debug/VideoIO-t.build/Objects-normal/arm64/VideoIO_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VideoIO.build/Debug/VideoIO-t.build/Objects-normal/arm64/VideoIO.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VideoIO.build/Debug/VideoIO-t.build/Objects-normal/arm64/VideoIO.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VideoIO.build/Debug/VideoIO-t.build/Objects-normal/arm64/VideoIO-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VideoIO.build/Debug/VideoIO-t.build/Objects-normal/arm64/VideoIO-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VideoIO.build/Debug/VideoIO-t.build/Objects-normal/arm64/VideoIO-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VideoIO.build/Debug/VideoIO-t.build/Objects-normal/arm64/VideoIO.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/VideoIO.build/Debug/VideoIO-t.build/Objects-normal/arm64/VideoIO.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm