Build Information
Failed to build FHConstraints with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.24.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FelixHerrmann/FHConstraints.git
Reference: 2.2.0
Cloned https://github.com/FelixHerrmann/FHConstraints.git into /host/spi-builder-workspace
Revision (git rev-parse @):
SUCCESS checkout https://github.com/FelixHerrmann/FHConstraints.git at 2.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: /host/spi-builder-workspace
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/5] Compiling FHConstraints FHLayoutConstantType.swift
[2/5] Compiling FHConstraints FHConvenienceAnchors.swift
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:12:64: error: cannot find type 'EdgeInsets' in scope
case inside(of: FHLayoutItem, insets: FHLayoutConstantType<EdgeInsets> = .equal(to: EdgeInsets()))
^~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:32:33: error: cannot find type 'CGFloat' in scope
public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:32:56: error: cannot find type 'CGFloat' in scope
public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:35:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leadingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:36:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var trailingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:37:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leftAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:38:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var rightAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:39:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var topAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:40:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var bottomAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:41:22: error: cannot find type 'NSLayoutDimension' in scope
var widthAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:42:23: error: cannot find type 'NSLayoutDimension' in scope
var heightAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:43:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var centerXAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:44:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var centerYAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:22:44: error: cannot find type 'CGSize' in scope
case size(_ size: FHLayoutConstantType<CGSize>)
^~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:29:32: error: cannot find type 'CGFloat' in scope
public var horizontal: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:30:30: error: cannot find type 'CGFloat' in scope
public var vertical: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:40:61: error: cannot find type 'NSLayoutConstraint' in scope
internal func _constraint(layoutItem: FHLayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
[3/5] Compiling FHConstraints FHLayoutItem.swift
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:35:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leadingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:36:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var trailingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:37:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leftAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:38:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var rightAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:39:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var topAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:40:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var bottomAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:41:22: error: cannot find type 'NSLayoutDimension' in scope
var widthAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:42:23: error: cannot find type 'NSLayoutDimension' in scope
var heightAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:43:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var centerXAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:44:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var centerYAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:54:76: error: cannot find type 'NSLayoutConstraint' in scope
@discardableResult public func constraint(_ anchor: FHLayoutAnchor) -> NSLayoutConstraint {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:64:80: error: cannot find type 'NSLayoutConstraint' in scope
@discardableResult public func constraint(_ anchors: [FHLayoutAnchor]) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:71:95: error: cannot find type 'NSLayoutConstraint' in scope
@discardableResult public func constraint(_ convenienceAnchors: FHConvenienceAnchors) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:80:66: error: cannot find type 'NSLayoutConstraint' in scope
public func createConstraint(from anchor: FHLayoutAnchor) -> NSLayoutConstraint {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:87:74: error: cannot find type 'NSLayoutConstraint' in scope
private func _createConstraint(fromAnchor anchor: FHLayoutAnchor) -> NSLayoutConstraint {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
case leading(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
case leading(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
case trailing(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
case trailing(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
case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:77: error: cannot find type 'CGFloat' in scope
case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:20: error: cannot find type 'NSLayoutXAxisAnchor' in scope
case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:78: error: cannot find type 'CGFloat' in scope
case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:18: error: cannot find type 'NSLayoutYAxisAnchor' in scope
case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:76: error: cannot find type 'CGFloat' in scope
case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
case bottom(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
case bottom(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
case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:80: error: cannot find type 'CGFloat' in scope
case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:22: error: cannot find type 'NSLayoutYAxisAnchor' in scope
case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:80: error: cannot find type 'CGFloat' in scope
case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:17:20: error: cannot find type 'NSLayoutDimension' in scope
case width(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
case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:19:21: error: cannot find type 'NSLayoutDimension' in scope
case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:20:62: error: cannot find type 'CGFloat' in scope
case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
^~~~~~~
[4/5] Compiling FHConstraints FHLayoutAnchor.swift
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
case leading(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
case leading(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
case trailing(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
case trailing(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
case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:77: error: cannot find type 'CGFloat' in scope
case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:20: error: cannot find type 'NSLayoutXAxisAnchor' in scope
case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:78: error: cannot find type 'CGFloat' in scope
case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:18: error: cannot find type 'NSLayoutYAxisAnchor' in scope
case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:76: error: cannot find type 'CGFloat' in scope
case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
case bottom(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
case bottom(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
case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:80: error: cannot find type 'CGFloat' in scope
case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:22: error: cannot find type 'NSLayoutYAxisAnchor' in scope
case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:80: error: cannot find type 'CGFloat' in scope
case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:17:20: error: cannot find type 'NSLayoutDimension' in scope
case width(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
public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:30:56: error: cannot find type 'CGFloat' in scope
public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:18:61: error: cannot find type 'CGFloat' in scope
case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:19:21: error: cannot find type 'NSLayoutDimension' in scope
case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:20:62: error: cannot find type 'CGFloat' in scope
case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:27:32: error: cannot find type 'CGFloat' in scope
public var multiplier: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:28:30: error: cannot find type 'CGFloat' in scope
public var constant: CGFloat
^~~~~~~
[5/5] Emitting module FHConstraints
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:12:64: error: cannot find type 'EdgeInsets' in scope
case inside(of: FHLayoutItem, insets: FHLayoutConstantType<EdgeInsets> = .equal(to: EdgeInsets()))
^~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:32:33: error: cannot find type 'CGFloat' in scope
public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:32:56: error: cannot find type 'CGFloat' in scope
public init(horizontal: CGFloat = 0, vertical: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:35:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leadingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:36:25: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var trailingAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:37:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var leftAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:38:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var rightAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:39:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var topAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:40:23: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var bottomAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:41:22: error: cannot find type 'NSLayoutDimension' in scope
var widthAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:42:23: error: cannot find type 'NSLayoutDimension' in scope
var heightAnchor: NSLayoutDimension { get }
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:43:24: error: cannot find type 'NSLayoutXAxisAnchor' in scope
var centerXAnchor: NSLayoutXAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:44:24: error: cannot find type 'NSLayoutYAxisAnchor' in scope
var centerYAnchor: NSLayoutYAxisAnchor { get }
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:22:44: error: cannot find type 'CGSize' in scope
case size(_ size: FHLayoutConstantType<CGSize>)
^~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:29:32: error: cannot find type 'CGFloat' in scope
public var horizontal: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:30:30: error: cannot find type 'CGFloat' in scope
public var vertical: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHConvenienceAnchors.swift:40:61: error: cannot find type 'NSLayoutConstraint' in scope
internal func _constraint(layoutItem: FHLayoutItem) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:9:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
case leading(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
case leading(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
case trailing(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
case trailing(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
case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:11:77: error: cannot find type 'CGFloat' in scope
case left(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:20: error: cannot find type 'NSLayoutXAxisAnchor' in scope
case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:12:78: error: cannot find type 'CGFloat' in scope
case right(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:18: error: cannot find type 'NSLayoutYAxisAnchor' in scope
case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:13:76: error: cannot find type 'CGFloat' in scope
case top(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:14:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
case bottom(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
case bottom(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
case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:15:80: error: cannot find type 'CGFloat' in scope
case centerX(to: NSLayoutXAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:22: error: cannot find type 'NSLayoutYAxisAnchor' in scope
case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:16:80: error: cannot find type 'CGFloat' in scope
case centerY(to: NSLayoutYAxisAnchor, _ constantType: FHLayoutConstantType<CGFloat> = .equal(to: 0))
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:17:20: error: cannot find type 'NSLayoutDimension' in scope
case width(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
public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:30:56: error: cannot find type 'CGFloat' in scope
public init(multiplier: CGFloat = 1, constant: CGFloat = 0) {
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:18:61: error: cannot find type 'CGFloat' in scope
case widthConstant(_ constantType: FHLayoutConstantType<CGFloat>)
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:19:21: error: cannot find type 'NSLayoutDimension' in scope
case height(to: NSLayoutDimension, _ constantType: FHLayoutConstantType<DimensionConstant> = .equal(to: DimensionConstant()))
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:20:62: error: cannot find type 'CGFloat' in scope
case heightConstant(_ constantType: FHLayoutConstantType<CGFloat>)
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:27:32: error: cannot find type 'CGFloat' in scope
public var multiplier: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutAnchor.swift:28:30: error: cannot find type 'CGFloat' in scope
public var constant: CGFloat
^~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:54:76: error: cannot find type 'NSLayoutConstraint' in scope
@discardableResult public func constraint(_ anchor: FHLayoutAnchor) -> NSLayoutConstraint {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:64:80: error: cannot find type 'NSLayoutConstraint' in scope
@discardableResult public func constraint(_ anchors: [FHLayoutAnchor]) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:71:95: error: cannot find type 'NSLayoutConstraint' in scope
@discardableResult public func constraint(_ convenienceAnchors: FHConvenienceAnchors) -> [NSLayoutConstraint] {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:80:66: error: cannot find type 'NSLayoutConstraint' in scope
public func createConstraint(from anchor: FHLayoutAnchor) -> NSLayoutConstraint {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:87:74: error: cannot find type 'NSLayoutConstraint' in scope
private func _createConstraint(fromAnchor anchor: FHLayoutAnchor) -> NSLayoutConstraint {
^~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux