The Swift Package Index logo.Swift Package Index

Build Information

Failed to build kubrick with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krad/kubrick.git
Reference: 1.1.5
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/krad/kubrick
 * tag               1.1.5      -> FETCH_HEAD
HEAD is now at 018556f Ok done with that.  I think this is better math
Cloned https://github.com/krad/kubrick.git into spi-builder-workspace
018556f5e196ccfde895d27006a56aea3f7f5ed0
SUCCESS checkout https://github.com/krad/kubrick.git at 1.1.5
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/krad/grip.git from cache
Fetched https://github.com/krad/grip.git (0.18s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (0.36s)
Creating working copy for https://github.com/krad/grip.git
Working copy of https://github.com/krad/grip.git resolved at 1.3.5
Building for debugging...
[1/13] Compiling grip VideoDimensionsPacket.swift
[2/13] Compiling grip VideoParamSetPacket.swift
[3/13] Compiling grip NALU.swift
[4/13] Compiling grip AudioSamplePacket.swift
[5/13] Compiling grip StreamType.swift
[6/13] Compiling grip Packets.swift
[7/13] Compiling grip StreamTypePacket.swift
[8/13] Emitting module grip
[9/13] Compiling grip VideoSamplePacket.swift
[10/13] Compiling grip CompressedSample.swift
[11/13] Compiling grip ByteHelpers.swift
[12/13] Compiling grip BinaryEncodable.swift
[13/13] Compiling grip BinaryEncodableExtensions.swift
[14/14] Compiling grip Writeable.swift
[15/41] Compiling kubrick MuxerSink.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:21:26: error: cannot find 'AudioSamplePacket' in scope
            let packet = AudioSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:26:26: error: cannot find 'VideoSamplePacket' in scope
            var packet = VideoSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
[16/41] Compiling kubrick PrettyPortraitSink.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:21:26: error: cannot find 'AudioSamplePacket' in scope
            let packet = AudioSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:26:26: error: cannot find 'VideoSamplePacket' in scope
            var packet = VideoSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
[17/41] Compiling kubrick Sink.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:21:26: error: cannot find 'AudioSamplePacket' in scope
            let packet = AudioSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:26:26: error: cannot find 'VideoSamplePacket' in scope
            var packet = VideoSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
