Build Information
Failed to build kubrick, reference 1.1.5 (018556
), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 00:08:04 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/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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/krad/kubrick.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/16] Compiling grip StreamType.swift
[5/17] Compiling grip StreamTypePacket.swift
[6/17] Compiling grip VideoParamSetPacket.swift
[7/17] Compiling grip VideoDimensionsPacket.swift
[8/17] Compiling grip Packets.swift
[9/17] Compiling grip NALU.swift
[10/17] Compiling grip AudioSamplePacket.swift
[11/17] Emitting module grip
[12/17] Compiling grip BinaryEncodable.swift
[13/17] Compiling grip BinaryEncodableExtensions.swift
[14/17] Compiling grip CompressedSample.swift
[15/17] Compiling grip ByteHelpers.swift
[16/17] Compiling grip VideoSamplePacket.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 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>
[20/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>
[21/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>
[22/47] Compiling kubrick H264Settings.swift
[23/47] Compiling kubrick VideoEncoder.swift
[24/47] Compiling kubrick Bytes.swift
[25/47] Compiling kubrick AACEncoder.swift
[26/47] Compiling kubrick AudioEncoder.swift
[27/47] Compiling kubrick H264Encoder.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 MediaDeviceOutput.swift
[31/47] Compiling kubrick MediaDeviceReader.swift
[32/47] Compiling kubrick Microphone.swift
[33/47] Compiling kubrick AudioReader.swift
[34/47] Compiling kubrick VideoReader.swift
[35/47] Compiling kubrick MediaFormat.swift
[36/47] Compiling kubrick Sample.swift
[37/47] Compiling kubrick Session.swift
[38/47] Compiling kubrick AACEncoderSink.swift
[39/47] Compiling kubrick Display.swift
[40/47] Compiling kubrick MediaDevice.swift
[41/47] Compiling kubrick MediaDeviceInput.swift
[42/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>
[43/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>
[44/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>
[45/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)
[46/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)
[47/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)
Fetching https://github.com/krad/grip.git
[1/176] Fetching grip
Fetched https://github.com/krad/grip.git from cache (0.58s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (1.10s)
Creating working copy for https://github.com/krad/grip.git
Working copy of https://github.com/krad/grip.git resolved at 1.3.5
BUILD FAILURE 6.2 macosSpm