Build Information
Successful build of AutoLayoutProxy, reference master (b072fb
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 14:00:20 UTC.
Swift 6 data race errors: 16
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
234 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:249:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
248 | -> NSLayoutConstraint {
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
250 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
251 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:250:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
248 | -> NSLayoutConstraint {
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
250 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
251 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
252 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:267:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
266 | -> NSLayoutConstraint {
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
268 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
269 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:268:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
266 | -> NSLayoutConstraint {
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
268 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
269 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
270 | multiplier: rhs.1.0,
[13/25] Compiling AutoLayoutProxy BBAutoLayoutableOperators.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:175:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
173 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
174 | -> NSLayoutConstraint {
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
176 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
177 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:176:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
174 | -> NSLayoutConstraint {
175 | if let lhsAnchor = lhs as? NSLayoutDimension,
176 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
177 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
178 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:193:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
191 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
192 | -> NSLayoutConstraint {
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
194 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
195 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:194:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
192 | -> NSLayoutConstraint {
193 | if let lhsAnchor = lhs as? NSLayoutDimension,
194 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
195 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
196 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:211:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
209 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
210 | -> NSLayoutConstraint {
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
212 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
213 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:212:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
210 | -> NSLayoutConstraint {
211 | if let lhsAnchor = lhs as? NSLayoutDimension,
212 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
213 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
214 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:231:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
229 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
230 | -> NSLayoutConstraint {
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
232 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
233 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:232:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
230 | -> NSLayoutConstraint {
231 | if let lhsAnchor = lhs as? NSLayoutDimension,
232 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
233 | let constraint = lhsAnchor.constraint(equalTo: rhsAnchor,
234 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:249:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
247 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
248 | -> NSLayoutConstraint {
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
250 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
251 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:250:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
248 | -> NSLayoutConstraint {
249 | if let lhsAnchor = lhs as? NSLayoutDimension,
250 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
251 | let constraint = lhsAnchor.constraint(lessThanOrEqualTo: rhsAnchor,
252 | multiplier: rhs.1.0,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:267:39: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
265 | rhs: (NSLayoutAnchor<AnchorType>, (CGFloat, CGFloat)))
266 | -> NSLayoutConstraint {
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
268 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
269 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBOperators/BBAutoLayoutableOperators.swift:268:41: warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
266 | -> NSLayoutConstraint {
267 | if let lhsAnchor = lhs as? NSLayoutDimension,
268 | let rhsAnchor = rhs.0 as? NSLayoutDimension {
| `- warning: cast from 'NSLayoutAnchor<AnchorType>' to unrelated type 'NSLayoutDimension' always fails
269 | let constraint = lhsAnchor.constraint(greaterThanOrEqualTo: rhsAnchor,
270 | multiplier: rhs.1.0,
[14/25] Compiling AutoLayoutProxy BBLayoutAnchor.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBDeclarative/BBLayoutAnchor.swift:17:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
15 | public protocol BBLayoutAnchor {
16 | func constraint(equalTo: Self,
17 | constant: CGFloat) -> NSLayoutConstraint
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
18 | func constraint(greaterThanOrEqualTo: Self,
19 | constant: CGFloat) -> NSLayoutConstraint
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/AutoLayoutProxy/BBDeclarative/BBLayoutAnchor.swift:19:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
17 | constant: CGFloat) -> NSLayoutConstraint
18 | func constraint(greaterThanOrEqualTo: Self,
19 | constant: CGFloat) -> NSLayoutConstraint
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
20 | func constraint(lessThanOrEqualTo: Self,
21 | constant: CGFloat) -> NSLayoutConstraint
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/AutoLayoutProxy/BBDeclarative/BBLayoutAnchor.swift:21:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
19 | constant: CGFloat) -> NSLayoutConstraint
20 | func constraint(lessThanOrEqualTo: Self,
21 | constant: CGFloat) -> NSLayoutConstraint
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
22 | }
23 |
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/AutoLayoutProxy/BBDeclarative/BBLayoutAnchor.swift:28:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
26 | @discardableResult func equalTo(
27 | _ anchor: Self,
28 | constant: CGFloat = 0) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
29 | let constraint = constraint(equalTo: anchor,
30 | constant: constant)
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/AutoLayoutProxy/BBDeclarative/BBLayoutAnchor.swift:37:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
35 | @discardableResult func greaterThanOrEqualTo(
36 | _ anchor: Self,
37 | constant: CGFloat = 0) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
38 | let constraint = constraint(greaterThanOrEqualTo: anchor,
39 | constant: constant)
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/AutoLayoutProxy/BBDeclarative/BBLayoutAnchor.swift:46:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
44 | @discardableResult func lessThanOrEqualTo(
45 | _ anchor: Self,
46 | constant: CGFloat = 0) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
47 | let constraint = constraint(lessThanOrEqualTo: anchor,
48 | constant: constant)
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:25:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
23 | init(
24 | item view1: Any,
25 | attribute attr1: NSLayoutConstraint.Attribute,
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
26 | relatedBy relation: NSLayoutConstraint.Relation,
27 | toItem view2: Any?,
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:26:25: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
24 | item view1: Any,
25 | attribute attr1: NSLayoutConstraint.Attribute,
26 | relatedBy relation: NSLayoutConstraint.Relation,
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
27 | toItem view2: Any?,
28 | attribute attr2: NSLayoutConstraint.Attribute,
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:28:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
26 | relatedBy relation: NSLayoutConstraint.Relation,
27 | toItem view2: Any?,
28 | attribute attr2: NSLayoutConstraint.Attribute,
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
29 | multiplier: CGFloat,
30 | constant c: CGFloat
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:37:23: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
35 | var secondItem: AnyObject? { get }
36 |
37 | var firstAttribute: NSLayoutConstraint.Attribute { get }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
38 |
39 | var secondAttribute: NSLayoutConstraint.Attribute { get }
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:39:24: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
37 | var firstAttribute: NSLayoutConstraint.Attribute { get }
38 |
39 | var secondAttribute: NSLayoutConstraint.Attribute { get }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
40 |
41 | var relation: NSLayoutConstraint.Relation { get }
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:41:17: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
39 | var secondAttribute: NSLayoutConstraint.Attribute { get }
40 |
41 | var relation: NSLayoutConstraint.Relation { get }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
42 |
43 | #if canImport(UIKit)
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:46:17: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
44 | var priority: UILayoutPriority { get set }
45 | #elseif canImport(Cocoa)
46 | var priority: NSLayoutConstraint.Priority { get set }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
47 | #endif
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]
[15/25] Compiling AutoLayoutProxy BBLayoutConstraint.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBDeclarative/BBLayoutAnchor.swift:17:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
15 | public protocol BBLayoutAnchor {
16 | func constraint(equalTo: Self,
17 | constant: CGFloat) -> NSLayoutConstraint
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
18 | func constraint(greaterThanOrEqualTo: Self,
19 | constant: CGFloat) -> NSLayoutConstraint
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/AutoLayoutProxy/BBDeclarative/BBLayoutAnchor.swift:19:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
17 | constant: CGFloat) -> NSLayoutConstraint
18 | func constraint(greaterThanOrEqualTo: Self,
19 | constant: CGFloat) -> NSLayoutConstraint
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
20 | func constraint(lessThanOrEqualTo: Self,
21 | constant: CGFloat) -> NSLayoutConstraint
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/AutoLayoutProxy/BBDeclarative/BBLayoutAnchor.swift:21:41: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
19 | constant: CGFloat) -> NSLayoutConstraint
20 | func constraint(lessThanOrEqualTo: Self,
21 | constant: CGFloat) -> NSLayoutConstraint
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
22 | }
23 |
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/AutoLayoutProxy/BBDeclarative/BBLayoutAnchor.swift:28:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
26 | @discardableResult func equalTo(
27 | _ anchor: Self,
28 | constant: CGFloat = 0) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
29 | let constraint = constraint(equalTo: anchor,
30 | constant: constant)
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/AutoLayoutProxy/BBDeclarative/BBLayoutAnchor.swift:37:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
35 | @discardableResult func greaterThanOrEqualTo(
36 | _ anchor: Self,
37 | constant: CGFloat = 0) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
38 | let constraint = constraint(greaterThanOrEqualTo: anchor,
39 | constant: constant)
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/AutoLayoutProxy/BBDeclarative/BBLayoutAnchor.swift:46:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
44 | @discardableResult func lessThanOrEqualTo(
45 | _ anchor: Self,
46 | constant: CGFloat = 0) -> NSLayoutConstraint {
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
47 | let constraint = constraint(lessThanOrEqualTo: anchor,
48 | constant: constant)
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:25:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
23 | init(
24 | item view1: Any,
25 | attribute attr1: NSLayoutConstraint.Attribute,
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
26 | relatedBy relation: NSLayoutConstraint.Relation,
27 | toItem view2: Any?,
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:26:25: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
24 | item view1: Any,
25 | attribute attr1: NSLayoutConstraint.Attribute,
26 | relatedBy relation: NSLayoutConstraint.Relation,
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
27 | toItem view2: Any?,
28 | attribute attr2: NSLayoutConstraint.Attribute,
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:28:22: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
26 | relatedBy relation: NSLayoutConstraint.Relation,
27 | toItem view2: Any?,
28 | attribute attr2: NSLayoutConstraint.Attribute,
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
29 | multiplier: CGFloat,
30 | constant c: CGFloat
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:37:23: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
35 | var secondItem: AnyObject? { get }
36 |
37 | var firstAttribute: NSLayoutConstraint.Attribute { get }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
38 |
39 | var secondAttribute: NSLayoutConstraint.Attribute { get }
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:39:24: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
37 | var firstAttribute: NSLayoutConstraint.Attribute { get }
38 |
39 | var secondAttribute: NSLayoutConstraint.Attribute { get }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
40 |
41 | var relation: NSLayoutConstraint.Relation { get }
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:41:17: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
39 | var secondAttribute: NSLayoutConstraint.Attribute { get }
40 |
41 | var relation: NSLayoutConstraint.Relation { get }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
42 |
43 | #if canImport(UIKit)
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/AutoLayoutProxy/BBDeclarative/BBLayoutConstraint.swift:46:17: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
44 | var priority: UILayoutPriority { get set }
45 | #elseif canImport(Cocoa)
46 | var priority: NSLayoutConstraint.Priority { get set }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
47 | #endif
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]
[16/25] Compiling AutoLayoutProxy BBPriorityConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBConvertible/BBPriorityConvertible.swift:18:24: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
16 | var priorityValue: UILayoutPriority { get }
17 | #elseif canImport(Cocoa)
18 | var priorityValue: NSLayoutConstraint.Priority { get }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
19 | #endif
20 | }
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/AutoLayoutProxy/BBConvertible/BBPriorityConvertible.swift:40:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
38 | #elseif canImport(Cocoa)
39 | extension NSLayoutConstraint.Priority: BBPriorityConvertible {
40 | public var priorityValue: NSLayoutConstraint.Priority { self }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
41 | }
42 |
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/AutoLayoutProxy/BBConvertible/BBPriorityConvertible.swift:39:11: warning: cannot use class 'NSLayoutConstraint' in an extension with public or '@usableFromInline' members; 'AppKit' was not imported by this file
37 | }
38 | #elseif canImport(Cocoa)
39 | extension NSLayoutConstraint.Priority: BBPriorityConvertible {
| `- warning: cannot use class 'NSLayoutConstraint' in an extension with public or '@usableFromInline' members; 'AppKit' was not imported by this file
40 | public var priorityValue: NSLayoutConstraint.Priority { self }
41 | }
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/AutoLayoutProxy/BBConvertible/BBPriorityConvertible.swift:44:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
42 |
43 | extension Float: BBPriorityConvertible {
44 | public var priorityValue: NSLayoutConstraint.Priority { NSLayoutConstraint.Priority(self) }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
45 | }
46 |
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/AutoLayoutProxy/BBConvertible/BBPriorityConvertible.swift:48:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
46 |
47 | extension CGFloat: BBPriorityConvertible {
48 | public var priorityValue: NSLayoutConstraint.Priority { NSLayoutConstraint.Priority(Float(self)) }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
49 | }
50 |
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/AutoLayoutProxy/BBConvertible/BBPriorityConvertible.swift:52:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
50 |
51 | extension Int: BBPriorityConvertible {
52 | public var priorityValue: NSLayoutConstraint.Priority { NSLayoutConstraint.Priority(Float(self)) }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
53 | }
54 | #endif
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/25] Compiling AutoLayoutProxy BBSizeConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBConvertible/BBPriorityConvertible.swift:18:24: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
16 | var priorityValue: UILayoutPriority { get }
17 | #elseif canImport(Cocoa)
18 | var priorityValue: NSLayoutConstraint.Priority { get }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
19 | #endif
20 | }
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/AutoLayoutProxy/BBConvertible/BBPriorityConvertible.swift:40:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
38 | #elseif canImport(Cocoa)
39 | extension NSLayoutConstraint.Priority: BBPriorityConvertible {
40 | public var priorityValue: NSLayoutConstraint.Priority { self }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
41 | }
42 |
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/AutoLayoutProxy/BBConvertible/BBPriorityConvertible.swift:39:11: warning: cannot use class 'NSLayoutConstraint' in an extension with public or '@usableFromInline' members; 'AppKit' was not imported by this file
37 | }
38 | #elseif canImport(Cocoa)
39 | extension NSLayoutConstraint.Priority: BBPriorityConvertible {
| `- warning: cannot use class 'NSLayoutConstraint' in an extension with public or '@usableFromInline' members; 'AppKit' was not imported by this file
40 | public var priorityValue: NSLayoutConstraint.Priority { self }
41 | }
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/AutoLayoutProxy/BBConvertible/BBPriorityConvertible.swift:44:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
42 |
43 | extension Float: BBPriorityConvertible {
44 | public var priorityValue: NSLayoutConstraint.Priority { NSLayoutConstraint.Priority(self) }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
45 | }
46 |
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/AutoLayoutProxy/BBConvertible/BBPriorityConvertible.swift:48:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
46 |
47 | extension CGFloat: BBPriorityConvertible {
48 | public var priorityValue: NSLayoutConstraint.Priority { NSLayoutConstraint.Priority(Float(self)) }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
49 | }
50 |
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/AutoLayoutProxy/BBConvertible/BBPriorityConvertible.swift:52:31: warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
50 |
51 | extension Int: BBPriorityConvertible {
52 | public var priorityValue: NSLayoutConstraint.Priority { NSLayoutConstraint.Priority(Float(self)) }
| `- warning: cannot use class 'NSLayoutConstraint' here; 'AppKit' was not imported by this file
53 | }
54 | #endif
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]
[18/25] Compiling AutoLayoutProxy BBAnchorable.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/25] Compiling AutoLayoutProxy BBAnchorableExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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
[20/25] Compiling AutoLayoutProxy BBAnchorableHelpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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/AutoLayoutProxy/BBAnchorable/BBAnchorableHelpers.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
[21/25] Compiling AutoLayoutProxy BBAutoLayoutableHelpers.swift
[22/25] Compiling AutoLayoutProxy BBEdgeInsetConvertible.swift
[23/25] Compiling AutoLayoutProxy BBAutoLayoutStackable.swift
AppKit.NSStackView:24:26: warning: main actor-isolated instance method 'addArrangedSubview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | open var arrangedSubviews: [NSView] { get }
23 | @available(macOS 10.11, *)
24 | @MainActor open func addArrangedSubview(_ view: NSView)
| |- warning: main actor-isolated instance method 'addArrangedSubview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'addArrangedSubview' to make this instance method not isolated to the actor
25 | @available(macOS 10.11, *)
26 | open func insertArrangedSubview(_ view: NSView, at index: Int)
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAutoLayoutable/BBAutoLayoutStackable.swift:26:24: note: add '@preconcurrency' to the 'BBAutoLayoutStackable' conformance to defer isolation checking to run time
13 | associatedtype View: BBAutoLayoutable
14 |
15 | func addArrangedSubview(_ view: View)
| `- note: mark the protocol requirement 'addArrangedSubview' 'async' to allow actor-isolated conformances
16 | }
17 |
:
24 | import AppKit.NSView
25 |
26 | extension NSStackView: BBAutoLayoutStackable { }
| `- note: add '@preconcurrency' to the 'BBAutoLayoutStackable' conformance to defer isolation checking to run time
27 |
28 | #endif
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/AutoLayoutProxy/BBAutoLayoutable/BBAutoLayoutable.swift:55: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 }
:
53 | import AppKit.NSView
54 |
55 | extension NSView: BBAutoLayoutable {
| `- note: add '@preconcurrency' to the 'BBAutoLayoutable' conformance to defer isolation checking to run time
56 |
57 | @discardableResult public func addSuperview(_ superView: NSView?) -> NSView {
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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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 |
[24/25] Compiling AutoLayoutProxy BBAutoLayoutable.swift
AppKit.NSStackView:24:26: warning: main actor-isolated instance method 'addArrangedSubview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | open var arrangedSubviews: [NSView] { get }
23 | @available(macOS 10.11, *)
24 | @MainActor open func addArrangedSubview(_ view: NSView)
| |- warning: main actor-isolated instance method 'addArrangedSubview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'addArrangedSubview' to make this instance method not isolated to the actor
25 | @available(macOS 10.11, *)
26 | open func insertArrangedSubview(_ view: NSView, at index: Int)
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAutoLayoutable/BBAutoLayoutStackable.swift:26:24: note: add '@preconcurrency' to the 'BBAutoLayoutStackable' conformance to defer isolation checking to run time
13 | associatedtype View: BBAutoLayoutable
14 |
15 | func addArrangedSubview(_ view: View)
| `- note: mark the protocol requirement 'addArrangedSubview' 'async' to allow actor-isolated conformances
16 | }
17 |
:
24 | import AppKit.NSView
25 |
26 | extension NSStackView: BBAutoLayoutStackable { }
| `- note: add '@preconcurrency' to the 'BBAutoLayoutStackable' conformance to defer isolation checking to run time
27 |
28 | #endif
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/AutoLayoutProxy/BBAutoLayoutable/BBAutoLayoutable.swift:55: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 }
:
53 | import AppKit.NSView
54 |
55 | extension NSView: BBAutoLayoutable {
| `- note: add '@preconcurrency' to the 'BBAutoLayoutable' conformance to defer isolation checking to run time
56 |
57 | @discardableResult public func addSuperview(_ superView: NSView?) -> NSView {
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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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 |
[25/25] Compiling AutoLayoutProxy BBAutoLayoutableExtensions.swift
AppKit.NSStackView:24:26: warning: main actor-isolated instance method 'addArrangedSubview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | open var arrangedSubviews: [NSView] { get }
23 | @available(macOS 10.11, *)
24 | @MainActor open func addArrangedSubview(_ view: NSView)
| |- warning: main actor-isolated instance method 'addArrangedSubview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'addArrangedSubview' to make this instance method not isolated to the actor
25 | @available(macOS 10.11, *)
26 | open func insertArrangedSubview(_ view: NSView, at index: Int)
/Users/admin/builder/spi-builder-workspace/Sources/AutoLayoutProxy/BBAutoLayoutable/BBAutoLayoutStackable.swift:26:24: note: add '@preconcurrency' to the 'BBAutoLayoutStackable' conformance to defer isolation checking to run time
13 | associatedtype View: BBAutoLayoutable
14 |
15 | func addArrangedSubview(_ view: View)
| `- note: mark the protocol requirement 'addArrangedSubview' 'async' to allow actor-isolated conformances
16 | }
17 |
:
24 | import AppKit.NSView
25 |
26 | extension NSStackView: BBAutoLayoutStackable { }
| `- note: add '@preconcurrency' to the 'BBAutoLayoutStackable' conformance to defer isolation checking to run time
27 |
28 | #endif
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/AutoLayoutProxy/BBAutoLayoutable/BBAutoLayoutable.swift:55: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 }
:
53 | import AppKit.NSView
54 |
55 | extension NSView: BBAutoLayoutable {
| `- note: add '@preconcurrency' to the 'BBAutoLayoutable' conformance to defer isolation checking to run time
56 |
57 | @discardableResult public func addSuperview(_ superView: NSView?) -> NSView {
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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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/AutoLayoutProxy/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.11s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AutoLayoutProxy",
"name" : "AutoLayoutProxy",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "AutoLayoutProxy",
"targets" : [
"AutoLayoutProxy"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AutoLayoutProxyTests",
"module_type" : "SwiftTarget",
"name" : "AutoLayoutProxyTests",
"path" : "Tests/AutoLayoutProxyTests",
"sources" : [
"AutoLayoutProxyMocks.swift",
"AutoLayoutProxyTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"AutoLayoutProxy"
],
"type" : "test"
},
{
"c99name" : "AutoLayoutProxy",
"module_type" : "SwiftTarget",
"name" : "AutoLayoutProxy",
"path" : "Sources/AutoLayoutProxy",
"product_memberships" : [
"AutoLayoutProxy"
],
"sources" : [
"BBAnchorable/BBAnchorable.swift",
"BBAnchorable/BBAnchorableExtensions.swift",
"BBAnchorable/BBAnchorableHelpers.swift",
"BBAutoLayoutable/BBAutoLayoutStackable.swift",
"BBAutoLayoutable/BBAutoLayoutable.swift",
"BBAutoLayoutable/BBAutoLayoutableExtensions.swift",
"BBAutoLayoutable/BBAutoLayoutableHelpers.swift",
"BBConvertible/BBEdgeInsetConvertible.swift",
"BBConvertible/BBMultiplierConvertible.swift",
"BBConvertible/BBOffsetConvertible.swift",
"BBConvertible/BBPriorityConvertible.swift",
"BBConvertible/BBSizeConvertible.swift",
"BBDeclarative/BBLayoutAnchor.swift",
"BBDeclarative/BBLayoutConstraint.swift",
"BBDeclarative/BBLayoutDimension.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.1"
}
Done.