Build Information
Failed to build PanelPresenter, reference main (23165b
), with Swift 6.1 for Wasm on 29 May 2025 04:43:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PimCoumans/PanelPresenter.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/PanelPresenter
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 23165b5 Fix infinite loop with contentSize changes
Cloned https://github.com/PimCoumans/PanelPresenter.git
Revision (git rev-parse @):
23165b5eeffec55b3e7d2401a6fa7961bf9cf14a
SUCCESS checkout https://github.com/PimCoumans/PanelPresenter.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/PimCoumans/PanelPresenter.git
https://github.com/PimCoumans/PanelPresenter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "constraintbuilder",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/PimCoumans/ConstraintBuilder"
}
],
"manifest_display_name" : "PanelPresenter",
"name" : "PanelPresenter",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "PanelPresenter",
"targets" : [
"PanelPresenter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PanelPresenterTests",
"module_type" : "SwiftTarget",
"name" : "PanelPresenterTests",
"path" : "Tests/PanelPresenterTests",
"sources" : [
"PanelPresenterTests.swift"
],
"target_dependencies" : [
"PanelPresenter"
],
"type" : "test"
},
{
"c99name" : "PanelPresenter",
"module_type" : "SwiftTarget",
"name" : "PanelPresenter",
"path" : "Sources/PanelPresenter",
"product_dependencies" : [
"ConstraintBuilder"
],
"product_memberships" : [
"PanelPresenter"
],
"sources" : [
"Controllers/PanelAnimationController.swift",
"Controllers/PanelPresentationController.swift",
"PanelPresentable.swift",
"PanelPresenter.swift",
"ScrollView/PanelScrollView.swift",
"ScrollView/ScrollViewObserver.swift",
"ScrollView/UIScrollView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/PimCoumans/ConstraintBuilder
[1/100] Fetching constraintbuilder
Fetched https://github.com/PimCoumans/ConstraintBuilder from cache (1.16s)
Computing version for https://github.com/PimCoumans/ConstraintBuilder
Computed https://github.com/PimCoumans/ConstraintBuilder at 1.4.0 (1.88s)
Creating working copy for https://github.com/PimCoumans/ConstraintBuilder
Working copy of https://github.com/PimCoumans/ConstraintBuilder resolved at 1.4.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling ConstraintBuilder ConstraintBuilder.swift
/host/spi-builder-workspace/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/9] Compiling ConstraintBuilder UIView+ConstraintBuildable.swift
[6/9] Compiling ConstraintBuilder NSView+ConstraintBuildable.swift
[7/9] Compiling ConstraintBuilder NSLayoutConstraint.swift
/host/spi-builder-workspace/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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)
[8/9] Emitting module ConstraintBuilder
/host/spi-builder-workspace/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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 {
[9/9] Compiling ConstraintBuilder Collection+ConstraintBuildable.swift
/host/spi-builder-workspace/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling ConstraintBuilder NSView+ConstraintBuildable.swift
[3/7] Compiling ConstraintBuilder UIView+ConstraintBuildable.swift
[4/7] Compiling ConstraintBuilder NSLayoutConstraint.swift
/host/spi-builder-workspace/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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)
[5/7] Emitting module ConstraintBuilder
/host/spi-builder-workspace/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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 {
[6/7] Compiling ConstraintBuilder Collection+ConstraintBuildable.swift
/host/spi-builder-workspace/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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
[7/7] Compiling ConstraintBuilder ConstraintBuilder.swift
/host/spi-builder-workspace/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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/.build/checkouts/ConstraintBuilder/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 | }
BUILD FAILURE 6.1 wasm