Build Information
Failed to build swift-indexed-collection, reference 0.2.1 (9b17bf
), with Swift 5.9 for macOS (SPM) on 26 Oct 2024 03:36:32 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: 0.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluidGroup/swift-indexed-collection
* tag 0.2.1 -> FETCH_HEAD
HEAD is now at 9b17bf0 init
Cloned https://github.com/FluidGroup/swift-indexed-collection.git
Revision (git rev-parse @):
9b17bf06eae73fee93dae9a0fa6de2e33900d9c5
SUCCESS checkout https://github.com/FluidGroup/swift-indexed-collection.git at 0.2.1
========================================
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