Build Information
Failed to build AutoLayoutHelpers, reference main (45989d), with Swift 6.2 for Android on 31 Aug 2025 06:45:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/omv-libs/AutoLayoutHelpers.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/omv-libs/AutoLayoutHelpers
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 45989dc Merge pull request #7 from Gabardone/Xcode15Updates
Cloned https://github.com/omv-libs/AutoLayoutHelpers.git
Revision (git rev-parse @):
45989dc5b65c6ab34f40beaf3cf1f8fb991d0730
SUCCESS checkout https://github.com/omv-libs/AutoLayoutHelpers.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/omv-libs/AutoLayoutHelpers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/14] Compiling AutoLayoutHelpers XXLayoutGuide+AutoLayout.swift
[4/15] Compiling AutoLayoutHelpers NSView+AutoLayout.swift
[5/15] Compiling AutoLayoutHelpers XXView+AutoLayout.swift
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:14:18: error: cannot find type 'XXView' in scope
12 | #endif
13 |
14 | public extension XXView {
| `- error: cannot find type 'XXView' in scope
15 | /**
16 | Use instead of `addSubview(_:)` to add a subview to the caller's subview array.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:37:11: error: cannot find type 'XXView' in scope
35 | NSView implements the `LayoutArea` protocol, but it still needs declaring in Swift.
36 | */
37 | extension XXView: LayoutArea {}
| `- error: cannot find type 'XXView' in scope
38 |
39 | public extension XXView {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:39:18: error: cannot find type 'XXView' in scope
37 | extension XXView: LayoutArea {}
38 |
39 | public extension XXView {
| `- error: cannot find type 'XXView' in scope
40 | /**
41 | Constraint generator for a view against its superview edges.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:28:23: error: cannot find type 'XXView' in scope
26 | used. The few cases where fully manual layout is warranted can turn the rule off.
27 | */
28 | func add(subview: XXView) {
| `- error: cannot find type 'XXView' in scope
29 | subview.translatesAutoresizingMaskIntoConstraints = false // swiftlint:disable:this avoid_manually_disabling_TARMiC line_length
30 | addSubview(subview) // swiftlint:disable:this avoid_addsubview
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:57:11: error: cannot find type 'NSLayoutConstraint' in scope
55 | _ edges: NSDirectionalRectEdge = .all,
56 | insets: NSDirectionalEdgeInsets = .zero
57 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
58 | guard let superview else {
59 | preconditionFailure("Attempted to create constraints against superview with no superview set.")
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:55:18: error: cannot find type 'NSDirectionalRectEdge' in scope
53 | */
54 | func constraintsAgainstSuperviewEdges(
55 | _ edges: NSDirectionalRectEdge = .all,
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
56 | insets: NSDirectionalEdgeInsets = .zero
57 | ) -> [NSLayoutConstraint] {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:56:17: error: cannot find type 'NSDirectionalEdgeInsets' in scope
54 | func constraintsAgainstSuperviewEdges(
55 | _ edges: NSDirectionalRectEdge = .all,
56 | insets: NSDirectionalEdgeInsets = .zero
| `- error: cannot find type 'NSDirectionalEdgeInsets' in scope
57 | ) -> [NSLayoutConstraint] {
58 | guard let superview else {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:77:11: error: cannot find type 'NSLayoutConstraint' in scope
75 | func constraintsAgainstSuperviewInsetEdges(
76 | _ insetEdges: (CGFloat, NSDirectionalRectEdge)...
77 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
78 | guard let superview else {
79 | preconditionFailure("Attempted to create constraints against superview with no superview set.")
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:76:24: error: cannot find type 'CGFloat' in scope
74 | */
75 | func constraintsAgainstSuperviewInsetEdges(
76 | _ insetEdges: (CGFloat, NSDirectionalRectEdge)...
| `- error: cannot find type 'CGFloat' in scope
77 | ) -> [NSLayoutConstraint] {
78 | guard let superview else {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:76:33: error: cannot find type 'NSDirectionalRectEdge' in scope
74 | */
75 | func constraintsAgainstSuperviewInsetEdges(
76 | _ insetEdges: (CGFloat, NSDirectionalRectEdge)...
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
77 | ) -> [NSLayoutConstraint] {
78 | guard let superview else {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:96:11: error: cannot find type 'NSLayoutConstraint' in scope
94 | horizontalOffset: CGFloat = 0.0,
95 | verticalOffset: CGFloat = 0.0
96 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
97 | guard let superview else {
98 | preconditionFailure("Attempted to create constraints against superview with no superview set.")
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:94:27: error: cannot find type 'CGFloat' in scope
92 | */
93 | func constraintsCenteringInSuperview(
94 | horizontalOffset: CGFloat = 0.0,
| `- error: cannot find type 'CGFloat' in scope
95 | verticalOffset: CGFloat = 0.0
96 | ) -> [NSLayoutConstraint] {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:95:25: error: cannot find type 'CGFloat' in scope
93 | func constraintsCenteringInSuperview(
94 | horizontalOffset: CGFloat = 0.0,
95 | verticalOffset: CGFloat = 0.0
| `- error: cannot find type 'CGFloat' in scope
96 | ) -> [NSLayoutConstraint] {
97 | guard let superview else {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] Emitting module AutoLayoutHelpers
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraint.swift:27:30: error: cannot find type 'NSLayoutConstraint' in scope
25 | private var constraint: NSLayoutConstraint?
26 |
27 | public var wrappedValue: NSLayoutConstraint? {
| `- error: cannot find type 'NSLayoutConstraint' in scope
28 | get {
29 | constraint
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraint.swift:25:29: error: cannot find type 'NSLayoutConstraint' in scope
23 | @propertyWrapper
24 | public struct ActiveConstraint {
25 | private var constraint: NSLayoutConstraint?
| `- error: cannot find type 'NSLayoutConstraint' in scope
26 |
27 | public var wrappedValue: NSLayoutConstraint? {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraint.swift:43:29: error: cannot find type 'NSLayoutConstraint' in scope
41 | }
42 |
43 | public init(constraint: NSLayoutConstraint? = nil) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
44 | self.constraint = constraint
45 | constraint?.isActive = true
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraints.swift:32:31: error: cannot find type 'NSLayoutConstraint' in scope
30 | private var constraints: [NSLayoutConstraint]
31 |
32 | public var wrappedValue: [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
33 | get {
34 | constraints
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraints.swift:30:31: error: cannot find type 'NSLayoutConstraint' in scope
28 | @propertyWrapper
29 | public struct ActiveConstraints {
30 | private var constraints: [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
31 |
32 | public var wrappedValue: [NSLayoutConstraint] {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraints.swift:51:31: error: cannot find type 'NSLayoutConstraint' in scope
49 | Default initializer has an empty array as a default input parameter since most of the time we'll start empty.
50 | */
51 | public init(constraints: [NSLayoutConstraint] = []) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
52 | self.constraints = constraints
53 | constraints.activate()
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Array+AutoLayout.swift:14:19: error: cannot find type 'NSLayoutConstraint' in scope
12 | #endif
13 |
14 | public extension [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
15 | /**
16 | Use this method for a more terse activation of an `Array` of layout constraints.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Array+AutoLayout.swift:22:9: error: cannot find 'NSLayoutConstraint' in scope
20 | @discardableResult @inlinable
21 | func activate() -> Self {
22 | NSLayoutConstraint.activate(self)
| `- error: cannot find 'NSLayoutConstraint' in scope
23 | return self
24 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Array+AutoLayout.swift:33:9: error: cannot find 'NSLayoutConstraint' in scope
31 | @discardableResult @inlinable
32 | func deactivate() -> Self {
33 | NSLayoutConstraint.deactivate(self)
| `- error: cannot find 'NSLayoutConstraint' in scope
34 | return self
35 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:24:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
22 | */
23 | public protocol LayoutArea: AnyObject {
24 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
25 | var centerXAnchor: NSLayoutXAxisAnchor { get }
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:25:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
23 | public protocol LayoutArea: AnyObject {
24 | var bottomAnchor: NSLayoutYAxisAnchor { get }
25 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
27 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:26:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 | var bottomAnchor: NSLayoutYAxisAnchor { get }
25 | var centerXAnchor: NSLayoutXAxisAnchor { get }
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
27 | var heightAnchor: NSLayoutDimension { get }
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 | var centerXAnchor: NSLayoutXAxisAnchor { get }
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
27 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
29 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:28:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
27 | var heightAnchor: NSLayoutDimension { get }
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
29 | var topAnchor: NSLayoutYAxisAnchor { get }
30 | var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:29:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
27 | var heightAnchor: NSLayoutDimension { get }
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
29 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
30 | var trailingAnchor: NSLayoutXAxisAnchor { get }
31 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:30:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
29 | var topAnchor: NSLayoutYAxisAnchor { get }
30 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
31 | var widthAnchor: NSLayoutDimension { get }
32 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:31:22: error: cannot find type 'NSLayoutDimension' in scope
29 | var topAnchor: NSLayoutYAxisAnchor { get }
30 | var trailingAnchor: NSLayoutXAxisAnchor { get }
31 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
32 | }
33 |
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:56:11: error: cannot find type 'NSLayoutConstraint' in scope
54 | edges: NSDirectionalRectEdge = .all,
55 | insets: NSDirectionalEdgeInsets = .zero
56 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
57 | var result = [NSLayoutConstraint]()
58 | if edges.contains(.leading) {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:54:16: error: cannot find type 'NSDirectionalRectEdge' in scope
52 | func constraintsAgainstEnclosing(
53 | layoutArea: LayoutArea,
54 | edges: NSDirectionalRectEdge = .all,
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
55 | insets: NSDirectionalEdgeInsets = .zero
56 | ) -> [NSLayoutConstraint] {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:55:17: error: cannot find type 'NSDirectionalEdgeInsets' in scope
53 | layoutArea: LayoutArea,
54 | edges: NSDirectionalRectEdge = .all,
55 | insets: NSDirectionalEdgeInsets = .zero
| `- error: cannot find type 'NSDirectionalEdgeInsets' in scope
56 | ) -> [NSLayoutConstraint] {
57 | var result = [NSLayoutConstraint]()
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:77:66: error: cannot find type 'NSLayoutConstraint' in scope
75 | Disambiguation method for contraints against a layour area on all edges with no insets.
76 | */
77 | func constraintsAgainstEnclosing(layoutArea: LayoutArea) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
78 | constraintsAgainstEnclosing(layoutArea: layoutArea, edges: .all, insets: .zero)
79 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:99:11: error: cannot find type 'NSLayoutConstraint' in scope
97 | layoutArea: LayoutArea,
98 | insetEdges: (CGFloat, NSDirectionalRectEdge)...
99 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
100 | constraintsAgainstEnclosing(layoutArea: layoutArea, insetEdges: insetEdges)
101 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:98:22: error: cannot find type 'CGFloat' in scope
96 | func constraintsAgainstEnclosing(
97 | layoutArea: LayoutArea,
98 | insetEdges: (CGFloat, NSDirectionalRectEdge)...
| `- error: cannot find type 'CGFloat' in scope
99 | ) -> [NSLayoutConstraint] {
100 | constraintsAgainstEnclosing(layoutArea: layoutArea, insetEdges: insetEdges)
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:98:31: error: cannot find type 'NSDirectionalRectEdge' in scope
96 | func constraintsAgainstEnclosing(
97 | layoutArea: LayoutArea,
98 | insetEdges: (CGFloat, NSDirectionalRectEdge)...
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
99 | ) -> [NSLayoutConstraint] {
100 | constraintsAgainstEnclosing(layoutArea: layoutArea, insetEdges: insetEdges)
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:107:11: error: cannot find type 'NSLayoutConstraint' in scope
105 | layoutArea: LayoutArea,
106 | insetEdges: [(inset: CGFloat, edges: NSDirectionalRectEdge)]
107 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
108 | insetEdges.flatMap { (inset: CGFloat, edges: NSDirectionalRectEdge) in
109 | constraintsAgainstEnclosing(layoutArea: layoutArea, edges: edges, insets: .init(all: inset))
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:106:30: error: cannot find type 'CGFloat' in scope
104 | internal func constraintsAgainstEnclosing(
105 | layoutArea: LayoutArea,
106 | insetEdges: [(inset: CGFloat, edges: NSDirectionalRectEdge)]
| `- error: cannot find type 'CGFloat' in scope
107 | ) -> [NSLayoutConstraint] {
108 | insetEdges.flatMap { (inset: CGFloat, edges: NSDirectionalRectEdge) in
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:106:46: error: cannot find type 'NSDirectionalRectEdge' in scope
104 | internal func constraintsAgainstEnclosing(
105 | layoutArea: LayoutArea,
106 | insetEdges: [(inset: CGFloat, edges: NSDirectionalRectEdge)]
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
107 | ) -> [NSLayoutConstraint] {
108 | insetEdges.flatMap { (inset: CGFloat, edges: NSDirectionalRectEdge) in
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:130:11: error: cannot find type 'NSLayoutConstraint' in scope
128 | horizontalOffset: CGFloat = 0.0,
129 | verticalOffset: CGFloat = 0.0
130 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
131 | [
132 | centerXAnchor.constraint(equalTo: layoutArea.centerXAnchor, constant: horizontalOffset),
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:128:27: error: cannot find type 'CGFloat' in scope
126 | func constraintsCenteringIn(
127 | layoutArea: LayoutArea,
128 | horizontalOffset: CGFloat = 0.0,
| `- error: cannot find type 'CGFloat' in scope
129 | verticalOffset: CGFloat = 0.0
130 | ) -> [NSLayoutConstraint] {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:129:25: error: cannot find type 'CGFloat' in scope
127 | layoutArea: LayoutArea,
128 | horizontalOffset: CGFloat = 0.0,
129 | verticalOffset: CGFloat = 0.0
| `- error: cannot find type 'CGFloat' in scope
130 | ) -> [NSLayoutConstraint] {
131 | [
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:145:53: error: cannot find type 'NSLayoutConstraint' in scope
143 | - Returns: An array with the generated constraints.
144 | */
145 | func constraints(forFixedSize size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
146 | [
147 | widthAnchor.constraint(equalToConstant: size.width),
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:145:41: error: cannot find type 'CGSize' in scope
143 | - Returns: An array with the generated constraints.
144 | */
145 | func constraints(forFixedSize size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
146 | [
147 | widthAnchor.constraint(equalToConstant: size.width),
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalEdgeInsets+AutoLayout.swift:14:18: error: cannot find type 'NSDirectionalEdgeInsets' in scope
12 | #endif
13 |
14 | public extension NSDirectionalEdgeInsets {
| `- error: cannot find type 'NSDirectionalEdgeInsets' in scope
15 | static let zero = NSDirectionalEdgeInsets()
16 |
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalRectEdge+AutoLayout.swift:14:18: error: cannot find type 'NSDirectionalRectEdge' in scope
12 | #endif
13 |
14 | public extension NSDirectionalRectEdge {
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
15 | /// Rect edges in both horizontal directions.
16 | static let horizontal: NSDirectionalRectEdge = [.leading, .trailing]
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSLayoutConstraint+AutoLayout.swift:18:18: error: cannot find type 'NSLayoutConstraint' in scope
16 | #endif
17 |
18 | public extension NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
19 | /**
20 | Activates the calling constraint.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Sequence+AutoLayout.swift:14:27: error: cannot find type 'NSLayoutConstraint' in scope
12 | #endif
13 |
14 | public extension Sequence<NSLayoutConstraint> {
| `- error: cannot find type 'NSLayoutConstraint' in scope
15 | /**
16 | Use this method for a more terse activation of a non-array sequence of layout constraints.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Sequence+AutoLayout.swift:44:31: error: cannot find type 'XXLayoutPriority' in scope
42 | */
43 | @discardableResult @inlinable
44 | func priority(_ priority: XXLayoutPriority) -> Self {
| `- error: cannot find type 'XXLayoutPriority' in scope
45 | for constraint in self {
46 | constraint.priority = priority
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Sequence+AutoLayout.swift:46:24: error: value of type 'Self.Element' has no member 'priority'
44 | func priority(_ priority: XXLayoutPriority) -> Self {
45 | for constraint in self {
46 | constraint.priority = priority
| `- error: value of type 'Self.Element' has no member 'priority'
47 | }
48 |
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:14:18: error: cannot find type 'XXView' in scope
12 | #endif
13 |
14 | public extension XXView {
| `- error: cannot find type 'XXView' in scope
15 | /**
16 | Use instead of `addSubview(_:)` to add a subview to the caller's subview array.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:37:11: error: cannot find type 'XXView' in scope
35 | NSView implements the `LayoutArea` protocol, but it still needs declaring in Swift.
36 | */
37 | extension XXView: LayoutArea {}
| `- error: cannot find type 'XXView' in scope
38 |
39 | public extension XXView {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/XXView+AutoLayout.swift:39:18: error: cannot find type 'XXView' in scope
37 | extension XXView: LayoutArea {}
38 |
39 | public extension XXView {
| `- error: cannot find type 'XXView' in scope
40 | /**
41 | Constraint generator for a view against its superview edges.
[7/15] Compiling AutoLayoutHelpers ActiveConstraint.swift
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraint.swift:27:30: error: cannot find type 'NSLayoutConstraint' in scope
25 | private var constraint: NSLayoutConstraint?
26 |
27 | public var wrappedValue: NSLayoutConstraint? {
| `- error: cannot find type 'NSLayoutConstraint' in scope
28 | get {
29 | constraint
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraint.swift:25:29: error: cannot find type 'NSLayoutConstraint' in scope
23 | @propertyWrapper
24 | public struct ActiveConstraint {
25 | private var constraint: NSLayoutConstraint?
| `- error: cannot find type 'NSLayoutConstraint' in scope
26 |
27 | public var wrappedValue: NSLayoutConstraint? {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraint.swift:43:29: error: cannot find type 'NSLayoutConstraint' in scope
41 | }
42 |
43 | public init(constraint: NSLayoutConstraint? = nil) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
44 | self.constraint = constraint
45 | constraint?.isActive = true
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraints.swift:32:31: error: cannot find type 'NSLayoutConstraint' in scope
30 | private var constraints: [NSLayoutConstraint]
31 |
32 | public var wrappedValue: [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
33 | get {
34 | constraints
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraints.swift:30:31: error: cannot find type 'NSLayoutConstraint' in scope
28 | @propertyWrapper
29 | public struct ActiveConstraints {
30 | private var constraints: [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
31 |
32 | public var wrappedValue: [NSLayoutConstraint] {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraints.swift:51:31: error: cannot find type 'NSLayoutConstraint' in scope
49 | Default initializer has an empty array as a default input parameter since most of the time we'll start empty.
50 | */
51 | public init(constraints: [NSLayoutConstraint] = []) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
52 | self.constraints = constraints
53 | constraints.activate()
[8/15] Compiling AutoLayoutHelpers ActiveConstraints.swift
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraint.swift:27:30: error: cannot find type 'NSLayoutConstraint' in scope
25 | private var constraint: NSLayoutConstraint?
26 |
27 | public var wrappedValue: NSLayoutConstraint? {
| `- error: cannot find type 'NSLayoutConstraint' in scope
28 | get {
29 | constraint
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraint.swift:25:29: error: cannot find type 'NSLayoutConstraint' in scope
23 | @propertyWrapper
24 | public struct ActiveConstraint {
25 | private var constraint: NSLayoutConstraint?
| `- error: cannot find type 'NSLayoutConstraint' in scope
26 |
27 | public var wrappedValue: NSLayoutConstraint? {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraint.swift:43:29: error: cannot find type 'NSLayoutConstraint' in scope
41 | }
42 |
43 | public init(constraint: NSLayoutConstraint? = nil) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
44 | self.constraint = constraint
45 | constraint?.isActive = true
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraints.swift:32:31: error: cannot find type 'NSLayoutConstraint' in scope
30 | private var constraints: [NSLayoutConstraint]
31 |
32 | public var wrappedValue: [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
33 | get {
34 | constraints
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraints.swift:30:31: error: cannot find type 'NSLayoutConstraint' in scope
28 | @propertyWrapper
29 | public struct ActiveConstraints {
30 | private var constraints: [NSLayoutConstraint]
| `- error: cannot find type 'NSLayoutConstraint' in scope
31 |
32 | public var wrappedValue: [NSLayoutConstraint] {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/ActiveConstraints.swift:51:31: error: cannot find type 'NSLayoutConstraint' in scope
49 | Default initializer has an empty array as a default input parameter since most of the time we'll start empty.
50 | */
51 | public init(constraints: [NSLayoutConstraint] = []) {
| `- error: cannot find type 'NSLayoutConstraint' in scope
52 | self.constraints = constraints
53 | constraints.activate()
[9/15] Compiling AutoLayoutHelpers NSLayoutConstraint+AutoLayout.swift
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSLayoutConstraint+AutoLayout.swift:18:18: error: cannot find type 'NSLayoutConstraint' in scope
16 | #endif
17 |
18 | public extension NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
19 | /**
20 | Activates the calling constraint.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Sequence+AutoLayout.swift:14:27: error: cannot find type 'NSLayoutConstraint' in scope
12 | #endif
13 |
14 | public extension Sequence<NSLayoutConstraint> {
| `- error: cannot find type 'NSLayoutConstraint' in scope
15 | /**
16 | Use this method for a more terse activation of a non-array sequence of layout constraints.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Sequence+AutoLayout.swift:44:31: error: cannot find type 'XXLayoutPriority' in scope
42 | */
43 | @discardableResult @inlinable
44 | func priority(_ priority: XXLayoutPriority) -> Self {
| `- error: cannot find type 'XXLayoutPriority' in scope
45 | for constraint in self {
46 | constraint.priority = priority
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Array+AutoLayout.swift:14:19: error: cannot find type 'NSLayoutConstraint' in scope
12 | #endif
13 |
14 | public extension [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
15 | /**
16 | Use this method for a more terse activation of an `Array` of layout constraints.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Sequence+AutoLayout.swift:46:24: error: value of type 'Self.Element' has no member 'priority'
44 | func priority(_ priority: XXLayoutPriority) -> Self {
45 | for constraint in self {
46 | constraint.priority = priority
| `- error: value of type 'Self.Element' has no member 'priority'
47 | }
48 |
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSLayoutConstraint+AutoLayout.swift:55:31: error: cannot find type 'XXLayoutPriority' in scope
53 | */
54 | @discardableResult @inlinable
55 | func priority(_ priority: XXLayoutPriority) -> Self {
| `- error: cannot find type 'XXLayoutPriority' in scope
56 | self.priority = priority
57 | return self
[10/15] Compiling AutoLayoutHelpers Sequence+AutoLayout.swift
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSLayoutConstraint+AutoLayout.swift:18:18: error: cannot find type 'NSLayoutConstraint' in scope
16 | #endif
17 |
18 | public extension NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
19 | /**
20 | Activates the calling constraint.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Sequence+AutoLayout.swift:14:27: error: cannot find type 'NSLayoutConstraint' in scope
12 | #endif
13 |
14 | public extension Sequence<NSLayoutConstraint> {
| `- error: cannot find type 'NSLayoutConstraint' in scope
15 | /**
16 | Use this method for a more terse activation of a non-array sequence of layout constraints.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Sequence+AutoLayout.swift:44:31: error: cannot find type 'XXLayoutPriority' in scope
42 | */
43 | @discardableResult @inlinable
44 | func priority(_ priority: XXLayoutPriority) -> Self {
| `- error: cannot find type 'XXLayoutPriority' in scope
45 | for constraint in self {
46 | constraint.priority = priority
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Array+AutoLayout.swift:14:19: error: cannot find type 'NSLayoutConstraint' in scope
12 | #endif
13 |
14 | public extension [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
15 | /**
16 | Use this method for a more terse activation of an `Array` of layout constraints.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Sequence+AutoLayout.swift:46:24: error: value of type 'Self.Element' has no member 'priority'
44 | func priority(_ priority: XXLayoutPriority) -> Self {
45 | for constraint in self {
46 | constraint.priority = priority
| `- error: value of type 'Self.Element' has no member 'priority'
47 | }
48 |
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSLayoutConstraint+AutoLayout.swift:55:31: error: cannot find type 'XXLayoutPriority' in scope
53 | */
54 | @discardableResult @inlinable
55 | func priority(_ priority: XXLayoutPriority) -> Self {
| `- error: cannot find type 'XXLayoutPriority' in scope
56 | self.priority = priority
57 | return self
[11/15] Compiling AutoLayoutHelpers NSDirectionalEdgeInsets+AutoLayout.swift
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalEdgeInsets+AutoLayout.swift:14:18: error: cannot find type 'NSDirectionalEdgeInsets' in scope
12 | #endif
13 |
14 | public extension NSDirectionalEdgeInsets {
| `- error: cannot find type 'NSDirectionalEdgeInsets' in scope
15 | static let zero = NSDirectionalEdgeInsets()
16 |
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalRectEdge+AutoLayout.swift:14:18: error: cannot find type 'NSDirectionalRectEdge' in scope
12 | #endif
13 |
14 | public extension NSDirectionalRectEdge {
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
15 | /// Rect edges in both horizontal directions.
16 | static let horizontal: NSDirectionalRectEdge = [.leading, .trailing]
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalEdgeInsets+AutoLayout.swift:15:23: error: cannot find 'NSDirectionalEdgeInsets' in scope
13 |
14 | public extension NSDirectionalEdgeInsets {
15 | static let zero = NSDirectionalEdgeInsets()
| `- error: cannot find 'NSDirectionalEdgeInsets' in scope
16 |
17 | init(all: CGFloat) {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalEdgeInsets+AutoLayout.swift:17:15: error: cannot find type 'CGFloat' in scope
15 | static let zero = NSDirectionalEdgeInsets()
16 |
17 | init(all: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
18 | self.init(top: all, leading: all, bottom: all, trailing: all)
19 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalRectEdge+AutoLayout.swift:16:28: error: cannot find type 'NSDirectionalRectEdge' in scope
14 | public extension NSDirectionalRectEdge {
15 | /// Rect edges in both horizontal directions.
16 | static let horizontal: NSDirectionalRectEdge = [.leading, .trailing]
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
17 |
18 | /// Rect edges in both vertical directions.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalRectEdge+AutoLayout.swift:19:26: error: cannot find type 'NSDirectionalRectEdge' in scope
17 |
18 | /// Rect edges in both vertical directions.
19 | static let vertical: NSDirectionalRectEdge = [.top, .bottom]
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
20 | }
21 |
[12/15] Compiling AutoLayoutHelpers NSDirectionalRectEdge+AutoLayout.swift
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalEdgeInsets+AutoLayout.swift:14:18: error: cannot find type 'NSDirectionalEdgeInsets' in scope
12 | #endif
13 |
14 | public extension NSDirectionalEdgeInsets {
| `- error: cannot find type 'NSDirectionalEdgeInsets' in scope
15 | static let zero = NSDirectionalEdgeInsets()
16 |
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalRectEdge+AutoLayout.swift:14:18: error: cannot find type 'NSDirectionalRectEdge' in scope
12 | #endif
13 |
14 | public extension NSDirectionalRectEdge {
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
15 | /// Rect edges in both horizontal directions.
16 | static let horizontal: NSDirectionalRectEdge = [.leading, .trailing]
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalEdgeInsets+AutoLayout.swift:15:23: error: cannot find 'NSDirectionalEdgeInsets' in scope
13 |
14 | public extension NSDirectionalEdgeInsets {
15 | static let zero = NSDirectionalEdgeInsets()
| `- error: cannot find 'NSDirectionalEdgeInsets' in scope
16 |
17 | init(all: CGFloat) {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalEdgeInsets+AutoLayout.swift:17:15: error: cannot find type 'CGFloat' in scope
15 | static let zero = NSDirectionalEdgeInsets()
16 |
17 | init(all: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
18 | self.init(top: all, leading: all, bottom: all, trailing: all)
19 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalRectEdge+AutoLayout.swift:16:28: error: cannot find type 'NSDirectionalRectEdge' in scope
14 | public extension NSDirectionalRectEdge {
15 | /// Rect edges in both horizontal directions.
16 | static let horizontal: NSDirectionalRectEdge = [.leading, .trailing]
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
17 |
18 | /// Rect edges in both vertical directions.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/NSDirectionalRectEdge+AutoLayout.swift:19:26: error: cannot find type 'NSDirectionalRectEdge' in scope
17 |
18 | /// Rect edges in both vertical directions.
19 | static let vertical: NSDirectionalRectEdge = [.top, .bottom]
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
20 | }
21 |
[13/15] Compiling AutoLayoutHelpers UIView+AutoLayout.swift
[14/15] Compiling AutoLayoutHelpers Array+AutoLayout.swift
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Array+AutoLayout.swift:14:19: error: cannot find type 'NSLayoutConstraint' in scope
12 | #endif
13 |
14 | public extension [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
15 | /**
16 | Use this method for a more terse activation of an `Array` of layout constraints.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Array+AutoLayout.swift:22:9: error: cannot find 'NSLayoutConstraint' in scope
20 | @discardableResult @inlinable
21 | func activate() -> Self {
22 | NSLayoutConstraint.activate(self)
| `- error: cannot find 'NSLayoutConstraint' in scope
23 | return self
24 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Array+AutoLayout.swift:33:9: error: cannot find 'NSLayoutConstraint' in scope
31 | @discardableResult @inlinable
32 | func deactivate() -> Self {
33 | NSLayoutConstraint.deactivate(self)
| `- error: cannot find 'NSLayoutConstraint' in scope
34 | return self
35 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:24:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
22 | */
23 | public protocol LayoutArea: AnyObject {
24 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
25 | var centerXAnchor: NSLayoutXAxisAnchor { get }
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:25:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
23 | public protocol LayoutArea: AnyObject {
24 | var bottomAnchor: NSLayoutYAxisAnchor { get }
25 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
27 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:26:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 | var bottomAnchor: NSLayoutYAxisAnchor { get }
25 | var centerXAnchor: NSLayoutXAxisAnchor { get }
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
27 | var heightAnchor: NSLayoutDimension { get }
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 | var centerXAnchor: NSLayoutXAxisAnchor { get }
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
27 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
29 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:28:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
27 | var heightAnchor: NSLayoutDimension { get }
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
29 | var topAnchor: NSLayoutYAxisAnchor { get }
30 | var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:29:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
27 | var heightAnchor: NSLayoutDimension { get }
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
29 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
30 | var trailingAnchor: NSLayoutXAxisAnchor { get }
31 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:30:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
29 | var topAnchor: NSLayoutYAxisAnchor { get }
30 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
31 | var widthAnchor: NSLayoutDimension { get }
32 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:31:22: error: cannot find type 'NSLayoutDimension' in scope
29 | var topAnchor: NSLayoutYAxisAnchor { get }
30 | var trailingAnchor: NSLayoutXAxisAnchor { get }
31 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
32 | }
33 |
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:56:11: error: cannot find type 'NSLayoutConstraint' in scope
54 | edges: NSDirectionalRectEdge = .all,
55 | insets: NSDirectionalEdgeInsets = .zero
56 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
57 | var result = [NSLayoutConstraint]()
58 | if edges.contains(.leading) {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:54:16: error: cannot find type 'NSDirectionalRectEdge' in scope
52 | func constraintsAgainstEnclosing(
53 | layoutArea: LayoutArea,
54 | edges: NSDirectionalRectEdge = .all,
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
55 | insets: NSDirectionalEdgeInsets = .zero
56 | ) -> [NSLayoutConstraint] {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:55:17: error: cannot find type 'NSDirectionalEdgeInsets' in scope
53 | layoutArea: LayoutArea,
54 | edges: NSDirectionalRectEdge = .all,
55 | insets: NSDirectionalEdgeInsets = .zero
| `- error: cannot find type 'NSDirectionalEdgeInsets' in scope
56 | ) -> [NSLayoutConstraint] {
57 | var result = [NSLayoutConstraint]()
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:77:66: error: cannot find type 'NSLayoutConstraint' in scope
75 | Disambiguation method for contraints against a layour area on all edges with no insets.
76 | */
77 | func constraintsAgainstEnclosing(layoutArea: LayoutArea) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
78 | constraintsAgainstEnclosing(layoutArea: layoutArea, edges: .all, insets: .zero)
79 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:99:11: error: cannot find type 'NSLayoutConstraint' in scope
97 | layoutArea: LayoutArea,
98 | insetEdges: (CGFloat, NSDirectionalRectEdge)...
99 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
100 | constraintsAgainstEnclosing(layoutArea: layoutArea, insetEdges: insetEdges)
101 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:98:22: error: cannot find type 'CGFloat' in scope
96 | func constraintsAgainstEnclosing(
97 | layoutArea: LayoutArea,
98 | insetEdges: (CGFloat, NSDirectionalRectEdge)...
| `- error: cannot find type 'CGFloat' in scope
99 | ) -> [NSLayoutConstraint] {
100 | constraintsAgainstEnclosing(layoutArea: layoutArea, insetEdges: insetEdges)
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:98:31: error: cannot find type 'NSDirectionalRectEdge' in scope
96 | func constraintsAgainstEnclosing(
97 | layoutArea: LayoutArea,
98 | insetEdges: (CGFloat, NSDirectionalRectEdge)...
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
99 | ) -> [NSLayoutConstraint] {
100 | constraintsAgainstEnclosing(layoutArea: layoutArea, insetEdges: insetEdges)
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:107:11: error: cannot find type 'NSLayoutConstraint' in scope
105 | layoutArea: LayoutArea,
106 | insetEdges: [(inset: CGFloat, edges: NSDirectionalRectEdge)]
107 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
108 | insetEdges.flatMap { (inset: CGFloat, edges: NSDirectionalRectEdge) in
109 | constraintsAgainstEnclosing(layoutArea: layoutArea, edges: edges, insets: .init(all: inset))
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:106:30: error: cannot find type 'CGFloat' in scope
104 | internal func constraintsAgainstEnclosing(
105 | layoutArea: LayoutArea,
106 | insetEdges: [(inset: CGFloat, edges: NSDirectionalRectEdge)]
| `- error: cannot find type 'CGFloat' in scope
107 | ) -> [NSLayoutConstraint] {
108 | insetEdges.flatMap { (inset: CGFloat, edges: NSDirectionalRectEdge) in
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:106:46: error: cannot find type 'NSDirectionalRectEdge' in scope
104 | internal func constraintsAgainstEnclosing(
105 | layoutArea: LayoutArea,
106 | insetEdges: [(inset: CGFloat, edges: NSDirectionalRectEdge)]
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
107 | ) -> [NSLayoutConstraint] {
108 | insetEdges.flatMap { (inset: CGFloat, edges: NSDirectionalRectEdge) in
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:130:11: error: cannot find type 'NSLayoutConstraint' in scope
128 | horizontalOffset: CGFloat = 0.0,
129 | verticalOffset: CGFloat = 0.0
130 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
131 | [
132 | centerXAnchor.constraint(equalTo: layoutArea.centerXAnchor, constant: horizontalOffset),
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:128:27: error: cannot find type 'CGFloat' in scope
126 | func constraintsCenteringIn(
127 | layoutArea: LayoutArea,
128 | horizontalOffset: CGFloat = 0.0,
| `- error: cannot find type 'CGFloat' in scope
129 | verticalOffset: CGFloat = 0.0
130 | ) -> [NSLayoutConstraint] {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:129:25: error: cannot find type 'CGFloat' in scope
127 | layoutArea: LayoutArea,
128 | horizontalOffset: CGFloat = 0.0,
129 | verticalOffset: CGFloat = 0.0
| `- error: cannot find type 'CGFloat' in scope
130 | ) -> [NSLayoutConstraint] {
131 | [
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:145:53: error: cannot find type 'NSLayoutConstraint' in scope
143 | - Returns: An array with the generated constraints.
144 | */
145 | func constraints(forFixedSize size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
146 | [
147 | widthAnchor.constraint(equalToConstant: size.width),
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:145:41: error: cannot find type 'CGSize' in scope
143 | - Returns: An array with the generated constraints.
144 | */
145 | func constraints(forFixedSize size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
146 | [
147 | widthAnchor.constraint(equalToConstant: size.width),
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:57:23: error: cannot find 'NSLayoutConstraint' in scope
55 | insets: NSDirectionalEdgeInsets = .zero
56 | ) -> [NSLayoutConstraint] {
57 | var result = [NSLayoutConstraint]()
| `- error: cannot find 'NSLayoutConstraint' in scope
58 | if edges.contains(.leading) {
59 | result.append(leadingAnchor.constraint(equalTo: layoutArea.leadingAnchor, constant: insets.leading))
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:57:22: error: cannot call value of non-function type '[Any]'
55 | insets: NSDirectionalEdgeInsets = .zero
56 | ) -> [NSLayoutConstraint] {
57 | var result = [NSLayoutConstraint]()
| `- error: cannot call value of non-function type '[Any]'
58 | if edges.contains(.leading) {
59 | result.append(leadingAnchor.constraint(equalTo: layoutArea.leadingAnchor, constant: insets.leading))
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:58:28: error: cannot infer contextual base in reference to member 'leading'
56 | ) -> [NSLayoutConstraint] {
57 | var result = [NSLayoutConstraint]()
58 | if edges.contains(.leading) {
| `- error: cannot infer contextual base in reference to member 'leading'
59 | result.append(leadingAnchor.constraint(equalTo: layoutArea.leadingAnchor, constant: insets.leading))
60 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:61:28: error: cannot infer contextual base in reference to member 'top'
59 | result.append(leadingAnchor.constraint(equalTo: layoutArea.leadingAnchor, constant: insets.leading))
60 | }
61 | if edges.contains(.top) {
| `- error: cannot infer contextual base in reference to member 'top'
62 | result.append(topAnchor.constraint(equalTo: layoutArea.topAnchor, constant: insets.top))
63 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:64:28: error: cannot infer contextual base in reference to member 'trailing'
62 | result.append(topAnchor.constraint(equalTo: layoutArea.topAnchor, constant: insets.top))
63 | }
64 | if edges.contains(.trailing) {
| `- error: cannot infer contextual base in reference to member 'trailing'
65 | result.append(layoutArea.trailingAnchor.constraint(equalTo: trailingAnchor, constant: insets.trailing))
66 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:67:28: error: cannot infer contextual base in reference to member 'bottom'
65 | result.append(layoutArea.trailingAnchor.constraint(equalTo: trailingAnchor, constant: insets.trailing))
66 | }
67 | if edges.contains(.bottom) {
| `- error: cannot infer contextual base in reference to member 'bottom'
68 | result.append(layoutArea.bottomAnchor.constraint(equalTo: bottomAnchor, constant: insets.bottom))
69 | }
[15/15] Compiling AutoLayoutHelpers LayoutArea.swift
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Array+AutoLayout.swift:14:19: error: cannot find type 'NSLayoutConstraint' in scope
12 | #endif
13 |
14 | public extension [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
15 | /**
16 | Use this method for a more terse activation of an `Array` of layout constraints.
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Array+AutoLayout.swift:22:9: error: cannot find 'NSLayoutConstraint' in scope
20 | @discardableResult @inlinable
21 | func activate() -> Self {
22 | NSLayoutConstraint.activate(self)
| `- error: cannot find 'NSLayoutConstraint' in scope
23 | return self
24 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/Array+AutoLayout.swift:33:9: error: cannot find 'NSLayoutConstraint' in scope
31 | @discardableResult @inlinable
32 | func deactivate() -> Self {
33 | NSLayoutConstraint.deactivate(self)
| `- error: cannot find 'NSLayoutConstraint' in scope
34 | return self
35 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:24:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
22 | */
23 | public protocol LayoutArea: AnyObject {
24 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
25 | var centerXAnchor: NSLayoutXAxisAnchor { get }
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:25:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
23 | public protocol LayoutArea: AnyObject {
24 | var bottomAnchor: NSLayoutYAxisAnchor { get }
25 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
27 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:26:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
24 | var bottomAnchor: NSLayoutYAxisAnchor { get }
25 | var centerXAnchor: NSLayoutXAxisAnchor { get }
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
27 | var heightAnchor: NSLayoutDimension { get }
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:27:23: error: cannot find type 'NSLayoutDimension' in scope
25 | var centerXAnchor: NSLayoutXAxisAnchor { get }
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
27 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
29 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:28:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
26 | var centerYAnchor: NSLayoutYAxisAnchor { get }
27 | var heightAnchor: NSLayoutDimension { get }
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
29 | var topAnchor: NSLayoutYAxisAnchor { get }
30 | var trailingAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:29:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
27 | var heightAnchor: NSLayoutDimension { get }
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
29 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
30 | var trailingAnchor: NSLayoutXAxisAnchor { get }
31 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:30:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
28 | var leadingAnchor: NSLayoutXAxisAnchor { get }
29 | var topAnchor: NSLayoutYAxisAnchor { get }
30 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
31 | var widthAnchor: NSLayoutDimension { get }
32 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:31:22: error: cannot find type 'NSLayoutDimension' in scope
29 | var topAnchor: NSLayoutYAxisAnchor { get }
30 | var trailingAnchor: NSLayoutXAxisAnchor { get }
31 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
32 | }
33 |
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:56:11: error: cannot find type 'NSLayoutConstraint' in scope
54 | edges: NSDirectionalRectEdge = .all,
55 | insets: NSDirectionalEdgeInsets = .zero
56 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
57 | var result = [NSLayoutConstraint]()
58 | if edges.contains(.leading) {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:54:16: error: cannot find type 'NSDirectionalRectEdge' in scope
52 | func constraintsAgainstEnclosing(
53 | layoutArea: LayoutArea,
54 | edges: NSDirectionalRectEdge = .all,
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
55 | insets: NSDirectionalEdgeInsets = .zero
56 | ) -> [NSLayoutConstraint] {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:55:17: error: cannot find type 'NSDirectionalEdgeInsets' in scope
53 | layoutArea: LayoutArea,
54 | edges: NSDirectionalRectEdge = .all,
55 | insets: NSDirectionalEdgeInsets = .zero
| `- error: cannot find type 'NSDirectionalEdgeInsets' in scope
56 | ) -> [NSLayoutConstraint] {
57 | var result = [NSLayoutConstraint]()
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:77:66: error: cannot find type 'NSLayoutConstraint' in scope
75 | Disambiguation method for contraints against a layour area on all edges with no insets.
76 | */
77 | func constraintsAgainstEnclosing(layoutArea: LayoutArea) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
78 | constraintsAgainstEnclosing(layoutArea: layoutArea, edges: .all, insets: .zero)
79 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:99:11: error: cannot find type 'NSLayoutConstraint' in scope
97 | layoutArea: LayoutArea,
98 | insetEdges: (CGFloat, NSDirectionalRectEdge)...
99 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
100 | constraintsAgainstEnclosing(layoutArea: layoutArea, insetEdges: insetEdges)
101 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:98:22: error: cannot find type 'CGFloat' in scope
96 | func constraintsAgainstEnclosing(
97 | layoutArea: LayoutArea,
98 | insetEdges: (CGFloat, NSDirectionalRectEdge)...
| `- error: cannot find type 'CGFloat' in scope
99 | ) -> [NSLayoutConstraint] {
100 | constraintsAgainstEnclosing(layoutArea: layoutArea, insetEdges: insetEdges)
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:98:31: error: cannot find type 'NSDirectionalRectEdge' in scope
96 | func constraintsAgainstEnclosing(
97 | layoutArea: LayoutArea,
98 | insetEdges: (CGFloat, NSDirectionalRectEdge)...
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
99 | ) -> [NSLayoutConstraint] {
100 | constraintsAgainstEnclosing(layoutArea: layoutArea, insetEdges: insetEdges)
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:107:11: error: cannot find type 'NSLayoutConstraint' in scope
105 | layoutArea: LayoutArea,
106 | insetEdges: [(inset: CGFloat, edges: NSDirectionalRectEdge)]
107 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
108 | insetEdges.flatMap { (inset: CGFloat, edges: NSDirectionalRectEdge) in
109 | constraintsAgainstEnclosing(layoutArea: layoutArea, edges: edges, insets: .init(all: inset))
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:106:30: error: cannot find type 'CGFloat' in scope
104 | internal func constraintsAgainstEnclosing(
105 | layoutArea: LayoutArea,
106 | insetEdges: [(inset: CGFloat, edges: NSDirectionalRectEdge)]
| `- error: cannot find type 'CGFloat' in scope
107 | ) -> [NSLayoutConstraint] {
108 | insetEdges.flatMap { (inset: CGFloat, edges: NSDirectionalRectEdge) in
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:106:46: error: cannot find type 'NSDirectionalRectEdge' in scope
104 | internal func constraintsAgainstEnclosing(
105 | layoutArea: LayoutArea,
106 | insetEdges: [(inset: CGFloat, edges: NSDirectionalRectEdge)]
| `- error: cannot find type 'NSDirectionalRectEdge' in scope
107 | ) -> [NSLayoutConstraint] {
108 | insetEdges.flatMap { (inset: CGFloat, edges: NSDirectionalRectEdge) in
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:130:11: error: cannot find type 'NSLayoutConstraint' in scope
128 | horizontalOffset: CGFloat = 0.0,
129 | verticalOffset: CGFloat = 0.0
130 | ) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
131 | [
132 | centerXAnchor.constraint(equalTo: layoutArea.centerXAnchor, constant: horizontalOffset),
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:128:27: error: cannot find type 'CGFloat' in scope
126 | func constraintsCenteringIn(
127 | layoutArea: LayoutArea,
128 | horizontalOffset: CGFloat = 0.0,
| `- error: cannot find type 'CGFloat' in scope
129 | verticalOffset: CGFloat = 0.0
130 | ) -> [NSLayoutConstraint] {
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:129:25: error: cannot find type 'CGFloat' in scope
127 | layoutArea: LayoutArea,
128 | horizontalOffset: CGFloat = 0.0,
129 | verticalOffset: CGFloat = 0.0
| `- error: cannot find type 'CGFloat' in scope
130 | ) -> [NSLayoutConstraint] {
131 | [
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:145:53: error: cannot find type 'NSLayoutConstraint' in scope
143 | - Returns: An array with the generated constraints.
144 | */
145 | func constraints(forFixedSize size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
146 | [
147 | widthAnchor.constraint(equalToConstant: size.width),
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:145:41: error: cannot find type 'CGSize' in scope
143 | - Returns: An array with the generated constraints.
144 | */
145 | func constraints(forFixedSize size: CGSize) -> [NSLayoutConstraint] {
| `- error: cannot find type 'CGSize' in scope
146 | [
147 | widthAnchor.constraint(equalToConstant: size.width),
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:57:23: error: cannot find 'NSLayoutConstraint' in scope
55 | insets: NSDirectionalEdgeInsets = .zero
56 | ) -> [NSLayoutConstraint] {
57 | var result = [NSLayoutConstraint]()
| `- error: cannot find 'NSLayoutConstraint' in scope
58 | if edges.contains(.leading) {
59 | result.append(leadingAnchor.constraint(equalTo: layoutArea.leadingAnchor, constant: insets.leading))
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:57:22: error: cannot call value of non-function type '[Any]'
55 | insets: NSDirectionalEdgeInsets = .zero
56 | ) -> [NSLayoutConstraint] {
57 | var result = [NSLayoutConstraint]()
| `- error: cannot call value of non-function type '[Any]'
58 | if edges.contains(.leading) {
59 | result.append(leadingAnchor.constraint(equalTo: layoutArea.leadingAnchor, constant: insets.leading))
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:58:28: error: cannot infer contextual base in reference to member 'leading'
56 | ) -> [NSLayoutConstraint] {
57 | var result = [NSLayoutConstraint]()
58 | if edges.contains(.leading) {
| `- error: cannot infer contextual base in reference to member 'leading'
59 | result.append(leadingAnchor.constraint(equalTo: layoutArea.leadingAnchor, constant: insets.leading))
60 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:61:28: error: cannot infer contextual base in reference to member 'top'
59 | result.append(leadingAnchor.constraint(equalTo: layoutArea.leadingAnchor, constant: insets.leading))
60 | }
61 | if edges.contains(.top) {
| `- error: cannot infer contextual base in reference to member 'top'
62 | result.append(topAnchor.constraint(equalTo: layoutArea.topAnchor, constant: insets.top))
63 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:64:28: error: cannot infer contextual base in reference to member 'trailing'
62 | result.append(topAnchor.constraint(equalTo: layoutArea.topAnchor, constant: insets.top))
63 | }
64 | if edges.contains(.trailing) {
| `- error: cannot infer contextual base in reference to member 'trailing'
65 | result.append(layoutArea.trailingAnchor.constraint(equalTo: trailingAnchor, constant: insets.trailing))
66 | }
/host/spi-builder-workspace/Sources/AutoLayoutHelpers/LayoutArea.swift:67:28: error: cannot infer contextual base in reference to member 'bottom'
65 | result.append(layoutArea.trailingAnchor.constraint(equalTo: trailingAnchor, constant: insets.trailing))
66 | }
67 | if edges.contains(.bottom) {
| `- error: cannot infer contextual base in reference to member 'bottom'
68 | result.append(layoutArea.bottomAnchor.constraint(equalTo: bottomAnchor, constant: insets.bottom))
69 | }
BUILD FAILURE 6.2 android