The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ConstraintBuilder, reference main (8eb7cd), with Swift 6.3 for Wasm on 15 Apr 2026 15:58:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 8eb7cdb Expanded usage of result builder
Cloned https://github.com/PimCoumans/ConstraintBuilder.git
Revision (git rev-parse @):
8eb7cdb13156bb191ea8b0ab2be1d21a3e5ddaf0
SUCCESS checkout https://github.com/PimCoumans/ConstraintBuilder.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/PimCoumans/ConstraintBuilder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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
[4/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:45:78: error: cannot find type 'NSLayoutConstraint' in scope
 43 |         []
 44 |     }
 45 |     public static func buildBlock(_ components: [NSLayoutConstraint]...) -> [NSLayoutConstraint] {
    |                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
 46 |         components.flatMap { $0 }
 47 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:45:50: error: cannot find type 'NSLayoutConstraint' in scope
 43 |         []
 44 |     }
 45 |     public static func buildBlock(_ components: [NSLayoutConstraint]...) -> [NSLayoutConstraint] {
    |                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
 46 |         components.flatMap { $0 }
 47 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:42:41: error: cannot find type 'NSLayoutConstraint' in scope
 40 | 		Array(components)
 41 | 	}
 42 |     public static func buildBlock() -> [NSLayoutConstraint] {
    |                                         `- error: cannot find type 'NSLayoutConstraint' in scope
 43 |         []
 44 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:48:79: error: cannot find type 'NSLayoutConstraint' in scope
 46 |         components.flatMap { $0 }
 47 |     }
 48 |     public static func buildEither(first component: [NSLayoutConstraint]) -> [NSLayoutConstraint] {
    |                                                                               `- error: cannot find type 'NSLayoutConstraint' in scope
 49 |         component
 50 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:48:54: error: cannot find type 'NSLayoutConstraint' in scope
 46 |         components.flatMap { $0 }
 47 |     }
 48 |     public static func buildEither(first component: [NSLayoutConstraint]) -> [NSLayoutConstraint] {
    |                                                      `- error: cannot find type 'NSLayoutConstraint' in scope
 49 |         component
 50 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:51:80: error: cannot find type 'NSLayoutConstraint' in scope
 49 |         component
 50 |     }
 51 |     public static func buildEither(second component: [NSLayoutConstraint]) -> [NSLayoutConstraint] {
    |                                                                                `- error: cannot find type 'NSLayoutConstraint' in scope
 52 |         component
 53 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:51:55: error: cannot find type 'NSLayoutConstraint' in scope
 49 |         component
 50 |     }
 51 |     public static func buildEither(second component: [NSLayoutConstraint]) -> [NSLayoutConstraint] {
    |                                                       `- error: cannot find type 'NSLayoutConstraint' in scope
 52 |         component
 53 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:54:78: error: cannot find type 'NSLayoutConstraint' in scope
 52 |         component
 53 |     }
 54 |     public static func buildOptional(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
    |                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
 55 |         component ?? []
 56 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:54:52: error: cannot find type 'NSLayoutConstraint' in scope
 52 |         component
 53 |     }
 54 |     public static func buildOptional(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
    |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
 55 |         component ?? []
 56 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:57:78: error: cannot find type 'NSLayoutConstraint' in scope
 55 |         component ?? []
 56 |     }
 57 |     public static func buildExpression(_ expression: NSLayoutConstraint) -> [NSLayoutConstraint] {
    |                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
 58 |         [expression]
 59 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:57:54: error: cannot find type 'NSLayoutConstraint' in scope
 55 |         component ?? []
 56 |     }
 57 |     public static func buildExpression(_ expression: NSLayoutConstraint) -> [NSLayoutConstraint] {
    |                                                      `- error: cannot find type 'NSLayoutConstraint' in scope
 58 |         [expression]
 59 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:73:72: error: cannot find type 'NSLayoutConstraint' in scope
 71 | 	/// ```
 72 | 	/// - Parameter builder: Constraint builder to add the constraints from
 73 | 	func applyConstraints(@ConstraintBuilder _ builder: (Constrained) -> [NSLayoutConstraint])
    |                                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
 74 |
 75 | 	/// Extends all edges to the edges of the provided view or guide
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:73:24: error: result builder attribute 'ConstraintBuilder' can only be applied to a parameter of function type
 71 | 	/// ```
 72 | 	/// - Parameter builder: Constraint builder to add the constraints from
 73 | 	func applyConstraints(@ConstraintBuilder _ builder: (Constrained) -> [NSLayoutConstraint])
    |                        `- error: result builder attribute 'ConstraintBuilder' can only be applied to a parameter of function type
 74 |
 75 | 	/// Extends all edges to the edges of the provided view or guide
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:88:51: error: cannot find type 'NSLayoutConstraint' in scope
 86 | 	/// - Note: Store the returned layout constraint and use `updatingMultiplier(_:)` to change the actual aspect ratio.
 87 | 	/// The ratio is in height divided by width.
 88 | 	func aspectFit(in other: any LayoutContainer) -> NSLayoutConstraint
    |                                                   `- error: cannot find type 'NSLayoutConstraint' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:92:11: error: cannot find type 'LayoutGuide' in scope
 90 |
 91 | // Conformance to `ConstraintBuildable` for `NSLayoutGuide` and `UILayoutGuide`
 92 | extension LayoutGuide: ConstraintBuildable {
    |           `- error: cannot find type 'LayoutGuide' in scope
 93 | 	public func applyConstraints(@ConstraintBuilder _ builder: (LayoutGuide) -> [NSLayoutConstraint]) {
 94 | 		NSLayoutConstraint.activate(builder(self))
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:140:58: error: cannot find type 'NSLayoutConstraint' in scope
138 | 	}
139 |
140 | 	public func aspectFit(in other: any LayoutContainer) -> NSLayoutConstraint {
    |                                                          `- error: cannot find type 'NSLayoutConstraint' in scope
141 | 		let aspectRatioConstraint = heightAnchor.constraint(equalTo: widthAnchor, multiplier: 1)
142 | 		applyConstraints {
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:93:62: error: cannot find type 'LayoutGuide' in scope
 91 | // Conformance to `ConstraintBuildable` for `NSLayoutGuide` and `UILayoutGuide`
 92 | extension LayoutGuide: ConstraintBuildable {
 93 | 	public func applyConstraints(@ConstraintBuilder _ builder: (LayoutGuide) -> [NSLayoutConstraint]) {
    |                                                              `- error: cannot find type 'LayoutGuide' in scope
 94 | 		NSLayoutConstraint.activate(builder(self))
 95 | 	}
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:93:79: error: cannot find type 'NSLayoutConstraint' in scope
 91 | // Conformance to `ConstraintBuildable` for `NSLayoutGuide` and `UILayoutGuide`
 92 | extension LayoutGuide: ConstraintBuildable {
 93 | 	public func applyConstraints(@ConstraintBuilder _ builder: (LayoutGuide) -> [NSLayoutConstraint]) {
    |                                                                               `- error: cannot find type 'NSLayoutConstraint' in scope
 94 | 		NSLayoutConstraint.activate(builder(self))
 95 | 	}
[5/8] Compiling ConstraintBuilder NSView+ConstraintBuildable.swift
[6/8] Compiling ConstraintBuilder UIView+ConstraintBuildable.swift
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:45:78: error: cannot find type 'NSLayoutConstraint' in scope
 43 |         []
 44 |     }
 45 |     public static func buildBlock(_ components: [NSLayoutConstraint]...) -> [NSLayoutConstraint] {
    |                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
 46 |         components.flatMap { $0 }
 47 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:45:50: error: cannot find type 'NSLayoutConstraint' in scope
 43 |         []
 44 |     }
 45 |     public static func buildBlock(_ components: [NSLayoutConstraint]...) -> [NSLayoutConstraint] {
    |                                                  `- error: cannot find type 'NSLayoutConstraint' in scope
 46 |         components.flatMap { $0 }
 47 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:42:41: error: cannot find type 'NSLayoutConstraint' in scope
 40 | 		Array(components)
 41 | 	}
 42 |     public static func buildBlock() -> [NSLayoutConstraint] {
    |                                         `- error: cannot find type 'NSLayoutConstraint' in scope
 43 |         []
 44 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:48:79: error: cannot find type 'NSLayoutConstraint' in scope
 46 |         components.flatMap { $0 }
 47 |     }
 48 |     public static func buildEither(first component: [NSLayoutConstraint]) -> [NSLayoutConstraint] {
    |                                                                               `- error: cannot find type 'NSLayoutConstraint' in scope
 49 |         component
 50 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:48:54: error: cannot find type 'NSLayoutConstraint' in scope
 46 |         components.flatMap { $0 }
 47 |     }
 48 |     public static func buildEither(first component: [NSLayoutConstraint]) -> [NSLayoutConstraint] {
    |                                                      `- error: cannot find type 'NSLayoutConstraint' in scope
 49 |         component
 50 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:51:80: error: cannot find type 'NSLayoutConstraint' in scope
 49 |         component
 50 |     }
 51 |     public static func buildEither(second component: [NSLayoutConstraint]) -> [NSLayoutConstraint] {
    |                                                                                `- error: cannot find type 'NSLayoutConstraint' in scope
 52 |         component
 53 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:51:55: error: cannot find type 'NSLayoutConstraint' in scope
 49 |         component
 50 |     }
 51 |     public static func buildEither(second component: [NSLayoutConstraint]) -> [NSLayoutConstraint] {
    |                                                       `- error: cannot find type 'NSLayoutConstraint' in scope
 52 |         component
 53 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:54:78: error: cannot find type 'NSLayoutConstraint' in scope
 52 |         component
 53 |     }
 54 |     public static func buildOptional(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
    |                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
 55 |         component ?? []
 56 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:54:52: error: cannot find type 'NSLayoutConstraint' in scope
 52 |         component
 53 |     }
 54 |     public static func buildOptional(_ component: [NSLayoutConstraint]?) -> [NSLayoutConstraint] {
    |                                                    `- error: cannot find type 'NSLayoutConstraint' in scope
 55 |         component ?? []
 56 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:57:78: error: cannot find type 'NSLayoutConstraint' in scope
 55 |         component ?? []
 56 |     }
 57 |     public static func buildExpression(_ expression: NSLayoutConstraint) -> [NSLayoutConstraint] {
    |                                                                              `- error: cannot find type 'NSLayoutConstraint' in scope
 58 |         [expression]
 59 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:57:54: error: cannot find type 'NSLayoutConstraint' in scope
 55 |         component ?? []
 56 |     }
 57 |     public static func buildExpression(_ expression: NSLayoutConstraint) -> [NSLayoutConstraint] {
    |                                                      `- error: cannot find type 'NSLayoutConstraint' in scope
 58 |         [expression]
 59 |     }
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:73:72: error: cannot find type 'NSLayoutConstraint' in scope
 71 | 	/// ```
 72 | 	/// - Parameter builder: Constraint builder to add the constraints from
 73 | 	func applyConstraints(@ConstraintBuilder _ builder: (Constrained) -> [NSLayoutConstraint])
    |                                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
 74 |
 75 | 	/// Extends all edges to the edges of the provided view or guide
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:73:24: error: result builder attribute 'ConstraintBuilder' can only be applied to a parameter of function type
 71 | 	/// ```
 72 | 	/// - Parameter builder: Constraint builder to add the constraints from
 73 | 	func applyConstraints(@ConstraintBuilder _ builder: (Constrained) -> [NSLayoutConstraint])
    |                        `- error: result builder attribute 'ConstraintBuilder' can only be applied to a parameter of function type
 74 |
 75 | 	/// Extends all edges to the edges of the provided view or guide
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:88:51: error: cannot find type 'NSLayoutConstraint' in scope
 86 | 	/// - Note: Store the returned layout constraint and use `updatingMultiplier(_:)` to change the actual aspect ratio.
 87 | 	/// The ratio is in height divided by width.
 88 | 	func aspectFit(in other: any LayoutContainer) -> NSLayoutConstraint
    |                                                   `- error: cannot find type 'NSLayoutConstraint' in scope
 89 | }
 90 |
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:92:11: error: cannot find type 'LayoutGuide' in scope
 90 |
 91 | // Conformance to `ConstraintBuildable` for `NSLayoutGuide` and `UILayoutGuide`
 92 | extension LayoutGuide: ConstraintBuildable {
    |           `- error: cannot find type 'LayoutGuide' in scope
 93 | 	public func applyConstraints(@ConstraintBuilder _ builder: (LayoutGuide) -> [NSLayoutConstraint]) {
 94 | 		NSLayoutConstraint.activate(builder(self))
/host/spi-builder-workspace/Sources/ConstraintBuilder/ConstraintBuilder.swift:140:58: error: cannot find type 'NSLayoutConstraint' in scope
138 | 	}
139 |
140 | 	public func aspectFit(in other: any LayoutContainer) -> NSLayoutConstraint {
    |                                                          `- error: cannot find type 'NSLayoutConstraint' in scope
141 | 		let aspectRatioConstraint = heightAnchor.constraint(equalTo: widthAnchor, multiplier: 1)
142 | 		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:73:72: error: cannot find type 'NSLayoutConstraint' in scope
 71 | 	/// ```
 72 | 	/// - Parameter builder: Constraint builder to add the constraints from
 73 | 	func applyConstraints(@ConstraintBuilder _ builder: (Constrained) -> [NSLayoutConstraint])
    |                                                                        `- error: cannot find type 'NSLayoutConstraint' in scope
 74 |
 75 | 	/// Extends all edges to the edges of the provided view or guide
BUILD FAILURE 6.3 wasm