Build Information
Failed to build Device, reference v2.6.0 (848ee8
), with Swift 5.9 for macOS (SPM) on 25 Oct 2024 21:03:40 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.55.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kudit/Device.git
Reference: v2.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kudit/Device
* tag v2.6.0 -> FETCH_HEAD
HEAD is now at 848ee8f v2.6.0
Cloned https://github.com/kudit/Device.git
Revision (git rev-parse @):
848ee8fd26586738170deac076de69d1dd6bffa9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/kudit/Device.git at v2.6.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/kudit/Device.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Copying SymbolAssets.xcassets
[2/36] Emitting module Compatibility
[3/39] Compiling Compatibility Triangle.swift
[4/39] Compiling Compatibility SwiftUI.swift
[5/39] Compiling Compatibility TestUI.swift
[6/39] Compiling Compatibility UserDefaultsBacked.swift
[7/39] Compiling Compatibility Array.swift
[8/39] Compiling Compatibility Codable.swift
[9/39] Compiling Compatibility CodingFoundation.swift
[10/39] Compiling Compatibility OrderedSet.swift
[11/39] Compiling Compatibility String.swift
[12/39] Compiling Compatibility Threading.swift
[13/39] Compiling Compatibility URL.swift
[14/39] Compiling Compatibility ClearableTextField.swift
[15/39] Compiling Compatibility Menu.swift
[16/39] Compiling Compatibility Placard.swift
[17/39] Compiling Compatibility Version.swift
[18/39] Compiling Compatibility Backport.swift
[19/39] Compiling Compatibility BytesView.swift
[20/39] Compiling Compatibility CodingJSON.swift
[21/39] Compiling Compatibility CodingParameters.swift
[22/39] Compiling Compatibility Date.swift
[23/39] Compiling Compatibility Dictionary.swift
[24/39] Compiling Compatibility CloudStorageSync.swift
[25/39] Compiling Compatibility DataStore.swift
[26/39] Compiling Compatibility Debug.swift
[27/39] Compiling Compatibility FileManager.swift
[28/39] Compiling Compatibility Graphics.swift
[29/39] Compiling Compatibility Network.swift
[30/39] Compiling Compatibility ObservableObject.swift
[31/39] Compiling Compatibility Test.swift
[32/39] Compiling Compatibility Double.swift
[33/39] Compiling Compatibility Enum.swift
[34/39] Compiling Compatibility Int.swift
[35/39] Compiling Compatibility OrderedDictionary.swift
[36/39] Compiling Compatibility Compatibility.swift
[37/39] Compiling Compatibility Application.swift
[38/39] Compiling Compatibility CloudStatus.swift
[39/39] Compiling Compatibility CloudStorage.swift
[40/45] Compiling Color Compatibility.swift
[41/45] Compiling Color Colorsets.swift
[42/45] Compiling Color CSSColors.swift
[43/45] Compiling Color Color.swift
[44/45] Emitting module Color
[45/45] Compiling Color ColorUI.swift
[46/62] Compiling Device SystemInfoView.swift
[47/63] Compiling Device Screen.swift
[48/63] Compiling Device ScreenInfoView.swift
[49/63] Compiling Device EnvironmentsView.swift
[50/63] Compiling Device Hardware.swift
[51/63] Compiling Device resource_bundle_accessor.swift
[52/63] Compiling Device Version.swift
[53/63] Compiling Device BatteryView.swift
[54/63] Compiling Device CurrentDevice.swift
[55/63] Compiling Device DeviceInfoView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceInfoView.swift:73:38: error: instance method 'appendInterpolation(_:formatter:)' requires that 'String.Element' (aka 'Character') inherit from 'NSObject'
output = output + Text("\(symbol.symbolName.first ?? "x")")
^
SwiftUI.LocalizedStringKey:11:30: note: where 'Subject' = 'String.Element' (aka 'Character')
public mutating func appendInterpolation<Subject>(_ subject: Subject, formatter: Formatter? = nil) where Subject : NSObject
^
[56/63] Compiling Device DeviceKitBridge.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeviceInfoView.swift:73:38: error: instance method 'appendInterpolation(_:formatter:)' requires that 'String.Element' (aka 'Character') inherit from 'NSObject'
output = output + Text("\(symbol.symbolName.first ?? "x")")
^
SwiftUI.LocalizedStringKey:11:30: note: where 'Subject' = 'String.Element' (aka 'Character')
public mutating func appendInterpolation<Subject>(_ subject: Subject, formatter: Formatter? = nil) where Subject : NSObject
^
[57/63] Emitting module Device
[58/63] Compiling Device AttributeListView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AttributeListView.swift:16:24: error: variable 'self.attribute' used before being initialized
self.attribute = attribute
^
/Users/admin/builder/spi-builder-workspace/Sources/AttributeListView.swift:17:21: error: variable 'self.device' used before being initialized
self.device = device
^
/Users/admin/builder/spi-builder-workspace/Sources/AttributeListView.swift:41:25: error: variable 'self.device' used before being initialized
self.device = device
^
/Users/admin/builder/spi-builder-workspace/Sources/AttributeListView.swift:43:25: error: variable 'self.device' used before being initialized
self.device = Device.current
^
/Users/admin/builder/spi-builder-workspace/Sources/AttributeListView.swift:45:21: error: variable 'self.header' used before being initialized
self.header = header
^
/Users/admin/builder/spi-builder-workspace/Sources/AttributeListView.swift:46:25: error: variable 'self.attributes' used before being initialized
self.attributes = attributes
^
[59/63] Compiling Device Battery.swift
/Users/admin/builder/spi-builder-workspace/Sources/AttributeListView.swift:16:24: error: variable 'self.attribute' used before being initialized
self.attribute = attribute
^
/Users/admin/builder/spi-builder-workspace/Sources/AttributeListView.swift:17:21: error: variable 'self.device' used before being initialized
self.device = device
^
/Users/admin/builder/spi-builder-workspace/Sources/AttributeListView.swift:41:25: error: variable 'self.device' used before being initialized
self.device = device
^
/Users/admin/builder/spi-builder-workspace/Sources/AttributeListView.swift:43:25: error: variable 'self.device' used before being initialized
self.device = Device.current
^
/Users/admin/builder/spi-builder-workspace/Sources/AttributeListView.swift:45:21: error: variable 'self.header' used before being initialized
self.header = header
^
/Users/admin/builder/spi-builder-workspace/Sources/AttributeListView.swift:46:25: error: variable 'self.attributes' used before being initialized
self.attributes = attributes
^
[60/63] Compiling Device StorageInfoView.swift
[61/63] Compiling Device Symbols.swift
[62/63] Compiling Device CurrentDeviceInfoView.swift
[63/63] Compiling Device Device.swift
error: fatalError
Fetching https://github.com/kudit/Color
Fetching https://github.com/kudit/Compatibility
[8/382] Fetching color
[59/1370] Fetching color, compatibility
Fetched https://github.com/kudit/Color (1.94s)
Fetched https://github.com/kudit/Compatibility (1.94s)
Computing version for https://github.com/kudit/Color
Computed https://github.com/kudit/Color at 1.1.4 (0.44s)
Computing version for https://github.com/kudit/Compatibility
Computed https://github.com/kudit/Compatibility at 1.3.15 (0.45s)
Creating working copy for https://github.com/kudit/Color
Working copy of https://github.com/kudit/Color resolved at 1.1.4
Creating working copy for https://github.com/kudit/Compatibility
Working copy of https://github.com/kudit/Compatibility resolved at 1.3.15
BUILD FAILURE 5.9 macosSpm