This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ConstraintBuilder with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/PimCoumans/ConstraintBuilder.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/PimCoumans/ConstraintBuilder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 37126ae Merge pull request #3 from PimCoumans/feature/improved-generics
Cloned https://github.com/PimCoumans/ConstraintBuilder.git
Revision (git rev-parse @):
37126aeb4e2d769f99fd3f694ae67917e36098c9
SUCCESS checkout https://github.com/PimCoumans/ConstraintBuilder.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/PimCoumans/ConstraintBuilder.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-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/8] Compiling ConstraintBuilder NSView+ConstraintBuildable.swift
[4/8] Compiling ConstraintBuilder UIView+ConstraintBuildable.swift
[5/8] Compiling ConstraintBuilder ConstraintBuilder.swift
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:17:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 15 | // Anchors shared by views and layout guides
 16 | public protocol LayoutContainer {
 17 | 	var leadingAnchor: NSLayoutXAxisAnchor { get }
    |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 18 | 	var trailingAnchor: NSLayoutXAxisAnchor { get }
 19 | 	var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:18:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 16 | public protocol LayoutContainer {
 17 | 	var leadingAnchor: NSLayoutXAxisAnchor { get }
 18 | 	var trailingAnchor: NSLayoutXAxisAnchor { get }
    |                      `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 19 | 	var leftAnchor: NSLayoutXAxisAnchor { get }
 20 | 	var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:19:18: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 17 | 	var leadingAnchor: NSLayoutXAxisAnchor { get }
 18 | 	var trailingAnchor: NSLayoutXAxisAnchor { get }
 19 | 	var leftAnchor: NSLayoutXAxisAnchor { get }
    |                  `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 20 | 	var rightAnchor: NSLayoutXAxisAnchor { get }
 21 | 	var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:20:19: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 18 | 	var trailingAnchor: NSLayoutXAxisAnchor { get }
 19 | 	var leftAnchor: NSLayoutXAxisAnchor { get }
 20 | 	var rightAnchor: NSLayoutXAxisAnchor { get }
    |                   `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 21 | 	var topAnchor: NSLayoutYAxisAnchor { get }
 22 | 	var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:21:17: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 19 | 	var leftAnchor: NSLayoutXAxisAnchor { get }
 20 | 	var rightAnchor: NSLayoutXAxisAnchor { get }
 21 | 	var topAnchor: NSLayoutYAxisAnchor { get }
    |                 `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 22 | 	var bottomAnchor: NSLayoutYAxisAnchor { get }
 23 | 	var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:22:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 20 | 	var rightAnchor: NSLayoutXAxisAnchor { get }
 21 | 	var topAnchor: NSLayoutYAxisAnchor { get }
 22 | 	var bottomAnchor: NSLayoutYAxisAnchor { get }
    |                    `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 23 | 	var widthAnchor: NSLayoutDimension { get }
 24 | 	var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:23:19: error: cannot find type 'NSLayoutDimension' in scope
 21 | 	var topAnchor: NSLayoutYAxisAnchor { get }
 22 | 	var bottomAnchor: NSLayoutYAxisAnchor { get }
 23 | 	var widthAnchor: NSLayoutDimension { get }
    |                   `- error: cannot find type 'NSLayoutDimension' in scope
 24 | 	var heightAnchor: NSLayoutDimension { get }
 25 | 	var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:24:20: error: cannot find type 'NSLayoutDimension' in scope
 22 | 	var bottomAnchor: NSLayoutYAxisAnchor { get }
 23 | 	var widthAnchor: NSLayoutDimension { get }
 24 | 	var heightAnchor: NSLayoutDimension { get }
    |                    `- error: cannot find type 'NSLayoutDimension' in scope
 25 | 	var centerXAnchor: NSLayoutXAxisAnchor { get }
 26 | 	var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:25:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 23 | 	var widthAnchor: NSLayoutDimension { get }
 24 | 	var heightAnchor: NSLayoutDimension { get }
 25 | 	var centerXAnchor: NSLayoutXAxisAnchor { get }
    |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 26 | 	var centerYAnchor: NSLayoutYAxisAnchor { get }
 27 | }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:26:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 24 | 	var heightAnchor: NSLayoutDimension { get }
 25 | 	var centerXAnchor: NSLayoutXAxisAnchor { get }
 26 | 	var centerYAnchor: NSLayoutYAxisAnchor { get }
    |                     `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 27 | }
 28 |
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:32:27: error: cannot find type 'LayoutGuide' in scope
 30 | public protocol LayoutContainerView: LayoutContainer {
 31 | 	@available(macOS 11.0, iOS 11.0, tvOS 11.0, *)
 32 | 	var safeAreaLayoutGuide: LayoutGuide { get }
    |                           `- error: cannot find type 'LayoutGuide' in scope
 33 | 	@available(macOS 11.0, iOS 9.0,  tvOS 9.0, *)
 34 | 	var layoutMarginsGuide: LayoutGuide { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:34:26: error: cannot find type 'LayoutGuide' in scope
 32 | 	var safeAreaLayoutGuide: LayoutGuide { get }
 33 | 	@available(macOS 11.0, iOS 9.0,  tvOS 9.0, *)
 34 | 	var layoutMarginsGuide: LayoutGuide { get }
    |                          `- error: cannot find type 'LayoutGuide' in scope
 35 | }
 36 |
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:39:73: error: cannot find type 'NSLayoutConstraint' in scope
 37 | @resultBuilder
 38 | public struct ConstraintBuilder {
 39 | 	public static func buildBlock(_ components: NSLayoutConstraint...) -> [NSLayoutConstraint] {
    |                                                                         `- error: cannot find type 'NSLayoutConstraint' in scope
 40 | 		Array(components)
 41 | 	}
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:39:46: error: cannot find type 'NSLayoutConstraint' in scope
 37 | @resultBuilder
 38 | public struct ConstraintBuilder {
 39 | 	public static func buildBlock(_ components: NSLayoutConstraint...) -> [NSLayoutConstraint] {
    |                                              `- error: cannot find type 'NSLayoutConstraint' in scope
 40 | 		Array(components)
 41 | 	}
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:42:72: error: cannot find type 'NSLayoutConstraint' in scope
 40 | 		Array(components)
 41 | 	}
 42 | 	public static func buildBlock(_ components: [NSLayoutConstraint]) -> [NSLayoutConstraint] {
    |                                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
 43 | 		Array(components)
 44 | 	}
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:42:47: error: cannot find type 'NSLayoutConstraint' in scope
 40 | 		Array(components)
 41 | 	}
 42 | 	public static func buildBlock(_ components: [NSLayoutConstraint]) -> [NSLayoutConstraint] {
    |                                               `- error: cannot find type 'NSLayoutConstraint' in scope
 43 | 		Array(components)
 44 | 	}
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:58:72: error: cannot find type 'NSLayoutConstraint' in scope
 56 | 	/// ```
 57 | 	/// - Parameter builder: Constraint builder to add the constraints from
 58 | 	func applyConstraints(@ConstraintBuilder _ builder: (Constrained) -> [NSLayoutConstraint])
    |                                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
 59 |
 60 | 	/// Extends all edges to the edges of the provided view or guide
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:58:24: error: result builder attribute 'ConstraintBuilder' can only be applied to a parameter of function type
 56 | 	/// ```
 57 | 	/// - Parameter builder: Constraint builder to add the constraints from
 58 | 	func applyConstraints(@ConstraintBuilder _ builder: (Constrained) -> [NSLayoutConstraint])
    |                        `- error: result builder attribute 'ConstraintBuilder' can only be applied to a parameter of function type
 59 |
 60 | 	/// Extends all edges to the edges of the provided view or guide
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:73:51: error: cannot find type 'NSLayoutConstraint' in scope
 71 | 	/// - Note: Store the returned layout constraint and use `updatingMultiplier(_:)` to change the actual aspect ratio.
 72 | 	/// The ratio is in height divided by width.
 73 | 	func aspectFit(in other: any LayoutContainer) -> NSLayoutConstraint
    |                                                   `- error: cannot find type 'NSLayoutConstraint' in scope
 74 | }
 75 |
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:77:11: error: cannot find type 'LayoutGuide' in scope
 75 |
 76 | // Conformance to `ConstraintBuildable` for `NSLayoutGuide` and `UILayoutGuide`
 77 | extension LayoutGuide: ConstraintBuildable {
    |           `- error: cannot find type 'LayoutGuide' in scope
 78 | 	public func applyConstraints(@ConstraintBuilder _ builder: (LayoutGuide) -> [NSLayoutConstraint]) {
 79 | 		NSLayoutConstraint.activate(builder(self))
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:125:58: error: cannot find type 'NSLayoutConstraint' in scope
123 | 	}
124 |
125 | 	public func aspectFit(in other: any LayoutContainer) -> NSLayoutConstraint {
    |                                                          `- error: cannot find type 'NSLayoutConstraint' in scope
126 | 		let aspectRatioConstraint = heightAnchor.constraint(equalTo: widthAnchor, multiplier: 1)
127 | 		applyConstraints {
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:78:62: error: cannot find type 'LayoutGuide' in scope
 76 | // Conformance to `ConstraintBuildable` for `NSLayoutGuide` and `UILayoutGuide`
 77 | extension LayoutGuide: ConstraintBuildable {
 78 | 	public func applyConstraints(@ConstraintBuilder _ builder: (LayoutGuide) -> [NSLayoutConstraint]) {
    |                                                              `- error: cannot find type 'LayoutGuide' in scope
 79 | 		NSLayoutConstraint.activate(builder(self))
 80 | 	}
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:78:79: error: cannot find type 'NSLayoutConstraint' in scope
 76 | // Conformance to `ConstraintBuildable` for `NSLayoutGuide` and `UILayoutGuide`
 77 | extension LayoutGuide: ConstraintBuildable {
 78 | 	public func applyConstraints(@ConstraintBuilder _ builder: (LayoutGuide) -> [NSLayoutConstraint]) {
    |                                                                               `- error: cannot find type 'NSLayoutConstraint' in scope
 79 | 		NSLayoutConstraint.activate(builder(self))
 80 | 	}
[6/8] Compiling ConstraintBuilder NSLayoutConstraint.swift
/host/spi-builder-workspace/Sources/ConstraintBuilder/Extensions/NSLayoutConstraint.swift:7:18: error: cannot find type 'NSLayoutConstraint' in scope
 5 | #endif
 6 |
 7 | public extension NSLayoutConstraint {
   |                  `- error: cannot find type 'NSLayoutConstraint' in scope
 8 | 	/// Activates all constraints created in the `builder` closure;
 9 | 	/// - Parameter builder: Closure in which all constraints should be created or referenced
/host/spi-builder-workspace/Sources/ConstraintBuilder/Extensions/NSLayoutConstraint.swift:25:18: error: cannot find type 'NSLayoutConstraint' in scope
23 | }
24 |
25 | public extension NSLayoutConstraint {
   |                  `- error: cannot find type 'NSLayoutConstraint' in scope
26 | 	/// Updates constraint priority and returns itself, allowing for chaining this method after creation
27 | 	func withPriority(_ priority: LayoutPriority) -> NSLayoutConstraint {
/host/spi-builder-workspace/Sources/ConstraintBuilder/Extensions/NSLayoutConstraint.swift:20:56: error: cannot find type 'NSLayoutConstraint' in scope
18 | 	/// }
19 | 	/// ```
20 | 	class func build(@ConstraintBuilder _ builder: () -> [NSLayoutConstraint]) {
   |                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
21 | 		activate(builder())
22 | 	}
/host/spi-builder-workspace/Sources/ConstraintBuilder/Extensions/NSLayoutConstraint.swift:27:51: error: cannot find type 'NSLayoutConstraint' in scope
25 | public extension NSLayoutConstraint {
26 | 	/// Updates constraint priority and returns itself, allowing for chaining this method after creation
27 | 	func withPriority(_ priority: LayoutPriority) -> NSLayoutConstraint {
   |                                                   `- error: cannot find type 'NSLayoutConstraint' in scope
28 | 		self.priority = priority
29 | 		return self
/host/spi-builder-workspace/Sources/ConstraintBuilder/Extensions/NSLayoutConstraint.swift:27:32: error: cannot find type 'LayoutPriority' in scope
25 | public extension NSLayoutConstraint {
26 | 	/// Updates constraint priority and returns itself, allowing for chaining this method after creation
27 | 	func withPriority(_ priority: LayoutPriority) -> NSLayoutConstraint {
   |                                `- error: cannot find type 'LayoutPriority' in scope
28 | 		self.priority = priority
29 | 		return self
/host/spi-builder-workspace/Sources/ConstraintBuilder/Extensions/NSLayoutConstraint.swift:37:76: error: cannot find type 'NSLayoutConstraint' in scope
35 | 	///   - activated: Wether the current (old) constraint should be deactivated and the new constraint activated
36 | 	/// - Returns: New copy of the receiving layout constraint with updated multiplier
37 | 	func updatingMultiplier(_ multiplier: CGFloat, activated: Bool = true) -> NSLayoutConstraint {
   |                                                                            `- error: cannot find type 'NSLayoutConstraint' in scope
38 | 		guard multiplier != self.multiplier else {
39 | 			return self
/host/spi-builder-workspace/Sources/ConstraintBuilder/Extensions/NSLayoutConstraint.swift:37:40: error: cannot find type 'CGFloat' in scope
35 | 	///   - activated: Wether the current (old) constraint should be deactivated and the new constraint activated
36 | 	/// - Returns: New copy of the receiving layout constraint with updated multiplier
37 | 	func updatingMultiplier(_ multiplier: CGFloat, activated: Bool = true) -> NSLayoutConstraint {
   |                                        `- error: cannot find type 'CGFloat' in scope
38 | 		guard multiplier != self.multiplier else {
39 | 			return self
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module ConstraintBuilder
/host/spi-builder-workspace/Sources/ConstraintBuilder/Collection+ConstraintBuildable.swift:9:87: error: cannot find type 'NSLayoutConstraint' in scope
 7 |
 8 | extension Collection where Element: ConstraintBuildable {
 9 | 	public func applyConstraints(@ConstraintBuilder _ builder: (Element.Constrained) -> [NSLayoutConstraint]) {
   |                                                                                       `- error: cannot find type 'NSLayoutConstraint' in scope
10 | 		for container in self {
11 | 			container.applyConstraints(builder)
/host/spi-builder-workspace/Sources/ConstraintBuilder/Collection+ConstraintBuildable.swift:9:31: error: result builder attribute 'ConstraintBuilder' can only be applied to a parameter of function type
 7 |
 8 | extension Collection where Element: ConstraintBuildable {
 9 | 	public func applyConstraints(@ConstraintBuilder _ builder: (Element.Constrained) -> [NSLayoutConstraint]) {
   |                               `- error: result builder attribute 'ConstraintBuilder' can only be applied to a parameter of function type
10 | 		for container in self {
11 | 			container.applyConstraints(builder)
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:17:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 15 | // Anchors shared by views and layout guides
 16 | public protocol LayoutContainer {
 17 | 	var leadingAnchor: NSLayoutXAxisAnchor { get }
    |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 18 | 	var trailingAnchor: NSLayoutXAxisAnchor { get }
 19 | 	var leftAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:18:22: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 16 | public protocol LayoutContainer {
 17 | 	var leadingAnchor: NSLayoutXAxisAnchor { get }
 18 | 	var trailingAnchor: NSLayoutXAxisAnchor { get }
    |                      `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 19 | 	var leftAnchor: NSLayoutXAxisAnchor { get }
 20 | 	var rightAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:19:18: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 17 | 	var leadingAnchor: NSLayoutXAxisAnchor { get }
 18 | 	var trailingAnchor: NSLayoutXAxisAnchor { get }
 19 | 	var leftAnchor: NSLayoutXAxisAnchor { get }
    |                  `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 20 | 	var rightAnchor: NSLayoutXAxisAnchor { get }
 21 | 	var topAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:20:19: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 18 | 	var trailingAnchor: NSLayoutXAxisAnchor { get }
 19 | 	var leftAnchor: NSLayoutXAxisAnchor { get }
 20 | 	var rightAnchor: NSLayoutXAxisAnchor { get }
    |                   `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 21 | 	var topAnchor: NSLayoutYAxisAnchor { get }
 22 | 	var bottomAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:21:17: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 19 | 	var leftAnchor: NSLayoutXAxisAnchor { get }
 20 | 	var rightAnchor: NSLayoutXAxisAnchor { get }
 21 | 	var topAnchor: NSLayoutYAxisAnchor { get }
    |                 `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 22 | 	var bottomAnchor: NSLayoutYAxisAnchor { get }
 23 | 	var widthAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:22:20: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 20 | 	var rightAnchor: NSLayoutXAxisAnchor { get }
 21 | 	var topAnchor: NSLayoutYAxisAnchor { get }
 22 | 	var bottomAnchor: NSLayoutYAxisAnchor { get }
    |                    `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 23 | 	var widthAnchor: NSLayoutDimension { get }
 24 | 	var heightAnchor: NSLayoutDimension { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:23:19: error: cannot find type 'NSLayoutDimension' in scope
 21 | 	var topAnchor: NSLayoutYAxisAnchor { get }
 22 | 	var bottomAnchor: NSLayoutYAxisAnchor { get }
 23 | 	var widthAnchor: NSLayoutDimension { get }
    |                   `- error: cannot find type 'NSLayoutDimension' in scope
 24 | 	var heightAnchor: NSLayoutDimension { get }
 25 | 	var centerXAnchor: NSLayoutXAxisAnchor { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:24:20: error: cannot find type 'NSLayoutDimension' in scope
 22 | 	var bottomAnchor: NSLayoutYAxisAnchor { get }
 23 | 	var widthAnchor: NSLayoutDimension { get }
 24 | 	var heightAnchor: NSLayoutDimension { get }
    |                    `- error: cannot find type 'NSLayoutDimension' in scope
 25 | 	var centerXAnchor: NSLayoutXAxisAnchor { get }
 26 | 	var centerYAnchor: NSLayoutYAxisAnchor { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:25:21: error: cannot find type 'NSLayoutXAxisAnchor' in scope
 23 | 	var widthAnchor: NSLayoutDimension { get }
 24 | 	var heightAnchor: NSLayoutDimension { get }
 25 | 	var centerXAnchor: NSLayoutXAxisAnchor { get }
    |                     `- error: cannot find type 'NSLayoutXAxisAnchor' in scope
 26 | 	var centerYAnchor: NSLayoutYAxisAnchor { get }
 27 | }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:26:21: error: cannot find type 'NSLayoutYAxisAnchor' in scope
 24 | 	var heightAnchor: NSLayoutDimension { get }
 25 | 	var centerXAnchor: NSLayoutXAxisAnchor { get }
 26 | 	var centerYAnchor: NSLayoutYAxisAnchor { get }
    |                     `- error: cannot find type 'NSLayoutYAxisAnchor' in scope
 27 | }
 28 |
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:32:27: error: cannot find type 'LayoutGuide' in scope
 30 | public protocol LayoutContainerView: LayoutContainer {
 31 | 	@available(macOS 11.0, iOS 11.0, tvOS 11.0, *)
 32 | 	var safeAreaLayoutGuide: LayoutGuide { get }
    |                           `- error: cannot find type 'LayoutGuide' in scope
 33 | 	@available(macOS 11.0, iOS 9.0,  tvOS 9.0, *)
 34 | 	var layoutMarginsGuide: LayoutGuide { get }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:34:26: error: cannot find type 'LayoutGuide' in scope
 32 | 	var safeAreaLayoutGuide: LayoutGuide { get }
 33 | 	@available(macOS 11.0, iOS 9.0,  tvOS 9.0, *)
 34 | 	var layoutMarginsGuide: LayoutGuide { get }
    |                          `- error: cannot find type 'LayoutGuide' in scope
 35 | }
 36 |
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:39:73: error: cannot find type 'NSLayoutConstraint' in scope
 37 | @resultBuilder
 38 | public struct ConstraintBuilder {
 39 | 	public static func buildBlock(_ components: NSLayoutConstraint...) -> [NSLayoutConstraint] {
    |                                                                         `- error: cannot find type 'NSLayoutConstraint' in scope
 40 | 		Array(components)
 41 | 	}
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:39:46: error: cannot find type 'NSLayoutConstraint' in scope
 37 | @resultBuilder
 38 | public struct ConstraintBuilder {
 39 | 	public static func buildBlock(_ components: NSLayoutConstraint...) -> [NSLayoutConstraint] {
    |                                              `- error: cannot find type 'NSLayoutConstraint' in scope
 40 | 		Array(components)
 41 | 	}
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:42:72: error: cannot find type 'NSLayoutConstraint' in scope
 40 | 		Array(components)
 41 | 	}
 42 | 	public static func buildBlock(_ components: [NSLayoutConstraint]) -> [NSLayoutConstraint] {
    |                                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
 43 | 		Array(components)
 44 | 	}
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:42:47: error: cannot find type 'NSLayoutConstraint' in scope
 40 | 		Array(components)
 41 | 	}
 42 | 	public static func buildBlock(_ components: [NSLayoutConstraint]) -> [NSLayoutConstraint] {
    |                                               `- error: cannot find type 'NSLayoutConstraint' in scope
 43 | 		Array(components)
 44 | 	}
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:58:72: error: cannot find type 'NSLayoutConstraint' in scope
 56 | 	/// ```
 57 | 	/// - Parameter builder: Constraint builder to add the constraints from
 58 | 	func applyConstraints(@ConstraintBuilder _ builder: (Constrained) -> [NSLayoutConstraint])
    |                                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
 59 |
 60 | 	/// Extends all edges to the edges of the provided view or guide
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:58:24: error: result builder attribute 'ConstraintBuilder' can only be applied to a parameter of function type
 56 | 	/// ```
 57 | 	/// - Parameter builder: Constraint builder to add the constraints from
 58 | 	func applyConstraints(@ConstraintBuilder _ builder: (Constrained) -> [NSLayoutConstraint])
    |                        `- error: result builder attribute 'ConstraintBuilder' can only be applied to a parameter of function type
 59 |
 60 | 	/// Extends all edges to the edges of the provided view or guide
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:73:51: error: cannot find type 'NSLayoutConstraint' in scope
 71 | 	/// - Note: Store the returned layout constraint and use `updatingMultiplier(_:)` to change the actual aspect ratio.
 72 | 	/// The ratio is in height divided by width.
 73 | 	func aspectFit(in other: any LayoutContainer) -> NSLayoutConstraint
    |                                                   `- error: cannot find type 'NSLayoutConstraint' in scope
 74 | }
 75 |
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:77:11: error: cannot find type 'LayoutGuide' in scope
 75 |
 76 | // Conformance to `ConstraintBuildable` for `NSLayoutGuide` and `UILayoutGuide`
 77 | extension LayoutGuide: ConstraintBuildable {
    |           `- error: cannot find type 'LayoutGuide' in scope
 78 | 	public func applyConstraints(@ConstraintBuilder _ builder: (LayoutGuide) -> [NSLayoutConstraint]) {
 79 | 		NSLayoutConstraint.activate(builder(self))
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:125:58: error: cannot find type 'NSLayoutConstraint' in scope
123 | 	}
124 |
125 | 	public func aspectFit(in other: any LayoutContainer) -> NSLayoutConstraint {
    |                                                          `- error: cannot find type 'NSLayoutConstraint' in scope
126 | 		let aspectRatioConstraint = heightAnchor.constraint(equalTo: widthAnchor, multiplier: 1)
127 | 		applyConstraints {
/host/spi-builder-workspace/Sources/ConstraintBuilder/Extensions/NSLayoutConstraint.swift:7:18: error: cannot find type 'NSLayoutConstraint' in scope
 5 | #endif
 6 |
 7 | public extension NSLayoutConstraint {
   |                  `- error: cannot find type 'NSLayoutConstraint' in scope
 8 | 	/// Activates all constraints created in the `builder` closure;
 9 | 	/// - Parameter builder: Closure in which all constraints should be created or referenced
/host/spi-builder-workspace/Sources/ConstraintBuilder/Extensions/NSLayoutConstraint.swift:25:18: error: cannot find type 'NSLayoutConstraint' in scope
23 | }
24 |
25 | public extension NSLayoutConstraint {
   |                  `- error: cannot find type 'NSLayoutConstraint' in scope
26 | 	/// Updates constraint priority and returns itself, allowing for chaining this method after creation
27 | 	func withPriority(_ priority: LayoutPriority) -> NSLayoutConstraint {
[8/8] Compiling ConstraintBuilder Collection+ConstraintBuildable.swift
/host/spi-builder-workspace/Sources/ConstraintBuilder/Collection+ConstraintBuildable.swift:9:87: error: cannot find type 'NSLayoutConstraint' in scope
 7 |
 8 | extension Collection where Element: ConstraintBuildable {
 9 | 	public func applyConstraints(@ConstraintBuilder _ builder: (Element.Constrained) -> [NSLayoutConstraint]) {
   |                                                                                       `- error: cannot find type 'NSLayoutConstraint' in scope
10 | 		for container in self {
11 | 			container.applyConstraints(builder)
/host/spi-builder-workspace/Sources/ConstraintBuilder/Collection+ConstraintBuildable.swift:9:31: error: result builder attribute 'ConstraintBuilder' can only be applied to a parameter of function type
 7 |
 8 | extension Collection where Element: ConstraintBuildable {
 9 | 	public func applyConstraints(@ConstraintBuilder _ builder: (Element.Constrained) -> [NSLayoutConstraint]) {
   |                               `- error: result builder attribute 'ConstraintBuilder' can only be applied to a parameter of function type
10 | 		for container in self {
11 | 			container.applyConstraints(builder)
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:58:72: error: cannot find type 'NSLayoutConstraint' in scope
 56 | 	/// ```
 57 | 	/// - Parameter builder: Constraint builder to add the constraints from
 58 | 	func applyConstraints(@ConstraintBuilder _ builder: (Constrained) -> [NSLayoutConstraint])
    |                                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
 59 |
 60 | 	/// Extends all edges to the edges of the provided view or guide
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.