The Swift Package Index logo.Swift Package Index

Build Information

Failed to build kubrick, reference 1.1.5 (018556), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 21:08:21 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krad/kubrick.git
Reference: 1.1.5
Initialized empty Git repository in /Users/admin/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
Revision (git rev-parse @):
018556f5e196ccfde895d27006a56aea3f7f5ed0
SUCCESS checkout https://github.com/krad/kubrick.git at 1.1.5
Fetching https://github.com/krad/grip.git
[1/176] Fetching grip
Fetched https://github.com/krad/grip.git from cache (0.73s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (1.40s)
Creating working copy for https://github.com/krad/grip.git
Working copy of https://github.com/krad/grip.git resolved at 1.3.5
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "kubrick",
      "name": "kubrick",
      "url": "https://github.com/krad/kubrick.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/kubrick",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "grip",
          "name": "grip",
          "url": "https://github.com/krad/grip.git",
          "version": "1.3.5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/grip",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/krad/kubrick.git
[1/1241] Fetching kubrick
Fetched https://github.com/krad/kubrick.git from cache (0.76s)
Fetching https://github.com/krad/grip.git from cache
Fetched https://github.com/krad/grip.git from cache (0.45s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (0.50s)
Creating working copy for https://github.com/krad/grip.git
Working copy of https://github.com/krad/grip.git resolved at 1.3.5
Creating working copy for https://github.com/krad/kubrick.git
Working copy of https://github.com/krad/kubrick.git resolved at 1.1.5 (018556f)
warning: '.resolve-product-dependencies': dependency 'kubrick' is not used by any target
Found 1 product dependencies
  - grip
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/krad/kubrick.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/16] Compiling grip Packets.swift
[5/16] Compiling grip StreamTypePacket.swift
[6/16] Compiling grip StreamType.swift
[7/16] Compiling grip BinaryEncodable.swift
[8/16] Compiling grip BinaryEncodableExtensions.swift
[9/16] Emitting module grip
[10/16] Compiling grip NALU.swift
[11/16] Compiling grip AudioSamplePacket.swift
[12/16] Compiling grip VideoSamplePacket.swift
[13/16] Compiling grip CompressedSample.swift
[14/16] Compiling grip ByteHelpers.swift
[15/16] Compiling grip VideoParamSetPacket.swift
[16/16] Compiling grip VideoDimensionsPacket.swift
[17/17] Compiling grip Writeable.swift
[18/45] Emitting module kubrick
/Users/admin/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 [#DeprecatedDeclaration]
 5 |
 6 | extension Rational: Hashable {
 7 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 8 |         return Int(self.numerator ^ Int64(self.denominator))
 9 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[19/47] Compiling kubrick EndpointSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:21:26: error: cannot find 'AudioSamplePacket' in scope
19 |         switch input.type {
20 |         case .audio:
21 |             let packet = AudioSamplePacket(duration: input.duration.numerator,
   |                          `- error: cannot find 'AudioSamplePacket' in scope
22 |                                            timescale: UInt32(input.duration.denominator),
23 |                                            data: input.bytes)
/Users/admin/builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:26:26: error: cannot find 'VideoSamplePacket' in scope
24 |             self.send(packet)
25 |         case .video:
26 |             var packet = VideoSamplePacket(duration: input.duration.numerator,
   |                          `- error: cannot find 'VideoSamplePacket' in scope
27 |                                            timescale: UInt32(input.duration.denominator),
28 |                                            data: input.bytes)
[20/47] Compiling kubrick H264EncoderSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:21:26: error: cannot find 'AudioSamplePacket' in scope
19 |         switch input.type {
20 |         case .audio:
21 |             let packet = AudioSamplePacket(duration: input.duration.numerator,
   |                          `- error: cannot find 'AudioSamplePacket' in scope
22 |                                            timescale: UInt32(input.duration.denominator),
23 |                                            data: input.bytes)
/Users/admin/builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:26:26: error: cannot find 'VideoSamplePacket' in scope
24 |             self.send(packet)
25 |         case .video:
26 |             var packet = VideoSamplePacket(duration: input.duration.numerator,
   |                          `- error: cannot find 'VideoSamplePacket' in scope
27 |                                            timescale: UInt32(input.duration.denominator),
28 |                                            data: input.bytes)
[21/47] Compiling kubrick MuxerSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:21:26: error: cannot find 'AudioSamplePacket' in scope
19 |         switch input.type {
20 |         case .audio:
21 |             let packet = AudioSamplePacket(duration: input.duration.numerator,
   |                          `- error: cannot find 'AudioSamplePacket' in scope
22 |                                            timescale: UInt32(input.duration.denominator),
23 |                                            data: input.bytes)
/Users/admin/builder/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:26:26: error: cannot find 'VideoSamplePacket' in scope
24 |             self.send(packet)
25 |         case .video:
26 |             var packet = VideoSamplePacket(duration: input.duration.numerator,
   |                          `- error: cannot find 'VideoSamplePacket' in scope
27 |                                            timescale: UInt32(input.duration.denominator),
28 |                                            data: input.bytes)
[22/47] Compiling kubrick AACEncoder.swift
[23/47] Compiling kubrick AudioEncoder.swift
[24/47] Compiling kubrick H264Encoder.swift
[25/47] Compiling kubrick H264Settings.swift
[26/47] Compiling kubrick VideoEncoder.swift
[27/47] Compiling kubrick Bytes.swift
[28/47] Compiling kubrick Source.swift
/Users/admin/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 [#DeprecatedDeclaration]
 48 |
 49 |     public func devices(_ scope: MediaSourceScope) -> [MediaDevice] {
 50 |         return self.sources(scope).flatMap {
    |                                    |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                    `- note: use 'compactMap(_:)' instead
 51 |             switch $0.type {
 52 |             case .video?: return Camera($0)
/Users/admin/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 [#DeprecatedDeclaration]
 81 |
 82 |         public func displays() -> [DisplaySource] {
 83 |             return self.displayIDs().flatMap { DisplaySource($0) }
    |                                      |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                      `- note: use 'compactMap(_:)' instead
 84 |         }
 85 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[29/47] Compiling kubrick SourceDiscoverer.swift
/Users/admin/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 [#DeprecatedDeclaration]
 48 |
 49 |     public func devices(_ scope: MediaSourceScope) -> [MediaDevice] {
 50 |         return self.sources(scope).flatMap {
    |                                    |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                    `- note: use 'compactMap(_:)' instead
 51 |             switch $0.type {
 52 |             case .video?: return Camera($0)
/Users/admin/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 [#DeprecatedDeclaration]
 81 |
 82 |         public func displays() -> [DisplaySource] {
 83 |             return self.displayIDs().flatMap { DisplaySource($0) }
    |                                      |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                      `- note: use 'compactMap(_:)' instead
 84 |         }
 85 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[30/47] Compiling kubrick Display.swift
[31/47] Compiling kubrick MediaDevice.swift
[32/47] Compiling kubrick MediaDeviceInput.swift
[33/47] Compiling kubrick AudioReader.swift
[34/47] Compiling kubrick VideoReader.swift
[35/47] Compiling kubrick MediaFormat.swift
[36/47] Compiling kubrick PrettyPortraitSink.swift
/Users/admin/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 [#DeprecatedDeclaration]
 59 |
 60 |         // Create readers for each of the devices
 61 |         let readers: [MediaDeviceReader] = self.devices.flatMap {
    |                                                         |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                         `- note: use 'compactMap(_:)' instead
 62 |             if $0.source.type == .audio { return AudioReader() }
 63 |             if $0.source.type == .video { return VideoReader() }
/Users/admin/builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:151:44: error: cannot find 'VideoDimensionPacket' in scope
149 |                 do {
150 |                     let paramsPacket     = try VideoParamSetPacket(params: videoFormat.params)
151 |                     let dimensionsPacket = VideoDimensionPacket(width: videoFormat.dimensions.width,
    |                                            `- error: cannot find 'VideoDimensionPacket' in scope
152 |                                                                 height: videoFormat.dimensions.height)
153 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[37/47] Compiling kubrick Sink.swift
/Users/admin/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 [#DeprecatedDeclaration]
 59 |
 60 |         // Create readers for each of the devices
 61 |         let readers: [MediaDeviceReader] = self.devices.flatMap {
    |                                                         |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                         `- note: use 'compactMap(_:)' instead
 62 |             if $0.source.type == .audio { return AudioReader() }
 63 |             if $0.source.type == .video { return VideoReader() }
/Users/admin/builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:151:44: error: cannot find 'VideoDimensionPacket' in scope
149 |                 do {
150 |                     let paramsPacket     = try VideoParamSetPacket(params: videoFormat.params)
151 |                     let dimensionsPacket = VideoDimensionPacket(width: videoFormat.dimensions.width,
    |                                            `- error: cannot find 'VideoDimensionPacket' in scope
152 |                                                                 height: videoFormat.dimensions.height)
153 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[38/47] Compiling kubrick AVStream.swift
/Users/admin/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 [#DeprecatedDeclaration]
 59 |
 60 |         // Create readers for each of the devices
 61 |         let readers: [MediaDeviceReader] = self.devices.flatMap {
    |                                                         |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                         `- note: use 'compactMap(_:)' instead
 62 |             if $0.source.type == .audio { return AudioReader() }
 63 |             if $0.source.type == .video { return VideoReader() }
/Users/admin/builder/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:151:44: error: cannot find 'VideoDimensionPacket' in scope
149 |                 do {
150 |                     let paramsPacket     = try VideoParamSetPacket(params: videoFormat.params)
151 |                     let dimensionsPacket = VideoDimensionPacket(width: videoFormat.dimensions.width,
    |                                            `- error: cannot find 'VideoDimensionPacket' in scope
152 |                                                                 height: videoFormat.dimensions.height)
153 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[39/47] Compiling kubrick Sample.swift
[40/47] Compiling kubrick Session.swift
[41/47] Compiling kubrick AACEncoderSink.swift
[42/47] Compiling kubrick MediaDeviceOutput.swift
[43/47] Compiling kubrick MediaDeviceReader.swift
[44/47] Compiling kubrick Microphone.swift
[45/47] Compiling kubrick Rational.swift
/Users/admin/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 [#DeprecatedDeclaration]
 5 |
 6 | extension Rational: Hashable {
 7 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 8 |         return Int(self.numerator ^ Int64(self.denominator))
 9 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[46/47] Compiling kubrick ThreadSafeArray.swift
/Users/admin/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 [#DeprecatedDeclaration]
 5 |
 6 | extension Rational: Hashable {
 7 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 8 |         return Int(self.numerator ^ Int64(self.denominator))
 9 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[47/47] Compiling kubrick Camera.swift
/Users/admin/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 [#DeprecatedDeclaration]
 5 |
 6 | extension Rational: Hashable {
 7 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 8 |         return Int(self.numerator ^ Int64(self.denominator))
 9 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 macosSpm