Build Information
Failed to build kubrick 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/krad/kubrick.git
Reference: 1.1.5
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/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
Revision (git rev-parse @):
018556f5e196ccfde895d27006a56aea3f7f5ed0
SUCCESS checkout https://github.com/krad/kubrick.git at 1.1.5
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/krad/kubrick.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--423B1241ED78D482.txt
[4/16] Compiling grip StreamType.swift
[5/16] Compiling grip BinaryEncodable.swift
[6/16] Compiling grip BinaryEncodableExtensions.swift
[7/16] Compiling grip Packets.swift
[8/16] Compiling grip StreamTypePacket.swift
[9/16] Compiling grip VideoDimensionsPacket.swift
[10/16] Compiling grip VideoParamSetPacket.swift
[11/16] Emitting module grip
[12/16] Compiling grip CompressedSample.swift
[13/16] Compiling grip ByteHelpers.swift
[14/16] Compiling grip NALU.swift
[15/16] Compiling grip AudioSamplePacket.swift
[16/16] Compiling grip VideoSamplePacket.swift
[17/17] Compiling grip Writeable.swift
[18/44] Compiling kubrick AACEncoderSink.swift
[19/44] Compiling kubrick EndpointSink.swift
[20/44] Compiling kubrick H264EncoderSink.swift
[21/47] Emitting module kubrick
/Users/builder/builds/TDmZkXJm/2/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/47] Compiling kubrick AVStream.swift
/Users/builder/builds/TDmZkXJm/2/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/2/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/2/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/2/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/2/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/2/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/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:83:38: note: use 'compactMap(_:)' instead
return self.displayIDs().flatMap { DisplaySource($0) }
^~~~~~~
compactMap
[23/47] Compiling kubrick Source.swift
/Users/builder/builds/TDmZkXJm/2/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/2/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/2/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/2/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/2/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/2/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/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:83:38: note: use 'compactMap(_:)' instead
return self.displayIDs().flatMap { DisplaySource($0) }
^~~~~~~
compactMap
[24/47] Compiling kubrick SourceDiscoverer.swift
/Users/builder/builds/TDmZkXJm/2/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/2/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/2/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/2/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/2/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/2/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/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:83:38: note: use 'compactMap(_:)' instead
return self.displayIDs().flatMap { DisplaySource($0) }
^~~~~~~
compactMap
[25/47] Compiling kubrick MediaDeviceOutput.swift
[26/47] Compiling kubrick MediaDeviceReader.swift
[27/47] Compiling kubrick Microphone.swift
[28/47] Compiling kubrick AudioReader.swift
[29/47] Compiling kubrick Camera.swift
[30/47] Compiling kubrick Display.swift
[31/47] Compiling kubrick MediaDevice.swift
[32/47] Compiling kubrick MediaDeviceInput.swift
[33/47] Compiling kubrick VideoReader.swift
[34/47] Compiling kubrick MediaFormat.swift
[35/47] Compiling kubrick Sample.swift
[36/47] Compiling kubrick Session.swift
[37/47] Compiling kubrick AACEncoder.swift
[38/47] Compiling kubrick AudioEncoder.swift
[39/47] Compiling kubrick H264Encoder.swift
[40/47] Compiling kubrick H264Settings.swift
[41/47] Compiling kubrick VideoEncoder.swift
/Users/builder/builds/TDmZkXJm/2/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 {
^
[42/47] Compiling kubrick Bytes.swift
/Users/builder/builds/TDmZkXJm/2/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 {
^
[43/47] Compiling kubrick Rational.swift
/Users/builder/builds/TDmZkXJm/2/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 {
^
[44/47] Compiling kubrick ThreadSafeArray.swift
/Users/builder/builds/TDmZkXJm/2/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 {
^
[45/47] Compiling kubrick MuxerSink.swift
/Users/builder/builds/TDmZkXJm/2/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/2/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,
^~~~~~~~~~~~~~~~~
[46/47] Compiling kubrick PrettyPortraitSink.swift
/Users/builder/builds/TDmZkXJm/2/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/2/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,
^~~~~~~~~~~~~~~~~
[47/47] Compiling kubrick Sink.swift
/Users/builder/builds/TDmZkXJm/2/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/2/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,
^~~~~~~~~~~~~~~~~
error: fatalError
Fetching https://github.com/krad/grip.git
[1/176] Fetching grip
Fetched https://github.com/krad/grip.git from cache (0.44s)
Computing version for https://github.com/krad/grip.git
Computed https://github.com/krad/grip.git at 1.3.5 (0.43s)
Creating working copy for https://github.com/krad/grip.git
Working copy of https://github.com/krad/grip.git resolved at 1.3.5
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/8] Compiling kubrick SourceDiscoverer.swift
/Users/builder/builds/TDmZkXJm/2/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/2/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/2/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/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:83:38: note: use 'compactMap(_:)' instead
return self.displayIDs().flatMap { DisplaySource($0) }
^~~~~~~
compactMap
[3/8] Compiling kubrick PrettyPortraitSink.swift
[4/8] Compiling kubrick Sink.swift
[5/8] Compiling kubrick MuxerSink.swift
/Users/builder/builds/TDmZkXJm/2/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/2/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,
^~~~~~~~~~~~~~~~~
[6/8] Compiling kubrick AVStream.swift
/Users/builder/builds/TDmZkXJm/2/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/2/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/2/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,
^~~~~~~~~~~~~~~~~~~~
[7/17] Compiling kubrick Source.swift
[8/17] Emitting module kubrick
/Users/builder/builds/TDmZkXJm/2/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 {
^
[9/19] Compiling kubrick MediaDeviceReader.swift
[10/19] Compiling kubrick Microphone.swift
[11/19] Compiling kubrick AudioReader.swift
[12/21] Compiling kubrick EndpointSink.swift
[13/21] Compiling kubrick H264EncoderSink.swift
[14/21] Compiling kubrick AACEncoderSink.swift
[15/21] Compiling kubrick VideoReader.swift
[16/21] Compiling kubrick MediaDevice.swift
[17/21] Compiling kubrick MediaDeviceOutput.swift
[18/21] Compiling kubrick Camera.swift
[19/21] Compiling kubrick Display.swift
[20/21] Compiling kubrick MediaDeviceInput.swift
[21/21] Compiling kubrick Session.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm