Build Information
Successful build of BBLayoutKit, reference 1.1.0 (54b41a
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 13:33:43 UTC.
Swift 6 data race errors: 15
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
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
94 | -> [NSLayoutConstraint] {
95 | [lhs.0 >= rhs.0.0 + rhs.1.0, lhs.1 >= rhs.0.1 + rhs.1.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:93:44: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
91 | @discardableResult public func >= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
92 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
93 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
94 | -> [NSLayoutConstraint] {
95 | [lhs.0 >= rhs.0.0 + rhs.1.0, lhs.1 >= rhs.0.1 + rhs.1.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:94:9: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
92 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
93 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
94 | -> [NSLayoutConstraint] {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
95 | [lhs.0 >= rhs.0.0 + rhs.1.0, lhs.1 >= rhs.0.1 + rhs.1.1]
96 | }
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
[9/20] Compiling BBLayoutKit BBAutoLayoutableQuadrupleOperators.swift
[10/20] Compiling BBLayoutKit BBAutoLayoutableExtensions.swift
[11/20] Compiling BBLayoutKit BBAutoLayoutableHelpers.swift
[12/20] Compiling BBLayoutKit NSLayoutConstraintAttributeExtensions.swift
[13/20] Compiling BBLayoutKit BBAnchorableViewOperators.swift
[14/20] Compiling BBLayoutKit BBMultiplier.swift
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBHelpers/BBMultiplier.swift:28:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'BBMultiplier' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct BBMultiplier {
| `- note: consider making struct 'BBMultiplier' conform to the 'Sendable' protocol
14 |
15 | public var width: CGFloat
:
26 | }
27 |
28 | public static let one = BBMultiplier()
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'BBMultiplier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBHelpers/BBOffset.swift:18:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'BBOffset' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Cocoa
11 |
12 | public struct BBOffset {
| `- note: consider making struct 'BBOffset' conform to the 'Sendable' protocol
13 |
14 | public var horizontal: CGFloat
:
16 | public var vertical: CGFloat
17 |
18 | public static let zero = BBOffset()
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'BBOffset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public init(horizontal: CGFloat, vertical: CGFloat) {
[15/20] Compiling BBLayoutKit BBOffset.swift
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBHelpers/BBMultiplier.swift:28:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'BBMultiplier' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct BBMultiplier {
| `- note: consider making struct 'BBMultiplier' conform to the 'Sendable' protocol
14 |
15 | public var width: CGFloat
:
26 | }
27 |
28 | public static let one = BBMultiplier()
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'BBMultiplier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBHelpers/BBOffset.swift:18:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'BBOffset' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Cocoa
11 |
12 | public struct BBOffset {
| `- note: consider making struct 'BBOffset' conform to the 'Sendable' protocol
13 |
14 | public var horizontal: CGFloat
:
16 | public var vertical: CGFloat
17 |
18 | public static let zero = BBOffset()
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'BBOffset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public init(horizontal: CGFloat, vertical: CGFloat) {
[16/20] Emitting module BBLayoutKit
AppKit.NSView:5:41: warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAutoLayoutable/BBAutoLayoutable.swift:42:19: note: add '@preconcurrency' to the 'BBAutoLayoutable' conformance to defer isolation checking to run time
13 | associatedtype View: BBAutoLayoutable
14 |
15 | var superview: View? { get }
| `- note: 'superview' declared here
16 |
17 | var translatesAutoresizingMaskIntoConstraints: Bool { get set }
:
40 | import AppKit.NSView
41 |
42 | extension NSView: BBAutoLayoutable { }
| `- note: add '@preconcurrency' to the 'BBAutoLayoutable' conformance to defer isolation checking to run time
43 |
44 | #endif
AppKit.NSView:3:25: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | extension NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
4 | @available(macOS 10.7, *)
5 | open class var requiresConstraintBasedLayout: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAutoLayoutable/BBAutoLayoutable.swift:17:9: note: 'translatesAutoresizingMaskIntoConstraints' declared here
15 | var superview: View? { get }
16 |
17 | var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- note: 'translatesAutoresizingMaskIntoConstraints' declared here
18 |
19 | func addSubview(_ view: View)
AppKit.NSView:29:15: warning: main actor-isolated instance method 'addSubview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 | @available(macOS 10.5, *)
28 | open func viewDidUnhide()
29 | open func addSubview(_ view: NSView)
| |- warning: main actor-isolated instance method 'addSubview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'addSubview' to make this instance method not isolated to the actor
30 | open func addSubview(_ view: NSView, positioned place: NSWindow.OrderingMode, relativeTo otherView: NSView?)
31 | open func sortSubviews(_ compare: @convention(c) (NSView, NSView, UnsafeMutableRawPointer?) -> ComparisonResult, context: UnsafeMutableRawPointer?)
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAutoLayoutable/BBAutoLayoutable.swift:19:10: note: mark the protocol requirement 'addSubview' 'async' to allow actor-isolated conformances
17 | var translatesAutoresizingMaskIntoConstraints: Bool { get set }
18 |
19 | func addSubview(_ view: View)
| `- note: mark the protocol requirement 'addSubview' 'async' to allow actor-isolated conformances
20 | }
21 |
AppKit.NSView:3:25: warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:17:9: note: 'leadingAnchor' declared here
15 | public protocol BBAnchorable {
16 |
17 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leadingAnchor' declared here
18 |
19 | var trailingAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:5:14: warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:19:9: note: 'trailingAnchor' declared here
17 | var leadingAnchor: NSLayoutXAxisAnchor { get }
18 |
19 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'trailingAnchor' declared here
20 |
21 | var leftAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:7:14: warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:21:9: note: 'leftAnchor' declared here
19 | var trailingAnchor: NSLayoutXAxisAnchor { get }
20 |
21 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leftAnchor' declared here
22 |
23 | var rightAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:9:14: warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 | @available(macOS 10.11, *)
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:23:9: note: 'rightAnchor' declared here
21 | var leftAnchor: NSLayoutXAxisAnchor { get }
22 |
23 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'rightAnchor' declared here
24 |
25 | var topAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:11:14: warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:25:9: note: 'topAnchor' declared here
23 | var rightAnchor: NSLayoutXAxisAnchor { get }
24 |
25 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'topAnchor' declared here
26 |
27 | var bottomAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:13:14: warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:27:9: note: 'bottomAnchor' declared here
25 | var topAnchor: NSLayoutYAxisAnchor { get }
26 |
27 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'bottomAnchor' declared here
28 |
29 | var widthAnchor: NSLayoutDimension { get }
AppKit.NSView:15:14: warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:29:9: note: 'widthAnchor' declared here
27 | var bottomAnchor: NSLayoutYAxisAnchor { get }
28 |
29 | var widthAnchor: NSLayoutDimension { get }
| `- note: 'widthAnchor' declared here
30 |
31 | var heightAnchor: NSLayoutDimension { get }
AppKit.NSView:17:14: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:31:9: note: 'heightAnchor' declared here
29 | var widthAnchor: NSLayoutDimension { get }
30 |
31 | var heightAnchor: NSLayoutDimension { get }
| `- note: 'heightAnchor' declared here
32 |
33 | var centerXAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:19:14: warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
17 | open var heightAnchor: NSLayoutDimension { get }
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:33:9: note: 'centerXAnchor' declared here
31 | var heightAnchor: NSLayoutDimension { get }
32 |
33 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'centerXAnchor' declared here
34 |
35 | var centerYAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:21:14: warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:35:9: note: 'centerYAnchor' declared here
33 | var centerXAnchor: NSLayoutXAxisAnchor { get }
34 |
35 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'centerYAnchor' declared here
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBHelpers/BBMultiplier.swift:28:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'BBMultiplier' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct BBMultiplier {
| `- note: consider making struct 'BBMultiplier' conform to the 'Sendable' protocol
14 |
15 | public var width: CGFloat
:
26 | }
27 |
28 | public static let one = BBMultiplier()
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'BBMultiplier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBHelpers/BBOffset.swift:18:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'BBOffset' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Cocoa
11 |
12 | public struct BBOffset {
| `- note: consider making struct 'BBOffset' conform to the 'Sendable' protocol
13 |
14 | public var horizontal: CGFloat
:
16 | public var vertical: CGFloat
17 |
18 | public static let zero = BBOffset()
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'BBOffset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public init(horizontal: CGFloat, vertical: CGFloat) {
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:30:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
28 |
29 | @discardableResult public func == <AnchorType: NSObject>(
30 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
31 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
32 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:31:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
29 | @discardableResult public func == <AnchorType: NSObject>(
30 | lhs: NSLayoutAnchor<AnchorType>,
31 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
32 | let constraint = lhs.constraint(equalTo: rhs)
33 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:31:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
29 | @discardableResult public func == <AnchorType: NSObject>(
30 | lhs: NSLayoutAnchor<AnchorType>,
31 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
32 | let constraint = lhs.constraint(equalTo: rhs)
33 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:38:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
36 |
37 | @discardableResult public func == (
38 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
39 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
40 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:39:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
37 | @discardableResult public func == (
38 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
39 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
40 | let constraint = lhs.constraint(equalTo: rhs)
41 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:39:50: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
37 | @discardableResult public func == (
38 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
39 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
40 | let constraint = lhs.constraint(equalTo: rhs)
41 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:46:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
44 |
45 | @discardableResult public func == (
46 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
47 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
48 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:47:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
45 | @discardableResult public func == (
46 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
47 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
48 | let constraint = lhs.constraint(equalTo: rhs)
49 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:47:50: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
45 | @discardableResult public func == (
46 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
47 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
48 | let constraint = lhs.constraint(equalTo: rhs)
49 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:54:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
52 |
53 | @discardableResult public func == (
54 | lhs: NSLayoutAnchor<NSLayoutDimension>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
55 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
56 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:55:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
53 | @discardableResult public func == (
54 | lhs: NSLayoutAnchor<NSLayoutDimension>,
55 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
56 | let constraint = lhs.constraint(equalTo: rhs)
57 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:55:48: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
53 | @discardableResult public func == (
54 | lhs: NSLayoutAnchor<NSLayoutDimension>,
55 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
56 | let constraint = lhs.constraint(equalTo: rhs)
57 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:64:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
62 |
63 | public func != <AnchorType: NSObject>(
64 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
65 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
66 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:65:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
63 | public func != <AnchorType: NSObject>(
64 | lhs: NSLayoutAnchor<AnchorType>,
65 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
66 | let constraint = lhs.constraint(equalTo: rhs)
67 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:65:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
63 | public func != <AnchorType: NSObject>(
64 | lhs: NSLayoutAnchor<AnchorType>,
65 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
66 | let constraint = lhs.constraint(equalTo: rhs)
67 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:72:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
70 |
71 | @discardableResult public func != (
72 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
73 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
74 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:73:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
71 | @discardableResult public func != (
72 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
73 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
74 | let constraint = lhs.constraint(equalTo: rhs)
75 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:73:50: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
71 | @discardableResult public func != (
72 | lhs: NSLayoutAnchor<NSLayoutXAxisAnchor>,
73 | rhs: NSLayoutAnchor<NSLayoutXAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
74 | let constraint = lhs.constraint(equalTo: rhs)
75 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:80:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
78 |
79 | @discardableResult public func != (
80 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
81 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
82 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:81:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
79 | @discardableResult public func != (
80 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
81 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
82 | let constraint = lhs.constraint(equalTo: rhs)
83 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:81:50: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
79 | @discardableResult public func != (
80 | lhs: NSLayoutAnchor<NSLayoutYAxisAnchor>,
81 | rhs: NSLayoutAnchor<NSLayoutYAxisAnchor>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
82 | let constraint = lhs.constraint(equalTo: rhs)
83 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:88:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
86 |
87 | @discardableResult public func != (
88 | lhs: NSLayoutAnchor<NSLayoutDimension>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
89 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
90 | let constraint = lhs.constraint(equalTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:89:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
87 | @discardableResult public func != (
88 | lhs: NSLayoutAnchor<NSLayoutDimension>,
89 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
90 | let constraint = lhs.constraint(equalTo: rhs)
91 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:89:48: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
87 | @discardableResult public func != (
88 | lhs: NSLayoutAnchor<NSLayoutDimension>,
89 | rhs: NSLayoutAnchor<NSLayoutDimension>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
90 | let constraint = lhs.constraint(equalTo: rhs)
91 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:98:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
96 |
97 | @discardableResult public func <=<AnchorType: NSObject>(
98 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
99 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
100 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:99:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
97 | @discardableResult public func <=<AnchorType: NSObject>(
98 | lhs: NSLayoutAnchor<AnchorType>,
99 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
100 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
101 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:99:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
97 | @discardableResult public func <=<AnchorType: NSObject>(
98 | lhs: NSLayoutAnchor<AnchorType>,
99 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
100 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
101 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:106:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
104 |
105 | @discardableResult public func >=<AnchorType: NSObject>(
106 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
107 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
108 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:107:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
105 | @discardableResult public func >=<AnchorType: NSObject>(
106 | lhs: NSLayoutAnchor<AnchorType>,
107 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
108 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
109 | constraint.isActive = true
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:107:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
105 | @discardableResult public func >=<AnchorType: NSObject>(
106 | lhs: NSLayoutAnchor<AnchorType>,
107 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
108 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
109 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:116:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
114 |
115 | public func !<=<AnchorType>(
116 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
117 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
118 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:117:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
115 | public func !<=<AnchorType>(
116 | lhs: NSLayoutAnchor<AnchorType>,
117 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
118 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
119 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:117:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
115 | public func !<=<AnchorType>(
116 | lhs: NSLayoutAnchor<AnchorType>,
117 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
118 | let constraint = lhs.constraint(lessThanOrEqualTo: rhs)
119 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:124:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
122 |
123 | public func !>=<AnchorType>(
124 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
125 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
126 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:125:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
123 | public func !>=<AnchorType>(
124 | lhs: NSLayoutAnchor<AnchorType>,
125 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
126 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
127 | constraint.isActive = false
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:125:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
123 | public func !>=<AnchorType>(
124 | lhs: NSLayoutAnchor<AnchorType>,
125 | rhs: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
126 | let constraint = lhs.constraint(greaterThanOrEqualTo: rhs)
127 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:134:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
132 |
133 | public func +<AnchorType>(
134 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
135 | rhs: CGFloat) -> (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)) {
136 | (lhs, (1, rhs))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:135:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
133 | public func +<AnchorType>(
134 | lhs: NSLayoutAnchor<AnchorType>,
135 | rhs: CGFloat) -> (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
136 | (lhs, (1, rhs))
137 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:140:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
138 |
139 | public func -<AnchorType>(
140 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
141 | rhs: CGFloat) -> (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)) {
142 | (lhs, (1, -rhs))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:141:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
139 | public func -<AnchorType>(
140 | lhs: NSLayoutAnchor<AnchorType>,
141 | rhs: CGFloat) -> (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
142 | (lhs, (1, -rhs))
143 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:146:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
144 |
145 | public func * (
146 | lhs: NSLayoutAnchor<NSLayoutDimension>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
147 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
148 | (lhs, (rhs, 0))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:147:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
145 | public func * (
146 | lhs: NSLayoutAnchor<NSLayoutDimension>,
147 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
148 | (lhs, (rhs, 0))
149 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:152:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
150 |
151 | public func / (
152 | lhs: NSLayoutAnchor<NSLayoutDimension>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
153 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
154 | (lhs, (1/rhs, 0))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:153:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
151 | public func / (
152 | lhs: NSLayoutAnchor<NSLayoutDimension>,
153 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
154 | (lhs, (1/rhs, 0))
155 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:158:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
156 |
157 | public func + (
158 | lhs: (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
159 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
160 | (lhs.0, (lhs.1.0, rhs))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:159:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
157 | public func + (
158 | lhs: (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)),
159 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
160 | (lhs.0, (lhs.1.0, rhs))
161 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:164:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
162 |
163 | public func - (
164 | lhs: (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
165 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
166 | (lhs.0, (lhs.1.0, -rhs))
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:165:23: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
163 | public func - (
164 | lhs: (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)),
165 | rhs: CGFloat) -> (NSLayoutAnchor<NSLayoutDimension>, (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
166 | (lhs.0, (lhs.1.0, -rhs))
167 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:172:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
170 |
171 | @discardableResult public func ==<AnchorType: NSObject>(
172 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
173 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
174 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:173:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
171 | @discardableResult public func ==<AnchorType: NSObject>(
172 | lhs: NSLayoutAnchor<AnchorType>,
173 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
174 | -> NSLayoutConstraint {
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:174:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
172 | lhs: NSLayoutAnchor<AnchorType>,
173 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
174 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
176 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:190:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
188 |
189 | @discardableResult public func <=<AnchorType: NSObject>(
190 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
191 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
192 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:191:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
189 | @discardableResult public func <=<AnchorType: NSObject>(
190 | lhs: NSLayoutAnchor<AnchorType>,
191 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
192 | -> NSLayoutConstraint {
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:192:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
190 | lhs: NSLayoutAnchor<AnchorType>,
191 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
192 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
194 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:208:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
206 |
207 | @discardableResult public func >=<AnchorType: NSObject>(
208 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
209 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
210 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:209:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
207 | @discardableResult public func >=<AnchorType: NSObject>(
208 | lhs: NSLayoutAnchor<AnchorType>,
209 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
210 | -> NSLayoutConstraint {
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:210:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
208 | lhs: NSLayoutAnchor<AnchorType>,
209 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
210 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
212 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:228:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
226 |
227 | public func != <AnchorType: NSObject>(
228 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
229 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
230 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:229:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
227 | public func != <AnchorType: NSObject>(
228 | lhs: NSLayoutAnchor<AnchorType>,
229 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
230 | -> NSLayoutConstraint {
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:230:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
228 | lhs: NSLayoutAnchor<AnchorType>,
229 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
230 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
232 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:246:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
244 |
245 | public func !<= <AnchorType: NSObject>(
246 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
248 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:247:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
245 | public func !<= <AnchorType: NSObject>(
246 | lhs: NSLayoutAnchor<AnchorType>,
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
248 | -> NSLayoutConstraint {
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:248:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
246 | lhs: NSLayoutAnchor<AnchorType>,
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
248 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
250 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:264:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
262 |
263 | public func !>= <AnchorType: NSObject>(
264 | lhs: NSLayoutAnchor<AnchorType>,
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
266 | -> NSLayoutConstraint {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:265:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
263 | public func !>= <AnchorType: NSObject>(
264 | lhs: NSLayoutAnchor<AnchorType>,
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
266 | -> NSLayoutConstraint {
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:266:8: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
264 | lhs: NSLayoutAnchor<AnchorType>,
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
266 | -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
268 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:284:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
282 |
283 | @discardableResult public func == (
284 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
285 | rhs: CGFloat) -> NSLayoutConstraint {
286 | let constraint = lhs.constraint(equalToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:285:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
283 | @discardableResult public func == (
284 | lhs: NSLayoutDimension,
285 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
286 | let constraint = lhs.constraint(equalToConstant: rhs)
287 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:292:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
290 |
291 | @discardableResult public func <= (
292 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
293 | rhs: CGFloat) -> NSLayoutConstraint {
294 | let constraint = lhs.constraint(lessThanOrEqualToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:293:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
291 | @discardableResult public func <= (
292 | lhs: NSLayoutDimension,
293 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
294 | let constraint = lhs.constraint(lessThanOrEqualToConstant: rhs)
295 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:300:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
298 |
299 | @discardableResult public func >= (
300 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
301 | rhs: CGFloat) -> NSLayoutConstraint {
302 | let constraint = lhs.constraint(greaterThanOrEqualToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:301:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
299 | @discardableResult public func >= (
300 | lhs: NSLayoutDimension,
301 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
302 | let constraint = lhs.constraint(greaterThanOrEqualToConstant: rhs)
303 | constraint.isActive = true
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:310:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
308 |
309 | public func != (
310 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
311 | rhs: CGFloat) -> NSLayoutConstraint {
312 | let constraint = lhs.constraint(equalToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:311:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
309 | public func != (
310 | lhs: NSLayoutDimension,
311 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
312 | let constraint = lhs.constraint(equalToConstant: rhs)
313 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:318:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
316 |
317 | public func !<= (
318 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
319 | rhs: CGFloat) -> NSLayoutConstraint {
320 | let constraint = lhs.constraint(lessThanOrEqualToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:319:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
317 | public func !<= (
318 | lhs: NSLayoutDimension,
319 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
320 | let constraint = lhs.constraint(lessThanOrEqualToConstant: rhs)
321 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:326:10: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
324 |
325 | public func !>= (
326 | lhs: NSLayoutDimension,
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
327 | rhs: CGFloat) -> NSLayoutConstraint {
328 | let constraint = lhs.constraint(greaterThanOrEqualToConstant: rhs)
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableOperators.swift:327:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
325 | public func !>= (
326 | lhs: NSLayoutDimension,
327 | rhs: CGFloat) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
328 | let constraint = lhs.constraint(greaterThanOrEqualToConstant: rhs)
329 | constraint.isActive = false
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:18:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
16 |
17 | @discardableResult public func == <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
18 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
19 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
20 | -> [NSLayoutConstraint] {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:18:43: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
16 |
17 | @discardableResult public func == <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
18 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
19 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
20 | -> [NSLayoutConstraint] {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:19:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
17 | @discardableResult public func == <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
18 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
19 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
20 | -> [NSLayoutConstraint] {
21 | [lhs.0 == rhs.0, lhs.1 == rhs.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:19:43: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
17 | @discardableResult public func == <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
18 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
19 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
20 | -> [NSLayoutConstraint] {
21 | [lhs.0 == rhs.0, lhs.1 == rhs.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:20:9: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
18 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
19 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
20 | -> [NSLayoutConstraint] {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
21 | [lhs.0 == rhs.0, lhs.1 == rhs.1]
22 | }
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:25:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
23 |
24 | @discardableResult public func <= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
25 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
26 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
27 | -> [NSLayoutConstraint] {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:25:43: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
23 |
24 | @discardableResult public func <= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
25 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
26 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
27 | -> [NSLayoutConstraint] {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:26:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
24 | @discardableResult public func <= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
25 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
26 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
27 | -> [NSLayoutConstraint] {
28 | [lhs.0 <= rhs.0, lhs.1 <= rhs.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:26:43: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
24 | @discardableResult public func <= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
25 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
26 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
27 | -> [NSLayoutConstraint] {
28 | [lhs.0 <= rhs.0, lhs.1 <= rhs.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:27:9: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
25 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
26 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
27 | -> [NSLayoutConstraint] {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
28 | [lhs.0 <= rhs.0, lhs.1 <= rhs.1]
29 | }
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:32:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
30 |
31 | @discardableResult public func >= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
32 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
33 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
34 | -> [NSLayoutConstraint] {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:32:43: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
30 |
31 | @discardableResult public func >= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
32 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
33 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
34 | -> [NSLayoutConstraint] {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:33:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
31 | @discardableResult public func >= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
32 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
33 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
34 | -> [NSLayoutConstraint] {
35 | [lhs.0 >= rhs.0, lhs.1 >= rhs.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:33:43: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
31 | @discardableResult public func >= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
32 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
33 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
34 | -> [NSLayoutConstraint] {
35 | [lhs.0 >= rhs.0, lhs.1 >= rhs.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:34:9: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
32 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
33 | rhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>))
34 | -> [NSLayoutConstraint] {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
35 | [lhs.0 >= rhs.0, lhs.1 >= rhs.1]
36 | }
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:40:42: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
38 | // MARK: - Double Dimension Anchor Constraint With Constant And Relation
39 |
40 | @discardableResult public func == (lhs: (NSLayoutDimension, NSLayoutDimension), rhs: BBSizeConvertible)
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
41 | -> [NSLayoutConstraint] {
42 | [lhs.0 == rhs.width, lhs.1 == rhs.height]
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:40:61: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
38 | // MARK: - Double Dimension Anchor Constraint With Constant And Relation
39 |
40 | @discardableResult public func == (lhs: (NSLayoutDimension, NSLayoutDimension), rhs: BBSizeConvertible)
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
41 | -> [NSLayoutConstraint] {
42 | [lhs.0 == rhs.width, lhs.1 == rhs.height]
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:41:9: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
39 |
40 | @discardableResult public func == (lhs: (NSLayoutDimension, NSLayoutDimension), rhs: BBSizeConvertible)
41 | -> [NSLayoutConstraint] {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
42 | [lhs.0 == rhs.width, lhs.1 == rhs.height]
43 | }
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:45:42: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
43 | }
44 |
45 | @discardableResult public func <= (lhs: (NSLayoutDimension, NSLayoutDimension), rhs: BBSizeConvertible)
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
46 | -> [NSLayoutConstraint] {
47 | [lhs.0 <= rhs.width, lhs.1 <= rhs.height]
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:45:61: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
43 | }
44 |
45 | @discardableResult public func <= (lhs: (NSLayoutDimension, NSLayoutDimension), rhs: BBSizeConvertible)
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
46 | -> [NSLayoutConstraint] {
47 | [lhs.0 <= rhs.width, lhs.1 <= rhs.height]
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:46:9: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
44 |
45 | @discardableResult public func <= (lhs: (NSLayoutDimension, NSLayoutDimension), rhs: BBSizeConvertible)
46 | -> [NSLayoutConstraint] {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
47 | [lhs.0 <= rhs.width, lhs.1 <= rhs.height]
48 | }
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:50:42: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
48 | }
49 |
50 | @discardableResult public func >= (lhs: (NSLayoutDimension, NSLayoutDimension), rhs: BBSizeConvertible)
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
51 | -> [NSLayoutConstraint] {
52 | [lhs.0 >= rhs.width, lhs.1 >= rhs.height]
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:50:61: warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
48 | }
49 |
50 | @discardableResult public func >= (lhs: (NSLayoutDimension, NSLayoutDimension), rhs: BBSizeConvertible)
| `- warning: cannot use class 'NSLayoutDimension' here; 'AppKit' was not imported by this file
51 | -> [NSLayoutConstraint] {
52 | [lhs.0 >= rhs.width, lhs.1 >= rhs.height]
AppKit.NSLayoutDimension:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> {
| `- note: type declared here
3 | open func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalToConstant:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:51:9: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
49 |
50 | @discardableResult public func >= (lhs: (NSLayoutDimension, NSLayoutDimension), rhs: BBSizeConvertible)
51 | -> [NSLayoutConstraint] {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
52 | [lhs.0 >= rhs.width, lhs.1 >= rhs.height]
53 | }
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:57:22: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
55 | // MARK: - Double Anchor And Constant Combinations
56 |
57 | public func + (lhs: (NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
58 | rhs: BBOffsetConvertible)
59 | -> ((NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>), (CGFloat, CGFloat)) {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:57:59: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
55 | // MARK: - Double Anchor And Constant Combinations
56 |
57 | public func + (lhs: (NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
58 | rhs: BBOffsetConvertible)
59 | -> ((NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>), (CGFloat, CGFloat)) {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:59:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
57 | public func + (lhs: (NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>),
58 | rhs: BBOffsetConvertible)
59 | -> ((NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>), (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
60 | ((lhs.0, lhs.1), (rhs.horizontal, rhs.vertical))
61 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:59:47: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
57 | public func + (lhs: (NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>),
58 | rhs: BBOffsetConvertible)
59 | -> ((NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>), (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
60 | ((lhs.0, lhs.1), (rhs.horizontal, rhs.vertical))
61 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:63:22: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
61 | }
62 |
63 | public func + (lhs: (NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutXAxisAnchor>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
64 | rhs: BBEdgeInsetConvertible)
65 | -> ((NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutXAxisAnchor>), (CGFloat, CGFloat)) {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:63:59: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
61 | }
62 |
63 | public func + (lhs: (NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutXAxisAnchor>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
64 | rhs: BBEdgeInsetConvertible)
65 | -> ((NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutXAxisAnchor>), (CGFloat, CGFloat)) {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:65:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
63 | public func + (lhs: (NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutXAxisAnchor>),
64 | rhs: BBEdgeInsetConvertible)
65 | -> ((NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutXAxisAnchor>), (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
66 | ((lhs.0, lhs.1), (rhs.left, -rhs.right))
67 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:65:47: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
63 | public func + (lhs: (NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutXAxisAnchor>),
64 | rhs: BBEdgeInsetConvertible)
65 | -> ((NSLayoutAnchor<NSLayoutXAxisAnchor>, NSLayoutAnchor<NSLayoutXAxisAnchor>), (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
66 | ((lhs.0, lhs.1), (rhs.left, -rhs.right))
67 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:69:22: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
67 | }
68 |
69 | public func + (lhs: (NSLayoutAnchor<NSLayoutYAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
70 | rhs: BBEdgeInsetConvertible)
71 | -> ((NSLayoutAnchor<NSLayoutYAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>), (CGFloat, CGFloat)) {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:69:59: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
67 | }
68 |
69 | public func + (lhs: (NSLayoutAnchor<NSLayoutYAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
70 | rhs: BBEdgeInsetConvertible)
71 | -> ((NSLayoutAnchor<NSLayoutYAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>), (CGFloat, CGFloat)) {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:71:10: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
69 | public func + (lhs: (NSLayoutAnchor<NSLayoutYAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>),
70 | rhs: BBEdgeInsetConvertible)
71 | -> ((NSLayoutAnchor<NSLayoutYAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>), (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
72 | ((lhs.0, lhs.1), (rhs.top, -rhs.bottom))
73 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:71:47: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
69 | public func + (lhs: (NSLayoutAnchor<NSLayoutYAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>),
70 | rhs: BBEdgeInsetConvertible)
71 | -> ((NSLayoutAnchor<NSLayoutYAxisAnchor>, NSLayoutAnchor<NSLayoutYAxisAnchor>), (CGFloat, CGFloat)) {
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
72 | ((lhs.0, lhs.1), (rhs.top, -rhs.bottom))
73 | }
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:78:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
76 |
77 | @discardableResult public func == <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
78 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
79 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
80 | -> [NSLayoutConstraint] {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:78:43: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
76 |
77 | @discardableResult public func == <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
78 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
79 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
80 | -> [NSLayoutConstraint] {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:79:12: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
77 | @discardableResult public func == <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
78 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
79 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
80 | -> [NSLayoutConstraint] {
81 | [lhs.0 == rhs.0.0 + rhs.1.0, lhs.1 == rhs.0.1 + rhs.1.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:79:44: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
77 | @discardableResult public func == <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
78 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
79 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
80 | -> [NSLayoutConstraint] {
81 | [lhs.0 == rhs.0.0 + rhs.1.0, lhs.1 == rhs.0.1 + rhs.1.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:80:9: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
78 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
79 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
80 | -> [NSLayoutConstraint] {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
81 | [lhs.0 == rhs.0.0 + rhs.1.0, lhs.1 == rhs.0.1 + rhs.1.1]
82 | }
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:85:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
83 |
84 | @discardableResult public func <= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
85 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
86 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
87 | -> [NSLayoutConstraint] {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:85:43: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
83 |
84 | @discardableResult public func <= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
85 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
86 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
87 | -> [NSLayoutConstraint] {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:86:12: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
84 | @discardableResult public func <= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
85 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
86 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
87 | -> [NSLayoutConstraint] {
88 | [lhs.0 <= rhs.0.0 + rhs.1.0, lhs.1 <= rhs.0.1 + rhs.1.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:86:44: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
84 | @discardableResult public func <= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
85 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
86 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
87 | -> [NSLayoutConstraint] {
88 | [lhs.0 <= rhs.0.0 + rhs.1.0, lhs.1 <= rhs.0.1 + rhs.1.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:87:9: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
85 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
86 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
87 | -> [NSLayoutConstraint] {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
88 | [lhs.0 <= rhs.0.0 + rhs.1.0, lhs.1 <= rhs.0.1 + rhs.1.1]
89 | }
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:92:11: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
90 |
91 | @discardableResult public func >= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
92 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
93 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
94 | -> [NSLayoutConstraint] {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:92:43: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
90 |
91 | @discardableResult public func >= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
92 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
93 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
94 | -> [NSLayoutConstraint] {
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:93:12: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
91 | @discardableResult public func >= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
92 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
93 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
94 | -> [NSLayoutConstraint] {
95 | [lhs.0 >= rhs.0.0 + rhs.1.0, lhs.1 >= rhs.0.1 + rhs.1.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:93:44: warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
91 | @discardableResult public func >= <LeftAnchorType: NSObject, RightAnchorType: NSObject>(
92 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
93 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
| `- warning: cannot use generic class 'NSLayoutAnchor' here; 'AppKit' was not imported by this file
94 | -> [NSLayoutConstraint] {
95 | [lhs.0 >= rhs.0.0 + rhs.1.0, lhs.1 >= rhs.0.1 + rhs.1.1]
AppKit.NSLayoutAnchor:2:12: note: type declared here
1 | @available(macOS 10.11, *)
2 | open class NSLayoutAnchor<AnchorType> : NSObject, NSCopying, NSCoding where AnchorType : AnyObject {
| `- note: type declared here
3 | open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
4 | @available(swift, obsoleted: 3, renamed: "constraint(equalTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBOperators/BBAutoLayoutableTupleOperators.swift:94:9: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
92 | lhs: (NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>),
93 | rhs: ((NSLayoutAnchor<LeftAnchorType>, NSLayoutAnchor<RightAnchorType>), (CGFloat, CGFloat)))
94 | -> [NSLayoutConstraint] {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
95 | [lhs.0 >= rhs.0.0 + rhs.1.0, lhs.1 >= rhs.0.1 + rhs.1.1]
96 | }
AppKit.NSLayoutConstraint:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSLayoutConstraint : NSObject {
| `- note: type declared here
3 | @available(macOS 10.7, *)
4 | open class func constraints(withVisualFormat format: String, options opts: NSLayoutConstraint.FormatOptions = [], metrics: [String : Any]?, views: [String : Any]) -> [NSLayoutConstraint]
[17/20] Compiling BBLayoutKit BBAnchorable.swift
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:215:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
213 | switch relation {
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
216 | if let rhs = rhs as? NSLayoutDimension {
217 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:216:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
216 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
217 | lhs.constraint(
218 | lessThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:234:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
232 | }
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
235 | if let rhs = rhs as? NSLayoutDimension {
236 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:235:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
235 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
236 | lhs.constraint(
237 | greaterThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:253:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
251 | }
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
254 | if let rhs = rhs as? NSLayoutDimension {
255 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:254:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
254 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
255 | lhs.constraint(
256 | equalTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:306:24: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
304 | switch attribute {
305 | case .top:
306 | return top as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:308:25: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
306 | return top as? NSLayoutAnchor<AnchorType>
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:310:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
308 | return left as? NSLayoutAnchor<AnchorType>
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:312:27: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
310 | return leading as? NSLayoutAnchor<AnchorType>
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:314:26: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
312 | return bottom as? NSLayoutAnchor<AnchorType>
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:316:29: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
314 | return right as? NSLayoutAnchor<AnchorType>
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:318:26: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
316 | return trailing as? NSLayoutAnchor<AnchorType>
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:320:27: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
318 | return width as? NSLayoutAnchor<AnchorType>
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:322:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
320 | return height as? NSLayoutAnchor<AnchorType>
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:324:28: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
322 | return centerX as? NSLayoutAnchor<AnchorType>
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
325 | default:
326 | return nil
[18/20] Compiling BBLayoutKit BBAnchorableExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:215:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
213 | switch relation {
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
216 | if let rhs = rhs as? NSLayoutDimension {
217 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:216:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
214 | case .lessThanOrEqual:
215 | if let lhs = lhs as? NSLayoutDimension {
216 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
217 | lhs.constraint(
218 | lessThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:234:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
232 | }
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
235 | if let rhs = rhs as? NSLayoutDimension {
236 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:235:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
233 | case .greaterThanOrEqual:
234 | if let lhs = lhs as? NSLayoutDimension {
235 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
236 | lhs.constraint(
237 | greaterThanOrEqualTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:253:30: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
251 | }
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
254 | if let rhs = rhs as? NSLayoutDimension {
255 | lhs.constraint(
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:254:34: warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
252 | default:
253 | if let lhs = lhs as? NSLayoutDimension {
254 | if let rhs = rhs as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>?' to unrelated type 'NSLayoutDimension' always fails
255 | lhs.constraint(
256 | equalTo: rhs,
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:306:24: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
304 | switch attribute {
305 | case .top:
306 | return top as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:308:25: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
306 | return top as? NSLayoutAnchor<AnchorType>
307 | case .left:
308 | return left as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:310:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
308 | return left as? NSLayoutAnchor<AnchorType>
309 | case .leading:
310 | return leading as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:312:27: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
310 | return leading as? NSLayoutAnchor<AnchorType>
311 | case .bottom:
312 | return bottom as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:314:26: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
312 | return bottom as? NSLayoutAnchor<AnchorType>
313 | case .right:
314 | return right as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:316:29: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
314 | return right as? NSLayoutAnchor<AnchorType>
315 | case .trailing:
316 | return trailing as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:318:26: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
316 | return trailing as? NSLayoutAnchor<AnchorType>
317 | case .width:
318 | return width as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:320:27: warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
318 | return width as? NSLayoutAnchor<AnchorType>
319 | case .height:
320 | return height as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutDimension' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:322:28: warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
320 | return height as? NSLayoutAnchor<AnchorType>
321 | case .centerX:
322 | return centerX as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutXAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorableExtensions.swift:324:28: warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
322 | return centerX as? NSLayoutAnchor<AnchorType>
323 | case .centerY:
324 | return centerY as? NSLayoutAnchor<AnchorType>
| `- warning: cast from 'NSLayoutYAxisAnchor' to unrelated type 'NSLayoutAnchor<AnchorType>' always fails
325 | default:
326 | return nil
[19/20] Compiling BBLayoutKit BBAnchorableHelpers.swift
AppKit.NSView:5:41: warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAutoLayoutable/BBAutoLayoutable.swift:42:19: note: add '@preconcurrency' to the 'BBAutoLayoutable' conformance to defer isolation checking to run time
13 | associatedtype View: BBAutoLayoutable
14 |
15 | var superview: View? { get }
| `- note: 'superview' declared here
16 |
17 | var translatesAutoresizingMaskIntoConstraints: Bool { get set }
:
40 | import AppKit.NSView
41 |
42 | extension NSView: BBAutoLayoutable { }
| `- note: add '@preconcurrency' to the 'BBAutoLayoutable' conformance to defer isolation checking to run time
43 |
44 | #endif
AppKit.NSView:3:25: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | extension NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
4 | @available(macOS 10.7, *)
5 | open class var requiresConstraintBasedLayout: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAutoLayoutable/BBAutoLayoutable.swift:17:9: note: 'translatesAutoresizingMaskIntoConstraints' declared here
15 | var superview: View? { get }
16 |
17 | var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- note: 'translatesAutoresizingMaskIntoConstraints' declared here
18 |
19 | func addSubview(_ view: View)
AppKit.NSView:29:15: warning: main actor-isolated instance method 'addSubview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 | @available(macOS 10.5, *)
28 | open func viewDidUnhide()
29 | open func addSubview(_ view: NSView)
| |- warning: main actor-isolated instance method 'addSubview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'addSubview' to make this instance method not isolated to the actor
30 | open func addSubview(_ view: NSView, positioned place: NSWindow.OrderingMode, relativeTo otherView: NSView?)
31 | open func sortSubviews(_ compare: @convention(c) (NSView, NSView, UnsafeMutableRawPointer?) -> ComparisonResult, context: UnsafeMutableRawPointer?)
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAutoLayoutable/BBAutoLayoutable.swift:19:10: note: mark the protocol requirement 'addSubview' 'async' to allow actor-isolated conformances
17 | var translatesAutoresizingMaskIntoConstraints: Bool { get set }
18 |
19 | func addSubview(_ view: View)
| `- note: mark the protocol requirement 'addSubview' 'async' to allow actor-isolated conformances
20 | }
21 |
AppKit.NSView:3:25: warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:17:9: note: 'leadingAnchor' declared here
15 | public protocol BBAnchorable {
16 |
17 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leadingAnchor' declared here
18 |
19 | var trailingAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:5:14: warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:19:9: note: 'trailingAnchor' declared here
17 | var leadingAnchor: NSLayoutXAxisAnchor { get }
18 |
19 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'trailingAnchor' declared here
20 |
21 | var leftAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:7:14: warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:21:9: note: 'leftAnchor' declared here
19 | var trailingAnchor: NSLayoutXAxisAnchor { get }
20 |
21 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leftAnchor' declared here
22 |
23 | var rightAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:9:14: warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 | @available(macOS 10.11, *)
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:23:9: note: 'rightAnchor' declared here
21 | var leftAnchor: NSLayoutXAxisAnchor { get }
22 |
23 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'rightAnchor' declared here
24 |
25 | var topAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:11:14: warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:25:9: note: 'topAnchor' declared here
23 | var rightAnchor: NSLayoutXAxisAnchor { get }
24 |
25 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'topAnchor' declared here
26 |
27 | var bottomAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:13:14: warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:27:9: note: 'bottomAnchor' declared here
25 | var topAnchor: NSLayoutYAxisAnchor { get }
26 |
27 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'bottomAnchor' declared here
28 |
29 | var widthAnchor: NSLayoutDimension { get }
AppKit.NSView:15:14: warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:29:9: note: 'widthAnchor' declared here
27 | var bottomAnchor: NSLayoutYAxisAnchor { get }
28 |
29 | var widthAnchor: NSLayoutDimension { get }
| `- note: 'widthAnchor' declared here
30 |
31 | var heightAnchor: NSLayoutDimension { get }
AppKit.NSView:17:14: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:31:9: note: 'heightAnchor' declared here
29 | var widthAnchor: NSLayoutDimension { get }
30 |
31 | var heightAnchor: NSLayoutDimension { get }
| `- note: 'heightAnchor' declared here
32 |
33 | var centerXAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:19:14: warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
17 | open var heightAnchor: NSLayoutDimension { get }
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:33:9: note: 'centerXAnchor' declared here
31 | var heightAnchor: NSLayoutDimension { get }
32 |
33 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'centerXAnchor' declared here
34 |
35 | var centerYAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:21:14: warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:35:9: note: 'centerYAnchor' declared here
33 | var centerXAnchor: NSLayoutXAxisAnchor { get }
34 |
35 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'centerYAnchor' declared here
36 | }
37 |
[20/20] Compiling BBLayoutKit BBAutoLayoutable.swift
AppKit.NSView:5:41: warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAutoLayoutable/BBAutoLayoutable.swift:42:19: note: add '@preconcurrency' to the 'BBAutoLayoutable' conformance to defer isolation checking to run time
13 | associatedtype View: BBAutoLayoutable
14 |
15 | var superview: View? { get }
| `- note: 'superview' declared here
16 |
17 | var translatesAutoresizingMaskIntoConstraints: Bool { get set }
:
40 | import AppKit.NSView
41 |
42 | extension NSView: BBAutoLayoutable { }
| `- note: add '@preconcurrency' to the 'BBAutoLayoutable' conformance to defer isolation checking to run time
43 |
44 | #endif
AppKit.NSView:3:25: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | extension NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
4 | @available(macOS 10.7, *)
5 | open class var requiresConstraintBasedLayout: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAutoLayoutable/BBAutoLayoutable.swift:17:9: note: 'translatesAutoresizingMaskIntoConstraints' declared here
15 | var superview: View? { get }
16 |
17 | var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- note: 'translatesAutoresizingMaskIntoConstraints' declared here
18 |
19 | func addSubview(_ view: View)
AppKit.NSView:29:15: warning: main actor-isolated instance method 'addSubview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 | @available(macOS 10.5, *)
28 | open func viewDidUnhide()
29 | open func addSubview(_ view: NSView)
| |- warning: main actor-isolated instance method 'addSubview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'addSubview' to make this instance method not isolated to the actor
30 | open func addSubview(_ view: NSView, positioned place: NSWindow.OrderingMode, relativeTo otherView: NSView?)
31 | open func sortSubviews(_ compare: @convention(c) (NSView, NSView, UnsafeMutableRawPointer?) -> ComparisonResult, context: UnsafeMutableRawPointer?)
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAutoLayoutable/BBAutoLayoutable.swift:19:10: note: mark the protocol requirement 'addSubview' 'async' to allow actor-isolated conformances
17 | var translatesAutoresizingMaskIntoConstraints: Bool { get set }
18 |
19 | func addSubview(_ view: View)
| `- note: mark the protocol requirement 'addSubview' 'async' to allow actor-isolated conformances
20 | }
21 |
AppKit.NSView:3:25: warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:17:9: note: 'leadingAnchor' declared here
15 | public protocol BBAnchorable {
16 |
17 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leadingAnchor' declared here
18 |
19 | var trailingAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:5:14: warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:19:9: note: 'trailingAnchor' declared here
17 | var leadingAnchor: NSLayoutXAxisAnchor { get }
18 |
19 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'trailingAnchor' declared here
20 |
21 | var leftAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:7:14: warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:21:9: note: 'leftAnchor' declared here
19 | var trailingAnchor: NSLayoutXAxisAnchor { get }
20 |
21 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leftAnchor' declared here
22 |
23 | var rightAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:9:14: warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 | @available(macOS 10.11, *)
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:23:9: note: 'rightAnchor' declared here
21 | var leftAnchor: NSLayoutXAxisAnchor { get }
22 |
23 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'rightAnchor' declared here
24 |
25 | var topAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:11:14: warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:25:9: note: 'topAnchor' declared here
23 | var rightAnchor: NSLayoutXAxisAnchor { get }
24 |
25 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'topAnchor' declared here
26 |
27 | var bottomAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:13:14: warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:27:9: note: 'bottomAnchor' declared here
25 | var topAnchor: NSLayoutYAxisAnchor { get }
26 |
27 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'bottomAnchor' declared here
28 |
29 | var widthAnchor: NSLayoutDimension { get }
AppKit.NSView:15:14: warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:29:9: note: 'widthAnchor' declared here
27 | var bottomAnchor: NSLayoutYAxisAnchor { get }
28 |
29 | var widthAnchor: NSLayoutDimension { get }
| `- note: 'widthAnchor' declared here
30 |
31 | var heightAnchor: NSLayoutDimension { get }
AppKit.NSView:17:14: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:31:9: note: 'heightAnchor' declared here
29 | var widthAnchor: NSLayoutDimension { get }
30 |
31 | var heightAnchor: NSLayoutDimension { get }
| `- note: 'heightAnchor' declared here
32 |
33 | var centerXAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:19:14: warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
17 | open var heightAnchor: NSLayoutDimension { get }
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:33:9: note: 'centerXAnchor' declared here
31 | var heightAnchor: NSLayoutDimension { get }
32 |
33 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'centerXAnchor' declared here
34 |
35 | var centerYAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:21:14: warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/BBLayoutKit/BBAnchorable/BBAnchorable.swift:35:9: note: 'centerYAnchor' declared here
33 | var centerXAnchor: NSLayoutXAxisAnchor { get }
34 |
35 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'centerYAnchor' declared here
36 | }
37 |
Build complete! (15.63s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BBLayoutKit",
"name" : "BBLayoutKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "BBLayoutKit",
"targets" : [
"BBLayoutKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BBLayoutKitTests",
"module_type" : "SwiftTarget",
"name" : "BBLayoutKitTests",
"path" : "Tests/BBLayoutKitTests",
"sources" : [
"BBLayoutAppKitTests.swift",
"BBLayoutKitTests.swift",
"BBLayoutUIKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"BBLayoutKit"
],
"type" : "test"
},
{
"c99name" : "BBLayoutKit",
"module_type" : "SwiftTarget",
"name" : "BBLayoutKit",
"path" : "Sources/BBLayoutKit",
"product_memberships" : [
"BBLayoutKit"
],
"sources" : [
"BBAnchorable/BBAnchorable.swift",
"BBAnchorable/BBAnchorableExtensions.swift",
"BBAnchorable/BBAnchorableHelpers.swift",
"BBAutoLayoutable/BBAutoLayoutable.swift",
"BBAutoLayoutable/BBAutoLayoutableExtensions.swift",
"BBAutoLayoutable/BBAutoLayoutableHelpers.swift",
"BBConvertible/BBEdgeInsetConvertible.swift",
"BBConvertible/BBMultiplierConvertible.swift",
"BBConvertible/BBOffsetConvertible.swift",
"BBConvertible/BBSizeConvertible.swift",
"BBHelpers/BBMultiplier.swift",
"BBHelpers/BBOffset.swift",
"BBHelpers/NSLayoutConstraintAttributeExtensions.swift",
"BBOperators/BBAnchorableViewOperators.swift",
"BBOperators/BBAutoLayoutableOperators.swift",
"BBOperators/BBAutoLayoutableQuadrupleOperators.swift",
"BBOperators/BBAutoLayoutableTupleOperators.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.