Build Information
Failed to build FHConstraints with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
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: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/FelixHerrmann/FHConstraints.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling FHConstraints FHLayoutConstantType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
error: compile command failed due to signal 6 (use -v to see invocation)
error: compile command failed due to signal 6 (use -v to see invocation)
[4/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):
/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 |
Can't demangle: $s13FHConstraints14FHLayoutAnchorO5width33_CBCC0CDD7B48F3080306497E6466BFC4LLXeF12constantTypeL_AA0b8ConstantL0OyAC09DimensionM0VGvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift -primary-file /host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift /host/spi-builder-workspace/Sources/FHConstraints/FHLayoutConstantType.swift /host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/FHConstraints.build/FHLayoutAnchor.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/FHConstraints.build/FHLayoutAnchor.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name FHConstraints -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/FHConstraints.build/FHLayoutAnchor.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1. Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2. Compiling with effective version 5.10
3. While walking into 'FHLayoutAnchor' (at /host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:8:8)
4. While evaluating request USRGenerationRequest(FHConstraints.(file).FHLayoutAnchor.width(to:_:).constantType@/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:17:41)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x00005630fedb1497
1 swift-frontend 0x00005630fedaf1ee
2 swift-frontend 0x00005630fedb1b0a
3 libc.so.6 0x00007fe1f6417520
4 libc.so.6 0x00007fe1f646b9fc pthread_kill + 300
5 libc.so.6 0x00007fe1f6417476 raise + 22
6 libc.so.6 0x00007fe1f63fd7f3 abort + 211
7 swift-frontend 0x00005630f9ee1055
8 swift-frontend 0x00005630f9b2e934
9 swift-frontend 0x00005630f9ea366f
10 swift-frontend 0x00005630f96a754c
11 swift-frontend 0x00005630f828d9ce
12 swift-frontend 0x00005630f828d67a
13 swift-frontend 0x00005630f828c8d2
14 swift-frontend 0x00005630f9ea419a
15 swift-frontend 0x00005630f825bdab
16 swift-frontend 0x00005630f825b2f7
17 swift-frontend 0x00005630f8258c29
18 swift-frontend 0x00005630f8fd5226
19 swift-frontend 0x00005630f9b8d89c
20 swift-frontend 0x00005630f9b8f38c
21 swift-frontend 0x00005630f9b92240
22 swift-frontend 0x00005630f9b8d8ba
23 swift-frontend 0x00005630f9b92d5f
24 swift-frontend 0x00005630f9b9198f
25 swift-frontend 0x00005630f9b8d8ba
26 swift-frontend 0x00005630f9b8d7b3
27 swift-frontend 0x00005630f9d7381f
28 swift-frontend 0x00005630f8fd2bd4
29 swift-frontend 0x00005630f8257c51
30 swift-frontend 0x00005630f8257afa
31 swift-frontend 0x00005630f824c12c
32 swift-frontend 0x00005630f824bb15
33 swift-frontend 0x00005630f7ffe572
34 swift-frontend 0x00005630f7ffc67c
35 swift-frontend 0x00005630f7ff7198
36 swift-frontend 0x00005630f7ff54fc
37 swift-frontend 0x00005630f7db1dde
38 libc.so.6 0x00007fe1f63fed90
39 libc.so.6 0x00007fe1f63fee40 __libc_start_main + 128
40 swift-frontend 0x00005630f7db0e85
BUILD FAILURE 6.0 linux