Build Information
Failed to build Aperture, reference v3.0.0 (7591bb
), with Swift 5.9 for macOS (SPM) on 22 Nov 2024 21:17:00 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wulkano/Aperture.git
Reference: v3.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wulkano/Aperture
* tag v3.0.0 -> FETCH_HEAD
HEAD is now at 7591bb5 Rewrite with ScreenCaptureKit (#80)
Cloned https://github.com/wulkano/Aperture.git
Revision (git rev-parse @):
7591bb540c844fe6c47edeac34b17c25e92a717f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wulkano/Aperture.git at v3.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/wulkano/Aperture.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Compiling Aperture Utilities.swift
[2/4] Compiling Aperture Aperture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:353:18: error: value of type 'SCStreamConfiguration' has no member 'showMouseClicks'
streamConfig.showMouseClicks = options.highlightClicks
~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:361:18: error: value of type 'SCStreamConfiguration' has no member 'captureMicrophone'
streamConfig.captureMicrophone = true
~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:362:18: error: value of type 'SCStreamConfiguration' has no member 'microphoneCaptureDeviceID'
streamConfig.microphoneCaptureDeviceID = microphoneDeviceID
~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:443:47: error: type 'SCStreamOutputType' has no member 'microphone'
try stream.addStreamOutput(self, type: .microphone, sampleHandlerQueue: .global())
~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:903:9: error: type 'SCStreamOutputType' has no member 'microphone'
case .microphone:
~^~~~~~~~~~
[3/4] Emitting module Aperture
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:45:17: error: type 'Aperture.Devices.Screen' does not conform to protocol 'Hashable'
public struct Screen: Hashable, Codable, Identifiable, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:66:15: note: stored property type 'CGRect' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Aperture.Devices.Screen' to 'Hashable'
public let frame: CGRect
^
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:72:17: error: type 'Aperture.Devices.Window' does not conform to protocol 'Hashable'
public struct Window: Hashable, Codable, Identifiable, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:106:15: note: stored property type 'CGRect' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Aperture.Devices.Window' to 'Hashable'
public let frame: CGRect
^
[4/4] Compiling Aperture Devices.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:45:17: error: type 'Aperture.Devices.Screen' does not conform to protocol 'Hashable'
public struct Screen: Hashable, Codable, Identifiable, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:66:15: note: stored property type 'CGRect' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Aperture.Devices.Screen' to 'Hashable'
public let frame: CGRect
^
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:72:17: error: type 'Aperture.Devices.Window' does not conform to protocol 'Hashable'
public struct Window: Hashable, Codable, Identifiable, Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Devices.swift:106:15: note: stored property type 'CGRect' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Aperture.Devices.Window' to 'Hashable'
public let frame: CGRect
^
error: fatalError
BUILD FAILURE 5.9 macosSpm