Build Information
Successful build of Youi, reference master (d1efe3
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 15:12:20 UTC.
Swift 6 data race errors: 5
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
Build Log
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/StringParameter.swift:11:14: note: class 'StringParameter' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class StringParameter: GenericParameter<String> {
| `- note: class 'StringParameter' does not conform to the 'Sendable' protocol
12 | override public var type: ParameterType { .string }
13 | override public var string: String { "string" }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/DetailsViewController.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
8 |
9 | import Combine
10 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
11 |
12 | #if os(macOS)
[120/148] Compiling Youi DropDownViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/DropDownViewController.swift:16:36: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class DropDownViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: StringParameter?
18 | var cancellable: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
[121/148] Compiling Youi HandleButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/DropDownViewController.swift:16:36: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class DropDownViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: StringParameter?
18 | var cancellable: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
[122/148] Compiling Youi InputViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/DropDownViewController.swift:16:36: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class DropDownViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: StringParameter?
18 | var cancellable: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
[123/148] Compiling Youi WidgetViewController.swift
[124/148] Compiling Youi Youi.swift
[125/148] Compiling Youi resource_bundle_accessor.swift
[126/148] Emitting module Youi
/Users/admin/builder/spi-builder-workspace/Sources/Youi/BindingInputViewController.swift:16:61: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class BindingInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: Parameter?
18 | var cancellable: AnyCancellable?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ButtonViewController.swift:15:34: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class ButtonViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: BoolParameter?
17 | var subscriber: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:17:40: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
15 | import Cocoa
16 |
17 | open class ColorPaletteViewController: NSViewController, NSWindowDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | public var parameters: [Parameter] = []
19 | var parametersMap: [Int: NSButton] = [:]
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:17:58: warning: cannot use protocol 'NSWindowDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
15 | import Cocoa
16 |
17 | open class ColorPaletteViewController: NSViewController, NSWindowDelegate {
| `- warning: cannot use protocol 'NSWindowDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | public var parameters: [Parameter] = []
19 | var parametersMap: [Int: NSButton] = [:]
AppKit.NSWindowDelegate:1:17: note: type declared here
1 | public protocol NSWindowDelegate : NSObjectProtocol {
| `- note: type declared here
2 | @MainActor optional func windowShouldClose(_ sender: NSWindow) -> Bool
3 | @MainActor optional func windowWillReturnFieldEditor(_ sender: NSWindow, to client: Any?) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPickerViewController.swift:18:39: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | import Cocoa
17 |
18 | open class ColorPickerViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
19 | public weak var parameter: Parameter?
20 | var cancellable: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ControlViewController.swift:278:15: warning: main actor-isolated instance method 'onButtonPressed' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
14 | import AppKit
15 |
16 | open class ControlViewController: InputViewController, OptionsViewControllerDelegate {
| `- note: add '@preconcurrency' to the 'OptionsViewControllerDelegate' conformance to defer isolation checking to run time
17 | public weak var parameters: ParameterGroup?
18 | public var controls: [NSViewController] = []
:
276 | }
277 |
278 | open func onButtonPressed(_ sender: NSButton) {}
| |- warning: main actor-isolated instance method 'onButtonPressed' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onButtonPressed' to make this instance method not isolated to the actor
279 |
280 | deinit {
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:16:10: note: mark the protocol requirement 'onButtonPressed' 'async' to allow actor-isolated conformances
14 |
15 | public protocol OptionsViewControllerDelegate: AnyObject {
16 | func onButtonPressed(_ sender: NSButton)
| `- note: mark the protocol requirement 'onButtonPressed' 'async' to allow actor-isolated conformances
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Youi/DetailsViewController.swift:16:35: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class DetailsViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public var details: [StringParameter] = []
18 | var cancellables = Set<AnyCancellable>()
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/DetailsViewController.swift:16:53: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class DetailsViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public var details: [StringParameter] = []
18 | var cancellables = Set<AnyCancellable>()
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/DropDownViewController.swift:16:36: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class DropDownViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: StringParameter?
18 | var cancellable: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:185:15: warning: main actor-isolated instance method 'onPanelOpen(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
21 | }
22 |
23 | open class InspectorViewController: NSViewController, PanelViewControllerDelegate, NSWindowDelegate {
| `- note: add '@preconcurrency' to the 'PanelViewControllerDelegate' conformance to defer isolation checking to run time
24 | public var panels: [PanelViewController] = []
25 | public var controls: [ControlViewController] = []
:
183 | }
184 |
185 | open func onPanelOpen(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelOpen(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelOpen(panel:)' to make this instance method not isolated to the actor
186 | resize()
187 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:16:10: note: mark the protocol requirement 'onPanelOpen(panel:)' 'async' to allow actor-isolated conformances
14 |
15 | public protocol PanelViewControllerDelegate: AnyObject {
16 | func onPanelOpen(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelOpen(panel:)' 'async' to allow actor-isolated conformances
17 | func onPanelClose(panel: PanelViewController)
18 | func onPanelResized(panel: PanelViewController)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:189:15: warning: main actor-isolated instance method 'onPanelClose(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
187 | }
188 |
189 | open func onPanelClose(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelClose(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelClose(panel:)' to make this instance method not isolated to the actor
190 | resize()
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:17:10: note: mark the protocol requirement 'onPanelClose(panel:)' 'async' to allow actor-isolated conformances
15 | public protocol PanelViewControllerDelegate: AnyObject {
16 | func onPanelOpen(panel: PanelViewController)
17 | func onPanelClose(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelClose(panel:)' 'async' to allow actor-isolated conformances
18 | func onPanelResized(panel: PanelViewController)
19 | func onPanelRemove(panel: PanelViewController)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:197:15: warning: main actor-isolated instance method 'onPanelResized(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
195 | }
196 |
197 | open func onPanelResized(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelResized(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelResized(panel:)' to make this instance method not isolated to the actor
198 | resize()
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:18:10: note: mark the protocol requirement 'onPanelResized(panel:)' 'async' to allow actor-isolated conformances
16 | func onPanelOpen(panel: PanelViewController)
17 | func onPanelClose(panel: PanelViewController)
18 | func onPanelResized(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelResized(panel:)' 'async' to allow actor-isolated conformances
19 | func onPanelRemove(panel: PanelViewController)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:193:15: warning: main actor-isolated instance method 'onPanelRemove(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
191 | }
192 |
193 | open func onPanelRemove(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelRemove(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelRemove(panel:)' to make this instance method not isolated to the actor
194 | removePanel(panel)
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:19:10: note: mark the protocol requirement 'onPanelRemove(panel:)' 'async' to allow actor-isolated conformances
17 | func onPanelClose(panel: PanelViewController)
18 | func onPanelResized(panel: PanelViewController)
19 | func onPanelRemove(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelRemove(panel:)' 'async' to allow actor-isolated conformances
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorWindow.swift:13:29: warning: cannot use class 'NSWindow' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
11 | import Cocoa
12 |
13 | open class InspectorWindow: NSWindow {
| `- warning: cannot use class 'NSWindow' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | public var inspectorViewController: InspectorViewController?
15 |
AppKit.NSWindow:1:23: note: type declared here
1 | @MainActor open class NSWindow : NSResponder, NSAnimatablePropertyContainer, NSMenuItemValidation, NSUserInterfaceValidations, NSUserInterfaceItemIdentification, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
| `- note: type declared here
2 | open class func frameRect(forContentRect cRect: NSRect, styleMask style: NSWindow.StyleMask) -> NSRect
3 | @available(swift, obsoleted: 3, renamed: "frameRect(forContentRect:styleMask:)")
/Users/admin/builder/spi-builder-workspace/Sources/Youi/LabelViewController.swift:16:33: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class LabelViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: StringParameter?
18 | var cancellable: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/LabelViewController.swift:16:51: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class LabelViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: StringParameter?
18 | var cancellable: AnyCancellable?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiDropdownViewController.swift:15:41: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class MultiDropdownViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public var parameters: [StringParameter] = []
17 | var cancellables = Set<AnyCancellable>()
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:216:36: warning: cannot use class 'NSControl' here; 'AppKit' was not imported by this file
214 | }
215 |
216 | public func control(_ control: NSControl, textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool {
| `- warning: cannot use class 'NSControl' here; 'AppKit' was not imported by this file
217 | switch commandSelector {
218 | case #selector(NSResponder.insertTab(_:)):
AppKit.NSControl:1:12: note: type declared here
1 | open class NSControl : NSView {
| `- note: type declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:216:57: warning: cannot use class 'NSTextView' here; 'AppKit' was not imported by this file
214 | }
215 |
216 | public func control(_ control: NSControl, textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool {
| `- warning: cannot use class 'NSTextView' here; 'AppKit' was not imported by this file
217 | switch commandSelector {
218 | case #selector(NSResponder.insertTab(_:)):
AppKit.NSTextView:1:12: note: type declared here
1 | open class NSTextView : NSText, NSColorChanging, NSMenuItemValidation, NSUserInterfaceValidations, NSTextInputClient, NSTextLayoutOrientationProvider, NSDraggingSource, NSStandardKeyBindingResponding, NSTextInput, NSAccessibilityNavigableStaticText, NSTextContent {
| `- note: type declared here
2 | public init(frame frameRect: NSRect, textContainer container: NSTextContainer?)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:15:65: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class MultiNumberInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: Parameter?
17 |
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiSliderViewController.swift:15:60: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class MultiSliderViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: Parameter?
17 |
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:16:39: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class MultiToggleViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public var parameters: [BoolParameter] = []
18 | var subscriptions = Set<AnyCancellable>()
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/NumberInputViewController.swift:16:60: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class NumberInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: Parameter?
18 | var cancellables = Set<AnyCancellable>()
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:16:36: warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
14 |
15 | public protocol OptionsViewControllerDelegate: AnyObject {
16 | func onButtonPressed(_ sender: NSButton)
| `- warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
17 | }
18 |
AppKit.NSButton:1:12: note: type declared here
1 | open class NSButton : NSControl, NSUserInterfaceValidations, NSAccessibilityButton, NSUserInterfaceCompression {
| `- note: type declared here
2 | @available(macOS 10.12, *)
3 | public convenience init(title: String, image: NSImage, target: Any?, action: Selector?)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:19:35: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | }
18 |
19 | open class OptionsViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
20 | public var options: [String] = []
21 | public weak var delegate: OptionsViewControllerDelegate?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:19:53: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | }
18 |
19 | open class OptionsViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
20 | public var options: [String] = []
21 | public weak var delegate: OptionsViewControllerDelegate?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:29:24: warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
27 | }
28 |
29 | public var vStack: NSStackView?
| `- warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
30 | public var hStack: NSStackView?
31 | public var button: NSButton?
AppKit.NSStackView:2:23: note: type declared here
1 | @available(macOS 10.9, *)
2 | @MainActor open class NSStackView : NSView {
| `- note: type declared here
3 | public convenience init(views: [NSView])
4 | @available(*, unavailable, renamed: "init(views:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:30:24: warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
28 |
29 | public var vStack: NSStackView?
30 | public var hStack: NSStackView?
| `- warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
31 | public var button: NSButton?
32 | public var label: NSTextField?
AppKit.NSStackView:2:23: note: type declared here
1 | @available(macOS 10.9, *)
2 | @MainActor open class NSStackView : NSView {
| `- note: type declared here
3 | public convenience init(views: [NSView])
4 | @available(*, unavailable, renamed: "init(views:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:31:24: warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
29 | public var vStack: NSStackView?
30 | public var hStack: NSStackView?
31 | public var button: NSButton?
| `- warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
32 | public var label: NSTextField?
33 |
AppKit.NSButton:1:12: note: type declared here
1 | open class NSButton : NSControl, NSUserInterfaceValidations, NSAccessibilityButton, NSUserInterfaceCompression {
| `- note: type declared here
2 | @available(macOS 10.12, *)
3 | public convenience init(title: String, image: NSImage, target: Any?, action: Selector?)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:32:23: warning: cannot use class 'NSTextField' here; 'AppKit' was not imported by this file
30 | public var hStack: NSStackView?
31 | public var button: NSButton?
32 | public var label: NSTextField?
| `- warning: cannot use class 'NSTextField' here; 'AppKit' was not imported by this file
33 |
34 | open override var title: String? {
AppKit.NSTextField:1:12: note: type declared here
1 | open class NSTextField : NSControl, NSUserInterfaceValidations, NSAccessibilityNavigableStaticText, NSTextContent {
| `- note: type declared here
2 | @available(macOS 10.10, *)
3 | open var placeholderString: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:24:24: warning: cannot use class 'NSSlider' here; 'AppKit' was not imported by this file
22 | var cancellables = Set<AnyCancellable>()
23 |
24 | public var slider: NSSlider!
| `- warning: cannot use class 'NSSlider' here; 'AppKit' was not imported by this file
25 |
26 | public weak var delegate: ProgressSliderViewControllerDelegate?
AppKit.NSSlider:1:12: note: type declared here
1 | open class NSSlider : NSControl, NSAccessibilitySlider {
| `- note: type declared here
2 | @available(macOS 10.10, *)
3 | open var sliderType: NSSlider.SliderType { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:20:42: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | }
19 |
20 | open class ProgressSliderViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
21 | public weak var parameter: Parameter?
22 | var cancellables = Set<AnyCancellable>()
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/SliderViewController.swift:20:55: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | }
19 |
20 | open class SliderViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
21 | public weak var parameter: Parameter?
22 | var cancellables = Set<AnyCancellable>()
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/Spacer.swift:12:20: warning: cannot use class 'NSView' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
10 | import Cocoa
11 |
12 | open class Spacer: NSView {
| `- warning: cannot use class 'NSView' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | public init() {
14 | super.init(frame: NSRect(x: 0, y: 0, width: 0, height: 0))
AppKit.NSView:1:23: note: type declared here
1 | @MainActor open class NSView : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
| `- note: type declared here
2 | @MainActor public init(frame frameRect: NSRect)
3 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/StringInputViewController.swift:15:60: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class StringInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: StringParameter?
17 | var subscription: AnyCancellable?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ToggleViewController.swift:16:34: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class ToggleViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: BoolParameter?
18 | var subscriber: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
[127/148] Compiling Youi StringInputViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/StringInputViewController.swift:15:60: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class StringInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: StringParameter?
17 | var subscription: AnyCancellable?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ToggleViewController.swift:16:34: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class ToggleViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: BoolParameter?
18 | var subscriber: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/StringInputViewController.swift:104:19: warning: cannot access property 'parameter' with a non-sendable type 'StringParameter?' from nonisolated deinit; this is an error in the Swift 6 language mode
102 |
103 | deinit {
104 | parameter = nil
| `- warning: cannot access property 'parameter' with a non-sendable type 'StringParameter?' from nonisolated deinit; this is an error in the Swift 6 language mode
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/StringParameter.swift:11:14: note: class 'StringParameter' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class StringParameter: GenericParameter<String> {
| `- note: class 'StringParameter' does not conform to the 'Sendable' protocol
12 | override public var type: ParameterType { .string }
13 | override public var string: String { "string" }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/StringInputViewController.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
7 |
8 | import Combine
9 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
10 |
11 | #if os(macOS)
[128/148] Compiling Youi ToggleViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/StringInputViewController.swift:15:60: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class StringInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: StringParameter?
17 | var subscription: AnyCancellable?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ToggleViewController.swift:16:34: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class ToggleViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: BoolParameter?
18 | var subscriber: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/StringInputViewController.swift:104:19: warning: cannot access property 'parameter' with a non-sendable type 'StringParameter?' from nonisolated deinit; this is an error in the Swift 6 language mode
102 |
103 | deinit {
104 | parameter = nil
| `- warning: cannot access property 'parameter' with a non-sendable type 'StringParameter?' from nonisolated deinit; this is an error in the Swift 6 language mode
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/StringParameter.swift:11:14: note: class 'StringParameter' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class StringParameter: GenericParameter<String> {
| `- note: class 'StringParameter' does not conform to the 'Sendable' protocol
12 | override public var type: ParameterType { .string }
13 | override public var string: String { "string" }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/StringInputViewController.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
7 |
8 | import Combine
9 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
10 |
11 | #if os(macOS)
[129/148] Compiling Youi TranslucentView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/StringInputViewController.swift:15:60: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class StringInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: StringParameter?
17 | var subscription: AnyCancellable?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ToggleViewController.swift:16:34: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class ToggleViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: BoolParameter?
18 | var subscriber: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/StringInputViewController.swift:104:19: warning: cannot access property 'parameter' with a non-sendable type 'StringParameter?' from nonisolated deinit; this is an error in the Swift 6 language mode
102 |
103 | deinit {
104 | parameter = nil
| `- warning: cannot access property 'parameter' with a non-sendable type 'StringParameter?' from nonisolated deinit; this is an error in the Swift 6 language mode
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/StringParameter.swift:11:14: note: class 'StringParameter' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class StringParameter: GenericParameter<String> {
| `- note: class 'StringParameter' does not conform to the 'Sendable' protocol
12 | override public var type: ParameterType { .string }
13 | override public var string: String { "string" }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/StringInputViewController.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
7 |
8 | import Combine
9 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
10 |
11 | #if os(macOS)
[130/148] Compiling Youi OptionsViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:16:36: warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
14 |
15 | public protocol OptionsViewControllerDelegate: AnyObject {
16 | func onButtonPressed(_ sender: NSButton)
| `- warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
17 | }
18 |
AppKit.NSButton:1:12: note: type declared here
1 | open class NSButton : NSControl, NSUserInterfaceValidations, NSAccessibilityButton, NSUserInterfaceCompression {
| `- note: type declared here
2 | @available(macOS 10.12, *)
3 | public convenience init(title: String, image: NSImage, target: Any?, action: Selector?)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:19:35: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | }
18 |
19 | open class OptionsViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
20 | public var options: [String] = []
21 | public weak var delegate: OptionsViewControllerDelegate?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:19:53: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | }
18 |
19 | open class OptionsViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
20 | public var options: [String] = []
21 | public weak var delegate: OptionsViewControllerDelegate?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:29:24: warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
27 | }
28 |
29 | public var vStack: NSStackView?
| `- warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
30 | public var hStack: NSStackView?
31 | public var button: NSButton?
AppKit.NSStackView:2:23: note: type declared here
1 | @available(macOS 10.9, *)
2 | @MainActor open class NSStackView : NSView {
| `- note: type declared here
3 | public convenience init(views: [NSView])
4 | @available(*, unavailable, renamed: "init(views:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:30:24: warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
28 |
29 | public var vStack: NSStackView?
30 | public var hStack: NSStackView?
| `- warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
31 | public var button: NSButton?
32 | public var label: NSTextField?
AppKit.NSStackView:2:23: note: type declared here
1 | @available(macOS 10.9, *)
2 | @MainActor open class NSStackView : NSView {
| `- note: type declared here
3 | public convenience init(views: [NSView])
4 | @available(*, unavailable, renamed: "init(views:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:31:24: warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
29 | public var vStack: NSStackView?
30 | public var hStack: NSStackView?
31 | public var button: NSButton?
| `- warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
32 | public var label: NSTextField?
33 |
AppKit.NSButton:1:12: note: type declared here
1 | open class NSButton : NSControl, NSUserInterfaceValidations, NSAccessibilityButton, NSUserInterfaceCompression {
| `- note: type declared here
2 | @available(macOS 10.12, *)
3 | public convenience init(title: String, image: NSImage, target: Any?, action: Selector?)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:32:23: warning: cannot use class 'NSTextField' here; 'AppKit' was not imported by this file
30 | public var hStack: NSStackView?
31 | public var button: NSButton?
32 | public var label: NSTextField?
| `- warning: cannot use class 'NSTextField' here; 'AppKit' was not imported by this file
33 |
34 | open override var title: String? {
AppKit.NSTextField:1:12: note: type declared here
1 | open class NSTextField : NSControl, NSUserInterfaceValidations, NSAccessibilityNavigableStaticText, NSTextContent {
| `- note: type declared here
2 | @available(macOS 10.10, *)
3 | open var placeholderString: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:208:9: warning: main actor-isolated property 'controls' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
206 |
207 | deinit {
208 | controls = []
| `- warning: main actor-isolated property 'controls' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
209 | parameters = nil
210 | stack = nil
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ControlViewController.swift:18:16: note: mutation of this property is only permitted within the actor
16 | open class ControlViewController: InputViewController, OptionsViewControllerDelegate {
17 | public weak var parameters: ParameterGroup?
18 | public var controls: [NSViewController] = []
| `- note: mutation of this property is only permitted within the actor
19 | public var stack: NSStackView?
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:209:9: warning: main actor-isolated property 'parameters' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
207 | deinit {
208 | controls = []
209 | parameters = nil
| `- warning: main actor-isolated property 'parameters' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
210 | stack = nil
211 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ControlViewController.swift:17:21: note: mutation of this property is only permitted within the actor
15 |
16 | open class ControlViewController: InputViewController, OptionsViewControllerDelegate {
17 | public weak var parameters: ParameterGroup?
| `- note: mutation of this property is only permitted within the actor
18 | public var controls: [NSViewController] = []
19 | public var stack: NSStackView?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:210:9: warning: main actor-isolated property 'stack' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
208 | controls = []
209 | parameters = nil
210 | stack = nil
| `- warning: main actor-isolated property 'stack' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
211 | }
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ControlViewController.swift:19:16: note: mutation of this property is only permitted within the actor
17 | public weak var parameters: ParameterGroup?
18 | public var controls: [NSViewController] = []
19 | public var stack: NSStackView?
| `- note: mutation of this property is only permitted within the actor
20 |
21 | // public var viewHeightConstraint: NSLayoutConstraint?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:72:18: warning: cannot access property 'delegate' with a non-sendable type '(any OptionsViewControllerDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
13 | import Cocoa
14 |
15 | public protocol OptionsViewControllerDelegate: AnyObject {
| `- note: protocol 'OptionsViewControllerDelegate' does not conform to the 'Sendable' protocol
16 | func onButtonPressed(_ sender: NSButton)
17 | }
:
70 | deinit {
71 | options = []
72 | delegate = nil
| `- warning: cannot access property 'delegate' with a non-sendable type '(any OptionsViewControllerDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
73 | }
74 | }
[131/148] Compiling Youi PanelHeaderViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:16:36: warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
14 |
15 | public protocol OptionsViewControllerDelegate: AnyObject {
16 | func onButtonPressed(_ sender: NSButton)
| `- warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
17 | }
18 |
AppKit.NSButton:1:12: note: type declared here
1 | open class NSButton : NSControl, NSUserInterfaceValidations, NSAccessibilityButton, NSUserInterfaceCompression {
| `- note: type declared here
2 | @available(macOS 10.12, *)
3 | public convenience init(title: String, image: NSImage, target: Any?, action: Selector?)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:19:35: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | }
18 |
19 | open class OptionsViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
20 | public var options: [String] = []
21 | public weak var delegate: OptionsViewControllerDelegate?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:19:53: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | }
18 |
19 | open class OptionsViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
20 | public var options: [String] = []
21 | public weak var delegate: OptionsViewControllerDelegate?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:29:24: warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
27 | }
28 |
29 | public var vStack: NSStackView?
| `- warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
30 | public var hStack: NSStackView?
31 | public var button: NSButton?
AppKit.NSStackView:2:23: note: type declared here
1 | @available(macOS 10.9, *)
2 | @MainActor open class NSStackView : NSView {
| `- note: type declared here
3 | public convenience init(views: [NSView])
4 | @available(*, unavailable, renamed: "init(views:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:30:24: warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
28 |
29 | public var vStack: NSStackView?
30 | public var hStack: NSStackView?
| `- warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
31 | public var button: NSButton?
32 | public var label: NSTextField?
AppKit.NSStackView:2:23: note: type declared here
1 | @available(macOS 10.9, *)
2 | @MainActor open class NSStackView : NSView {
| `- note: type declared here
3 | public convenience init(views: [NSView])
4 | @available(*, unavailable, renamed: "init(views:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:31:24: warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
29 | public var vStack: NSStackView?
30 | public var hStack: NSStackView?
31 | public var button: NSButton?
| `- warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
32 | public var label: NSTextField?
33 |
AppKit.NSButton:1:12: note: type declared here
1 | open class NSButton : NSControl, NSUserInterfaceValidations, NSAccessibilityButton, NSUserInterfaceCompression {
| `- note: type declared here
2 | @available(macOS 10.12, *)
3 | public convenience init(title: String, image: NSImage, target: Any?, action: Selector?)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:32:23: warning: cannot use class 'NSTextField' here; 'AppKit' was not imported by this file
30 | public var hStack: NSStackView?
31 | public var button: NSButton?
32 | public var label: NSTextField?
| `- warning: cannot use class 'NSTextField' here; 'AppKit' was not imported by this file
33 |
34 | open override var title: String? {
AppKit.NSTextField:1:12: note: type declared here
1 | open class NSTextField : NSControl, NSUserInterfaceValidations, NSAccessibilityNavigableStaticText, NSTextContent {
| `- note: type declared here
2 | @available(macOS 10.10, *)
3 | open var placeholderString: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:208:9: warning: main actor-isolated property 'controls' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
206 |
207 | deinit {
208 | controls = []
| `- warning: main actor-isolated property 'controls' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
209 | parameters = nil
210 | stack = nil
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ControlViewController.swift:18:16: note: mutation of this property is only permitted within the actor
16 | open class ControlViewController: InputViewController, OptionsViewControllerDelegate {
17 | public weak var parameters: ParameterGroup?
18 | public var controls: [NSViewController] = []
| `- note: mutation of this property is only permitted within the actor
19 | public var stack: NSStackView?
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:209:9: warning: main actor-isolated property 'parameters' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
207 | deinit {
208 | controls = []
209 | parameters = nil
| `- warning: main actor-isolated property 'parameters' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
210 | stack = nil
211 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ControlViewController.swift:17:21: note: mutation of this property is only permitted within the actor
15 |
16 | open class ControlViewController: InputViewController, OptionsViewControllerDelegate {
17 | public weak var parameters: ParameterGroup?
| `- note: mutation of this property is only permitted within the actor
18 | public var controls: [NSViewController] = []
19 | public var stack: NSStackView?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:210:9: warning: main actor-isolated property 'stack' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
208 | controls = []
209 | parameters = nil
210 | stack = nil
| `- warning: main actor-isolated property 'stack' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
211 | }
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ControlViewController.swift:19:16: note: mutation of this property is only permitted within the actor
17 | public weak var parameters: ParameterGroup?
18 | public var controls: [NSViewController] = []
19 | public var stack: NSStackView?
| `- note: mutation of this property is only permitted within the actor
20 |
21 | // public var viewHeightConstraint: NSLayoutConstraint?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:72:18: warning: cannot access property 'delegate' with a non-sendable type '(any OptionsViewControllerDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
13 | import Cocoa
14 |
15 | public protocol OptionsViewControllerDelegate: AnyObject {
| `- note: protocol 'OptionsViewControllerDelegate' does not conform to the 'Sendable' protocol
16 | func onButtonPressed(_ sender: NSButton)
17 | }
:
70 | deinit {
71 | options = []
72 | delegate = nil
| `- warning: cannot access property 'delegate' with a non-sendable type '(any OptionsViewControllerDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
73 | }
74 | }
[132/148] Compiling Youi PanelViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:16:36: warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
14 |
15 | public protocol OptionsViewControllerDelegate: AnyObject {
16 | func onButtonPressed(_ sender: NSButton)
| `- warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
17 | }
18 |
AppKit.NSButton:1:12: note: type declared here
1 | open class NSButton : NSControl, NSUserInterfaceValidations, NSAccessibilityButton, NSUserInterfaceCompression {
| `- note: type declared here
2 | @available(macOS 10.12, *)
3 | public convenience init(title: String, image: NSImage, target: Any?, action: Selector?)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:19:35: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | }
18 |
19 | open class OptionsViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
20 | public var options: [String] = []
21 | public weak var delegate: OptionsViewControllerDelegate?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:19:53: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | }
18 |
19 | open class OptionsViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
20 | public var options: [String] = []
21 | public weak var delegate: OptionsViewControllerDelegate?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:29:24: warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
27 | }
28 |
29 | public var vStack: NSStackView?
| `- warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
30 | public var hStack: NSStackView?
31 | public var button: NSButton?
AppKit.NSStackView:2:23: note: type declared here
1 | @available(macOS 10.9, *)
2 | @MainActor open class NSStackView : NSView {
| `- note: type declared here
3 | public convenience init(views: [NSView])
4 | @available(*, unavailable, renamed: "init(views:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:30:24: warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
28 |
29 | public var vStack: NSStackView?
30 | public var hStack: NSStackView?
| `- warning: cannot use class 'NSStackView' here; 'AppKit' was not imported by this file
31 | public var button: NSButton?
32 | public var label: NSTextField?
AppKit.NSStackView:2:23: note: type declared here
1 | @available(macOS 10.9, *)
2 | @MainActor open class NSStackView : NSView {
| `- note: type declared here
3 | public convenience init(views: [NSView])
4 | @available(*, unavailable, renamed: "init(views:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:31:24: warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
29 | public var vStack: NSStackView?
30 | public var hStack: NSStackView?
31 | public var button: NSButton?
| `- warning: cannot use class 'NSButton' here; 'AppKit' was not imported by this file
32 | public var label: NSTextField?
33 |
AppKit.NSButton:1:12: note: type declared here
1 | open class NSButton : NSControl, NSUserInterfaceValidations, NSAccessibilityButton, NSUserInterfaceCompression {
| `- note: type declared here
2 | @available(macOS 10.12, *)
3 | public convenience init(title: String, image: NSImage, target: Any?, action: Selector?)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:32:23: warning: cannot use class 'NSTextField' here; 'AppKit' was not imported by this file
30 | public var hStack: NSStackView?
31 | public var button: NSButton?
32 | public var label: NSTextField?
| `- warning: cannot use class 'NSTextField' here; 'AppKit' was not imported by this file
33 |
34 | open override var title: String? {
AppKit.NSTextField:1:12: note: type declared here
1 | open class NSTextField : NSControl, NSUserInterfaceValidations, NSAccessibilityNavigableStaticText, NSTextContent {
| `- note: type declared here
2 | @available(macOS 10.10, *)
3 | open var placeholderString: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:208:9: warning: main actor-isolated property 'controls' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
206 |
207 | deinit {
208 | controls = []
| `- warning: main actor-isolated property 'controls' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
209 | parameters = nil
210 | stack = nil
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ControlViewController.swift:18:16: note: mutation of this property is only permitted within the actor
16 | open class ControlViewController: InputViewController, OptionsViewControllerDelegate {
17 | public weak var parameters: ParameterGroup?
18 | public var controls: [NSViewController] = []
| `- note: mutation of this property is only permitted within the actor
19 | public var stack: NSStackView?
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:209:9: warning: main actor-isolated property 'parameters' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
207 | deinit {
208 | controls = []
209 | parameters = nil
| `- warning: main actor-isolated property 'parameters' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
210 | stack = nil
211 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ControlViewController.swift:17:21: note: mutation of this property is only permitted within the actor
15 |
16 | open class ControlViewController: InputViewController, OptionsViewControllerDelegate {
17 | public weak var parameters: ParameterGroup?
| `- note: mutation of this property is only permitted within the actor
18 | public var controls: [NSViewController] = []
19 | public var stack: NSStackView?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:210:9: warning: main actor-isolated property 'stack' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
208 | controls = []
209 | parameters = nil
210 | stack = nil
| `- warning: main actor-isolated property 'stack' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
211 | }
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ControlViewController.swift:19:16: note: mutation of this property is only permitted within the actor
17 | public weak var parameters: ParameterGroup?
18 | public var controls: [NSViewController] = []
19 | public var stack: NSStackView?
| `- note: mutation of this property is only permitted within the actor
20 |
21 | // public var viewHeightConstraint: NSLayoutConstraint?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/OptionsViewController.swift:72:18: warning: cannot access property 'delegate' with a non-sendable type '(any OptionsViewControllerDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
13 | import Cocoa
14 |
15 | public protocol OptionsViewControllerDelegate: AnyObject {
| `- note: protocol 'OptionsViewControllerDelegate' does not conform to the 'Sendable' protocol
16 | func onButtonPressed(_ sender: NSButton)
17 | }
:
70 | deinit {
71 | options = []
72 | delegate = nil
| `- warning: cannot access property 'delegate' with a non-sendable type '(any OptionsViewControllerDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
73 | }
74 | }
[133/148] Compiling Youi BindingInputViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/BindingInputViewController.swift:16:61: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class BindingInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: Parameter?
18 | var cancellable: AnyCancellable?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ButtonViewController.swift:15:34: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class ButtonViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: BoolParameter?
17 | var subscriber: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:17:40: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
15 | import Cocoa
16 |
17 | open class ColorPaletteViewController: NSViewController, NSWindowDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | public var parameters: [Parameter] = []
19 | var parametersMap: [Int: NSButton] = [:]
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:17:58: warning: cannot use protocol 'NSWindowDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
15 | import Cocoa
16 |
17 | open class ColorPaletteViewController: NSViewController, NSWindowDelegate {
| `- warning: cannot use protocol 'NSWindowDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | public var parameters: [Parameter] = []
19 | var parametersMap: [Int: NSButton] = [:]
AppKit.NSWindowDelegate:1:17: note: type declared here
1 | public protocol NSWindowDelegate : NSObjectProtocol {
| `- note: type declared here
2 | @MainActor optional func windowShouldClose(_ sender: NSWindow) -> Bool
3 | @MainActor optional func windowWillReturnFieldEditor(_ sender: NSWindow, to client: Any?) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPickerViewController.swift:18:39: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | import Cocoa
17 |
18 | open class ColorPickerViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
19 | public weak var parameter: Parameter?
20 | var cancellable: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ButtonViewController.swift:95:19: warning: cannot access property 'subscriber' with a non-sendable type 'AnyCancellable?' from nonisolated deinit; this is an error in the Swift 6 language mode
93 |
94 | deinit {
95 | subscriber?.cancel()
| `- warning: cannot access property 'subscriber' with a non-sendable type 'AnyCancellable?' from nonisolated deinit; this is an error in the Swift 6 language mode
96 | }
97 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ButtonViewController.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
6 | //
7 |
8 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
9 | import Satin
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:150:20: warning: cannot access property 'parameters' with a non-sendable type '[any Parameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
148 |
149 | deinit {
150 | parameters = []
| `- warning: cannot access property 'parameters' with a non-sendable type '[any Parameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
151 | parametersMap = [:]
152 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/Parameter.swift:16:17: note: protocol 'Parameter' does not conform to the 'Sendable' protocol
14 | }
15 |
16 | public protocol Parameter: Codable, AnyObject {
| `- note: protocol 'Parameter' does not conform to the 'Sendable' protocol
17 | var type: ParameterType { get }
18 | var string: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
9 | import simd
10 |
11 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
12 |
13 | #if os(macOS)
[134/148] Compiling Youi ButtonViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/BindingInputViewController.swift:16:61: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class BindingInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: Parameter?
18 | var cancellable: AnyCancellable?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ButtonViewController.swift:15:34: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class ButtonViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: BoolParameter?
17 | var subscriber: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:17:40: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
15 | import Cocoa
16 |
17 | open class ColorPaletteViewController: NSViewController, NSWindowDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | public var parameters: [Parameter] = []
19 | var parametersMap: [Int: NSButton] = [:]
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:17:58: warning: cannot use protocol 'NSWindowDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
15 | import Cocoa
16 |
17 | open class ColorPaletteViewController: NSViewController, NSWindowDelegate {
| `- warning: cannot use protocol 'NSWindowDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | public var parameters: [Parameter] = []
19 | var parametersMap: [Int: NSButton] = [:]
AppKit.NSWindowDelegate:1:17: note: type declared here
1 | public protocol NSWindowDelegate : NSObjectProtocol {
| `- note: type declared here
2 | @MainActor optional func windowShouldClose(_ sender: NSWindow) -> Bool
3 | @MainActor optional func windowWillReturnFieldEditor(_ sender: NSWindow, to client: Any?) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPickerViewController.swift:18:39: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | import Cocoa
17 |
18 | open class ColorPickerViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
19 | public weak var parameter: Parameter?
20 | var cancellable: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ButtonViewController.swift:95:19: warning: cannot access property 'subscriber' with a non-sendable type 'AnyCancellable?' from nonisolated deinit; this is an error in the Swift 6 language mode
93 |
94 | deinit {
95 | subscriber?.cancel()
| `- warning: cannot access property 'subscriber' with a non-sendable type 'AnyCancellable?' from nonisolated deinit; this is an error in the Swift 6 language mode
96 | }
97 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ButtonViewController.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
6 | //
7 |
8 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
9 | import Satin
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:150:20: warning: cannot access property 'parameters' with a non-sendable type '[any Parameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
148 |
149 | deinit {
150 | parameters = []
| `- warning: cannot access property 'parameters' with a non-sendable type '[any Parameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
151 | parametersMap = [:]
152 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/Parameter.swift:16:17: note: protocol 'Parameter' does not conform to the 'Sendable' protocol
14 | }
15 |
16 | public protocol Parameter: Codable, AnyObject {
| `- note: protocol 'Parameter' does not conform to the 'Sendable' protocol
17 | var type: ParameterType { get }
18 | var string: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
9 | import simd
10 |
11 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
12 |
13 | #if os(macOS)
[135/148] Compiling Youi ColorPaletteViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/BindingInputViewController.swift:16:61: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class BindingInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: Parameter?
18 | var cancellable: AnyCancellable?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ButtonViewController.swift:15:34: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class ButtonViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: BoolParameter?
17 | var subscriber: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:17:40: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
15 | import Cocoa
16 |
17 | open class ColorPaletteViewController: NSViewController, NSWindowDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | public var parameters: [Parameter] = []
19 | var parametersMap: [Int: NSButton] = [:]
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:17:58: warning: cannot use protocol 'NSWindowDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
15 | import Cocoa
16 |
17 | open class ColorPaletteViewController: NSViewController, NSWindowDelegate {
| `- warning: cannot use protocol 'NSWindowDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | public var parameters: [Parameter] = []
19 | var parametersMap: [Int: NSButton] = [:]
AppKit.NSWindowDelegate:1:17: note: type declared here
1 | public protocol NSWindowDelegate : NSObjectProtocol {
| `- note: type declared here
2 | @MainActor optional func windowShouldClose(_ sender: NSWindow) -> Bool
3 | @MainActor optional func windowWillReturnFieldEditor(_ sender: NSWindow, to client: Any?) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPickerViewController.swift:18:39: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | import Cocoa
17 |
18 | open class ColorPickerViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
19 | public weak var parameter: Parameter?
20 | var cancellable: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ButtonViewController.swift:95:19: warning: cannot access property 'subscriber' with a non-sendable type 'AnyCancellable?' from nonisolated deinit; this is an error in the Swift 6 language mode
93 |
94 | deinit {
95 | subscriber?.cancel()
| `- warning: cannot access property 'subscriber' with a non-sendable type 'AnyCancellable?' from nonisolated deinit; this is an error in the Swift 6 language mode
96 | }
97 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ButtonViewController.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
6 | //
7 |
8 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
9 | import Satin
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:150:20: warning: cannot access property 'parameters' with a non-sendable type '[any Parameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
148 |
149 | deinit {
150 | parameters = []
| `- warning: cannot access property 'parameters' with a non-sendable type '[any Parameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
151 | parametersMap = [:]
152 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/Parameter.swift:16:17: note: protocol 'Parameter' does not conform to the 'Sendable' protocol
14 | }
15 |
16 | public protocol Parameter: Codable, AnyObject {
| `- note: protocol 'Parameter' does not conform to the 'Sendable' protocol
17 | var type: ParameterType { get }
18 | var string: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
9 | import simd
10 |
11 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
12 |
13 | #if os(macOS)
[136/148] Compiling Youi ColorPickerViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/BindingInputViewController.swift:16:61: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class BindingInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: Parameter?
18 | var cancellable: AnyCancellable?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ButtonViewController.swift:15:34: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class ButtonViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: BoolParameter?
17 | var subscriber: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:17:40: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
15 | import Cocoa
16 |
17 | open class ColorPaletteViewController: NSViewController, NSWindowDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | public var parameters: [Parameter] = []
19 | var parametersMap: [Int: NSButton] = [:]
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:17:58: warning: cannot use protocol 'NSWindowDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
15 | import Cocoa
16 |
17 | open class ColorPaletteViewController: NSViewController, NSWindowDelegate {
| `- warning: cannot use protocol 'NSWindowDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | public var parameters: [Parameter] = []
19 | var parametersMap: [Int: NSButton] = [:]
AppKit.NSWindowDelegate:1:17: note: type declared here
1 | public protocol NSWindowDelegate : NSObjectProtocol {
| `- note: type declared here
2 | @MainActor optional func windowShouldClose(_ sender: NSWindow) -> Bool
3 | @MainActor optional func windowWillReturnFieldEditor(_ sender: NSWindow, to client: Any?) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPickerViewController.swift:18:39: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | import Cocoa
17 |
18 | open class ColorPickerViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
19 | public weak var parameter: Parameter?
20 | var cancellable: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ButtonViewController.swift:95:19: warning: cannot access property 'subscriber' with a non-sendable type 'AnyCancellable?' from nonisolated deinit; this is an error in the Swift 6 language mode
93 |
94 | deinit {
95 | subscriber?.cancel()
| `- warning: cannot access property 'subscriber' with a non-sendable type 'AnyCancellable?' from nonisolated deinit; this is an error in the Swift 6 language mode
96 | }
97 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ButtonViewController.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
6 | //
7 |
8 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
9 | import Satin
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:150:20: warning: cannot access property 'parameters' with a non-sendable type '[any Parameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
148 |
149 | deinit {
150 | parameters = []
| `- warning: cannot access property 'parameters' with a non-sendable type '[any Parameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
151 | parametersMap = [:]
152 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/Parameter.swift:16:17: note: protocol 'Parameter' does not conform to the 'Sendable' protocol
14 | }
15 |
16 | public protocol Parameter: Codable, AnyObject {
| `- note: protocol 'Parameter' does not conform to the 'Sendable' protocol
17 | var type: ParameterType { get }
18 | var string: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ColorPaletteViewController.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
9 | import simd
10 |
11 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
12 |
13 | #if os(macOS)
[137/148] Compiling Youi ProgressSliderViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:24:24: warning: cannot use class 'NSSlider' here; 'AppKit' was not imported by this file
22 | var cancellables = Set<AnyCancellable>()
23 |
24 | public var slider: NSSlider!
| `- warning: cannot use class 'NSSlider' here; 'AppKit' was not imported by this file
25 |
26 | public weak var delegate: ProgressSliderViewControllerDelegate?
AppKit.NSSlider:1:12: note: type declared here
1 | open class NSSlider : NSControl, NSAccessibilitySlider {
| `- note: type declared here
2 | @available(macOS 10.10, *)
3 | open var sliderType: NSSlider.SliderType { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:20:42: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | }
19 |
20 | open class ProgressSliderViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
21 | public weak var parameter: Parameter?
22 | var cancellables = Set<AnyCancellable>()
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/SliderViewController.swift:20:55: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | }
19 |
20 | open class SliderViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
21 | public weak var parameter: Parameter?
22 | var cancellables = Set<AnyCancellable>()
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/Spacer.swift:12:20: warning: cannot use class 'NSView' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
10 | import Cocoa
11 |
12 | open class Spacer: NSView {
| `- warning: cannot use class 'NSView' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | public init() {
14 | super.init(frame: NSRect(x: 0, y: 0, width: 0, height: 0))
AppKit.NSView:1:23: note: type declared here
1 | @MainActor open class NSView : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
| `- note: type declared here
2 | @MainActor public init(frame frameRect: NSRect)
3 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:156:18: warning: cannot access property 'delegate' with a non-sendable type '(any ProgressSliderViewControllerDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
14 | import Cocoa
15 |
16 | public protocol ProgressSliderViewControllerDelegate: AnyObject {
| `- note: protocol 'ProgressSliderViewControllerDelegate' does not conform to the 'Sendable' protocol
17 | func onValueChanged(_ sender: ProgressSliderViewController)
18 | }
:
154 |
155 | deinit {
156 | delegate = nil
| `- warning: cannot access property 'delegate' with a non-sendable type '(any ProgressSliderViewControllerDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
157 | parameter = nil
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:157:19: warning: cannot access property 'parameter' with a non-sendable type '(any Parameter)?' from nonisolated deinit; this is an error in the Swift 6 language mode
155 | deinit {
156 | delegate = nil
157 | parameter = nil
| `- warning: cannot access property 'parameter' with a non-sendable type '(any Parameter)?' from nonisolated deinit; this is an error in the Swift 6 language mode
158 | }
159 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/Parameter.swift:16:17: note: protocol 'Parameter' does not conform to the 'Sendable' protocol
14 | }
15 |
16 | public protocol Parameter: Codable, AnyObject {
| `- note: protocol 'Parameter' does not conform to the 'Sendable' protocol
17 | var type: ParameterType { get }
18 | var string: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
8 |
9 | import Combine
10 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
11 |
12 | #if os(macOS)
[138/148] Compiling Youi SliderViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:24:24: warning: cannot use class 'NSSlider' here; 'AppKit' was not imported by this file
22 | var cancellables = Set<AnyCancellable>()
23 |
24 | public var slider: NSSlider!
| `- warning: cannot use class 'NSSlider' here; 'AppKit' was not imported by this file
25 |
26 | public weak var delegate: ProgressSliderViewControllerDelegate?
AppKit.NSSlider:1:12: note: type declared here
1 | open class NSSlider : NSControl, NSAccessibilitySlider {
| `- note: type declared here
2 | @available(macOS 10.10, *)
3 | open var sliderType: NSSlider.SliderType { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:20:42: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | }
19 |
20 | open class ProgressSliderViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
21 | public weak var parameter: Parameter?
22 | var cancellables = Set<AnyCancellable>()
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/SliderViewController.swift:20:55: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | }
19 |
20 | open class SliderViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
21 | public weak var parameter: Parameter?
22 | var cancellables = Set<AnyCancellable>()
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/Spacer.swift:12:20: warning: cannot use class 'NSView' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
10 | import Cocoa
11 |
12 | open class Spacer: NSView {
| `- warning: cannot use class 'NSView' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | public init() {
14 | super.init(frame: NSRect(x: 0, y: 0, width: 0, height: 0))
AppKit.NSView:1:23: note: type declared here
1 | @MainActor open class NSView : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
| `- note: type declared here
2 | @MainActor public init(frame frameRect: NSRect)
3 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:156:18: warning: cannot access property 'delegate' with a non-sendable type '(any ProgressSliderViewControllerDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
14 | import Cocoa
15 |
16 | public protocol ProgressSliderViewControllerDelegate: AnyObject {
| `- note: protocol 'ProgressSliderViewControllerDelegate' does not conform to the 'Sendable' protocol
17 | func onValueChanged(_ sender: ProgressSliderViewController)
18 | }
:
154 |
155 | deinit {
156 | delegate = nil
| `- warning: cannot access property 'delegate' with a non-sendable type '(any ProgressSliderViewControllerDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
157 | parameter = nil
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:157:19: warning: cannot access property 'parameter' with a non-sendable type '(any Parameter)?' from nonisolated deinit; this is an error in the Swift 6 language mode
155 | deinit {
156 | delegate = nil
157 | parameter = nil
| `- warning: cannot access property 'parameter' with a non-sendable type '(any Parameter)?' from nonisolated deinit; this is an error in the Swift 6 language mode
158 | }
159 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/Parameter.swift:16:17: note: protocol 'Parameter' does not conform to the 'Sendable' protocol
14 | }
15 |
16 | public protocol Parameter: Codable, AnyObject {
| `- note: protocol 'Parameter' does not conform to the 'Sendable' protocol
17 | var type: ParameterType { get }
18 | var string: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
8 |
9 | import Combine
10 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
11 |
12 | #if os(macOS)
[139/148] Compiling Youi Spacer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:24:24: warning: cannot use class 'NSSlider' here; 'AppKit' was not imported by this file
22 | var cancellables = Set<AnyCancellable>()
23 |
24 | public var slider: NSSlider!
| `- warning: cannot use class 'NSSlider' here; 'AppKit' was not imported by this file
25 |
26 | public weak var delegate: ProgressSliderViewControllerDelegate?
AppKit.NSSlider:1:12: note: type declared here
1 | open class NSSlider : NSControl, NSAccessibilitySlider {
| `- note: type declared here
2 | @available(macOS 10.10, *)
3 | open var sliderType: NSSlider.SliderType { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:20:42: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | }
19 |
20 | open class ProgressSliderViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
21 | public weak var parameter: Parameter?
22 | var cancellables = Set<AnyCancellable>()
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/SliderViewController.swift:20:55: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
18 | }
19 |
20 | open class SliderViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
21 | public weak var parameter: Parameter?
22 | var cancellables = Set<AnyCancellable>()
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/Spacer.swift:12:20: warning: cannot use class 'NSView' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
10 | import Cocoa
11 |
12 | open class Spacer: NSView {
| `- warning: cannot use class 'NSView' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | public init() {
14 | super.init(frame: NSRect(x: 0, y: 0, width: 0, height: 0))
AppKit.NSView:1:23: note: type declared here
1 | @MainActor open class NSView : NSResponder, NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
| `- note: type declared here
2 | @MainActor public init(frame frameRect: NSRect)
3 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:156:18: warning: cannot access property 'delegate' with a non-sendable type '(any ProgressSliderViewControllerDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
14 | import Cocoa
15 |
16 | public protocol ProgressSliderViewControllerDelegate: AnyObject {
| `- note: protocol 'ProgressSliderViewControllerDelegate' does not conform to the 'Sendable' protocol
17 | func onValueChanged(_ sender: ProgressSliderViewController)
18 | }
:
154 |
155 | deinit {
156 | delegate = nil
| `- warning: cannot access property 'delegate' with a non-sendable type '(any ProgressSliderViewControllerDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
157 | parameter = nil
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:157:19: warning: cannot access property 'parameter' with a non-sendable type '(any Parameter)?' from nonisolated deinit; this is an error in the Swift 6 language mode
155 | deinit {
156 | delegate = nil
157 | parameter = nil
| `- warning: cannot access property 'parameter' with a non-sendable type '(any Parameter)?' from nonisolated deinit; this is an error in the Swift 6 language mode
158 | }
159 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/Parameter.swift:16:17: note: protocol 'Parameter' does not conform to the 'Sendable' protocol
14 | }
15 |
16 | public protocol Parameter: Codable, AnyObject {
| `- note: protocol 'Parameter' does not conform to the 'Sendable' protocol
17 | var type: ParameterType { get }
18 | var string: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/ProgressSliderViewController.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
8 |
9 | import Combine
10 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
11 |
12 | #if os(macOS)
[140/148] Compiling Youi InspectorHeaderViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:185:15: warning: main actor-isolated instance method 'onPanelOpen(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
21 | }
22 |
23 | open class InspectorViewController: NSViewController, PanelViewControllerDelegate, NSWindowDelegate {
| `- note: add '@preconcurrency' to the 'PanelViewControllerDelegate' conformance to defer isolation checking to run time
24 | public var panels: [PanelViewController] = []
25 | public var controls: [ControlViewController] = []
:
183 | }
184 |
185 | open func onPanelOpen(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelOpen(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelOpen(panel:)' to make this instance method not isolated to the actor
186 | resize()
187 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:16:10: note: mark the protocol requirement 'onPanelOpen(panel:)' 'async' to allow actor-isolated conformances
14 |
15 | public protocol PanelViewControllerDelegate: AnyObject {
16 | func onPanelOpen(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelOpen(panel:)' 'async' to allow actor-isolated conformances
17 | func onPanelClose(panel: PanelViewController)
18 | func onPanelResized(panel: PanelViewController)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:189:15: warning: main actor-isolated instance method 'onPanelClose(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
187 | }
188 |
189 | open func onPanelClose(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelClose(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelClose(panel:)' to make this instance method not isolated to the actor
190 | resize()
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:17:10: note: mark the protocol requirement 'onPanelClose(panel:)' 'async' to allow actor-isolated conformances
15 | public protocol PanelViewControllerDelegate: AnyObject {
16 | func onPanelOpen(panel: PanelViewController)
17 | func onPanelClose(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelClose(panel:)' 'async' to allow actor-isolated conformances
18 | func onPanelResized(panel: PanelViewController)
19 | func onPanelRemove(panel: PanelViewController)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:197:15: warning: main actor-isolated instance method 'onPanelResized(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
195 | }
196 |
197 | open func onPanelResized(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelResized(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelResized(panel:)' to make this instance method not isolated to the actor
198 | resize()
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:18:10: note: mark the protocol requirement 'onPanelResized(panel:)' 'async' to allow actor-isolated conformances
16 | func onPanelOpen(panel: PanelViewController)
17 | func onPanelClose(panel: PanelViewController)
18 | func onPanelResized(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelResized(panel:)' 'async' to allow actor-isolated conformances
19 | func onPanelRemove(panel: PanelViewController)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:193:15: warning: main actor-isolated instance method 'onPanelRemove(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
191 | }
192 |
193 | open func onPanelRemove(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelRemove(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelRemove(panel:)' to make this instance method not isolated to the actor
194 | removePanel(panel)
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:19:10: note: mark the protocol requirement 'onPanelRemove(panel:)' 'async' to allow actor-isolated conformances
17 | func onPanelClose(panel: PanelViewController)
18 | func onPanelResized(panel: PanelViewController)
19 | func onPanelRemove(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelRemove(panel:)' 'async' to allow actor-isolated conformances
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:293:9: warning: call to main actor-isolated instance method 'removeAllPanels()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
241 | }
242 |
243 | open func removeAllPanels() {
| `- note: calls to instance method 'removeAllPanels()' from outside of its actor context are implicitly asynchronous
244 | for panel in panels {
245 | panel.delegate = nil
:
291 |
292 | deinit {
293 | removeAllPanels()
| `- warning: call to main actor-isolated instance method 'removeAllPanels()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
294 | removeAllControls()
295 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:294:9: warning: call to main actor-isolated instance method 'removeAllControls()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
249 | }
250 |
251 | open func removeAllControls() {
| `- note: calls to instance method 'removeAllControls()' from outside of its actor context are implicitly asynchronous
252 | for control in controls {
253 | control.view.removeFromSuperview()
:
292 | deinit {
293 | removeAllPanels()
294 | removeAllControls()
| `- warning: call to main actor-isolated instance method 'removeAllControls()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
295 | }
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorWindow.swift:13:29: warning: cannot use class 'NSWindow' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
11 | import Cocoa
12 |
13 | open class InspectorWindow: NSWindow {
| `- warning: cannot use class 'NSWindow' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | public var inspectorViewController: InspectorViewController?
15 |
AppKit.NSWindow:1:23: note: type declared here
1 | @MainActor open class NSWindow : NSResponder, NSAnimatablePropertyContainer, NSMenuItemValidation, NSUserInterfaceValidations, NSUserInterfaceItemIdentification, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
| `- note: type declared here
2 | open class func frameRect(forContentRect cRect: NSRect, styleMask style: NSWindow.StyleMask) -> NSRect
3 | @available(swift, obsoleted: 3, renamed: "frameRect(forContentRect:styleMask:)")
[141/148] Compiling Youi InspectorViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:185:15: warning: main actor-isolated instance method 'onPanelOpen(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
21 | }
22 |
23 | open class InspectorViewController: NSViewController, PanelViewControllerDelegate, NSWindowDelegate {
| `- note: add '@preconcurrency' to the 'PanelViewControllerDelegate' conformance to defer isolation checking to run time
24 | public var panels: [PanelViewController] = []
25 | public var controls: [ControlViewController] = []
:
183 | }
184 |
185 | open func onPanelOpen(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelOpen(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelOpen(panel:)' to make this instance method not isolated to the actor
186 | resize()
187 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:16:10: note: mark the protocol requirement 'onPanelOpen(panel:)' 'async' to allow actor-isolated conformances
14 |
15 | public protocol PanelViewControllerDelegate: AnyObject {
16 | func onPanelOpen(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelOpen(panel:)' 'async' to allow actor-isolated conformances
17 | func onPanelClose(panel: PanelViewController)
18 | func onPanelResized(panel: PanelViewController)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:189:15: warning: main actor-isolated instance method 'onPanelClose(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
187 | }
188 |
189 | open func onPanelClose(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelClose(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelClose(panel:)' to make this instance method not isolated to the actor
190 | resize()
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:17:10: note: mark the protocol requirement 'onPanelClose(panel:)' 'async' to allow actor-isolated conformances
15 | public protocol PanelViewControllerDelegate: AnyObject {
16 | func onPanelOpen(panel: PanelViewController)
17 | func onPanelClose(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelClose(panel:)' 'async' to allow actor-isolated conformances
18 | func onPanelResized(panel: PanelViewController)
19 | func onPanelRemove(panel: PanelViewController)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:197:15: warning: main actor-isolated instance method 'onPanelResized(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
195 | }
196 |
197 | open func onPanelResized(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelResized(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelResized(panel:)' to make this instance method not isolated to the actor
198 | resize()
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:18:10: note: mark the protocol requirement 'onPanelResized(panel:)' 'async' to allow actor-isolated conformances
16 | func onPanelOpen(panel: PanelViewController)
17 | func onPanelClose(panel: PanelViewController)
18 | func onPanelResized(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelResized(panel:)' 'async' to allow actor-isolated conformances
19 | func onPanelRemove(panel: PanelViewController)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:193:15: warning: main actor-isolated instance method 'onPanelRemove(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
191 | }
192 |
193 | open func onPanelRemove(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelRemove(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelRemove(panel:)' to make this instance method not isolated to the actor
194 | removePanel(panel)
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:19:10: note: mark the protocol requirement 'onPanelRemove(panel:)' 'async' to allow actor-isolated conformances
17 | func onPanelClose(panel: PanelViewController)
18 | func onPanelResized(panel: PanelViewController)
19 | func onPanelRemove(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelRemove(panel:)' 'async' to allow actor-isolated conformances
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:293:9: warning: call to main actor-isolated instance method 'removeAllPanels()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
241 | }
242 |
243 | open func removeAllPanels() {
| `- note: calls to instance method 'removeAllPanels()' from outside of its actor context are implicitly asynchronous
244 | for panel in panels {
245 | panel.delegate = nil
:
291 |
292 | deinit {
293 | removeAllPanels()
| `- warning: call to main actor-isolated instance method 'removeAllPanels()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
294 | removeAllControls()
295 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:294:9: warning: call to main actor-isolated instance method 'removeAllControls()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
249 | }
250 |
251 | open func removeAllControls() {
| `- note: calls to instance method 'removeAllControls()' from outside of its actor context are implicitly asynchronous
252 | for control in controls {
253 | control.view.removeFromSuperview()
:
292 | deinit {
293 | removeAllPanels()
294 | removeAllControls()
| `- warning: call to main actor-isolated instance method 'removeAllControls()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
295 | }
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorWindow.swift:13:29: warning: cannot use class 'NSWindow' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
11 | import Cocoa
12 |
13 | open class InspectorWindow: NSWindow {
| `- warning: cannot use class 'NSWindow' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | public var inspectorViewController: InspectorViewController?
15 |
AppKit.NSWindow:1:23: note: type declared here
1 | @MainActor open class NSWindow : NSResponder, NSAnimatablePropertyContainer, NSMenuItemValidation, NSUserInterfaceValidations, NSUserInterfaceItemIdentification, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
| `- note: type declared here
2 | open class func frameRect(forContentRect cRect: NSRect, styleMask style: NSWindow.StyleMask) -> NSRect
3 | @available(swift, obsoleted: 3, renamed: "frameRect(forContentRect:styleMask:)")
[142/148] Compiling Youi InspectorWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:185:15: warning: main actor-isolated instance method 'onPanelOpen(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
21 | }
22 |
23 | open class InspectorViewController: NSViewController, PanelViewControllerDelegate, NSWindowDelegate {
| `- note: add '@preconcurrency' to the 'PanelViewControllerDelegate' conformance to defer isolation checking to run time
24 | public var panels: [PanelViewController] = []
25 | public var controls: [ControlViewController] = []
:
183 | }
184 |
185 | open func onPanelOpen(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelOpen(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelOpen(panel:)' to make this instance method not isolated to the actor
186 | resize()
187 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:16:10: note: mark the protocol requirement 'onPanelOpen(panel:)' 'async' to allow actor-isolated conformances
14 |
15 | public protocol PanelViewControllerDelegate: AnyObject {
16 | func onPanelOpen(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelOpen(panel:)' 'async' to allow actor-isolated conformances
17 | func onPanelClose(panel: PanelViewController)
18 | func onPanelResized(panel: PanelViewController)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:189:15: warning: main actor-isolated instance method 'onPanelClose(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
187 | }
188 |
189 | open func onPanelClose(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelClose(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelClose(panel:)' to make this instance method not isolated to the actor
190 | resize()
191 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:17:10: note: mark the protocol requirement 'onPanelClose(panel:)' 'async' to allow actor-isolated conformances
15 | public protocol PanelViewControllerDelegate: AnyObject {
16 | func onPanelOpen(panel: PanelViewController)
17 | func onPanelClose(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelClose(panel:)' 'async' to allow actor-isolated conformances
18 | func onPanelResized(panel: PanelViewController)
19 | func onPanelRemove(panel: PanelViewController)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:197:15: warning: main actor-isolated instance method 'onPanelResized(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
195 | }
196 |
197 | open func onPanelResized(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelResized(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelResized(panel:)' to make this instance method not isolated to the actor
198 | resize()
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:18:10: note: mark the protocol requirement 'onPanelResized(panel:)' 'async' to allow actor-isolated conformances
16 | func onPanelOpen(panel: PanelViewController)
17 | func onPanelClose(panel: PanelViewController)
18 | func onPanelResized(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelResized(panel:)' 'async' to allow actor-isolated conformances
19 | func onPanelRemove(panel: PanelViewController)
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:193:15: warning: main actor-isolated instance method 'onPanelRemove(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
191 | }
192 |
193 | open func onPanelRemove(panel: PanelViewController) {
| |- warning: main actor-isolated instance method 'onPanelRemove(panel:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'onPanelRemove(panel:)' to make this instance method not isolated to the actor
194 | removePanel(panel)
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/PanelViewController.swift:19:10: note: mark the protocol requirement 'onPanelRemove(panel:)' 'async' to allow actor-isolated conformances
17 | func onPanelClose(panel: PanelViewController)
18 | func onPanelResized(panel: PanelViewController)
19 | func onPanelRemove(panel: PanelViewController)
| `- note: mark the protocol requirement 'onPanelRemove(panel:)' 'async' to allow actor-isolated conformances
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:293:9: warning: call to main actor-isolated instance method 'removeAllPanels()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
241 | }
242 |
243 | open func removeAllPanels() {
| `- note: calls to instance method 'removeAllPanels()' from outside of its actor context are implicitly asynchronous
244 | for panel in panels {
245 | panel.delegate = nil
:
291 |
292 | deinit {
293 | removeAllPanels()
| `- warning: call to main actor-isolated instance method 'removeAllPanels()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
294 | removeAllControls()
295 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorViewController.swift:294:9: warning: call to main actor-isolated instance method 'removeAllControls()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
249 | }
250 |
251 | open func removeAllControls() {
| `- note: calls to instance method 'removeAllControls()' from outside of its actor context are implicitly asynchronous
252 | for control in controls {
253 | control.view.removeFromSuperview()
:
292 | deinit {
293 | removeAllPanels()
294 | removeAllControls()
| `- warning: call to main actor-isolated instance method 'removeAllControls()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
295 | }
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/InspectorWindow.swift:13:29: warning: cannot use class 'NSWindow' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
11 | import Cocoa
12 |
13 | open class InspectorWindow: NSWindow {
| `- warning: cannot use class 'NSWindow' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | public var inspectorViewController: InspectorViewController?
15 |
AppKit.NSWindow:1:23: note: type declared here
1 | @MainActor open class NSWindow : NSResponder, NSAnimatablePropertyContainer, NSMenuItemValidation, NSUserInterfaceValidations, NSUserInterfaceItemIdentification, NSAppearanceCustomization, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
| `- note: type declared here
2 | open class func frameRect(forContentRect cRect: NSRect, styleMask style: NSWindow.StyleMask) -> NSRect
3 | @available(swift, obsoleted: 3, renamed: "frameRect(forContentRect:styleMask:)")
[143/148] Compiling Youi MultiSliderViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiSliderViewController.swift:15:60: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class MultiSliderViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: Parameter?
17 |
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:16:39: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class MultiToggleViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public var parameters: [BoolParameter] = []
18 | var subscriptions = Set<AnyCancellable>()
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/NumberInputViewController.swift:16:60: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class NumberInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: Parameter?
18 | var cancellables = Set<AnyCancellable>()
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:98:20: warning: cannot access property 'parameters' with a non-sendable type '[BoolParameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
96 |
97 | deinit {
98 | parameters = []
| `- warning: cannot access property 'parameters' with a non-sendable type '[BoolParameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
99 | subscriptions.removeAll()
100 | spacers = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/BoolParameter.swift:12:14: note: class 'BoolParameter' does not conform to the 'Sendable' protocol
10 | import Foundation
11 |
12 | public class BoolParameter: GenericParameter<Bool> {
| `- note: class 'BoolParameter' does not conform to the 'Sendable' protocol
13 | override public var type: ParameterType { .bool }
14 | override public var string: String { "bool" }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
8 |
9 | import Combine
10 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
11 |
12 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:99:9: warning: cannot access property 'subscriptions' with a non-sendable type 'Set<AnyCancellable>' from nonisolated deinit; this is an error in the Swift 6 language mode
97 | deinit {
98 | parameters = []
99 | subscriptions.removeAll()
| `- warning: cannot access property 'subscriptions' with a non-sendable type 'Set<AnyCancellable>' from nonisolated deinit; this is an error in the Swift 6 language mode
100 | spacers = []
101 | buttons = []
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
7 | //
8 |
9 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
10 | import Satin
11 |
[144/148] Compiling Youi MultiToggleViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiSliderViewController.swift:15:60: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class MultiSliderViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: Parameter?
17 |
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:16:39: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class MultiToggleViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public var parameters: [BoolParameter] = []
18 | var subscriptions = Set<AnyCancellable>()
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/NumberInputViewController.swift:16:60: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class NumberInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: Parameter?
18 | var cancellables = Set<AnyCancellable>()
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:98:20: warning: cannot access property 'parameters' with a non-sendable type '[BoolParameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
96 |
97 | deinit {
98 | parameters = []
| `- warning: cannot access property 'parameters' with a non-sendable type '[BoolParameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
99 | subscriptions.removeAll()
100 | spacers = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/BoolParameter.swift:12:14: note: class 'BoolParameter' does not conform to the 'Sendable' protocol
10 | import Foundation
11 |
12 | public class BoolParameter: GenericParameter<Bool> {
| `- note: class 'BoolParameter' does not conform to the 'Sendable' protocol
13 | override public var type: ParameterType { .bool }
14 | override public var string: String { "bool" }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
8 |
9 | import Combine
10 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
11 |
12 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:99:9: warning: cannot access property 'subscriptions' with a non-sendable type 'Set<AnyCancellable>' from nonisolated deinit; this is an error in the Swift 6 language mode
97 | deinit {
98 | parameters = []
99 | subscriptions.removeAll()
| `- warning: cannot access property 'subscriptions' with a non-sendable type 'Set<AnyCancellable>' from nonisolated deinit; this is an error in the Swift 6 language mode
100 | spacers = []
101 | buttons = []
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
7 | //
8 |
9 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
10 | import Satin
11 |
[145/148] Compiling Youi NumberInputViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiSliderViewController.swift:15:60: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class MultiSliderViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: Parameter?
17 |
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:16:39: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class MultiToggleViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public var parameters: [BoolParameter] = []
18 | var subscriptions = Set<AnyCancellable>()
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/NumberInputViewController.swift:16:60: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class NumberInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: Parameter?
18 | var cancellables = Set<AnyCancellable>()
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:98:20: warning: cannot access property 'parameters' with a non-sendable type '[BoolParameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
96 |
97 | deinit {
98 | parameters = []
| `- warning: cannot access property 'parameters' with a non-sendable type '[BoolParameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
99 | subscriptions.removeAll()
100 | spacers = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/BoolParameter.swift:12:14: note: class 'BoolParameter' does not conform to the 'Sendable' protocol
10 | import Foundation
11 |
12 | public class BoolParameter: GenericParameter<Bool> {
| `- note: class 'BoolParameter' does not conform to the 'Sendable' protocol
13 | override public var type: ParameterType { .bool }
14 | override public var string: String { "bool" }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
8 |
9 | import Combine
10 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
11 |
12 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:99:9: warning: cannot access property 'subscriptions' with a non-sendable type 'Set<AnyCancellable>' from nonisolated deinit; this is an error in the Swift 6 language mode
97 | deinit {
98 | parameters = []
99 | subscriptions.removeAll()
| `- warning: cannot access property 'subscriptions' with a non-sendable type 'Set<AnyCancellable>' from nonisolated deinit; this is an error in the Swift 6 language mode
100 | spacers = []
101 | buttons = []
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiToggleViewController.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
7 | //
8 |
9 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
10 | import Satin
11 |
[146/148] Compiling Youi LabelViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/LabelViewController.swift:16:33: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class LabelViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: StringParameter?
18 | var cancellable: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/LabelViewController.swift:16:51: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class LabelViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: StringParameter?
18 | var cancellable: AnyCancellable?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiDropdownViewController.swift:15:41: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class MultiDropdownViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public var parameters: [StringParameter] = []
17 | var cancellables = Set<AnyCancellable>()
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:216:36: warning: cannot use class 'NSControl' here; 'AppKit' was not imported by this file
214 | }
215 |
216 | public func control(_ control: NSControl, textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool {
| `- warning: cannot use class 'NSControl' here; 'AppKit' was not imported by this file
217 | switch commandSelector {
218 | case #selector(NSResponder.insertTab(_:)):
AppKit.NSControl:1:23: note: type declared here
1 | @MainActor open class NSControl : NSView {
| `- note: type declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:216:57: warning: cannot use class 'NSTextView' here; 'AppKit' was not imported by this file
214 | }
215 |
216 | public func control(_ control: NSControl, textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool {
| `- warning: cannot use class 'NSTextView' here; 'AppKit' was not imported by this file
217 | switch commandSelector {
218 | case #selector(NSResponder.insertTab(_:)):
AppKit.NSTextView:1:12: note: type declared here
1 | open class NSTextView : NSText, NSColorChanging, NSMenuItemValidation, NSUserInterfaceValidations, NSTextInputClient, NSTextLayoutOrientationProvider, NSDraggingSource, NSStandardKeyBindingResponding, NSTextInput, NSAccessibilityNavigableStaticText, NSTextContent {
| `- note: type declared here
2 | public init(frame frameRect: NSRect, textContainer container: NSTextContainer?)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:15:65: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class MultiNumberInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: Parameter?
17 |
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiDropdownViewController.swift:98:20: warning: cannot access property 'parameters' with a non-sendable type '[StringParameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
96 | labelFields = []
97 | dropDownMenus = [:]
98 | parameters = []
| `- warning: cannot access property 'parameters' with a non-sendable type '[StringParameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
99 | options = []
100 | spacers = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/StringParameter.swift:11:14: note: class 'StringParameter' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class StringParameter: GenericParameter<String> {
| `- note: class 'StringParameter' does not conform to the 'Sendable' protocol
12 | override public var type: ParameterType { .string }
13 | override public var string: String { "string" }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiDropdownViewController.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
7 |
8 | import Combine
9 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
10 |
11 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:238:19: warning: cannot access property 'parameter' with a non-sendable type '(any Parameter)?' from nonisolated deinit; this is an error in the Swift 6 language mode
236 |
237 | deinit {
238 | parameter = nil
| `- warning: cannot access property 'parameter' with a non-sendable type '(any Parameter)?' from nonisolated deinit; this is an error in the Swift 6 language mode
239 | inputs = []
240 | labelField = nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/Parameter.swift:16:17: note: protocol 'Parameter' does not conform to the 'Sendable' protocol
14 | }
15 |
16 | public protocol Parameter: Codable, AnyObject {
| `- note: protocol 'Parameter' does not conform to the 'Sendable' protocol
17 | var type: ParameterType { get }
18 | var string: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
7 |
8 | import Combine
9 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
10 |
11 | #if os(macOS)
[147/148] Compiling Youi MultiDropdownViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/LabelViewController.swift:16:33: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class LabelViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: StringParameter?
18 | var cancellable: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/LabelViewController.swift:16:51: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class LabelViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: StringParameter?
18 | var cancellable: AnyCancellable?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiDropdownViewController.swift:15:41: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class MultiDropdownViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public var parameters: [StringParameter] = []
17 | var cancellables = Set<AnyCancellable>()
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:216:36: warning: cannot use class 'NSControl' here; 'AppKit' was not imported by this file
214 | }
215 |
216 | public func control(_ control: NSControl, textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool {
| `- warning: cannot use class 'NSControl' here; 'AppKit' was not imported by this file
217 | switch commandSelector {
218 | case #selector(NSResponder.insertTab(_:)):
AppKit.NSControl:1:23: note: type declared here
1 | @MainActor open class NSControl : NSView {
| `- note: type declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:216:57: warning: cannot use class 'NSTextView' here; 'AppKit' was not imported by this file
214 | }
215 |
216 | public func control(_ control: NSControl, textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool {
| `- warning: cannot use class 'NSTextView' here; 'AppKit' was not imported by this file
217 | switch commandSelector {
218 | case #selector(NSResponder.insertTab(_:)):
AppKit.NSTextView:1:12: note: type declared here
1 | open class NSTextView : NSText, NSColorChanging, NSMenuItemValidation, NSUserInterfaceValidations, NSTextInputClient, NSTextLayoutOrientationProvider, NSDraggingSource, NSStandardKeyBindingResponding, NSTextInput, NSAccessibilityNavigableStaticText, NSTextContent {
| `- note: type declared here
2 | public init(frame frameRect: NSRect, textContainer container: NSTextContainer?)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:15:65: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class MultiNumberInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: Parameter?
17 |
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiDropdownViewController.swift:98:20: warning: cannot access property 'parameters' with a non-sendable type '[StringParameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
96 | labelFields = []
97 | dropDownMenus = [:]
98 | parameters = []
| `- warning: cannot access property 'parameters' with a non-sendable type '[StringParameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
99 | options = []
100 | spacers = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/StringParameter.swift:11:14: note: class 'StringParameter' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class StringParameter: GenericParameter<String> {
| `- note: class 'StringParameter' does not conform to the 'Sendable' protocol
12 | override public var type: ParameterType { .string }
13 | override public var string: String { "string" }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiDropdownViewController.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
7 |
8 | import Combine
9 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
10 |
11 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:238:19: warning: cannot access property 'parameter' with a non-sendable type '(any Parameter)?' from nonisolated deinit; this is an error in the Swift 6 language mode
236 |
237 | deinit {
238 | parameter = nil
| `- warning: cannot access property 'parameter' with a non-sendable type '(any Parameter)?' from nonisolated deinit; this is an error in the Swift 6 language mode
239 | inputs = []
240 | labelField = nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/Parameter.swift:16:17: note: protocol 'Parameter' does not conform to the 'Sendable' protocol
14 | }
15 |
16 | public protocol Parameter: Codable, AnyObject {
| `- note: protocol 'Parameter' does not conform to the 'Sendable' protocol
17 | var type: ParameterType { get }
18 | var string: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
7 |
8 | import Combine
9 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
10 |
11 | #if os(macOS)
[148/148] Compiling Youi MultiNumberInputViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Youi/LabelViewController.swift:16:33: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class LabelViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: StringParameter?
18 | var cancellable: AnyCancellable?
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/LabelViewController.swift:16:51: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
14 | import Cocoa
15 |
16 | open class LabelViewController: NSViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
17 | public weak var parameter: StringParameter?
18 | var cancellable: AnyCancellable?
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiDropdownViewController.swift:15:41: warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class MultiDropdownViewController: NSViewController {
| `- warning: cannot use class 'NSViewController' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public var parameters: [StringParameter] = []
17 | var cancellables = Set<AnyCancellable>()
AppKit.NSViewController:2:23: note: type declared here
1 | @available(macOS 10.5, *)
2 | @MainActor open class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification {
| `- note: type declared here
3 | @MainActor public init(nibName nibNameOrNil: NSNib.Name?, bundle nibBundleOrNil: Bundle?)
4 | @MainActor public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:216:36: warning: cannot use class 'NSControl' here; 'AppKit' was not imported by this file
214 | }
215 |
216 | public func control(_ control: NSControl, textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool {
| `- warning: cannot use class 'NSControl' here; 'AppKit' was not imported by this file
217 | switch commandSelector {
218 | case #selector(NSResponder.insertTab(_:)):
AppKit.NSControl:1:23: note: type declared here
1 | @MainActor open class NSControl : NSView {
| `- note: type declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:216:57: warning: cannot use class 'NSTextView' here; 'AppKit' was not imported by this file
214 | }
215 |
216 | public func control(_ control: NSControl, textView: NSTextView, doCommandBy commandSelector: Selector) -> Bool {
| `- warning: cannot use class 'NSTextView' here; 'AppKit' was not imported by this file
217 | switch commandSelector {
218 | case #selector(NSResponder.insertTab(_:)):
AppKit.NSTextView:1:12: note: type declared here
1 | open class NSTextView : NSText, NSColorChanging, NSMenuItemValidation, NSUserInterfaceValidations, NSTextInputClient, NSTextLayoutOrientationProvider, NSDraggingSource, NSStandardKeyBindingResponding, NSTextInput, NSAccessibilityNavigableStaticText, NSTextContent {
| `- note: type declared here
2 | public init(frame frameRect: NSRect, textContainer container: NSTextContainer?)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:15:65: warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
13 | import Cocoa
14 |
15 | open class MultiNumberInputViewController: InputViewController, NSTextFieldDelegate {
| `- warning: cannot use protocol 'NSTextFieldDelegate' in a public or '@usableFromInline' conformance; 'AppKit' was not imported by this file
16 | public weak var parameter: Parameter?
17 |
AppKit.NSTextFieldDelegate:1:17: note: type declared here
1 | public protocol NSTextFieldDelegate : NSControlTextEditingDelegate {
| `- note: type declared here
2 | @available(macOS 10.12.2, *)
3 | @MainActor optional func textField(_ textField: NSTextField, textView: NSTextView, candidatesForSelectedRange selectedRange: NSRange) -> [Any]?
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiDropdownViewController.swift:98:20: warning: cannot access property 'parameters' with a non-sendable type '[StringParameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
96 | labelFields = []
97 | dropDownMenus = [:]
98 | parameters = []
| `- warning: cannot access property 'parameters' with a non-sendable type '[StringParameter]' from nonisolated deinit; this is an error in the Swift 6 language mode
99 | options = []
100 | spacers = []
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/StringParameter.swift:11:14: note: class 'StringParameter' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class StringParameter: GenericParameter<String> {
| `- note: class 'StringParameter' does not conform to the 'Sendable' protocol
12 | override public var type: ParameterType { .string }
13 | override public var string: String { "string" }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiDropdownViewController.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
7 |
8 | import Combine
9 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
10 |
11 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:238:19: warning: cannot access property 'parameter' with a non-sendable type '(any Parameter)?' from nonisolated deinit; this is an error in the Swift 6 language mode
236 |
237 | deinit {
238 | parameter = nil
| `- warning: cannot access property 'parameter' with a non-sendable type '(any Parameter)?' from nonisolated deinit; this is an error in the Swift 6 language mode
239 | inputs = []
240 | labelField = nil
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Satin/Sources/Satin/Parameters/Parameter.swift:16:17: note: protocol 'Parameter' does not conform to the 'Sendable' protocol
14 | }
15 |
16 | public protocol Parameter: Codable, AnyObject {
| `- note: protocol 'Parameter' does not conform to the 'Sendable' protocol
17 | var type: ParameterType { get }
18 | var string: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/Youi/MultiNumberInputViewController.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
7 |
8 | import Combine
9 | import Satin
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Satin'
10 |
11 | #if os(macOS)
Build complete! (24.66s)
Build complete.
{
"dependencies" : [
{
"identity" : "satin",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Hi-Rez/Satin"
}
],
"manifest_display_name" : "Youi",
"name" : "Youi",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Youi",
"targets" : [
"Youi"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "Youi",
"module_type" : "SwiftTarget",
"name" : "Youi",
"path" : "Sources/Youi",
"product_dependencies" : [
"Satin"
],
"product_memberships" : [
"Youi"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Youi/Resources/Assets.xcassets",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"BindingInputViewController.swift",
"ButtonViewController.swift",
"ColorPaletteViewController.swift",
"ColorPickerViewController.swift",
"ControlViewController.swift",
"DetailsViewController.swift",
"DisclosureButton.swift",
"DropDownViewController.swift",
"HandleButton.swift",
"InputViewController.swift",
"InspectorHeaderViewController.swift",
"InspectorViewController.swift",
"InspectorWindow.swift",
"LabelViewController.swift",
"MultiDropdownViewController.swift",
"MultiNumberInputViewController.swift",
"MultiSliderViewController.swift",
"MultiToggleViewController.swift",
"NumberInputViewController.swift",
"OptionsViewController.swift",
"PanelHeaderViewController.swift",
"PanelViewController.swift",
"ProgressSliderViewController.swift",
"SliderViewController.swift",
"Spacer.swift",
"StringInputViewController.swift",
"ToggleViewController.swift",
"TranslucentView.swift",
"WidgetViewController.swift",
"Youi.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.