Build Information
Failed to build GlueKit, reference v0.2.0 (a5766b
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 12:00:02 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableValue.swift:179:5: warning: 'public' modifier is redundant for static method declared in a public extension
177 | public extension ObservableValueType {
178 | /// Creates a constant observable wrapping the given value. The returned observable is not modifiable and it will not ever send updates.
179 | public static func constant(_ value: Value) -> AnyObservableValue<Value> {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
180 | return ConstantObservable(value).anyObservableValue
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/RefList.swift:83:47: warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
81 | }
82 |
83 | internal subscript(bounds: Range<Int>) -> MutableRangeReplaceableRandomAccessSlice<RefList> {
| |- warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
| `- note: use 'Slice' instead
84 | get {
85 | return .init(base: self, bounds: bounds)
[119/128] Compiling GlueKit ObservableContains.swift
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:53:14: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 | private var modelConnection: Connection? = nil
52 | private func reconnect() {
| `- note: add '@MainActor' to make instance method 'reconnect()' part of global actor 'MainActor'
53 | view.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:56:23: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
56 | self.view.stringValue = "\(value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:65:35: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | override func controlTextDidEndEditing(_ obj: Notification) {
65 | if let value = Value(view.stringValue) {
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
66 | model.value = value
67 | }
AppKit.NSControl:24:25: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:69:18: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 | else {
69 | view.stringValue = "\(model.value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:30: error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Input.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Input.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: missing argument label 'where:' in call
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: missing argument label 'where:' in call
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:15:22: error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
15 | typealias Base = Set<Element>
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
16 |
17 | var isBuffered: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:19:16: error: type 'Self.Element' does not conform to protocol 'Hashable'
17 | var isBuffered: Bool { get }
18 | var count: Int { get }
19 | var value: Set<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:21:29: error: type 'Self.Element' does not conform to protocol 'Hashable'
19 | var value: Set<Element> { get }
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
22 | func isSuperset(of other: Set<Element>) -> Bool
23 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:22:31: error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
22 | func isSuperset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
23 |
24 | var observableCount: AnyObservableValue<Int> { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:26:27: error: type 'Self.Element' does not conform to protocol 'Hashable'
24 | var observableCount: AnyObservableValue<Int> { get }
25 | var anyObservableValue: AnyObservableValue<Base> { get }
26 | var anyObservableSet: AnyObservableSet<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:12:67: error: type 'Self.Element' does not conform to protocol 'Hashable'
10 | public typealias SetUpdateSource<Element: Hashable> = AnySource<Update<SetChange<Element>>>
11 |
12 | public protocol ObservableSetType: ObservableType where Change == SetChange<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:33:36: error: type 'Self.Element' does not conform to protocol 'Hashable'
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:34:38: error: type 'Self.Element' does not conform to protocol 'Hashable'
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
35 |
36 | public var isEmpty: Bool { return count == 0 }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:38:54: error: type 'Self.Element' does not conform to protocol 'Hashable'
36 | public var isEmpty: Bool { return count == 0 }
37 |
38 | internal var valueUpdates: AnySource<ValueUpdate<Set<Element>>> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
39 | var value = self.value
40 | return self.updates.map { event in
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:68:34: error: type 'Self.Element' does not conform to protocol 'Hashable'
66 | }
67 |
68 | public var anyObservableSet: AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
69 | return AnyObservableSet(box: ObservableSetBox(self))
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:159:60: error: type 'Contents.Element' does not conform to protocol 'Hashable'
157 | }
158 |
159 | final class ObservableSetBox<Contents: ObservableSetType>: _AbstractObservableSet<Contents.Element> {
| `- error: type 'Contents.Element' does not conform to protocol 'Hashable'
160 | typealias Element = Contents.Element
161 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:25: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:18: error: property does not override any property from its superclass
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: property does not override any property from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:171:19: error: method does not override any method from its superclass
118 | open var isBuffered: Bool { return false }
119 | open var count: Int { return value.count }
120 | open func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- note: potential overridden instance method 'contains' here
121 | open func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
122 | open func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
:
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
| `- error: method does not override any method from its superclass
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:38: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:19: error: method does not override any method from its superclass
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:40: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:19: error: method does not override any method from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: method does not override any method from its superclass
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:175:19: error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
176 | contents.add(sink)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:180:19: error: method does not override any method from its superclass
178 |
179 | @discardableResult
180 | override func remove<Sink: SinkType>(_ sink: Sink) -> Sink where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
181 | return contents.remove(sink)
182 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:57: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:18: error: property does not override any property from its superclass
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: property does not override any property from its superclass
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:59: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:42: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:220:43: error: type 'Self.Element' does not conform to protocol 'Hashable'
218 | }
219 |
220 | public static func emptyConstant() -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
221 | return constant([])
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: missing argument label 'where:' in call
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: missing argument label 'where:' in call
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:45: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:69: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableValue.swift:179:5: warning: 'public' modifier is redundant for static method declared in a public extension
177 | public extension ObservableValueType {
178 | /// Creates a constant observable wrapping the given value. The returned observable is not modifiable and it will not ever send updates.
179 | public static func constant(_ value: Value) -> AnyObservableValue<Value> {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
180 | return ConstantObservable(value).anyObservableValue
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/RefList.swift:83:47: warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
81 | }
82 |
83 | internal subscript(bounds: Range<Int>) -> MutableRangeReplaceableRandomAccessSlice<RefList> {
| |- warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
| `- note: use 'Slice' instead
84 | get {
85 | return .init(base: self, bounds: bounds)
[120/128] Compiling GlueKit ObservableSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:53:14: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 | private var modelConnection: Connection? = nil
52 | private func reconnect() {
| `- note: add '@MainActor' to make instance method 'reconnect()' part of global actor 'MainActor'
53 | view.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:56:23: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
56 | self.view.stringValue = "\(value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:65:35: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | override func controlTextDidEndEditing(_ obj: Notification) {
65 | if let value = Value(view.stringValue) {
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
66 | model.value = value
67 | }
AppKit.NSControl:24:25: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:69:18: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 | else {
69 | view.stringValue = "\(model.value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:30: error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Input.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Input.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: missing argument label 'where:' in call
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: missing argument label 'where:' in call
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:15:22: error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
15 | typealias Base = Set<Element>
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
16 |
17 | var isBuffered: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:19:16: error: type 'Self.Element' does not conform to protocol 'Hashable'
17 | var isBuffered: Bool { get }
18 | var count: Int { get }
19 | var value: Set<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:21:29: error: type 'Self.Element' does not conform to protocol 'Hashable'
19 | var value: Set<Element> { get }
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
22 | func isSuperset(of other: Set<Element>) -> Bool
23 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:22:31: error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
22 | func isSuperset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
23 |
24 | var observableCount: AnyObservableValue<Int> { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:26:27: error: type 'Self.Element' does not conform to protocol 'Hashable'
24 | var observableCount: AnyObservableValue<Int> { get }
25 | var anyObservableValue: AnyObservableValue<Base> { get }
26 | var anyObservableSet: AnyObservableSet<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:12:67: error: type 'Self.Element' does not conform to protocol 'Hashable'
10 | public typealias SetUpdateSource<Element: Hashable> = AnySource<Update<SetChange<Element>>>
11 |
12 | public protocol ObservableSetType: ObservableType where Change == SetChange<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:33:36: error: type 'Self.Element' does not conform to protocol 'Hashable'
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:34:38: error: type 'Self.Element' does not conform to protocol 'Hashable'
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
35 |
36 | public var isEmpty: Bool { return count == 0 }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:38:54: error: type 'Self.Element' does not conform to protocol 'Hashable'
36 | public var isEmpty: Bool { return count == 0 }
37 |
38 | internal var valueUpdates: AnySource<ValueUpdate<Set<Element>>> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
39 | var value = self.value
40 | return self.updates.map { event in
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:68:34: error: type 'Self.Element' does not conform to protocol 'Hashable'
66 | }
67 |
68 | public var anyObservableSet: AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
69 | return AnyObservableSet(box: ObservableSetBox(self))
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:159:60: error: type 'Contents.Element' does not conform to protocol 'Hashable'
157 | }
158 |
159 | final class ObservableSetBox<Contents: ObservableSetType>: _AbstractObservableSet<Contents.Element> {
| `- error: type 'Contents.Element' does not conform to protocol 'Hashable'
160 | typealias Element = Contents.Element
161 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:25: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:18: error: property does not override any property from its superclass
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: property does not override any property from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:171:19: error: method does not override any method from its superclass
118 | open var isBuffered: Bool { return false }
119 | open var count: Int { return value.count }
120 | open func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- note: potential overridden instance method 'contains' here
121 | open func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
122 | open func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
:
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
| `- error: method does not override any method from its superclass
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:38: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:19: error: method does not override any method from its superclass
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:40: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:19: error: method does not override any method from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: method does not override any method from its superclass
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:175:19: error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
176 | contents.add(sink)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:180:19: error: method does not override any method from its superclass
178 |
179 | @discardableResult
180 | override func remove<Sink: SinkType>(_ sink: Sink) -> Sink where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
181 | return contents.remove(sink)
182 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:57: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:18: error: property does not override any property from its superclass
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: property does not override any property from its superclass
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:59: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:42: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:220:43: error: type 'Self.Element' does not conform to protocol 'Hashable'
218 | }
219 |
220 | public static func emptyConstant() -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
221 | return constant([])
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: missing argument label 'where:' in call
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: missing argument label 'where:' in call
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:45: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:69: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableValue.swift:179:5: warning: 'public' modifier is redundant for static method declared in a public extension
177 | public extension ObservableValueType {
178 | /// Creates a constant observable wrapping the given value. The returned observable is not modifiable and it will not ever send updates.
179 | public static func constant(_ value: Value) -> AnyObservableValue<Value> {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
180 | return ConstantObservable(value).anyObservableValue
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/RefList.swift:83:47: warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
81 | }
82 |
83 | internal subscript(bounds: Range<Int>) -> MutableRangeReplaceableRandomAccessSlice<RefList> {
| |- warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
| `- note: use 'Slice' instead
84 | get {
85 | return .init(base: self, bounds: bounds)
[121/128] Compiling GlueKit ObservableType.swift
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:53:14: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 | private var modelConnection: Connection? = nil
52 | private func reconnect() {
| `- note: add '@MainActor' to make instance method 'reconnect()' part of global actor 'MainActor'
53 | view.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:56:23: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
56 | self.view.stringValue = "\(value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:65:35: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | override func controlTextDidEndEditing(_ obj: Notification) {
65 | if let value = Value(view.stringValue) {
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
66 | model.value = value
67 | }
AppKit.NSControl:24:25: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:69:18: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 | else {
69 | view.stringValue = "\(model.value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:30: error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Input.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Input.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: missing argument label 'where:' in call
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: missing argument label 'where:' in call
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:15:22: error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
15 | typealias Base = Set<Element>
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
16 |
17 | var isBuffered: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:19:16: error: type 'Self.Element' does not conform to protocol 'Hashable'
17 | var isBuffered: Bool { get }
18 | var count: Int { get }
19 | var value: Set<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:21:29: error: type 'Self.Element' does not conform to protocol 'Hashable'
19 | var value: Set<Element> { get }
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
22 | func isSuperset(of other: Set<Element>) -> Bool
23 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:22:31: error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
22 | func isSuperset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
23 |
24 | var observableCount: AnyObservableValue<Int> { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:26:27: error: type 'Self.Element' does not conform to protocol 'Hashable'
24 | var observableCount: AnyObservableValue<Int> { get }
25 | var anyObservableValue: AnyObservableValue<Base> { get }
26 | var anyObservableSet: AnyObservableSet<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:12:67: error: type 'Self.Element' does not conform to protocol 'Hashable'
10 | public typealias SetUpdateSource<Element: Hashable> = AnySource<Update<SetChange<Element>>>
11 |
12 | public protocol ObservableSetType: ObservableType where Change == SetChange<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:33:36: error: type 'Self.Element' does not conform to protocol 'Hashable'
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:34:38: error: type 'Self.Element' does not conform to protocol 'Hashable'
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
35 |
36 | public var isEmpty: Bool { return count == 0 }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:38:54: error: type 'Self.Element' does not conform to protocol 'Hashable'
36 | public var isEmpty: Bool { return count == 0 }
37 |
38 | internal var valueUpdates: AnySource<ValueUpdate<Set<Element>>> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
39 | var value = self.value
40 | return self.updates.map { event in
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:68:34: error: type 'Self.Element' does not conform to protocol 'Hashable'
66 | }
67 |
68 | public var anyObservableSet: AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
69 | return AnyObservableSet(box: ObservableSetBox(self))
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:159:60: error: type 'Contents.Element' does not conform to protocol 'Hashable'
157 | }
158 |
159 | final class ObservableSetBox<Contents: ObservableSetType>: _AbstractObservableSet<Contents.Element> {
| `- error: type 'Contents.Element' does not conform to protocol 'Hashable'
160 | typealias Element = Contents.Element
161 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:25: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:18: error: property does not override any property from its superclass
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: property does not override any property from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:171:19: error: method does not override any method from its superclass
118 | open var isBuffered: Bool { return false }
119 | open var count: Int { return value.count }
120 | open func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- note: potential overridden instance method 'contains' here
121 | open func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
122 | open func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
:
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
| `- error: method does not override any method from its superclass
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:38: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:19: error: method does not override any method from its superclass
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:40: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:19: error: method does not override any method from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: method does not override any method from its superclass
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:175:19: error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
176 | contents.add(sink)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:180:19: error: method does not override any method from its superclass
178 |
179 | @discardableResult
180 | override func remove<Sink: SinkType>(_ sink: Sink) -> Sink where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
181 | return contents.remove(sink)
182 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:57: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:18: error: property does not override any property from its superclass
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: property does not override any property from its superclass
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:59: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:42: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:220:43: error: type 'Self.Element' does not conform to protocol 'Hashable'
218 | }
219 |
220 | public static func emptyConstant() -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
221 | return constant([])
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: missing argument label 'where:' in call
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: missing argument label 'where:' in call
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:45: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:69: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableValue.swift:179:5: warning: 'public' modifier is redundant for static method declared in a public extension
177 | public extension ObservableValueType {
178 | /// Creates a constant observable wrapping the given value. The returned observable is not modifiable and it will not ever send updates.
179 | public static func constant(_ value: Value) -> AnyObservableValue<Value> {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
180 | return ConstantObservable(value).anyObservableValue
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/RefList.swift:83:47: warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
81 | }
82 |
83 | internal subscript(bounds: Range<Int>) -> MutableRangeReplaceableRandomAccessSlice<RefList> {
| |- warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
| `- note: use 'Slice' instead
84 | get {
85 | return .init(base: self, bounds: bounds)
[122/128] Compiling GlueKit ObservableValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:53:14: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 | private var modelConnection: Connection? = nil
52 | private func reconnect() {
| `- note: add '@MainActor' to make instance method 'reconnect()' part of global actor 'MainActor'
53 | view.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:56:23: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
56 | self.view.stringValue = "\(value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:65:35: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | override func controlTextDidEndEditing(_ obj: Notification) {
65 | if let value = Value(view.stringValue) {
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
66 | model.value = value
67 | }
AppKit.NSControl:24:25: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:69:18: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 | else {
69 | view.stringValue = "\(model.value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:30: error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Input.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Input.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: missing argument label 'where:' in call
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: missing argument label 'where:' in call
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:15:22: error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
15 | typealias Base = Set<Element>
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
16 |
17 | var isBuffered: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:19:16: error: type 'Self.Element' does not conform to protocol 'Hashable'
17 | var isBuffered: Bool { get }
18 | var count: Int { get }
19 | var value: Set<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:21:29: error: type 'Self.Element' does not conform to protocol 'Hashable'
19 | var value: Set<Element> { get }
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
22 | func isSuperset(of other: Set<Element>) -> Bool
23 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:22:31: error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
22 | func isSuperset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
23 |
24 | var observableCount: AnyObservableValue<Int> { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:26:27: error: type 'Self.Element' does not conform to protocol 'Hashable'
24 | var observableCount: AnyObservableValue<Int> { get }
25 | var anyObservableValue: AnyObservableValue<Base> { get }
26 | var anyObservableSet: AnyObservableSet<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:12:67: error: type 'Self.Element' does not conform to protocol 'Hashable'
10 | public typealias SetUpdateSource<Element: Hashable> = AnySource<Update<SetChange<Element>>>
11 |
12 | public protocol ObservableSetType: ObservableType where Change == SetChange<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:33:36: error: type 'Self.Element' does not conform to protocol 'Hashable'
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:34:38: error: type 'Self.Element' does not conform to protocol 'Hashable'
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
35 |
36 | public var isEmpty: Bool { return count == 0 }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:38:54: error: type 'Self.Element' does not conform to protocol 'Hashable'
36 | public var isEmpty: Bool { return count == 0 }
37 |
38 | internal var valueUpdates: AnySource<ValueUpdate<Set<Element>>> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
39 | var value = self.value
40 | return self.updates.map { event in
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:68:34: error: type 'Self.Element' does not conform to protocol 'Hashable'
66 | }
67 |
68 | public var anyObservableSet: AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
69 | return AnyObservableSet(box: ObservableSetBox(self))
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:159:60: error: type 'Contents.Element' does not conform to protocol 'Hashable'
157 | }
158 |
159 | final class ObservableSetBox<Contents: ObservableSetType>: _AbstractObservableSet<Contents.Element> {
| `- error: type 'Contents.Element' does not conform to protocol 'Hashable'
160 | typealias Element = Contents.Element
161 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:25: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:18: error: property does not override any property from its superclass
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: property does not override any property from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:171:19: error: method does not override any method from its superclass
118 | open var isBuffered: Bool { return false }
119 | open var count: Int { return value.count }
120 | open func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- note: potential overridden instance method 'contains' here
121 | open func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
122 | open func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
:
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
| `- error: method does not override any method from its superclass
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:38: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:19: error: method does not override any method from its superclass
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:40: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:19: error: method does not override any method from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: method does not override any method from its superclass
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:175:19: error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
176 | contents.add(sink)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:180:19: error: method does not override any method from its superclass
178 |
179 | @discardableResult
180 | override func remove<Sink: SinkType>(_ sink: Sink) -> Sink where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
181 | return contents.remove(sink)
182 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:57: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:18: error: property does not override any property from its superclass
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: property does not override any property from its superclass
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:59: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:42: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:220:43: error: type 'Self.Element' does not conform to protocol 'Hashable'
218 | }
219 |
220 | public static func emptyConstant() -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
221 | return constant([])
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: missing argument label 'where:' in call
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: missing argument label 'where:' in call
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:45: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:69: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableValue.swift:179:5: warning: 'public' modifier is redundant for static method declared in a public extension
177 | public extension ObservableValueType {
178 | /// Creates a constant observable wrapping the given value. The returned observable is not modifiable and it will not ever send updates.
179 | public static func constant(_ value: Value) -> AnyObservableValue<Value> {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
180 | return ConstantObservable(value).anyObservableValue
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/RefList.swift:83:47: warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
81 | }
82 |
83 | internal subscript(bounds: Range<Int>) -> MutableRangeReplaceableRandomAccessSlice<RefList> {
| |- warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
| `- note: use 'Slice' instead
84 | get {
85 | return .init(base: self, bounds: bounds)
[123/128] Compiling GlueKit OwnedSink.swift
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:53:14: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 | private var modelConnection: Connection? = nil
52 | private func reconnect() {
| `- note: add '@MainActor' to make instance method 'reconnect()' part of global actor 'MainActor'
53 | view.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:56:23: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
56 | self.view.stringValue = "\(value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:65:35: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | override func controlTextDidEndEditing(_ obj: Notification) {
65 | if let value = Value(view.stringValue) {
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
66 | model.value = value
67 | }
AppKit.NSControl:24:25: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:69:18: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 | else {
69 | view.stringValue = "\(model.value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:30: error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Input.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Input.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: missing argument label 'where:' in call
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: missing argument label 'where:' in call
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:15:22: error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
15 | typealias Base = Set<Element>
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
16 |
17 | var isBuffered: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:19:16: error: type 'Self.Element' does not conform to protocol 'Hashable'
17 | var isBuffered: Bool { get }
18 | var count: Int { get }
19 | var value: Set<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:21:29: error: type 'Self.Element' does not conform to protocol 'Hashable'
19 | var value: Set<Element> { get }
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
22 | func isSuperset(of other: Set<Element>) -> Bool
23 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:22:31: error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
22 | func isSuperset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
23 |
24 | var observableCount: AnyObservableValue<Int> { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:26:27: error: type 'Self.Element' does not conform to protocol 'Hashable'
24 | var observableCount: AnyObservableValue<Int> { get }
25 | var anyObservableValue: AnyObservableValue<Base> { get }
26 | var anyObservableSet: AnyObservableSet<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:12:67: error: type 'Self.Element' does not conform to protocol 'Hashable'
10 | public typealias SetUpdateSource<Element: Hashable> = AnySource<Update<SetChange<Element>>>
11 |
12 | public protocol ObservableSetType: ObservableType where Change == SetChange<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:33:36: error: type 'Self.Element' does not conform to protocol 'Hashable'
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:34:38: error: type 'Self.Element' does not conform to protocol 'Hashable'
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
35 |
36 | public var isEmpty: Bool { return count == 0 }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:38:54: error: type 'Self.Element' does not conform to protocol 'Hashable'
36 | public var isEmpty: Bool { return count == 0 }
37 |
38 | internal var valueUpdates: AnySource<ValueUpdate<Set<Element>>> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
39 | var value = self.value
40 | return self.updates.map { event in
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:68:34: error: type 'Self.Element' does not conform to protocol 'Hashable'
66 | }
67 |
68 | public var anyObservableSet: AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
69 | return AnyObservableSet(box: ObservableSetBox(self))
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:159:60: error: type 'Contents.Element' does not conform to protocol 'Hashable'
157 | }
158 |
159 | final class ObservableSetBox<Contents: ObservableSetType>: _AbstractObservableSet<Contents.Element> {
| `- error: type 'Contents.Element' does not conform to protocol 'Hashable'
160 | typealias Element = Contents.Element
161 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:25: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:18: error: property does not override any property from its superclass
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: property does not override any property from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:171:19: error: method does not override any method from its superclass
118 | open var isBuffered: Bool { return false }
119 | open var count: Int { return value.count }
120 | open func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- note: potential overridden instance method 'contains' here
121 | open func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
122 | open func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
:
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
| `- error: method does not override any method from its superclass
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:38: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:19: error: method does not override any method from its superclass
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:40: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:19: error: method does not override any method from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: method does not override any method from its superclass
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:175:19: error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
176 | contents.add(sink)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:180:19: error: method does not override any method from its superclass
178 |
179 | @discardableResult
180 | override func remove<Sink: SinkType>(_ sink: Sink) -> Sink where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
181 | return contents.remove(sink)
182 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:57: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:18: error: property does not override any property from its superclass
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: property does not override any property from its superclass
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:59: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:42: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:220:43: error: type 'Self.Element' does not conform to protocol 'Hashable'
218 | }
219 |
220 | public static func emptyConstant() -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
221 | return constant([])
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: missing argument label 'where:' in call
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: missing argument label 'where:' in call
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:45: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:69: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableValue.swift:179:5: warning: 'public' modifier is redundant for static method declared in a public extension
177 | public extension ObservableValueType {
178 | /// Creates a constant observable wrapping the given value. The returned observable is not modifiable and it will not ever send updates.
179 | public static func constant(_ value: Value) -> AnyObservableValue<Value> {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
180 | return ConstantObservable(value).anyObservableValue
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/RefList.swift:83:47: warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
81 | }
82 |
83 | internal subscript(bounds: Range<Int>) -> MutableRangeReplaceableRandomAccessSlice<RefList> {
| |- warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
| `- note: use 'Slice' instead
84 | get {
85 | return .init(base: self, bounds: bounds)
[124/128] Compiling GlueKit RefList.swift
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:53:14: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 | private var modelConnection: Connection? = nil
52 | private func reconnect() {
| `- note: add '@MainActor' to make instance method 'reconnect()' part of global actor 'MainActor'
53 | view.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:56:23: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
56 | self.view.stringValue = "\(value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:65:35: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | override func controlTextDidEndEditing(_ obj: Notification) {
65 | if let value = Value(view.stringValue) {
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
66 | model.value = value
67 | }
AppKit.NSControl:24:25: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:69:18: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 | else {
69 | view.stringValue = "\(model.value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:30: error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Input.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Input.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: missing argument label 'where:' in call
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: missing argument label 'where:' in call
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:15:22: error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
15 | typealias Base = Set<Element>
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
16 |
17 | var isBuffered: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:19:16: error: type 'Self.Element' does not conform to protocol 'Hashable'
17 | var isBuffered: Bool { get }
18 | var count: Int { get }
19 | var value: Set<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:21:29: error: type 'Self.Element' does not conform to protocol 'Hashable'
19 | var value: Set<Element> { get }
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
22 | func isSuperset(of other: Set<Element>) -> Bool
23 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:22:31: error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
22 | func isSuperset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
23 |
24 | var observableCount: AnyObservableValue<Int> { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:26:27: error: type 'Self.Element' does not conform to protocol 'Hashable'
24 | var observableCount: AnyObservableValue<Int> { get }
25 | var anyObservableValue: AnyObservableValue<Base> { get }
26 | var anyObservableSet: AnyObservableSet<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:12:67: error: type 'Self.Element' does not conform to protocol 'Hashable'
10 | public typealias SetUpdateSource<Element: Hashable> = AnySource<Update<SetChange<Element>>>
11 |
12 | public protocol ObservableSetType: ObservableType where Change == SetChange<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:33:36: error: type 'Self.Element' does not conform to protocol 'Hashable'
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:34:38: error: type 'Self.Element' does not conform to protocol 'Hashable'
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
35 |
36 | public var isEmpty: Bool { return count == 0 }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:38:54: error: type 'Self.Element' does not conform to protocol 'Hashable'
36 | public var isEmpty: Bool { return count == 0 }
37 |
38 | internal var valueUpdates: AnySource<ValueUpdate<Set<Element>>> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
39 | var value = self.value
40 | return self.updates.map { event in
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:68:34: error: type 'Self.Element' does not conform to protocol 'Hashable'
66 | }
67 |
68 | public var anyObservableSet: AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
69 | return AnyObservableSet(box: ObservableSetBox(self))
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:159:60: error: type 'Contents.Element' does not conform to protocol 'Hashable'
157 | }
158 |
159 | final class ObservableSetBox<Contents: ObservableSetType>: _AbstractObservableSet<Contents.Element> {
| `- error: type 'Contents.Element' does not conform to protocol 'Hashable'
160 | typealias Element = Contents.Element
161 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:25: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:18: error: property does not override any property from its superclass
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: property does not override any property from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:171:19: error: method does not override any method from its superclass
118 | open var isBuffered: Bool { return false }
119 | open var count: Int { return value.count }
120 | open func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- note: potential overridden instance method 'contains' here
121 | open func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
122 | open func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
:
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
| `- error: method does not override any method from its superclass
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:38: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:19: error: method does not override any method from its superclass
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:40: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:19: error: method does not override any method from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: method does not override any method from its superclass
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:175:19: error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
176 | contents.add(sink)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:180:19: error: method does not override any method from its superclass
178 |
179 | @discardableResult
180 | override func remove<Sink: SinkType>(_ sink: Sink) -> Sink where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
181 | return contents.remove(sink)
182 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:57: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:18: error: property does not override any property from its superclass
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: property does not override any property from its superclass
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:59: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:42: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:220:43: error: type 'Self.Element' does not conform to protocol 'Hashable'
218 | }
219 |
220 | public static func emptyConstant() -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
221 | return constant([])
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: missing argument label 'where:' in call
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: missing argument label 'where:' in call
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:45: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:69: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableValue.swift:179:5: warning: 'public' modifier is redundant for static method declared in a public extension
177 | public extension ObservableValueType {
178 | /// Creates a constant observable wrapping the given value. The returned observable is not modifiable and it will not ever send updates.
179 | public static func constant(_ value: Value) -> AnyObservableValue<Value> {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
180 | return ConstantObservable(value).anyObservableValue
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/RefList.swift:83:47: warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
81 | }
82 |
83 | internal subscript(bounds: Range<Int>) -> MutableRangeReplaceableRandomAccessSlice<RefList> {
| |- warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
| `- note: use 'Slice' instead
84 | get {
85 | return .init(base: self, bounds: bounds)
[125/128] Compiling GlueKit Reference.swift
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:53:14: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 | private var modelConnection: Connection? = nil
52 | private func reconnect() {
| `- note: add '@MainActor' to make instance method 'reconnect()' part of global actor 'MainActor'
53 | view.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:56:23: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
56 | self.view.stringValue = "\(value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:65:35: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | override func controlTextDidEndEditing(_ obj: Notification) {
65 | if let value = Value(view.stringValue) {
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
66 | model.value = value
67 | }
AppKit.NSControl:24:25: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:69:18: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 | else {
69 | view.stringValue = "\(model.value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:30: error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Input.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Input.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: missing argument label 'where:' in call
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: missing argument label 'where:' in call
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:15:22: error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
15 | typealias Base = Set<Element>
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
16 |
17 | var isBuffered: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:19:16: error: type 'Self.Element' does not conform to protocol 'Hashable'
17 | var isBuffered: Bool { get }
18 | var count: Int { get }
19 | var value: Set<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:21:29: error: type 'Self.Element' does not conform to protocol 'Hashable'
19 | var value: Set<Element> { get }
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
22 | func isSuperset(of other: Set<Element>) -> Bool
23 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:22:31: error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
22 | func isSuperset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
23 |
24 | var observableCount: AnyObservableValue<Int> { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:26:27: error: type 'Self.Element' does not conform to protocol 'Hashable'
24 | var observableCount: AnyObservableValue<Int> { get }
25 | var anyObservableValue: AnyObservableValue<Base> { get }
26 | var anyObservableSet: AnyObservableSet<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:12:67: error: type 'Self.Element' does not conform to protocol 'Hashable'
10 | public typealias SetUpdateSource<Element: Hashable> = AnySource<Update<SetChange<Element>>>
11 |
12 | public protocol ObservableSetType: ObservableType where Change == SetChange<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:33:36: error: type 'Self.Element' does not conform to protocol 'Hashable'
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:34:38: error: type 'Self.Element' does not conform to protocol 'Hashable'
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
35 |
36 | public var isEmpty: Bool { return count == 0 }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:38:54: error: type 'Self.Element' does not conform to protocol 'Hashable'
36 | public var isEmpty: Bool { return count == 0 }
37 |
38 | internal var valueUpdates: AnySource<ValueUpdate<Set<Element>>> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
39 | var value = self.value
40 | return self.updates.map { event in
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:68:34: error: type 'Self.Element' does not conform to protocol 'Hashable'
66 | }
67 |
68 | public var anyObservableSet: AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
69 | return AnyObservableSet(box: ObservableSetBox(self))
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:159:60: error: type 'Contents.Element' does not conform to protocol 'Hashable'
157 | }
158 |
159 | final class ObservableSetBox<Contents: ObservableSetType>: _AbstractObservableSet<Contents.Element> {
| `- error: type 'Contents.Element' does not conform to protocol 'Hashable'
160 | typealias Element = Contents.Element
161 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:25: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:18: error: property does not override any property from its superclass
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: property does not override any property from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:171:19: error: method does not override any method from its superclass
118 | open var isBuffered: Bool { return false }
119 | open var count: Int { return value.count }
120 | open func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- note: potential overridden instance method 'contains' here
121 | open func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
122 | open func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
:
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
| `- error: method does not override any method from its superclass
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:38: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:19: error: method does not override any method from its superclass
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:40: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:19: error: method does not override any method from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: method does not override any method from its superclass
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:175:19: error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
176 | contents.add(sink)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:180:19: error: method does not override any method from its superclass
178 |
179 | @discardableResult
180 | override func remove<Sink: SinkType>(_ sink: Sink) -> Sink where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
181 | return contents.remove(sink)
182 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:57: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:18: error: property does not override any property from its superclass
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: property does not override any property from its superclass
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:59: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:42: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:220:43: error: type 'Self.Element' does not conform to protocol 'Hashable'
218 | }
219 |
220 | public static func emptyConstant() -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
221 | return constant([])
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: missing argument label 'where:' in call
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: missing argument label 'where:' in call
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:45: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:69: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableValue.swift:179:5: warning: 'public' modifier is redundant for static method declared in a public extension
177 | public extension ObservableValueType {
178 | /// Creates a constant observable wrapping the given value. The returned observable is not modifiable and it will not ever send updates.
179 | public static func constant(_ value: Value) -> AnyObservableValue<Value> {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
180 | return ConstantObservable(value).anyObservableValue
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/RefList.swift:83:47: warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
81 | }
82 |
83 | internal subscript(bounds: Range<Int>) -> MutableRangeReplaceableRandomAccessSlice<RefList> {
| |- warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
| `- note: use 'Slice' instead
84 | get {
85 | return .init(base: self, bounds: bounds)
[126/128] Compiling GlueKit SetChange.swift
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:53:14: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 | private var modelConnection: Connection? = nil
52 | private func reconnect() {
| `- note: add '@MainActor' to make instance method 'reconnect()' part of global actor 'MainActor'
53 | view.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:56:23: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 | modelConnection?.disconnect()
55 | modelConnection = model.values.subscribe { [unowned self] value in
56 | self.view.stringValue = "\(value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:65:35: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | override func controlTextDidEndEditing(_ obj: Notification) {
65 | if let value = Value(view.stringValue) {
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
66 | model.value = value
67 | }
AppKit.NSControl:24:25: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/NSTextField Glue.swift:69:18: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 | else {
69 | view.stringValue = "\(model.value)"
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | }
71 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:30: error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: generic struct 'SetChange' requires that 'Input.Element' conform to 'Hashable'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Input.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Input.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: missing argument label 'where:' in call
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: missing argument label 'where:' in call
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableContains.swift:25:47: error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
23 | self._updates = input.updates.flatMap { update in
24 | update.flatMap {
25 | let old = $0.removed.contains(member)
| `- error: cannot convert value of type 'Input.Element' to expected argument type '(Input.Element) throws -> Bool'
26 | let new = $0.inserted.contains(member)
27 | if old == new {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:15:22: error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
15 | typealias Base = Set<Element>
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
16 |
17 | var isBuffered: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:19:16: error: type 'Self.Element' does not conform to protocol 'Hashable'
17 | var isBuffered: Bool { get }
18 | var count: Int { get }
19 | var value: Set<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:21:29: error: type 'Self.Element' does not conform to protocol 'Hashable'
19 | var value: Set<Element> { get }
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
22 | func isSuperset(of other: Set<Element>) -> Bool
23 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:22:31: error: type 'Self.Element' does not conform to protocol 'Hashable'
20 | func contains(_ member: Element) -> Bool
21 | func isSubset(of other: Set<Element>) -> Bool
22 | func isSuperset(of other: Set<Element>) -> Bool
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
23 |
24 | var observableCount: AnyObservableValue<Int> { get }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:26:27: error: type 'Self.Element' does not conform to protocol 'Hashable'
24 | var observableCount: AnyObservableValue<Int> { get }
25 | var anyObservableValue: AnyObservableValue<Base> { get }
26 | var anyObservableSet: AnyObservableSet<Element> { get }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:12:67: error: type 'Self.Element' does not conform to protocol 'Hashable'
10 | public typealias SetUpdateSource<Element: Hashable> = AnySource<Update<SetChange<Element>>>
11 |
12 | public protocol ObservableSetType: ObservableType where Change == SetChange<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
13 | associatedtype Element
14 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:33:36: error: type 'Self.Element' does not conform to protocol 'Hashable'
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:34:38: error: type 'Self.Element' does not conform to protocol 'Hashable'
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
35 |
36 | public var isEmpty: Bool { return count == 0 }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:38:54: error: type 'Self.Element' does not conform to protocol 'Hashable'
36 | public var isEmpty: Bool { return count == 0 }
37 |
38 | internal var valueUpdates: AnySource<ValueUpdate<Set<Element>>> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
39 | var value = self.value
40 | return self.updates.map { event in
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:68:34: error: type 'Self.Element' does not conform to protocol 'Hashable'
66 | }
67 |
68 | public var anyObservableSet: AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
69 | return AnyObservableSet(box: ObservableSetBox(self))
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:159:60: error: type 'Contents.Element' does not conform to protocol 'Hashable'
157 | }
158 |
159 | final class ObservableSetBox<Contents: ObservableSetType>: _AbstractObservableSet<Contents.Element> {
| `- error: type 'Contents.Element' does not conform to protocol 'Hashable'
160 | typealias Element = Contents.Element
161 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:25: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:170:18: error: property does not override any property from its superclass
168 | override var isBuffered: Bool { return contents.isBuffered }
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
| `- error: property does not override any property from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:171:19: error: method does not override any method from its superclass
118 | open var isBuffered: Bool { return false }
119 | open var count: Int { return value.count }
120 | open func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- note: potential overridden instance method 'contains' here
121 | open func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
122 | open func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
:
169 | override var count: Int { return contents.count }
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
| `- error: method does not override any method from its superclass
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:38: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:172:19: error: method does not override any method from its superclass
170 | override var value: Set<Element> { return contents.value }
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
| `- error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:40: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:173:19: error: method does not override any method from its superclass
171 | override func contains(_ member: Element) -> Bool { return contents.contains(member) }
172 | override func isSubset(of other: Set<Element>) -> Bool { return contents.isSubset(of: other) }
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
| `- error: method does not override any method from its superclass
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:175:19: error: method does not override any method from its superclass
173 | override func isSuperset(of other: Set<Element>) -> Bool { return contents.isSuperset(of: other) }
174 |
175 | override func add<Sink: SinkType>(_ sink: Sink) where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
176 | contents.add(sink)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:180:19: error: method does not override any method from its superclass
178 |
179 | @discardableResult
180 | override func remove<Sink: SinkType>(_ sink: Sink) -> Sink where Sink.Value == Update<SetChange<Element>> {
| `- error: method does not override any method from its superclass
181 | return contents.remove(sink)
182 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:57: error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: type 'ObservableSetBox<Contents>.Element' (aka 'Contents.Element') does not conform to protocol 'Hashable'
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:185:18: error: property does not override any property from its superclass
183 |
184 | override var observableCount: AnyObservableValue<Int> { return contents.observableCount }
185 | override var anyObservableValue: AnyObservableValue<Set<Element>> { return contents.anyObservableValue }
| `- error: property does not override any property from its superclass
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:59: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:216:42: error: type 'Self.Element' does not conform to protocol 'Hashable'
214 |
215 | extension ObservableSetType {
216 | public static func constant(_ value: Set<Element>) -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
217 | return ObservableConstantSet(value).anyObservableSet
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:220:43: error: type 'Self.Element' does not conform to protocol 'Hashable'
218 | }
219 |
220 | public static func emptyConstant() -> AnyObservableSet<Element> {
| `- error: type 'Self.Element' does not conform to protocol 'Hashable'
221 | return constant([])
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: missing argument label 'where:' in call
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: missing argument label 'where:' in call
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:32:77: error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
30 | public var isBuffered: Bool { return false }
31 | public var count: Int { return value.count }
32 | public func contains(_ member: Element) -> Bool { return value.contains(member) }
| `- error: cannot convert value of type 'Self.Element' to expected argument type '(Self.Element) throws -> Bool'
33 | public func isSubset(of other: Set<Element>) -> Bool { return value.isSubset(of: other) }
34 | public func isSuperset(of other: Set<Element>) -> Bool { return value.isSuperset(of: other) }
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:45: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableSet.swift:54:69: error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
52 | update.map { change in
53 | let old = count
54 | count += numericCast(change.inserted.count - change.removed.count)
| `- error: generic struct 'SetChange' requires that 'Self.Element' conform to 'Hashable'
55 | return .init(from: old, to: count)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SetChange.swift:9:15: note: where 'Element' = 'Self.Element'
7 | //
8 |
9 | public struct SetChange<Element: Hashable>: ChangeType {
| `- note: where 'Element' = 'Self.Element'
10 | public typealias Value = Set<Element>
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ObservableValue.swift:179:5: warning: 'public' modifier is redundant for static method declared in a public extension
177 | public extension ObservableValueType {
178 | /// Creates a constant observable wrapping the given value. The returned observable is not modifiable and it will not ever send updates.
179 | public static func constant(_ value: Value) -> AnyObservableValue<Value> {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
180 | return ConstantObservable(value).anyObservableValue
181 | }
/Users/admin/builder/spi-builder-workspace/Sources/RefList.swift:83:47: warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
81 | }
82 |
83 | internal subscript(bounds: Range<Int>) -> MutableRangeReplaceableRandomAccessSlice<RefList> {
| |- warning: 'MutableRangeReplaceableRandomAccessSlice' is deprecated: renamed to 'Slice'
| `- note: use 'Slice' instead
84 | get {
85 | return .init(base: self, bounds: bounds)
BUILD FAILURE 6.0 macosSpm