The Swift Package Index logo.Swift Package Index

Build Information

Failed to build kubrick with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/krad/kubrick.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/krad/grip.git
[1/176] Fetching grip
Fetched https://github.com/krad/grip.git from cache (0.21s)
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/16] Compiling grip Packets.swift
[5/16] Compiling grip StreamTypePacket.swift
[6/16] Compiling grip NALU.swift
[7/16] Compiling grip AudioSamplePacket.swift
[8/17] Compiling grip CompressedSample.swift
[9/17] Compiling grip ByteHelpers.swift
[10/17] Emitting module grip
[11/17] Compiling grip BinaryEncodable.swift
[12/17] Compiling grip BinaryEncodableExtensions.swift
[13/17] Compiling grip Writeable.swift
[14/17] Compiling grip VideoDimensionsPacket.swift
[15/17] Compiling grip VideoParamSetPacket.swift
[16/17] Compiling grip VideoSamplePacket.swift
[17/17] Compiling grip StreamType.swift
[19/45] Compiling kubrick MediaDeviceOutput.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Microphone.swift:1:14: error: type 'Microphone' does not conform to protocol 'MediaDevice'
public class Microphone: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class AudioReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
[20/45] Compiling kubrick MediaDeviceReader.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Microphone.swift:1:14: error: type 'Microphone' does not conform to protocol 'MediaDevice'
public class Microphone: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class AudioReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
[21/45] Compiling kubrick Microphone.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Microphone.swift:1:14: error: type 'Microphone' does not conform to protocol 'MediaDevice'
public class Microphone: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class AudioReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
[22/45] Compiling kubrick AudioReader.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Microphone.swift:1:14: error: type 'Microphone' does not conform to protocol 'MediaDevice'
public class Microphone: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class AudioReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
[23/45] Compiling kubrick Camera.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:9:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(frameRate: self.frameRate) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:13:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(orientation: self.orientation) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:1:14: error: type 'Camera' does not conform to protocol 'MediaDevice'
public class Camera: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:19:14: error: value of type 'Camera' has no member 'update'
        self.update(frameRate: self.frameRate)
        ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Display.swift:1:14: error: type 'Display' does not conform to protocol 'MediaDevice'
public class Display: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
[24/45] Compiling kubrick Display.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:9:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(frameRate: self.frameRate) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:13:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(orientation: self.orientation) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:1:14: error: type 'Camera' does not conform to protocol 'MediaDevice'
public class Camera: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:19:14: error: value of type 'Camera' has no member 'update'
        self.update(frameRate: self.frameRate)
        ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Display.swift:1:14: error: type 'Display' does not conform to protocol 'MediaDevice'
public class Display: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
[25/45] Compiling kubrick MediaDevice.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:9:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(frameRate: self.frameRate) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:13:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(orientation: self.orientation) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:1:14: error: type 'Camera' does not conform to protocol 'MediaDevice'
public class Camera: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:19:14: error: value of type 'Camera' has no member 'update'
        self.update(frameRate: self.frameRate)
        ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Display.swift:1:14: error: type 'Display' does not conform to protocol 'MediaDevice'
public class Display: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
[26/45] Compiling kubrick MediaDeviceInput.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:9:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(frameRate: self.frameRate) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:13:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(orientation: self.orientation) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:1:14: error: type 'Camera' does not conform to protocol 'MediaDevice'
public class Camera: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:19:14: error: value of type 'Camera' has no member 'update'
        self.update(frameRate: self.frameRate)
        ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Display.swift:1:14: error: type 'Display' does not conform to protocol 'MediaDevice'
