The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GatheredKit 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/JosephDuffy/GatheredKit.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/JosephDuffy/GatheredKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5fe60e4 Use `ResolutionMeasurement` for screen resolution properties
Cloned https://github.com/JosephDuffy/GatheredKit.git
Revision (git rev-parse @):
5fe60e4ce57c97b9109d032c426051c7db21432c
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/JosephDuffy/GatheredKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/JosephDuffy/GatheredKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/15] Write sources
[14/15] Write swift-version--423B1241ED78D482.txt
[16/58] Compiling GatheredKit SourceIdentifier.swift
[17/58] Compiling GatheredKit SourceKind.swift
[18/58] Compiling GatheredKit UpdatingSource.swift
[19/58] Compiling GatheredKit ControllableSourceProvider.swift
[20/58] Compiling GatheredKit SingleSourceProvider.swift
[21/58] Compiling GatheredKit SourceProvider.swift
[22/63] Compiling GatheredKit MagneticFieldProperty.swift
[23/63] Compiling GatheredKit MeasurementProperty.swift
[24/63] Compiling GatheredKit OptionalMeasurementProperty.swift
[25/63] Compiling GatheredKit PressureProperty.swift
[26/63] Compiling GatheredKit SpeedProperty.swift
[27/63] Compiling GatheredKit NumericProperties.swift
[28/63] Compiling GatheredKit Controllable.swift
[29/63] Compiling GatheredKit ControllableError.swift
[30/63] Compiling GatheredKit CustomisableUpdateIntervalControllable.swift
[31/63] Compiling GatheredKit OperationQueue+convenience.swift
[32/63] Compiling GatheredKit String+localized.swift
[33/63] Compiling GatheredKit castToOptional.swift
[34/63] Compiling GatheredKit OptionalProperty.swift
[35/63] Compiling GatheredKit Property.swift
[36/63] Compiling GatheredKit PropertyIdentifier.swift
[37/63] Compiling GatheredKit ReadOnlyProperty.swift
[38/63] Compiling GatheredKit ScaleProperty.swift
[39/63] Compiling GatheredKit Snapshot.swift
[40/63] Emitting module GatheredKit
[41/63] Compiling GatheredKit BoolProperty.swift
[42/63] Compiling GatheredKit AccelerationProperty.swift
[43/63] Compiling GatheredKit AngleProperty.swift
[44/63] Compiling GatheredKit AnyProperty+measurement.swift
[45/63] Compiling GatheredKit FrequencyProperty.swift
[46/63] Compiling GatheredKit LengthProperty.swift
[47/63] Compiling GatheredKit UpdatableProperty.swift
[48/63] Compiling GatheredKit BasePollingSource.swift
[49/63] Compiling GatheredKit Source.swift
[50/63] Compiling GatheredKit SourceAvailability.swift
[51/63] Compiling GatheredKit SourceError.swift
[52/63] Compiling GatheredKit SourceEvent.swift
[53/63] Compiling GatheredKit PercentProperty.swift
[54/63] Compiling GatheredKit StringProperty.swift
[55/63] Compiling GatheredKit ManuallyUpdatablePropertiesProvider.swift
[56/63] Compiling GatheredKit PropertiesProviding.swift
[57/63] Compiling GatheredKit AnySnapshot.swift
[58/63] Compiling GatheredKit BasicProperty.swift
[59/63] Compiling GatheredKit SourceProviderEvent.swift
[60/63] Compiling GatheredKit SourceProviderIdentifier.swift
[61/63] Compiling GatheredKit UpdatingSourceProvider.swift
[62/63] Compiling GatheredKit UnitFrequency+radiansPerSecond.swift
[63/63] Compiling GatheredKit UnitMagneticField.swift
[64/131] Compiling GatheredKitProcessInfo ThermalStateProperty.swift
[65/131] Compiling GatheredKitUserTracking SourceKind+userTracking.swift
[66/131] Emitting module GatheredKitUserTracking
[67/131] Compiling GatheredKitLocation SourceKind+location.swift
[68/131] Emitting module GatheredKitTestHelpers
[69/131] Compiling GatheredKitTestHelpers MockNotificationCenter.swift
[70/131] Emitting module GatheredKitProcessInfo
[71/131] Compiling GatheredKitProcessInfo SourceKind+thermalState.swift
[72/131] Compiling GatheredKitProcessInfo ThermalState.swift
[73/131] Emitting module GatheredKitWiFi
[74/131] Compiling GatheredKitLocation CoordinatePropertyIdentifier.swift
[75/139] Compiling GatheredKitExternalAccessory SourceKind+externalAccessory.swift
[76/139] Compiling GatheredKitDevice Battery.swift
[77/139] Compiling GatheredKitUserTracking UserTracking.swift
[78/139] Compiling GatheredKitDevice BatteryStateProperty.swift
[79/139] Emitting module GatheredKitDevice
[80/139] Compiling GatheredKitDevice SourceKind+battery.swift
[81/139] Compiling GatheredKitLocation CLLocationAuthorizationProperty.swift
[82/139] Compiling GatheredKitLocation CoordinateProperty.swift
[83/139] Emitting module GatheredKitLocation
[84/139] Emitting module GatheredKitExternalAccessory
[85/139] Emitting module GatheredKitMotion
[86/139] Compiling GatheredKitSystemStatistics SourceKind+memoryUsage.swift
[87/139] Emitting module GatheredKitSystemStatistics
[88/139] Compiling GatheredKitSystemStatistics MemoryStatistics.swift
[89/149] Compiling GatheredKitWiFi WiFi.swift
[90/149] Compiling GatheredKitWiFi SourceKind+wifi.swift
[91/149] Compiling GatheredKitWiFi WiFiProvider.swift
[92/149] Compiling GatheredKitLocation OptionalCoordinateProperty.swift
[93/149] Compiling GatheredKitLocation Location.swift
[94/149] Compiling GatheredKitMotion Accelerometer.swift
[95/149] Compiling GatheredKitMotion Altimeter.swift
[96/149] Compiling GatheredKitMotion CMLogItem+date.swift
[97/149] Compiling GatheredKitMotion CMMotionManager+shared.swift
[98/149] Compiling GatheredKitExternalAccessory ExternalAccessory.swift
[99/149] Compiling GatheredKitExternalAccessory ExternalAccessoryProvider.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitExternalAccessory/ExternalAccessoryProvider.swift:97:18: warning: TODO: Perform a diff based on ids
        #warning("TODO: Perform a diff based on ids")
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[100/149] Compiling GatheredKitMotion CMRotationMatrixProperty.swift
[101/149] Compiling GatheredKitMotion CMRotationRateProperty.swift
[102/149] Compiling GatheredKitMotion MagneticFieldCalibrationAccuracyProperty.swift
[103/149] Compiling GatheredKitMotion OptionalCMAbsoluteAltitudeDataProperty.swift
[104/149] Compiling GatheredKitMotion CMRotationMatrixFormatter.swift
[105/149] Compiling GatheredKitMotion CMRotationRateFormatter.swift
[106/149] Compiling GatheredKitMotion MagneticFieldCalibrationAccuracyFormatter.swift
[107/149] Compiling GatheredKitMotion CMAbsoluteAltitudeDataProperty.swift
[108/149] Compiling GatheredKitMotion CMAccelerationProperty.swift
[109/149] Compiling GatheredKitMotion OptionalCMQuaternionProperty.swift
[110/149] Compiling GatheredKitMotion OptionalCMRotationMatrixProperty.swift
[111/149] Compiling GatheredKitMotion OptionalCMRotationRateProperty.swift
[112/149] Compiling GatheredKitMotion CMAbsoluteAltitudeDataShim.swift
[113/149] Compiling GatheredKitMotion CMAttitudeProperty.swift
[114/149] Compiling GatheredKitMotion CMCalibratedMagneticFieldProperty.swift
[115/149] Compiling GatheredKitMotion CMMagneticFieldProperty.swift
[116/149] Compiling GatheredKitMotion CMQuaternionProperty.swift
[117/149] Compiling GatheredKitMotion OptionalCMAccelerationProperty.swift
[118/149] Compiling GatheredKitMotion OptionalCMAttitudeProperty.swift
[119/149] Compiling GatheredKitMotion OptionalCMCalibratedMagneticFieldProperty.swift
[120/149] Compiling GatheredKitMotion OptionalCMMagneticFieldProperty.swift
[121/149] Compiling GatheredKitMotion CMAccelerationFormatter.swift
[122/149] Compiling GatheredKitMotion CMAttitudeFormatter.swift
[123/149] Compiling GatheredKitMotion CMCalibratedMagneticFieldFormatter.swift
[124/149] Compiling GatheredKitMotion CMMagneticFieldFormatter.swift
[125/149] Compiling GatheredKitMotion CMQuaternionFormatter.swift
[126/149] Compiling GatheredKitMotion DeviceMotion.swift
[127/149] Compiling GatheredKitMotion Gyroscope.swift
[128/149] Compiling GatheredKitMotion Magnetometer.swift
[129/149] Compiling GatheredKitMotion SourceKind+motionSources.swift
[130/149] Compiling GatheredKitScreen SourceKind+screen.swift
[131/150] Compiling GatheredKitScreen UnitResolution.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
    public private(set) var resolution: CGSize
                            ^~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:116:24: error: cannot infer contextual base in reference to member 'init'
        _resolution = .init(
                      ~^~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:119:20: error: cannot infer contextual base in reference to member 'pixels'
            unit: .pixels
                  ~^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
    public private(set) var resolution: CGSize
                            ^~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:116:24: error: cannot infer contextual base in reference to member 'init'
        _resolution = .init(
                      ~^~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:119:20: error: cannot infer contextual base in reference to member 'pixels'
            unit: .pixels
                  ~^~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
    public private(set) var resolution: CGSize
                            ^~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
    public private(set) var resolution: CGSize
                            ^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[144/150] Emitting module GatheredKitScreen
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
    public private(set) var resolution: CGSize
                            ^~~~~~~~~~
error: fatalError
Fetching https://github.com/apple/swift-docc-plugin from cache
Fetched https://github.com/apple/swift-docc-plugin from cache (0.16s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.03s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/3] Write swift-version--423B1241ED78D482.txt
[4/14] Compiling GatheredKitScreen Screen_watchOS.swift
[5/14] Compiling GatheredKitScreen Screen_iOS_tvOS.swift
[6/14] Compiling GatheredKitScreen Screen_macOS.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
    public private(set) var resolution: CGSize
                            ^~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:116:24: error: cannot infer contextual base in reference to member 'init'
        _resolution = .init(
                      ~^~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:119:20: error: cannot infer contextual base in reference to member 'pixels'
            unit: .pixels
                  ~^~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/14] Emitting module GatheredKitScreen
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
    public private(set) var resolution: CGSize
                            ^~~~~~~~~~
[8/14] Compiling GatheredKitScreen ScreenProvider_macOS.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
    public private(set) var resolution: CGSize
                            ^~~~~~~~~~
error: fatalError
[9/14] Compiling GatheredKitCamera SourceKind+camera.swift
[10/14] Emitting module GatheredKitCamera
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7