The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build GatheredKit, reference main (443b96), with Swift 6.0 for macOS (SPM) on 16 Jun 2025 02:55:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JosephDuffy/GatheredKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JosephDuffy/GatheredKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 443b96f Mark `value` and `date` `private(set)`
Cloned https://github.com/JosephDuffy/GatheredKit.git
Revision (git rev-parse @):
443b96ffc434cecf50182fdf169d0436e5dd5cf6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/JosephDuffy/GatheredKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/JosephDuffy/GatheredKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/49] Write sources
[44/49] Compiling _NumericsShims _NumericsShims.c
[46/49] Write swift-version-5BDAB9E9C0126B9D.txt
[48/117] Compiling SwiftSyntax509 Empty.swift
[49/117] Emitting module SwiftSyntax509
[51/117] Compiling SwiftSyntax509 Empty.swift
[52/117] Compiling RealModule Float80+Real.swift
[53/117] Compiling RealModule Real.swift
[54/118] Compiling RealModule Float80+Real.swift
[55/118] Compiling RealModule Real.swift
[56/119] Compiling RealModule RealFunctions.swift
[57/119] Compiling RealModule Float16+Real.swift
[58/119] Compiling RealModule ElementaryFunctions.swift
[59/119] Compiling RealModule Float16+Real.swift
[60/119] Compiling RealModule Float+Real.swift
[61/119] Compiling RealModule AugmentedArithmetic.swift
[62/119] Compiling RealModule ApproximateEquality.swift
[63/119] Emitting module RealModule
[64/119] Compiling RealModule Double+Real.swift
[65/119] Compiling RealModule AlgebraicField.swift
[66/119] Compiling RealModule Float+Real.swift
[67/119] Compiling RealModule ElementaryFunctions.swift
[68/119] Compiling RealModule AlgebraicField.swift
[69/119] Compiling RealModule ApproximateEquality.swift
[70/119] Emitting module RealModule
[71/119] Compiling RealModule AugmentedArithmetic.swift
[72/119] Compiling RealModule Double+Real.swift
[73/119] Compiling RealModule RealFunctions.swift
[74/263] Compiling Algorithms AdjacentPairs.swift
[75/263] Compiling Algorithms Chain.swift
[76/263] Compiling Algorithms Chunked.swift
[77/263] Compiling Algorithms Suffix.swift
[78/263] Compiling Algorithms Trim.swift
[79/268] Compiling Algorithms FirstNonNil.swift
[80/268] Compiling Algorithms FlattenCollection.swift
[81/268] Compiling Algorithms Joined.swift
[82/268] Compiling Algorithms Keyed.swift
[83/268] Compiling Algorithms MinMax.swift
[84/270] Compiling Algorithms Stride.swift
[85/270] Compiling Algorithms Partition.swift
[86/270] Compiling Algorithms Permutations.swift
[87/270] Compiling Algorithms Product.swift
[88/270] Compiling Algorithms EitherSequence.swift
[95/272] Compiling Algorithms Reductions.swift
[96/272] Compiling Algorithms Rotate.swift
[97/272] Compiling Algorithms Split.swift
[98/272] Compiling Algorithms Compacted.swift
[99/272] Compiling Algorithms Cycle.swift
[100/272] Compiling Algorithms Grouped.swift
[103/272] Compiling Algorithms Combinations.swift
[104/272] Compiling Algorithms Indexed.swift
[105/272] Compiling Algorithms Intersperse.swift
[106/272] Compiling Algorithms RandomSample.swift
[123/272] Compiling Algorithms Unique.swift
[124/272] Compiling Algorithms Windows.swift
[138/277] Emitting module GatheredKit
[139/281] Emitting module Algorithms
[141/281] Compiling SwiftSyntax Trivia.swift
[142/281] Compiling SwiftSyntax SyntaxRewriter.swift
[143/281] Compiling SwiftSyntax SyntaxTraits.swift
[144/281] Compiling SwiftSyntax SyntaxTransform.swift
[147/281] Compiling SwiftSyntax RawSyntax.swift
[148/281] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[149/281] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[150/281] Compiling SwiftSyntax Utils.swift
[151/281] Compiling SwiftSyntax ChildNameForKeyPath.swift
[152/281] Compiling SwiftSyntax Keyword.swift
[153/281] Compiling SwiftSyntax SyntaxCollection.swift
[154/281] Compiling SwiftSyntax SyntaxData.swift
[155/281] Compiling SwiftSyntax SyntaxText.swift
[156/281] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[157/281] Compiling SwiftSyntax TokenDiagnostic.swift
[158/281] Compiling SwiftSyntax TokenSyntax.swift
[179/281] Compiling GatheredKit SourceProviderIdentifier.swift
[180/281] Compiling GatheredKit UpdatingSourceProvider.swift
[181/281] Compiling GatheredKit UnitFrequency+radiansPerSecond.swift
[182/281] Compiling GatheredKit UnitMagneticField.swift
[198/347] Compiling GatheredKitUserTracking SourceKind+userTracking.swift
[199/347] Compiling GatheredKitProcessInfo ThermalStateProperty.swift
[200/347] Compiling GatheredKitExternalAccessory SourceKind+externalAccessory.swift
[201/347] Compiling GatheredKitTestHelpers MockNotificationCenter.swift
[202/347] Emitting module GatheredKitTestHelpers
[203/347] Compiling GatheredKitProcessInfo SourceKind+thermalState.swift
[204/347] Emitting module GatheredKitProcessInfo
[205/347] Compiling GatheredKitProcessInfo ThermalState.swift
[206/357] Compiling GatheredKitUserTracking UserTracking.swift
[207/357] Emitting module GatheredKitUserTracking
[208/357] Compiling GatheredKitSystemStatistics SourceKind+memoryUsage.swift
[209/357] Emitting module GatheredKitSystemStatistics
[210/357] Compiling GatheredKitSystemStatistics MemoryStatistics.swift
[211/357] Compiling GatheredKitExternalAccessory ExternalAccessory.swift
[212/357] Emitting module GatheredKitExternalAccessory
[213/357] Compiling GatheredKitExternalAccessory ExternalAccessoryProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitExternalAccessory/ExternalAccessoryProvider.swift:97:18: warning: TODO: Perform a diff based on ids
 95 |
 96 |     private func updateSources() {
 97 |         #warning("TODO: Perform a diff based on ids")
    |                  `- warning: TODO: Perform a diff based on ids
 98 |         sources = accessoryManager.connectedAccessories.map { accessory in
 99 |             ExternalAccessory(accessory: accessory)
[214/357] Emitting module GatheredKitMotion
[215/360] Compiling GatheredKitDevice BatteryStateProperty.swift
[216/360] Compiling GatheredKitDevice SourceKind+battery.swift
[217/360] Compiling GatheredKitDevice Battery.swift
[218/360] Emitting module GatheredKitDevice
[219/360] Compiling GatheredKitMotion OptionalCMAttitudeProperty.swift
[220/360] Compiling GatheredKitMotion OptionalCMCalibratedMagneticFieldProperty.swift
[221/360] Compiling GatheredKitMotion OptionalCMMagneticFieldProperty.swift
[222/360] Compiling GatheredKitMotion CMAccelerationFormatter.swift
[223/360] Compiling GatheredKitMotion CMAttitudeFormatter.swift
[224/360] Compiling GatheredKitMotion CMCalibratedMagneticFieldFormatter.swift
[225/360] Compiling GatheredKitMotion CMMagneticFieldFormatter.swift
[226/360] Compiling GatheredKitMotion CMAbsoluteAltitudeDataShim.swift
[227/360] Compiling GatheredKitMotion Accelerometer.swift
[228/360] Compiling GatheredKitMotion Altimeter.swift
[229/360] Compiling GatheredKitMotion MagneticFieldCalibrationAccuracyProperty.swift
[230/360] Compiling GatheredKitMotion OptionalCMAbsoluteAltitudeDataProperty.swift
[231/360] Compiling GatheredKitMotion OptionalCMAccelerationProperty.swift
[232/360] Compiling GatheredKitMotion CMAbsoluteAltitudeDataProperty.swift
[233/360] Compiling GatheredKitMotion CMAccelerationProperty.swift
[234/360] Compiling GatheredKitMotion CMAttitudeProperty.swift
[235/360] Compiling GatheredKitMotion CMCalibratedMagneticFieldProperty.swift
[236/360] Compiling GatheredKitMotion CMMagneticFieldProperty.swift
[237/360] Compiling GatheredKitMotion CMQuaternionProperty.swift
[238/360] Compiling GatheredKitMotion CMRotationMatrixProperty.swift
[239/360] Compiling GatheredKitMotion CMRotationRateProperty.swift
[240/360] Compiling GatheredKitMotion CMQuaternionFormatter.swift
[241/360] Compiling GatheredKitMotion CMRotationMatrixFormatter.swift
[242/360] Compiling GatheredKitMotion CMRotationRateFormatter.swift
[243/360] Compiling GatheredKitMotion MagneticFieldCalibrationAccuracyFormatter.swift
[244/360] Compiling GatheredKitMotion CMLogItem+date.swift
[245/360] Compiling GatheredKitMotion CMMotionManager+shared.swift
[246/360] Compiling GatheredKitMotion DeviceMotion.swift
[247/360] Compiling GatheredKitMotion OptionalCMQuaternionProperty.swift
[248/360] Compiling GatheredKitMotion OptionalCMRotationMatrixProperty.swift
[249/360] Compiling GatheredKitMotion OptionalCMRotationRateProperty.swift
[250/360] Compiling GatheredKitWiFi WiFiProvider.swift
[251/360] Emitting module GatheredKitWiFi
[252/360] Compiling GatheredKitWiFi WiFi.swift
[253/360] Compiling GatheredKitWiFi SourceKind+wifi.swift
[254/360] Compiling GatheredKitMotion Gyroscope.swift
[255/360] Compiling GatheredKitMotion Magnetometer.swift
[256/360] Compiling GatheredKitMotion SourceKind+motionSources.swift
[272/360] Emitting module SwiftSyntax
[289/360] Compiling GatheredKitScreen SourceKind+screen.swift
[290/361] Compiling GatheredKitScreen Screen_watchOS.swift
[291/361] Compiling GatheredKitScreen UnitResolution.swift
[292/361] Compiling GatheredKitCamera SourceKind+camera.swift
[293/361] Compiling GatheredKitScreen Screen_iOS_tvOS.swift
[296/361] Compiling GatheredKitScreen Screen_macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
 42 |      */
 43 |     @ResolutionProperty
 44 |     public private(set) var resolution: CGSize
    |                             `- error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
 45 |
 46 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:116:24: error: cannot infer contextual base in reference to member 'init'
114 |         self.notificationCenter = notificationCenter
115 |
116 |         _resolution = .init(
    |                        `- error: cannot infer contextual base in reference to member 'init'
117 |             id: id.identifierForChildPropertyWithId("resolution"),
118 |             value: screen.frame.size,
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:119:20: error: cannot infer contextual base in reference to member 'pixels'
117 |             id: id.identifierForChildPropertyWithId("resolution"),
118 |             value: screen.frame.size,
119 |             unit: .pixels
    |                    `- error: cannot infer contextual base in reference to member 'pixels'
120 |         )
121 |         _colorSpace = .init(
[297/361] Compiling GatheredKitScreen ScreenProvider_macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
 42 |      */
 43 |     @ResolutionProperty
 44 |     public private(set) var resolution: CGSize
    |                             `- error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
 45 |
 46 |     /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[304/361] Emitting module GatheredKitScreen
/Users/admin/builder/spi-builder-workspace/Sources/GatheredKitScreen/Screen_macOS.swift:44:29: error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
 42 |      */
 43 |     @ResolutionProperty
 44 |     public private(set) var resolution: CGSize
    |                             `- error: property type 'CGSize' does not match 'wrappedValue' type 'ResolutionMeasurement'
 45 |
 46 |     /**
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swiftlang/swift-syntax
[1/5959] Fetching swift-algorithms
[180/8041] Fetching swift-algorithms, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.23s)
[1/70794] Fetching swift-syntax
Fetched https://github.com/apple/swift-algorithms.git from cache (3.21s)
Fetched https://github.com/swiftlang/swift-syntax from cache (3.21s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.81s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.05s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.55s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.53s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 509.1.1 (0.61s)
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
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
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 509.1.1
BUILD FAILURE 6.0 macosSpm