[18/44] Compiling kubrick AACEncoderSink.swift
[19/44] Compiling kubrick EndpointSink.swift
[20/44] Compiling kubrick H264EncoderSink.swift
[21/44] Emitting module kubrick
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Helpers/Rational.swift:7:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead
    public var hashValue: Int {
               ^
[22/44] Compiling kubrick VideoEncoder.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Helpers/Rational.swift:7:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead
    public var hashValue: Int {
               ^
[23/44] Compiling kubrick Bytes.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Helpers/Rational.swift:7:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead
    public var hashValue: Int {
               ^
[24/44] Compiling kubrick Rational.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Helpers/Rational.swift:7:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead
    public var hashValue: Int {
               ^
[25/44] Compiling kubrick ThreadSafeArray.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Helpers/Rational.swift:7:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead
    public var hashValue: Int {
               ^
[26/44] Compiling kubrick AACEncoder.swift
[27/44] Compiling kubrick AudioEncoder.swift
[28/44] Compiling kubrick H264Encoder.swift
[29/44] Compiling kubrick H264Settings.swift
[30/44] Compiling kubrick Camera.swift
[31/44] Compiling kubrick Display.swift
[32/44] Compiling kubrick MediaDevice.swift
[33/44] Compiling kubrick MediaDeviceInput.swift
[34/44] Compiling kubrick MediaDeviceOutput.swift
[35/44] Compiling kubrick MediaDeviceReader.swift
[36/44] Compiling kubrick Microphone.swift
[37/44] Compiling kubrick AudioReader.swift
[38/44] Compiling kubrick AVStream.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:61:57: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        let readers: [MediaDeviceReader] = self.devices.flatMap {
                                                        ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:61:57: note: use 'compactMap(_:)' instead
        let readers: [MediaDeviceReader] = self.devices.flatMap {
                                                        ^~~~~~~
                                                        compactMap
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:151:44: error: cannot find 'VideoDimensionPacket' in scope
                    let dimensionsPacket = VideoDimensionPacket(width: videoFormat.dimensions.width,
                                           ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:50:36: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        return self.sources(scope).flatMap {
                                   ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:50:36: note: use 'compactMap(_:)' instead
        return self.sources(scope).flatMap {
                                   ^~~~~~~
                                   compactMap
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:83:38: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
            return self.displayIDs().flatMap { DisplaySource($0) }
                                     ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:83:38: note: use 'compactMap(_:)' instead
            return self.displayIDs().flatMap { DisplaySource($0) }
                                     ^~~~~~~
                                     compactMap
[39/44] Compiling kubrick Source.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:61:57: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        let readers: [MediaDeviceReader] = self.devices.flatMap {
                                                        ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:61:57: note: use 'compactMap(_:)' instead
        let readers: [MediaDeviceReader] = self.devices.flatMap {
                                                        ^~~~~~~
                                                        compactMap
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:151:44: error: cannot find 'VideoDimensionPacket' in scope
                    let dimensionsPacket = VideoDimensionPacket(width: videoFormat.dimensions.width,
                                           ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:50:36: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        return self.sources(scope).flatMap {
                                   ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:50:36: note: use 'compactMap(_:)' instead
        return self.sources(scope).flatMap {
                                   ^~~~~~~
                                   compactMap
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:83:38: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
            return self.displayIDs().flatMap { DisplaySource($0) }
                                     ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:83:38: note: use 'compactMap(_:)' instead
            return self.displayIDs().flatMap { DisplaySource($0) }
                                     ^~~~~~~
                                     compactMap
[40/44] Compiling kubrick SourceDiscoverer.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:61:57: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        let readers: [MediaDeviceReader] = self.devices.flatMap {
                                                        ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:61:57: note: use 'compactMap(_:)' instead
        let readers: [MediaDeviceReader] = self.devices.flatMap {
                                                        ^~~~~~~
                                                        compactMap
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:151:44: error: cannot find 'VideoDimensionPacket' in scope
                    let dimensionsPacket = VideoDimensionPacket(width: videoFormat.dimensions.width,
                                           ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:50:36: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        return self.sources(scope).flatMap {
                                   ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:50:36: note: use 'compactMap(_:)' instead
        return self.sources(scope).flatMap {
                                   ^~~~~~~
                                   compactMap
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:83:38: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
            return self.displayIDs().flatMap { DisplaySource($0) }
                                     ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:83:38: note: use 'compactMap(_:)' instead
            return self.displayIDs().flatMap { DisplaySource($0) }
                                     ^~~~~~~
                                     compactMap
[41/44] Compiling kubrick VideoReader.swift
[42/44] Compiling kubrick MediaFormat.swift
[43/44] Compiling kubrick Sample.swift
[44/44] Compiling kubrick Session.swift
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
[1/7] Compiling kubrick SourceDiscoverer.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:50:36: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        return self.sources(scope).flatMap {
                                   ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:50:36: note: use 'compactMap(_:)' instead
        return self.sources(scope).flatMap {
                                   ^~~~~~~
                                   compactMap
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:83:38: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
            return self.displayIDs().flatMap { DisplaySource($0) }
                                     ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:83:38: note: use 'compactMap(_:)' instead
            return self.displayIDs().flatMap { DisplaySource($0) }
                                     ^~~~~~~
                                     compactMap
[2/7] Compiling kubrick Source.swift
[3/12] Compiling kubrick Sink.swift
[4/12] Compiling kubrick PrettyPortraitSink.swift
[5/12] Compiling kubrick AVStream.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:61:57: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
        let readers: [MediaDeviceReader] = self.devices.flatMap {
                                                        ^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:61:57: note: use 'compactMap(_:)' instead
        let readers: [MediaDeviceReader] = self.devices.flatMap {
                                                        ^~~~~~~
                                                        compactMap
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:151:44: error: cannot find 'VideoDimensionPacket' in scope
                    let dimensionsPacket = VideoDimensionPacket(width: videoFormat.dimensions.width,
                                           ^~~~~~~~~~~~~~~~~~~~
[6/15] Emitting module kubrick
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Helpers/Rational.swift:7:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead
    public var hashValue: Int {
               ^
[7/15] Compiling kubrick MuxerSink.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:21:26: error: cannot find 'AudioSamplePacket' in scope
            let packet = AudioSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:26:26: error: cannot find 'VideoSamplePacket' in scope
            var packet = VideoSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
[8/17] Compiling kubrick AudioReader.swift
[9/18] Compiling kubrick Microphone.swift
[10/18] Compiling kubrick MediaDeviceReader.swift
[11/20] Compiling kubrick MediaDevice.swift
[12/20] Compiling kubrick MediaDeviceInput.swift
[13/20] Compiling kubrick MediaDeviceOutput.swift
[14/20] Compiling kubrick Camera.swift
[15/20] Compiling kubrick Display.swift
[16/20] Compiling kubrick VideoReader.swift
[17/20] Compiling kubrick Session.swift
[18/20] Compiling kubrick AACEncoderSink.swift
[19/20] Compiling kubrick H264EncoderSink.swift
[20/20] Compiling kubrick EndpointSink.swift
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm