The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build VideoIO with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MetalPetal/VideoIO.git
Reference: 2.3.1
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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:             5.10
Building package at path:  $workDir
https://github.com/MetalPetal/VideoIO.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/18] Emitting module VideoIO
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:389:6: error: stored properties cannot be marked unavailable with '@available'
    @available(macOS, unavailable)
     ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:63:30: error: 'CADisplayLink' is only available in macOS 14.0 or newer
    private var displayLink: CADisplayLink?
                             ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:208:52: error: 'CADisplayLink' is only available in macOS 14.0 or newer
        @objc func handleDisplayLinkUpdate(sender: CADisplayLink) {
                                                   ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:208:20: note: add @available attribute to enclosing instance method
        @objc func handleDisplayLinkUpdate(sender: CADisplayLink) {
                   ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:203:19: note: add @available attribute to enclosing class
    private class DisplayLinkTarget {
                  ^
[4/20] Compiling VideoIO VideoComposition.swift
[5/20] Compiling VideoIO VideoOrientationUtilities.swift
[6/20] Compiling VideoIO AudioVideoSettings.swift
[7/20] Compiling VideoIO Camera+AudioQueueCapture.swift
[8/20] Compiling VideoIO Camera+FocusExposure.swift
[9/20] Compiling VideoIO Camera+PhotoCapture.swift
[10/20] Compiling VideoIO Camera.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:389:6: error: stored properties cannot be marked unavailable with '@available'
    @available(macOS, unavailable)
     ^
[11/20] Compiling VideoIO DeviceOrientationTracker.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:389:6: error: stored properties cannot be marked unavailable with '@available'
    @available(macOS, unavailable)
     ^
[12/20] Compiling VideoIO MovieFileType.swift
[13/20] Compiling VideoIO MovieMerger.swift
[14/20] Compiling VideoIO SampleBufferUtilities.swift
[15/20] Compiling VideoIO UnfairLock.swift
[16/20] Compiling VideoIO AVAsset.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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.
            objc_setAssociatedObject(to, &Key.tracker, tracker, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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.
            }, &self.clientInfo, nil, nil, 0, &audioQueue)
               ^
[17/20] Compiling VideoIO AssetExportSession.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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.
            objc_setAssociatedObject(to, &Key.tracker, tracker, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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.
            }, &self.clientInfo, nil, nil, 0, &audioQueue)
               ^
[18/20] Compiling VideoIO AudioQueueCaptureSession.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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.
            objc_setAssociatedObject(to, &Key.tracker, tracker, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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.
            }, &self.clientInfo, nil, nil, 0, &audioQueue)
               ^
