Build Information
Failed to build FHConstraints, reference master (72febb
), with Swift 6.1 for Android on 28 May 2025 01:09:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FelixHerrmann/FHConstraints.git
Reference: master
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/FelixHerrmann/FHConstraints
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 72febbb fixed macOS destination
Cloned https://github.com/FelixHerrmann/FHConstraints.git
Revision (git rev-parse @):
72febbbe2f8042414cfec30e4fbdcdc454616606
SUCCESS checkout https://github.com/FelixHerrmann/FHConstraints.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/FelixHerrmann/FHConstraints.git
https://github.com/FelixHerrmann/FHConstraints.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "FHConstraints",
"name" : "FHConstraints",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "FHConstraints",
"targets" : [
"FHConstraints"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FHConstraintsTests",
"module_type" : "SwiftTarget",
"name" : "FHConstraintsTests",
"path" : "Tests/FHConstraintsTests",
"sources" : [
"FHConstraintsTests.swift"
],
"target_dependencies" : [
"FHConstraints"
],
"type" : "test"
},
{
"c99name" : "FHConstraints",
"module_type" : "SwiftTarget",
"name" : "FHConstraints",
"path" : "Sources/FHConstraints",
"product_memberships" : [
"FHConstraints"
],
"sources" : [
"FHConvenienceAnchors.swift",
"FHLayoutAnchor.swift",
"FHLayoutConstantType.swift",
"FHLayoutItem.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling FHConstraints FHLayoutItem.swift
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:35:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
33 | /// FHAutoLayout protocol
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:36:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:37:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:38:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:39:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:40:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:41:22: error: cannot find type 'NSLayoutDimension' in scope
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:42:23: error: cannot find type 'NSLayoutDimension' in scope
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:43:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
45 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:44:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
45 |
46 | /// Enable AutoLayout on `Self`.
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:55:76: error: cannot find type 'NSLayoutConstraint' in scope
53 | /// - Parameter anchor: The anchor from which the constraint should be created.
54 | /// - Returns: Returns the created `NSLayoutConstraint`.
55 | @discardableResult public func constraint(_ anchor: FHLayoutAnchor) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
56 | enableAutoLayout()
57 | let constraint = _createConstraint(fromAnchor: anchor)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:65:80: error: cannot find type 'NSLayoutConstraint' in scope
63 | /// - Parameter anchors: The array of anchors from which the constraints should be created.
64 | /// - Returns: Returns the created `NSLayoutConstraint`s. The order matches the anchors order.
65 | @discardableResult public func constraint(_ anchors: [FHLayoutAnchor]) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
66 | return anchors.map { constraint($0) }
67 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:72:95: error: cannot find type 'NSLayoutConstraint' in scope
70 | /// - Parameter convenienceAnchors: The convenience anchor type.
71 | /// - Returns: Returns the created `NSLayoutConstraint`s.
72 | @discardableResult public func constraint(_ convenienceAnchors: FHConvenienceAnchors) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
73 | return convenienceAnchors._constraint(layoutItem: self)
74 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:81:66: error: cannot find type 'NSLayoutConstraint' in scope
79 | /// - Parameter anchor: The anchor from which the constraint should be created.
80 | /// - Returns: Returns the created `NSLayoutConstraint`.
81 | public func createConstraint(from anchor: FHLayoutAnchor) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
82 | enableAutoLayout()
83 | return _createConstraint(fromAnchor: anchor)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:89:74: error: cannot find type 'NSLayoutConstraint' in scope
87 | extension FHLayoutItem {
88 |
89 | private func _createConstraint(fromAnchor anchor: FHLayoutAnchor) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
90 | switch anchor {
91 | case .leading(to: let xAxisAnchor, let constantType):
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | /// FHLayoutAnchor enum
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:80: error: cannot find type 'CGFloat' in scope
7 | /// FHLayoutAnchor enum
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:10:23: error: cannot find type 'NSLayoutXAxisAnchor' in scope
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:10:81: error: cannot find type 'CGFloat' in scope
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:19: error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:77: error: cannot find type 'CGFloat' in scope
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:20: error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:78: error: cannot find type 'CGFloat' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:18: error: cannot find type 'NSLayoutYAxisAnchor' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:76: error: cannot find type 'CGFloat' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:79: error: cannot find type 'CGFloat' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:80: error: cannot find type 'CGFloat' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:22: error: cannot find type 'NSLayoutYAxisAnchor' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:80: error: cannot find type 'CGFloat' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:17:20: error: cannot find type 'NSLayoutDimension' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
| `- error: cannot find type 'NSLayoutDimension' in scope
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:18:61: error: cannot find type 'CGFloat' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
| `- error: cannot find type 'CGFloat' in scope
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:19:21: error: cannot find type 'NSLayoutDimension' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
| `- error: cannot find type 'NSLayoutDimension' in scope
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
21 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:20:62: error: cannot find type 'CGFloat' in scope
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
| `- error: cannot find type 'CGFloat' in scope
21 | }
22 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Compiling FHConstraints FHLayoutConstantType.swift
[5/7] Emitting module FHConstraints
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:13:64: error: cannot find type 'EdgeInsets' in scope
11 | ///
12 | /// The returned constraint order is: [leading, top, trailing, bottom]
13 | case inside(of: FHLayoutItem, insets: FHLayoutConstantType<EdgeInsets> = .equal(to: EdgeInsets()))
| `- error: cannot find type 'EdgeInsets' in scope
14 |
15 | /// Constraints the layout item to the center of the parsed layout item with optional offset.
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:33:33: error: cannot find type 'CGFloat' in scope
31 | public var vertical: CGFloat
32 |
33 | public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
34 | self.horizontal = horizontal
35 | self.vertical = vertical
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:33:56: error: cannot find type 'CGFloat' in scope
31 | public var vertical: CGFloat
32 |
33 | public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
34 | self.horizontal = horizontal
35 | self.vertical = vertical
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:35:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
33 | /// FHAutoLayout protocol
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:36:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:37:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:38:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:39:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:40:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:41:22: error: cannot find type 'NSLayoutDimension' in scope
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:42:23: error: cannot find type 'NSLayoutDimension' in scope
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:43:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
45 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:44:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
45 |
46 | /// Enable AutoLayout on `Self`.
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:23:44: error: cannot find type 'CGSize' in scope
21 | ///
22 | /// The returned constraint order is: [width, height]
23 | case size(_ size: FHLayoutConstantType<CGSize>)
| `- error: cannot find type 'CGSize' in scope
24 | }
25 |
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:30:32: error: cannot find type 'CGFloat' in scope
28 | /// Offset struct
29 | public struct Offset {
30 | public var horizontal: CGFloat
| `- error: cannot find type 'CGFloat' in scope
31 | public var vertical: CGFloat
32 |
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:31:30: error: cannot find type 'CGFloat' in scope
29 | public struct Offset {
30 | public var horizontal: CGFloat
31 | public var vertical: CGFloat
| `- error: cannot find type 'CGFloat' in scope
32 |
33 | public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:42:61: error: cannot find type 'NSLayoutConstraint' in scope
40 | extension FHConvenienceAnchors {
41 |
42 | internal func _constraint(layoutItem: FHLayoutItem) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
43 | switch self {
44 | case .inside(of: let superLayoutItem, insets: let insetsType):
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | /// FHLayoutAnchor enum
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:80: error: cannot find type 'CGFloat' in scope
7 | /// FHLayoutAnchor enum
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:10:23: error: cannot find type 'NSLayoutXAxisAnchor' in scope
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:10:81: error: cannot find type 'CGFloat' in scope
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:19: error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:77: error: cannot find type 'CGFloat' in scope
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:20: error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:78: error: cannot find type 'CGFloat' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:18: error: cannot find type 'NSLayoutYAxisAnchor' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:76: error: cannot find type 'CGFloat' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:79: error: cannot find type 'CGFloat' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:80: error: cannot find type 'CGFloat' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:22: error: cannot find type 'NSLayoutYAxisAnchor' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:80: error: cannot find type 'CGFloat' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:17:20: error: cannot find type 'NSLayoutDimension' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
| `- error: cannot find type 'NSLayoutDimension' in scope
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:30:33: error: cannot find type 'CGFloat' in scope
28 | public var constant: CGFloat
29 |
30 | public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
31 | self.multiplier = multiplier
32 | self.constant = constant
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:30:56: error: cannot find type 'CGFloat' in scope
28 | public var constant: CGFloat
29 |
30 | public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
31 | self.multiplier = multiplier
32 | self.constant = constant
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:18:61: error: cannot find type 'CGFloat' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
| `- error: cannot find type 'CGFloat' in scope
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:19:21: error: cannot find type 'NSLayoutDimension' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
| `- error: cannot find type 'NSLayoutDimension' in scope
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
21 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:20:62: error: cannot find type 'CGFloat' in scope
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
| `- error: cannot find type 'CGFloat' in scope
21 | }
22 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:27:32: error: cannot find type 'CGFloat' in scope
25 | /// DimensionConstant struct
26 | public struct DimensionConstant {
27 | public var multiplier: CGFloat
| `- error: cannot find type 'CGFloat' in scope
28 | public var constant: CGFloat
29 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:28:30: error: cannot find type 'CGFloat' in scope
26 | public struct DimensionConstant {
27 | public var multiplier: CGFloat
28 | public var constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
29 |
30 | public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:55:76: error: cannot find type 'NSLayoutConstraint' in scope
53 | /// - Parameter anchor: The anchor from which the constraint should be created.
54 | /// - Returns: Returns the created `NSLayoutConstraint`.
55 | @discardableResult public func constraint(_ anchor: FHLayoutAnchor) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
56 | enableAutoLayout()
57 | let constraint = _createConstraint(fromAnchor: anchor)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:65:80: error: cannot find type 'NSLayoutConstraint' in scope
63 | /// - Parameter anchors: The array of anchors from which the constraints should be created.
64 | /// - Returns: Returns the created `NSLayoutConstraint`s. The order matches the anchors order.
65 | @discardableResult public func constraint(_ anchors: [FHLayoutAnchor]) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
66 | return anchors.map { constraint($0) }
67 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:72:95: error: cannot find type 'NSLayoutConstraint' in scope
70 | /// - Parameter convenienceAnchors: The convenience anchor type.
71 | /// - Returns: Returns the created `NSLayoutConstraint`s.
72 | @discardableResult public func constraint(_ convenienceAnchors: FHConvenienceAnchors) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
73 | return convenienceAnchors._constraint(layoutItem: self)
74 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:81:66: error: cannot find type 'NSLayoutConstraint' in scope
79 | /// - Parameter anchor: The anchor from which the constraint should be created.
80 | /// - Returns: Returns the created `NSLayoutConstraint`.
81 | public func createConstraint(from anchor: FHLayoutAnchor) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
82 | enableAutoLayout()
83 | return _createConstraint(fromAnchor: anchor)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:89:74: error: cannot find type 'NSLayoutConstraint' in scope
87 | extension FHLayoutItem {
88 |
89 | private func _createConstraint(fromAnchor anchor: FHLayoutAnchor) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
90 | switch anchor {
91 | case .leading(to: let xAxisAnchor, let constantType):
[6/7] Compiling FHConstraints FHConvenienceAnchors.swift
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:13:64: error: cannot find type 'EdgeInsets' in scope
11 | ///
12 | /// The returned constraint order is: [leading, top, trailing, bottom]
13 | case inside(of: FHLayoutItem, insets: FHLayoutConstantType<EdgeInsets> = .equal(to: EdgeInsets()))
| `- error: cannot find type 'EdgeInsets' in scope
14 |
15 | /// Constraints the layout item to the center of the parsed layout item with optional offset.
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:33:33: error: cannot find type 'CGFloat' in scope
31 | public var vertical: CGFloat
32 |
33 | public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
34 | self.horizontal = horizontal
35 | self.vertical = vertical
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:33:56: error: cannot find type 'CGFloat' in scope
31 | public var vertical: CGFloat
32 |
33 | public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
34 | self.horizontal = horizontal
35 | self.vertical = vertical
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:35:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
33 | /// FHAutoLayout protocol
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:36:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:37:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:38:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:39:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:40:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:41:22: error: cannot find type 'NSLayoutDimension' in scope
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:42:23: error: cannot find type 'NSLayoutDimension' in scope
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:43:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
45 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:44:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
45 |
46 | /// Enable AutoLayout on `Self`.
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:23:44: error: cannot find type 'CGSize' in scope
21 | ///
22 | /// The returned constraint order is: [width, height]
23 | case size(_ size: FHLayoutConstantType<CGSize>)
| `- error: cannot find type 'CGSize' in scope
24 | }
25 |
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:30:32: error: cannot find type 'CGFloat' in scope
28 | /// Offset struct
29 | public struct Offset {
30 | public var horizontal: CGFloat
| `- error: cannot find type 'CGFloat' in scope
31 | public var vertical: CGFloat
32 |
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:31:30: error: cannot find type 'CGFloat' in scope
29 | public struct Offset {
30 | public var horizontal: CGFloat
31 | public var vertical: CGFloat
| `- error: cannot find type 'CGFloat' in scope
32 |
33 | public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:42:61: error: cannot find type 'NSLayoutConstraint' in scope
40 | extension FHConvenienceAnchors {
41 |
42 | internal func _constraint(layoutItem: FHLayoutItem) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
43 | switch self {
44 | case .inside(of: let superLayoutItem, insets: let insetsType):
[7/7] Compiling FHConstraints FHLayoutAnchor.swift
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | /// FHLayoutAnchor enum
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:80: error: cannot find type 'CGFloat' in scope
7 | /// FHLayoutAnchor enum
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:10:23: error: cannot find type 'NSLayoutXAxisAnchor' in scope
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:10:81: error: cannot find type 'CGFloat' in scope
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:19: error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:77: error: cannot find type 'CGFloat' in scope
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:20: error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:78: error: cannot find type 'CGFloat' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:18: error: cannot find type 'NSLayoutYAxisAnchor' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:76: error: cannot find type 'CGFloat' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:79: error: cannot find type 'CGFloat' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:80: error: cannot find type 'CGFloat' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:22: error: cannot find type 'NSLayoutYAxisAnchor' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:80: error: cannot find type 'CGFloat' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:17:20: error: cannot find type 'NSLayoutDimension' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
| `- error: cannot find type 'NSLayoutDimension' in scope
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:30:33: error: cannot find type 'CGFloat' in scope
28 | public var constant: CGFloat
29 |
30 | public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
31 | self.multiplier = multiplier
32 | self.constant = constant
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:30:56: error: cannot find type 'CGFloat' in scope
28 | public var constant: CGFloat
29 |
30 | public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
31 | self.multiplier = multiplier
32 | self.constant = constant
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:18:61: error: cannot find type 'CGFloat' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
| `- error: cannot find type 'CGFloat' in scope
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:19:21: error: cannot find type 'NSLayoutDimension' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
| `- error: cannot find type 'NSLayoutDimension' in scope
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
21 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:20:62: error: cannot find type 'CGFloat' in scope
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
| `- error: cannot find type 'CGFloat' in scope
21 | }
22 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:27:32: error: cannot find type 'CGFloat' in scope
25 | /// DimensionConstant struct
26 | public struct DimensionConstant {
27 | public var multiplier: CGFloat
| `- error: cannot find type 'CGFloat' in scope
28 | public var constant: CGFloat
29 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:28:30: error: cannot find type 'CGFloat' in scope
26 | public struct DimensionConstant {
27 | public var multiplier: CGFloat
28 | public var constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
29 |
30 | public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling FHConstraints FHLayoutConstantType.swift
[3/6] Compiling FHConstraints FHLayoutItem.swift
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:35:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
33 | /// FHAutoLayout protocol
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:36:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:37:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:38:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:39:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:40:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:41:22: error: cannot find type 'NSLayoutDimension' in scope
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:42:23: error: cannot find type 'NSLayoutDimension' in scope
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:43:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
45 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:44:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
45 |
46 | /// Enable AutoLayout on `Self`.
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:55:76: error: cannot find type 'NSLayoutConstraint' in scope
53 | /// - Parameter anchor: The anchor from which the constraint should be created.
54 | /// - Returns: Returns the created `NSLayoutConstraint`.
55 | @discardableResult public func constraint(_ anchor: FHLayoutAnchor) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
56 | enableAutoLayout()
57 | let constraint = _createConstraint(fromAnchor: anchor)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:65:80: error: cannot find type 'NSLayoutConstraint' in scope
63 | /// - Parameter anchors: The array of anchors from which the constraints should be created.
64 | /// - Returns: Returns the created `NSLayoutConstraint`s. The order matches the anchors order.
65 | @discardableResult public func constraint(_ anchors: [FHLayoutAnchor]) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
66 | return anchors.map { constraint($0) }
67 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:72:95: error: cannot find type 'NSLayoutConstraint' in scope
70 | /// - Parameter convenienceAnchors: The convenience anchor type.
71 | /// - Returns: Returns the created `NSLayoutConstraint`s.
72 | @discardableResult public func constraint(_ convenienceAnchors: FHConvenienceAnchors) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
73 | return convenienceAnchors._constraint(layoutItem: self)
74 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:81:66: error: cannot find type 'NSLayoutConstraint' in scope
79 | /// - Parameter anchor: The anchor from which the constraint should be created.
80 | /// - Returns: Returns the created `NSLayoutConstraint`.
81 | public func createConstraint(from anchor: FHLayoutAnchor) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
82 | enableAutoLayout()
83 | return _createConstraint(fromAnchor: anchor)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:89:74: error: cannot find type 'NSLayoutConstraint' in scope
87 | extension FHLayoutItem {
88 |
89 | private func _createConstraint(fromAnchor anchor: FHLayoutAnchor) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
90 | switch anchor {
91 | case .leading(to: let xAxisAnchor, let constantType):
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | /// FHLayoutAnchor enum
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:80: error: cannot find type 'CGFloat' in scope
7 | /// FHLayoutAnchor enum
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:10:23: error: cannot find type 'NSLayoutXAxisAnchor' in scope
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:10:81: error: cannot find type 'CGFloat' in scope
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:19: error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:77: error: cannot find type 'CGFloat' in scope
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:20: error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:78: error: cannot find type 'CGFloat' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:18: error: cannot find type 'NSLayoutYAxisAnchor' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:76: error: cannot find type 'CGFloat' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:79: error: cannot find type 'CGFloat' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:80: error: cannot find type 'CGFloat' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:22: error: cannot find type 'NSLayoutYAxisAnchor' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:80: error: cannot find type 'CGFloat' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:17:20: error: cannot find type 'NSLayoutDimension' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
| `- error: cannot find type 'NSLayoutDimension' in scope
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:18:61: error: cannot find type 'CGFloat' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
| `- error: cannot find type 'CGFloat' in scope
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:19:21: error: cannot find type 'NSLayoutDimension' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
| `- error: cannot find type 'NSLayoutDimension' in scope
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
21 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:20:62: error: cannot find type 'CGFloat' in scope
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
| `- error: cannot find type 'CGFloat' in scope
21 | }
22 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module FHConstraints
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:13:64: error: cannot find type 'EdgeInsets' in scope
11 | ///
12 | /// The returned constraint order is: [leading, top, trailing, bottom]
13 | case inside(of: FHLayoutItem, insets: FHLayoutConstantType<EdgeInsets> = .equal(to: EdgeInsets()))
| `- error: cannot find type 'EdgeInsets' in scope
14 |
15 | /// Constraints the layout item to the center of the parsed layout item with optional offset.
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:33:33: error: cannot find type 'CGFloat' in scope
31 | public var vertical: CGFloat
32 |
33 | public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
34 | self.horizontal = horizontal
35 | self.vertical = vertical
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:33:56: error: cannot find type 'CGFloat' in scope
31 | public var vertical: CGFloat
32 |
33 | public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
34 | self.horizontal = horizontal
35 | self.vertical = vertical
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:35:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
33 | /// FHAutoLayout protocol
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:36:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:37:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:38:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:39:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:40:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:41:22: error: cannot find type 'NSLayoutDimension' in scope
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:42:23: error: cannot find type 'NSLayoutDimension' in scope
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:43:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
45 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:44:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
45 |
46 | /// Enable AutoLayout on `Self`.
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:23:44: error: cannot find type 'CGSize' in scope
21 | ///
22 | /// The returned constraint order is: [width, height]
23 | case size(_ size: FHLayoutConstantType<CGSize>)
| `- error: cannot find type 'CGSize' in scope
24 | }
25 |
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:30:32: error: cannot find type 'CGFloat' in scope
28 | /// Offset struct
29 | public struct Offset {
30 | public var horizontal: CGFloat
| `- error: cannot find type 'CGFloat' in scope
31 | public var vertical: CGFloat
32 |
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:31:30: error: cannot find type 'CGFloat' in scope
29 | public struct Offset {
30 | public var horizontal: CGFloat
31 | public var vertical: CGFloat
| `- error: cannot find type 'CGFloat' in scope
32 |
33 | public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:42:61: error: cannot find type 'NSLayoutConstraint' in scope
40 | extension FHConvenienceAnchors {
41 |
42 | internal func _constraint(layoutItem: FHLayoutItem) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
43 | switch self {
44 | case .inside(of: let superLayoutItem, insets: let insetsType):
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | /// FHLayoutAnchor enum
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:80: error: cannot find type 'CGFloat' in scope
7 | /// FHLayoutAnchor enum
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:10:23: error: cannot find type 'NSLayoutXAxisAnchor' in scope
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:10:81: error: cannot find type 'CGFloat' in scope
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:19: error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:77: error: cannot find type 'CGFloat' in scope
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:20: error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:78: error: cannot find type 'CGFloat' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:18: error: cannot find type 'NSLayoutYAxisAnchor' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:76: error: cannot find type 'CGFloat' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:79: error: cannot find type 'CGFloat' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:80: error: cannot find type 'CGFloat' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:22: error: cannot find type 'NSLayoutYAxisAnchor' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:80: error: cannot find type 'CGFloat' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:17:20: error: cannot find type 'NSLayoutDimension' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
| `- error: cannot find type 'NSLayoutDimension' in scope
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:30:33: error: cannot find type 'CGFloat' in scope
28 | public var constant: CGFloat
29 |
30 | public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
31 | self.multiplier = multiplier
32 | self.constant = constant
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:30:56: error: cannot find type 'CGFloat' in scope
28 | public var constant: CGFloat
29 |
30 | public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
31 | self.multiplier = multiplier
32 | self.constant = constant
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:18:61: error: cannot find type 'CGFloat' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
| `- error: cannot find type 'CGFloat' in scope
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:19:21: error: cannot find type 'NSLayoutDimension' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
| `- error: cannot find type 'NSLayoutDimension' in scope
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
21 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:20:62: error: cannot find type 'CGFloat' in scope
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
| `- error: cannot find type 'CGFloat' in scope
21 | }
22 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:27:32: error: cannot find type 'CGFloat' in scope
25 | /// DimensionConstant struct
26 | public struct DimensionConstant {
27 | public var multiplier: CGFloat
| `- error: cannot find type 'CGFloat' in scope
28 | public var constant: CGFloat
29 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:28:30: error: cannot find type 'CGFloat' in scope
26 | public struct DimensionConstant {
27 | public var multiplier: CGFloat
28 | public var constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
29 |
30 | public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:55:76: error: cannot find type 'NSLayoutConstraint' in scope
53 | /// - Parameter anchor: The anchor from which the constraint should be created.
54 | /// - Returns: Returns the created `NSLayoutConstraint`.
55 | @discardableResult public func constraint(_ anchor: FHLayoutAnchor) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
56 | enableAutoLayout()
57 | let constraint = _createConstraint(fromAnchor: anchor)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:65:80: error: cannot find type 'NSLayoutConstraint' in scope
63 | /// - Parameter anchors: The array of anchors from which the constraints should be created.
64 | /// - Returns: Returns the created `NSLayoutConstraint`s. The order matches the anchors order.
65 | @discardableResult public func constraint(_ anchors: [FHLayoutAnchor]) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
66 | return anchors.map { constraint($0) }
67 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:72:95: error: cannot find type 'NSLayoutConstraint' in scope
70 | /// - Parameter convenienceAnchors: The convenience anchor type.
71 | /// - Returns: Returns the created `NSLayoutConstraint`s.
72 | @discardableResult public func constraint(_ convenienceAnchors: FHConvenienceAnchors) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
73 | return convenienceAnchors._constraint(layoutItem: self)
74 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:81:66: error: cannot find type 'NSLayoutConstraint' in scope
79 | /// - Parameter anchor: The anchor from which the constraint should be created.
80 | /// - Returns: Returns the created `NSLayoutConstraint`.
81 | public func createConstraint(from anchor: FHLayoutAnchor) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
82 | enableAutoLayout()
83 | return _createConstraint(fromAnchor: anchor)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:89:74: error: cannot find type 'NSLayoutConstraint' in scope
87 | extension FHLayoutItem {
88 |
89 | private func _createConstraint(fromAnchor anchor: FHLayoutAnchor) -> NSLayoutConstraint {
| `- error: cannot find type 'NSLayoutConstraint' in scope
90 | switch anchor {
91 | case .leading(to: let xAxisAnchor, let constantType):
[5/6] Compiling FHConstraints FHConvenienceAnchors.swift
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:13:64: error: cannot find type 'EdgeInsets' in scope
11 | ///
12 | /// The returned constraint order is: [leading, top, trailing, bottom]
13 | case inside(of: FHLayoutItem, insets: FHLayoutConstantType<EdgeInsets> = .equal(to: EdgeInsets()))
| `- error: cannot find type 'EdgeInsets' in scope
14 |
15 | /// Constraints the layout item to the center of the parsed layout item with optional offset.
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:33:33: error: cannot find type 'CGFloat' in scope
31 | public var vertical: CGFloat
32 |
33 | public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
34 | self.horizontal = horizontal
35 | self.vertical = vertical
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:33:56: error: cannot find type 'CGFloat' in scope
31 | public var vertical: CGFloat
32 |
33 | public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
34 | self.horizontal = horizontal
35 | self.vertical = vertical
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:35:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
33 | /// FHAutoLayout protocol
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:36:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:37:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:38:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:39:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:40:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:41:22: error: cannot find type 'NSLayoutDimension' in scope
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:42:23: error: cannot find type 'NSLayoutDimension' in scope
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
| `- error: cannot find type 'NSLayoutDimension' in scope
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:43:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
45 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:44:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
45 |
46 | /// Enable AutoLayout on `Self`.
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:23:44: error: cannot find type 'CGSize' in scope
21 | ///
22 | /// The returned constraint order is: [width, height]
23 | case size(_ size: FHLayoutConstantType<CGSize>)
| `- error: cannot find type 'CGSize' in scope
24 | }
25 |
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:30:32: error: cannot find type 'CGFloat' in scope
28 | /// Offset struct
29 | public struct Offset {
30 | public var horizontal: CGFloat
| `- error: cannot find type 'CGFloat' in scope
31 | public var vertical: CGFloat
32 |
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:31:30: error: cannot find type 'CGFloat' in scope
29 | public struct Offset {
30 | public var horizontal: CGFloat
31 | public var vertical: CGFloat
| `- error: cannot find type 'CGFloat' in scope
32 |
33 | public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:42:61: error: cannot find type 'NSLayoutConstraint' in scope
40 | extension FHConvenienceAnchors {
41 |
42 | internal func _constraint(layoutItem: FHLayoutItem) -> [NSLayoutConstraint] {
| `- error: cannot find type 'NSLayoutConstraint' in scope
43 | switch self {
44 | case .inside(of: let superLayoutItem, insets: let insetsType):
[6/6] Compiling FHConstraints FHLayoutAnchor.swift
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
7 | /// FHLayoutAnchor enum
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:80: error: cannot find type 'CGFloat' in scope
7 | /// FHLayoutAnchor enum
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:10:23: error: cannot find type 'NSLayoutXAxisAnchor' in scope
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:10:81: error: cannot find type 'CGFloat' in scope
8 | public enum FHLayoutAnchor {
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:19: error: cannot find type 'NSLayoutXAxisAnchor' in scope
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:77: error: cannot find type 'CGFloat' in scope
9 | case leading(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:20: error: cannot find type 'NSLayoutXAxisAnchor' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:78: error: cannot find type 'CGFloat' in scope
10 | case trailing(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:18: error: cannot find type 'NSLayoutYAxisAnchor' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:76: error: cannot find type 'CGFloat' in scope
11 | case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:79: error: cannot find type 'CGFloat' in scope
12 | case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:80: error: cannot find type 'CGFloat' in scope
13 | case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:22: error: cannot find type 'NSLayoutYAxisAnchor' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:80: error: cannot find type 'CGFloat' in scope
14 | case bottom(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
| `- error: cannot find type 'CGFloat' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:17:20: error: cannot find type 'NSLayoutDimension' in scope
15 | case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
| `- error: cannot find type 'NSLayoutDimension' in scope
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:30:33: error: cannot find type 'CGFloat' in scope
28 | public var constant: CGFloat
29 |
30 | public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
31 | self.multiplier = multiplier
32 | self.constant = constant
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:30:56: error: cannot find type 'CGFloat' in scope
28 | public var constant: CGFloat
29 |
30 | public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope
31 | self.multiplier = multiplier
32 | self.constant = constant
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:18:61: error: cannot find type 'CGFloat' in scope
16 | case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
| `- error: cannot find type 'CGFloat' in scope
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:19:21: error: cannot find type 'NSLayoutDimension' in scope
17 | case width(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
| `- error: cannot find type 'NSLayoutDimension' in scope
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
21 | }
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:20:62: error: cannot find type 'CGFloat' in scope
18 | case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
19 | case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
20 | case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
| `- error: cannot find type 'CGFloat' in scope
21 | }
22 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:27:32: error: cannot find type 'CGFloat' in scope
25 | /// DimensionConstant struct
26 | public struct DimensionConstant {
27 | public var multiplier: CGFloat
| `- error: cannot find type 'CGFloat' in scope
28 | public var constant: CGFloat
29 |
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:28:30: error: cannot find type 'CGFloat' in scope
26 | public struct DimensionConstant {
27 | public var multiplier: CGFloat
28 | public var constant: CGFloat
| `- error: cannot find type 'CGFloat' in scope
29 |
30 | public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
BUILD FAILURE 6.1 android