public class Display: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/48] Emitting module kubrick
/host/spi-builder-workspace/Sources/kubrick/Helpers/Bytes.swift:104:11: error: cannot find type 'Data' in scope
extension Data {
          ^~~~
/host/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 {
               ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:9:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(frameRate: self.frameRate) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:13:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(orientation: self.orientation) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:1:14: error: type 'Camera' does not conform to protocol 'MediaDevice'
public class Camera: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Display.swift:1:14: error: type 'Display' does not conform to protocol 'MediaDevice'
public class Display: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Microphone.swift:1:14: error: type 'Microphone' does not conform to protocol 'MediaDevice'
public class Microphone: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class AudioReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class VideoReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:25:14: error: type 'CaptureSession' does not conform to protocol 'Session'
public class CaptureSession: Session {
             ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:6:20: note: protocol requires nested type 'Base'; add nested type 'Base' for conformance
    associatedtype Base: BaseSession
                   ^
/host/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:28:46: error: default argument value of type 'SystemMediaSource' does not conform to 'MediaSource'
    public init(_ mediaSource: MediaSource = SystemMediaSource()) {
                                             ^~~~~~~~~~~~~~~~~~~
                                                                 as! MediaSource
[28/48] Compiling kubrick MuxerSink.swift
/host/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:21:26: error: cannot find 'AudioSamplePacket' in scope
            let packet = AudioSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:26:26: error: cannot find 'VideoSamplePacket' in scope
            var packet = VideoSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
[29/48] Compiling kubrick PrettyPortraitSink.swift
/host/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:21:26: error: cannot find 'AudioSamplePacket' in scope
            let packet = AudioSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:26:26: error: cannot find 'VideoSamplePacket' in scope
            var packet = VideoSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
[30/48] Compiling kubrick Sink.swift
/host/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:21:26: error: cannot find 'AudioSamplePacket' in scope
            let packet = AudioSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:26:26: error: cannot find 'VideoSamplePacket' in scope
            var packet = VideoSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
[31/48] Compiling kubrick AACEncoder.swift
/host/spi-builder-workspace/Sources/kubrick/Encoders/H264Encoder.swift:11:9: warning: no calls to throwing functions occur within 'try' expression
        try self.configure()
        ^
[32/48] Compiling kubrick AudioEncoder.swift
/host/spi-builder-workspace/Sources/kubrick/Encoders/H264Encoder.swift:11:9: warning: no calls to throwing functions occur within 'try' expression
        try self.configure()
        ^
[33/48] Compiling kubrick H264Encoder.swift
/host/spi-builder-workspace/Sources/kubrick/Encoders/H264Encoder.swift:11:9: warning: no calls to throwing functions occur within 'try' expression
        try self.configure()
        ^
[34/48] Compiling kubrick H264Settings.swift
/host/spi-builder-workspace/Sources/kubrick/Encoders/H264Encoder.swift:11:9: warning: no calls to throwing functions occur within 'try' expression
        try self.configure()
        ^
[35/48] Compiling kubrick VideoReader.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class VideoReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:25:14: error: type 'CaptureSession' does not conform to protocol 'Session'
public class CaptureSession: Session {
             ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:6:20: note: protocol requires nested type 'Base'; add nested type 'Base' for conformance
    associatedtype Base: BaseSession
                   ^
[36/48] Compiling kubrick MediaFormat.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class VideoReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:25:14: error: type 'CaptureSession' does not conform to protocol 'Session'
public class CaptureSession: Session {
             ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:6:20: note: protocol requires nested type 'Base'; add nested type 'Base' for conformance
    associatedtype Base: BaseSession
                   ^
[37/48] Compiling kubrick Sample.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class VideoReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:25:14: error: type 'CaptureSession' does not conform to protocol 'Session'
public class CaptureSession: Session {
             ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:6:20: note: protocol requires nested type 'Base'; add nested type 'Base' for conformance
    associatedtype Base: BaseSession
                   ^
[38/48] Compiling kubrick Session.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class VideoReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:25:14: error: type 'CaptureSession' does not conform to protocol 'Session'
public class CaptureSession: Session {
             ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:6:20: note: protocol requires nested type 'Base'; add nested type 'Base' for conformance
    associatedtype Base: BaseSession
                   ^
[39/48] Compiling kubrick VideoEncoder.swift
/host/spi-builder-workspace/Sources/kubrick/Helpers/Bytes.swift:104:11: error: cannot find type 'Data' in scope
extension Data {
          ^~~~
/host/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 {
               ^
[40/48] Compiling kubrick Bytes.swift
/host/spi-builder-workspace/Sources/kubrick/Helpers/Bytes.swift:104:11: error: cannot find type 'Data' in scope
extension Data {
          ^~~~
/host/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 {
               ^
[41/48] Compiling kubrick Rational.swift
/host/spi-builder-workspace/Sources/kubrick/Helpers/Bytes.swift:104:11: error: cannot find type 'Data' in scope
extension Data {
          ^~~~
/host/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/48] Compiling kubrick ThreadSafeArray.swift
/host/spi-builder-workspace/Sources/kubrick/Helpers/Bytes.swift:104:11: error: cannot find type 'Data' in scope
extension Data {
          ^~~~
/host/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/48] Compiling kubrick AACEncoderSink.swift
[44/48] Compiling kubrick EndpointSink.swift
[45/48] Compiling kubrick H264EncoderSink.swift
[46/48] Compiling kubrick AVStream.swift
/host/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 {
                                                        ^
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:61:57: note: use 'compactMap(_:)' instead
        let readers: [MediaDeviceReader] = self.devices.flatMap {
                                                        ^~~~~~~
                                                        compactMap
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:151:44: error: cannot find 'VideoDimensionPacket' in scope
                    let dimensionsPacket = VideoDimensionPacket(width: videoFormat.dimensions.width,
                                           ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:28:46: error: default argument value of type 'SystemMediaSource' does not conform to 'MediaSource'
    public init(_ mediaSource: MediaSource = SystemMediaSource()) {
                                             ^~~~~~~~~~~~~~~~~~~
                                                                 as! MediaSource
/host/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 {
                                   ^
/host/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:50:36: note: use 'compactMap(_:)' instead
        return self.sources(scope).flatMap {
                                   ^~~~~~~
                                   compactMap
[47/48] Compiling kubrick Source.swift
/host/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 {
                                                        ^
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:61:57: note: use 'compactMap(_:)' instead
        let readers: [MediaDeviceReader] = self.devices.flatMap {
                                                        ^~~~~~~
                                                        compactMap
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:151:44: error: cannot find 'VideoDimensionPacket' in scope
                    let dimensionsPacket = VideoDimensionPacket(width: videoFormat.dimensions.width,
                                           ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:28:46: error: default argument value of type 'SystemMediaSource' does not conform to 'MediaSource'
    public init(_ mediaSource: MediaSource = SystemMediaSource()) {
                                             ^~~~~~~~~~~~~~~~~~~
                                                                 as! MediaSource
/host/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 {
                                   ^
/host/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:50:36: note: use 'compactMap(_:)' instead
        return self.sources(scope).flatMap {
                                   ^~~~~~~
                                   compactMap
[48/48] Compiling kubrick SourceDiscoverer.swift
/host/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 {
                                                        ^
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:61:57: note: use 'compactMap(_:)' instead
        let readers: [MediaDeviceReader] = self.devices.flatMap {
                                                        ^~~~~~~
                                                        compactMap
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:151:44: error: cannot find 'VideoDimensionPacket' in scope
                    let dimensionsPacket = VideoDimensionPacket(width: videoFormat.dimensions.width,
                                           ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:28:46: error: default argument value of type 'SystemMediaSource' does not conform to 'MediaSource'
    public init(_ mediaSource: MediaSource = SystemMediaSource()) {
                                             ^~~~~~~~~~~~~~~~~~~
                                                                 as! MediaSource
/host/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 {
                                   ^
/host/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:50:36: note: use 'compactMap(_:)' instead
        return self.sources(scope).flatMap {
                                   ^~~~~~~
                                   compactMap
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling kubrick MediaDevice.swift
[3/22] Compiling kubrick MediaDeviceInput.swift
[4/22] Compiling kubrick MediaDeviceOutput.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/24] Emitting module kubrick
/host/spi-builder-workspace/Sources/kubrick/Helpers/Bytes.swift:104:11: error: cannot find type 'Data' in scope
extension Data {
          ^~~~
/host/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 {
               ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:9:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(frameRate: self.frameRate) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:13:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(orientation: self.orientation) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:1:14: error: type 'Camera' does not conform to protocol 'MediaDevice'
public class Camera: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Display.swift:1:14: error: type 'Display' does not conform to protocol 'MediaDevice'
public class Display: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Microphone.swift:1:14: error: type 'Microphone' does not conform to protocol 'MediaDevice'
public class Microphone: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class AudioReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class VideoReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:25:14: error: type 'CaptureSession' does not conform to protocol 'Session'
public class CaptureSession: Session {
             ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:6:20: note: protocol requires nested type 'Base'; add nested type 'Base' for conformance
    associatedtype Base: BaseSession
                   ^
/host/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:28:46: error: default argument value of type 'SystemMediaSource' does not conform to 'MediaSource'
    public init(_ mediaSource: MediaSource = SystemMediaSource()) {
                                             ^~~~~~~~~~~~~~~~~~~
                                                                 as! MediaSource
[6/25] Compiling kubrick VideoEncoder.swift
/host/spi-builder-workspace/Sources/kubrick/Helpers/Bytes.swift:104:11: error: cannot find type 'Data' in scope
extension Data {
          ^~~~
/host/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/25] Compiling kubrick Bytes.swift
/host/spi-builder-workspace/Sources/kubrick/Helpers/Bytes.swift:104:11: error: cannot find type 'Data' in scope
extension Data {
          ^~~~
/host/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 {
               ^
[8/25] Compiling kubrick Rational.swift
/host/spi-builder-workspace/Sources/kubrick/Helpers/Bytes.swift:104:11: error: cannot find type 'Data' in scope
extension Data {
          ^~~~
/host/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/25] Compiling kubrick Session.swift
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:26:23: error: unsupported recursion for reference to type alias 'Base' of type 'CaptureSession'
    public let base = Base()
                      ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:25:14: error: type 'CaptureSession' does not conform to protocol 'Session'
public class CaptureSession: Session {
             ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:6:20: note: protocol requires nested type 'Base'; add nested type 'Base' for conformance
    associatedtype Base: BaseSession
                   ^
/host/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:21:26: error: cannot find 'AudioSamplePacket' in scope
            let packet = AudioSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:26:26: error: cannot find 'VideoSamplePacket' in scope
            var packet = VideoSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
[10/25] Compiling kubrick MuxerSink.swift
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:26:23: error: unsupported recursion for reference to type alias 'Base' of type 'CaptureSession'
    public let base = Base()
                      ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:25:14: error: type 'CaptureSession' does not conform to protocol 'Session'
public class CaptureSession: Session {
             ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:6:20: note: protocol requires nested type 'Base'; add nested type 'Base' for conformance
    associatedtype Base: BaseSession
                   ^
/host/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:21:26: error: cannot find 'AudioSamplePacket' in scope
            let packet = AudioSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:26:26: error: cannot find 'VideoSamplePacket' in scope
            var packet = VideoSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
[11/25] Compiling kubrick PrettyPortraitSink.swift
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:26:23: error: unsupported recursion for reference to type alias 'Base' of type 'CaptureSession'
    public let base = Base()
                      ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:25:14: error: type 'CaptureSession' does not conform to protocol 'Session'
public class CaptureSession: Session {
             ^
/host/spi-builder-workspace/Sources/kubrick/Samples/Session.swift:6:20: note: protocol requires nested type 'Base'; add nested type 'Base' for conformance
    associatedtype Base: BaseSession
                   ^
/host/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:21:26: error: cannot find 'AudioSamplePacket' in scope
            let packet = AudioSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/Sinks/MuxerSink.swift:26:26: error: cannot find 'VideoSamplePacket' in scope
            var packet = VideoSamplePacket(duration: input.duration.numerator,
                         ^~~~~~~~~~~~~~~~~
[12/25] Compiling kubrick MediaDeviceReader.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Microphone.swift:1:14: error: type 'Microphone' does not conform to protocol 'MediaDevice'
public class Microphone: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class AudioReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
[13/25] Compiling kubrick Microphone.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Microphone.swift:1:14: error: type 'Microphone' does not conform to protocol 'MediaDevice'
public class Microphone: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class AudioReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
[14/25] Compiling kubrick AudioReader.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Microphone.swift:1:14: error: type 'Microphone' does not conform to protocol 'MediaDevice'
public class Microphone: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class AudioReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/AudioReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
[15/27] Compiling kubrick Source.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:28:46: error: default argument value of type 'SystemMediaSource' does not conform to 'MediaSource'
    public init(_ mediaSource: MediaSource = SystemMediaSource()) {
                                             ^~~~~~~~~~~~~~~~~~~
                                                                 as! MediaSource
/host/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 {
                                   ^
/host/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:50:36: note: use 'compactMap(_:)' instead
        return self.sources(scope).flatMap {
                                   ^~~~~~~
                                   compactMap
[16/27] Compiling kubrick SourceDiscoverer.swift
/host/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:28:46: error: default argument value of type 'SystemMediaSource' does not conform to 'MediaSource'
    public init(_ mediaSource: MediaSource = SystemMediaSource()) {
                                             ^~~~~~~~~~~~~~~~~~~
                                                                 as! MediaSource
/host/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 {
                                   ^
/host/spi-builder-workspace/Sources/kubrick/Sources/SourceDiscoverer.swift:50:36: note: use 'compactMap(_:)' instead
        return self.sources(scope).flatMap {
                                   ^~~~~~~
                                   compactMap
[17/27] Compiling kubrick VideoReader.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class VideoReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
[18/27] Compiling kubrick MediaFormat.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class VideoReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
[19/27] Compiling kubrick Sample.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:21: error: initializer does not override a designated initializer from its superclass
    public override init() { super.init() }
           ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:3:27: error: cannot find type 'NSObject' in scope
public class VideoReader: NSObject, MediaDeviceReader {
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Readers/VideoReader.swift:9:30: error: 'super' members cannot be referenced in a root class
    public override init() { super.init() }
                             ^
[20/27] Compiling kubrick ThreadSafeArray.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:9:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(frameRate: self.frameRate) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:13:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(orientation: self.orientation) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:1:14: error: type 'Camera' does not conform to protocol 'MediaDevice'
public class Camera: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:19:14: error: value of type 'Camera' has no member 'update'
        self.update(frameRate: self.frameRate)
        ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Display.swift:1:14: error: type 'Display' does not conform to protocol 'MediaDevice'
public class Display: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
[21/27] Compiling kubrick Camera.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:9:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(frameRate: self.frameRate) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:13:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(orientation: self.orientation) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:1:14: error: type 'Camera' does not conform to protocol 'MediaDevice'
public class Camera: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:19:14: error: value of type 'Camera' has no member 'update'
        self.update(frameRate: self.frameRate)
        ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Display.swift:1:14: error: type 'Display' does not conform to protocol 'MediaDevice'
public class Display: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
[22/27] Compiling kubrick Display.swift
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:9:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(frameRate: self.frameRate) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:13:23: error: value of type 'Camera' has no member 'update'
        didSet { self.update(orientation: self.orientation) }
                 ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:1:14: error: type 'Camera' does not conform to protocol 'MediaDevice'
public class Camera: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Camera.swift:19:14: error: value of type 'Camera' has no member 'update'
        self.update(frameRate: self.frameRate)
        ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/Display.swift:1:14: error: type 'Display' does not conform to protocol 'MediaDevice'
public class Display: MediaDevice {
             ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:10:19: note: protocol requires function 'createInput(onCreate:)' with type '((any MediaDeviceInput) -> Void) -> ()'
    mutating func createInput(onCreate: MediaDeviceInputClosure)
                  ^
/host/spi-builder-workspace/Sources/kubrick/MediaDevices/MediaDevice.swift:11:19: note: protocol requires function 'createOutput(onCreate:)' with type '((any MediaDeviceOutput) -> Void) -> ()'
    mutating func createOutput(onCreate: MediaDeviceOutputClosure)
                  ^
[23/27] Compiling kubrick Sink.swift
/host/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 {
                                                        ^
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:61:57: note: use 'compactMap(_:)' instead
        let readers: [MediaDeviceReader] = self.devices.flatMap {
                                                        ^~~~~~~
                                                        compactMap
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:151:44: error: cannot find 'VideoDimensionPacket' in scope
                    let dimensionsPacket = VideoDimensionPacket(width: videoFormat.dimensions.width,
                                           ^~~~~~~~~~~~~~~~~~~~
[24/27] Compiling kubrick AVStream.swift
/host/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 {
                                                        ^
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:61:57: note: use 'compactMap(_:)' instead
        let readers: [MediaDeviceReader] = self.devices.flatMap {
                                                        ^~~~~~~
                                                        compactMap
/host/spi-builder-workspace/Sources/kubrick/Sources/AVStream.swift:151:44: error: cannot find 'VideoDimensionPacket' in scope
                    let dimensionsPacket = VideoDimensionPacket(width: videoFormat.dimensions.width,
                                           ^~~~~~~~~~~~~~~~~~~~
[25/27] Compiling kubrick AudioEncoder.swift
[26/27] Compiling kubrick EndpointSink.swift
[27/27] Compiling kubrick H264Settings.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2