[19/20] Compiling VideoIO MultitrackMovieRecorder.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:63:30: error: 'CADisplayLink' is only available in macOS 14.0 or newer
    private var displayLink: CADisplayLink?
                             ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:208:52: error: 'CADisplayLink' is only available in macOS 14.0 or newer
        @objc func handleDisplayLinkUpdate(sender: CADisplayLink) {
                                                   ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:208:20: note: add @available attribute to enclosing instance method
        @objc func handleDisplayLinkUpdate(sender: CADisplayLink) {
                   ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:203:19: note: add @available attribute to enclosing class
    private class DisplayLinkTarget {
                  ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:161:31: error: 'CADisplayLink' is only available in macOS 14.0 or newer
            let displayLink = CADisplayLink(target: DisplayLinkTarget({ [weak self] in
                              ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:161:31: note: add 'if #available' version check
            let displayLink = CADisplayLink(target: DisplayLinkTarget({ [weak self] in
                              ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:156:18: note: add @available attribute to enclosing instance method
    private func setupDisplayLink() {
                 ^
[20/20] Compiling VideoIO PlayerVideoOutput.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:63:30: error: 'CADisplayLink' is only available in macOS 14.0 or newer
    private var displayLink: CADisplayLink?
                             ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:208:52: error: 'CADisplayLink' is only available in macOS 14.0 or newer
        @objc func handleDisplayLinkUpdate(sender: CADisplayLink) {
                                                   ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:208:20: note: add @available attribute to enclosing instance method
        @objc func handleDisplayLinkUpdate(sender: CADisplayLink) {
                   ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:203:19: note: add @available attribute to enclosing class
    private class DisplayLinkTarget {
                  ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:161:31: error: 'CADisplayLink' is only available in macOS 14.0 or newer
            let displayLink = CADisplayLink(target: DisplayLinkTarget({ [weak self] in
                              ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:161:31: note: add 'if #available' version check
            let displayLink = CADisplayLink(target: DisplayLinkTarget({ [weak self] in
                              ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:156:18: note: add @available attribute to enclosing instance method
    private func setupDisplayLink() {
                 ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/6] Compiling VideoIO PlayerVideoOutput.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:63:30: error: 'CADisplayLink' is only available in macOS 14.0 or newer
    private var displayLink: CADisplayLink?
                             ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:208:52: error: 'CADisplayLink' is only available in macOS 14.0 or newer
        @objc func handleDisplayLinkUpdate(sender: CADisplayLink) {
                                                   ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:208:20: note: add @available attribute to enclosing instance method
        @objc func handleDisplayLinkUpdate(sender: CADisplayLink) {
                   ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:203:19: note: add @available attribute to enclosing class
    private class DisplayLinkTarget {
                  ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:161:31: error: 'CADisplayLink' is only available in macOS 14.0 or newer
            let displayLink = CADisplayLink(target: DisplayLinkTarget({ [weak self] in
                              ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:161:31: note: add 'if #available' version check
            let displayLink = CADisplayLink(target: DisplayLinkTarget({ [weak self] in
                              ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:156:18: note: add @available attribute to enclosing instance method
    private func setupDisplayLink() {
                 ^
[3/6] Compiling VideoIO DeviceOrientationTracker.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling VideoIO MultitrackMovieRecorder.swift
[5/6] Emitting module VideoIO
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:389:6: error: stored properties cannot be marked unavailable with '@available'
    @available(macOS, unavailable)
     ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:63:30: error: 'CADisplayLink' is only available in macOS 14.0 or newer
    private var displayLink: CADisplayLink?
                             ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:208:52: error: 'CADisplayLink' is only available in macOS 14.0 or newer
        @objc func handleDisplayLinkUpdate(sender: CADisplayLink) {
                                                   ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:208:20: note: add @available attribute to enclosing instance method
        @objc func handleDisplayLinkUpdate(sender: CADisplayLink) {
                   ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/PlayerVideoOutput.swift:203:19: note: add @available attribute to enclosing class
    private class DisplayLinkTarget {
                  ^
[6/6] Compiling VideoIO Camera.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VideoIO/Camera.swift:389:6: error: stored properties cannot be marked unavailable with '@available'
    @available(macOS, unavailable)
     ^
[7/17] Compiling VideoIO MovieMerger.swift
[8/17] Compiling VideoIO VideoComposition.swift
[9/17] Compiling VideoIO Camera+PhotoCapture.swift
[10/17] Compiling VideoIO MovieFileType.swift
[11/17] Compiling VideoIO SampleBufferUtilities.swift
[12/17] Compiling VideoIO Camera+AudioQueueCapture.swift
[13/17] Compiling VideoIO Camera+FocusExposure.swift
[14/17] Compiling VideoIO AVAsset.swift
[15/17] Compiling VideoIO AssetExportSession.swift
[16/17] Compiling VideoIO AudioQueueCaptureSession.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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.
            objc_setAssociatedObject(to, &Key.tracker, tracker, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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.
            }, &self.clientInfo, nil, nil, 0, &audioQueue)
               ^
[17/17] Compiling VideoIO AudioVideoSettings.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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.
            objc_setAssociatedObject(to, &Key.tracker, tracker, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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.
            }, &self.clientInfo, nil, nil, 0, &audioQueue)
               ^
error: fatalError
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7