Build Information
Failed to build swift-indexed-collection, reference main (8154db
), with Swift 5.9 for macOS (SPM) on 26 Oct 2024 03:34:49 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/FluidGroup/swift-indexed-collection.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluidGroup/swift-indexed-collection
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8154dbe Update README.md
Cloned https://github.com/FluidGroup/swift-indexed-collection.git
Revision (git rev-parse @):
8154dbe903410bdf4220fa281b2ab40809fd99d2
SUCCESS checkout https://github.com/FluidGroup/swift-indexed-collection.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/FluidGroup/swift-indexed-collection.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/2] Emitting module IndexedCollection
/Users/admin/builder/spi-builder-workspace/Sources/IndexedCollection/IndexedCollection.swift:93:26: error: no exact matches in call to instance method 'appendInterpolation'
Text("\(e.index): \(e.value)")
^
SwiftUI.LocalizedStringKey:10:30: note: candidate requires that 'IdentifiableItem' conform to 'ReferenceConvertible' (requirement specified as 'Subject' : 'ReferenceConvertible')
public mutating func appendInterpolation<Subject>(_ subject: Subject, formatter: Formatter? = nil) where Subject : ReferenceConvertible
^
SwiftUI.LocalizedStringKey:11:30: note: candidate requires that 'NSObject' inherit from 'Subject' (requirement specified as 'Subject' : 'NSObject')
public mutating func appendInterpolation<Subject>(_ subject: Subject, formatter: Formatter? = nil) where Subject : NSObject
^
SwiftUI.LocalizedStringKey:14:30: note: candidate requires that 'IdentifiableItem' conform to '_FormatSpecifiable' (requirement specified as 'T' : '_FormatSpecifiable')
public mutating func appendInterpolation<T>(_ value: T) where T : _FormatSpecifiable
^
[2/2] Compiling IndexedCollection IndexedCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/IndexedCollection/IndexedCollection.swift:93:26: error: no exact matches in call to instance method 'appendInterpolation'
Text("\(e.index): \(e.value)")
^
SwiftUI.LocalizedStringKey:10:30: note: candidate requires that 'IdentifiableItem' conform to 'ReferenceConvertible' (requirement specified as 'Subject' : 'ReferenceConvertible')
public mutating func appendInterpolation<Subject>(_ subject: Subject, formatter: Formatter? = nil) where Subject : ReferenceConvertible
^
SwiftUI.LocalizedStringKey:11:30: note: candidate requires that 'NSObject' inherit from 'Subject' (requirement specified as 'Subject' : 'NSObject')
public mutating func appendInterpolation<Subject>(_ subject: Subject, formatter: Formatter? = nil) where Subject : NSObject
^
SwiftUI.LocalizedStringKey:14:30: note: candidate requires that 'IdentifiableItem' conform to '_FormatSpecifiable' (requirement specified as 'T' : '_FormatSpecifiable')
public mutating func appendInterpolation<T>(_ value: T) where T : _FormatSpecifiable
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17IndexedCollection33_183F65755990BD35CBF9686B522A66C5Ll7PreviewfMf2_.swift:11:34: error: no exact matches in call to instance method 'appendInterpolation'
Text("\(e.index): \(e.value)")
^
/Users/admin/builder/spi-builder-workspace/Sources/IndexedCollection/IndexedCollection.swift:90:1: note: in expansion of macro 'Preview' here
#Preview {
^~~~~~~~~~
SwiftUI.LocalizedStringKey:10:30: note: candidate requires that 'IdentifiableItem' conform to 'ReferenceConvertible' (requirement specified as 'Subject' : 'ReferenceConvertible')
public mutating func appendInterpolation<Subject>(_ subject: Subject, formatter: Formatter? = nil) where Subject : ReferenceConvertible
^
SwiftUI.LocalizedStringKey:11:30: note: candidate requires that 'NSObject' inherit from 'Subject' (requirement specified as 'Subject' : 'NSObject')
public mutating func appendInterpolation<Subject>(_ subject: Subject, formatter: Formatter? = nil) where Subject : NSObject
^
SwiftUI.LocalizedStringKey:14:30: note: candidate requires that 'IdentifiableItem' conform to '_FormatSpecifiable' (requirement specified as 'T' : '_FormatSpecifiable')
public mutating func appendInterpolation<T>(_ value: T) where T : _FormatSpecifiable
^
error: fatalError
BUILD FAILURE 5.9 macosSpm