Build Information
Failed to build SwiftTUI, reference 0.1.0 (75ae35
), with Swift 6.1 for Wasm on 28 May 2025 08:57:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/rensbreur/SwiftTUI.git
Reference: 0.1.0
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/rensbreur/SwiftTUI
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 75ae35a Add Flags example
Cloned https://github.com/rensbreur/SwiftTUI.git
Revision (git rev-parse @):
75ae35af4115f87601657957e3332fc9eb5829d5
SUCCESS checkout https://github.com/rensbreur/SwiftTUI.git at 0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/rensbreur/SwiftTUI.git
https://github.com/rensbreur/SwiftTUI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftTUI",
"name" : "SwiftTUI",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "SwiftTUI",
"targets" : [
"SwiftTUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftTUITests",
"module_type" : "SwiftTarget",
"name" : "SwiftTUITests",
"path" : "Tests/SwiftTUITests",
"sources" : [
"SwiftTUITests.swift"
],
"target_dependencies" : [
"SwiftTUI"
],
"type" : "test"
},
{
"c99name" : "SwiftTUI",
"module_type" : "SwiftTarget",
"name" : "SwiftTUI",
"path" : "Sources/SwiftTUI",
"product_memberships" : [
"SwiftTUI"
],
"sources" : [
"Controls/Control.swift",
"Controls/Window.swift",
"Debug/Node+logTree.swift",
"Debug/log.swift",
"Drawing/Cell.swift",
"Drawing/Color.swift",
"Drawing/Position.swift",
"Drawing/Rect.swift",
"Drawing/Rendering/Layer.swift",
"Drawing/Rendering/LayerDrawing.swift",
"Drawing/Rendering/Renderer.swift",
"Drawing/Size.swift",
"PropertyWrappers/Binding.swift",
"PropertyWrappers/State.swift",
"RunLoop/Application.swift",
"RunLoop/ArrowKeyParser.swift",
"SwiftTUI.swift",
"View/ControlMapper.swift",
"View/PrimitiveView.swift",
"View/View.swift",
"View/ViewContainer.swift",
"View/ViewWrapper.swift",
"View/Views/Merging/Alignment.swift",
"View/Views/Merging/HStack.swift",
"View/Views/Merging/VStack.swift",
"View/Views/Modifier/Background.swift",
"View/Views/Modifier/Border.swift",
"View/Views/Modifier/FixedFrame.swift",
"View/Views/Modifier/Padding.swift",
"View/Views/Structural/EmptyView.swift",
"View/Views/Structural/ForEach.swift",
"View/Views/Structural/Group.swift",
"View/Views/Structural/Optional+View.swift",
"View/Views/Structural/TupleView.swift",
"View/Views/Structural/ViewBuilder.swift",
"View/Views/Structural/_ConditionalView.swift",
"View/Views/Unary/Button.swift",
"View/Views/Unary/Color+View.swift",
"View/Views/Unary/Spacer.swift",
"View/Views/Unary/Text.swift",
"View/Views/Unary/TextField.swift",
"ViewGraph/Node.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/40] Emitting module SwiftTUI
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:13:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | var logStream = LogStream()
| |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | struct LogStream: TextOutputStream {
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:24:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
22 | }
23 |
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:25:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
23 |
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:26:23: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:27:23: warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
| |- warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:28:23: warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
| |- warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:29:23: warning: static property 'bottomLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
| |- warning: static property 'bottomLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:30:23: warning: static property 'topTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
| |- warning: static property 'topTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topTrailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:31:23: warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
| |- warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
33 | }
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:32:23: warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
| |- warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomTrailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[4/45] Compiling SwiftTUI Control.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:13:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | var logStream = LogStream()
| |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | struct LogStream: TextOutputStream {
[5/45] Compiling SwiftTUI Window.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:13:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | var logStream = LogStream()
| |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | struct LogStream: TextOutputStream {
[6/45] Compiling SwiftTUI Node+logTree.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:13:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | var logStream = LogStream()
| |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | struct LogStream: TextOutputStream {
[7/45] Compiling SwiftTUI log.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:13:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | var logStream = LogStream()
| |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | struct LogStream: TextOutputStream {
[8/45] Compiling SwiftTUI Cell.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:13:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | var logStream = LogStream()
| |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | struct LogStream: TextOutputStream {
[9/45] Compiling SwiftTUI Color.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:13:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | var logStream = LogStream()
| |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | struct LogStream: TextOutputStream {
[10/45] Compiling SwiftTUI Color+View.swift
[11/45] Compiling SwiftTUI Spacer.swift
[12/45] Compiling SwiftTUI Text.swift
[13/45] Compiling SwiftTUI TextField.swift
[14/45] Compiling SwiftTUI Node.swift
[15/45] Compiling SwiftTUI ControlMapper.swift
[16/45] Compiling SwiftTUI PrimitiveView.swift
[17/45] Compiling SwiftTUI View.swift
[18/45] Compiling SwiftTUI ViewContainer.swift
[19/45] Compiling SwiftTUI ViewWrapper.swift
[20/45] Compiling SwiftTUI Position.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
[21/45] Compiling SwiftTUI Rect.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
[22/45] Compiling SwiftTUI Layer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
[23/45] Compiling SwiftTUI LayerDrawing.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
[24/45] Compiling SwiftTUI Renderer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
[25/45] Compiling SwiftTUI Size.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
[26/45] Compiling SwiftTUI Binding.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:27: error: cannot find 'DispatchSource' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:95: error: cannot infer contextual base in reference to member 'main'
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:30: error: cannot find 'DispatchSource' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:70: error: cannot find 'SIGWINCH' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:88: error: cannot infer contextual base in reference to member 'main'
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:44:46: error: cannot infer contextual base in reference to member 'default'
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
45 | sigWinChSource.resume()
46 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:47:9: error: cannot find 'dispatchMain' in scope
45 | sigWinChSource.resume()
46 |
47 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
48 |
49 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:109:13: error: cannot find 'DispatchQueue' in scope
107 | func scheduleUpdate() {
108 | if !updateScheduled {
109 | DispatchQueue.main.async { self.update() }
| `- error: cannot find 'DispatchQueue' in scope
110 | updateScheduled = true
111 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[27/45] Compiling SwiftTUI State.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:27: error: cannot find 'DispatchSource' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:95: error: cannot infer contextual base in reference to member 'main'
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:30: error: cannot find 'DispatchSource' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:70: error: cannot find 'SIGWINCH' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:88: error: cannot infer contextual base in reference to member 'main'
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:44:46: error: cannot infer contextual base in reference to member 'default'
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
45 | sigWinChSource.resume()
46 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:47:9: error: cannot find 'dispatchMain' in scope
45 | sigWinChSource.resume()
46 |
47 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
48 |
49 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:109:13: error: cannot find 'DispatchQueue' in scope
107 | func scheduleUpdate() {
108 | if !updateScheduled {
109 | DispatchQueue.main.async { self.update() }
| `- error: cannot find 'DispatchQueue' in scope
110 | updateScheduled = true
111 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[28/45] Compiling SwiftTUI Application.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:27: error: cannot find 'DispatchSource' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:95: error: cannot infer contextual base in reference to member 'main'
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:30: error: cannot find 'DispatchSource' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:70: error: cannot find 'SIGWINCH' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:88: error: cannot infer contextual base in reference to member 'main'
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:44:46: error: cannot infer contextual base in reference to member 'default'
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
45 | sigWinChSource.resume()
46 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:47:9: error: cannot find 'dispatchMain' in scope
45 | sigWinChSource.resume()
46 |
47 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
48 |
49 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:109:13: error: cannot find 'DispatchQueue' in scope
107 | func scheduleUpdate() {
108 | if !updateScheduled {
109 | DispatchQueue.main.async { self.update() }
| `- error: cannot find 'DispatchQueue' in scope
110 | updateScheduled = true
111 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[29/45] Compiling SwiftTUI ArrowKeyParser.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:27: error: cannot find 'DispatchSource' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:95: error: cannot infer contextual base in reference to member 'main'
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:30: error: cannot find 'DispatchSource' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:70: error: cannot find 'SIGWINCH' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:88: error: cannot infer contextual base in reference to member 'main'
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:44:46: error: cannot infer contextual base in reference to member 'default'
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
45 | sigWinChSource.resume()
46 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:47:9: error: cannot find 'dispatchMain' in scope
45 | sigWinChSource.resume()
46 |
47 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
48 |
49 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:109:13: error: cannot find 'DispatchQueue' in scope
107 | func scheduleUpdate() {
108 | if !updateScheduled {
109 | DispatchQueue.main.async { self.update() }
| `- error: cannot find 'DispatchQueue' in scope
110 | updateScheduled = true
111 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[30/45] Compiling SwiftTUI SwiftTUI.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:27: error: cannot find 'DispatchSource' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:95: error: cannot infer contextual base in reference to member 'main'
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:30: error: cannot find 'DispatchSource' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:70: error: cannot find 'SIGWINCH' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:88: error: cannot infer contextual base in reference to member 'main'
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:44:46: error: cannot infer contextual base in reference to member 'default'
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
45 | sigWinChSource.resume()
46 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:47:9: error: cannot find 'dispatchMain' in scope
45 | sigWinChSource.resume()
46 |
47 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
48 |
49 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:109:13: error: cannot find 'DispatchQueue' in scope
107 | func scheduleUpdate() {
108 | if !updateScheduled {
109 | DispatchQueue.main.async { self.update() }
| `- error: cannot find 'DispatchQueue' in scope
110 | updateScheduled = true
111 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[31/45] Compiling SwiftTUI Optional+View.swift
[32/45] Compiling SwiftTUI TupleView.swift
[33/45] Compiling SwiftTUI ViewBuilder.swift
[34/45] Compiling SwiftTUI _ConditionalView.swift
[35/45] Compiling SwiftTUI Button.swift
[36/45] Compiling SwiftTUI FixedFrame.swift
[37/45] Compiling SwiftTUI Padding.swift
[38/45] Compiling SwiftTUI EmptyView.swift
[39/45] Compiling SwiftTUI ForEach.swift
[40/45] Compiling SwiftTUI Group.swift
[41/45] Compiling SwiftTUI Alignment.swift
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:24:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
22 | }
23 |
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:25:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
23 |
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:26:23: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:27:23: warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
| |- warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:28:23: warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
| |- warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:29:23: warning: static property 'bottomLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
| |- warning: static property 'bottomLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:30:23: warning: static property 'topTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
| |- warning: static property 'topTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topTrailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:31:23: warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
| |- warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
33 | }
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:32:23: warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
| |- warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomTrailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[42/45] Compiling SwiftTUI HStack.swift
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:24:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
22 | }
23 |
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:25:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
23 |
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:26:23: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:27:23: warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
| |- warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:28:23: warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
| |- warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:29:23: warning: static property 'bottomLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
| |- warning: static property 'bottomLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:30:23: warning: static property 'topTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
| |- warning: static property 'topTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topTrailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:31:23: warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
| |- warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
33 | }
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:32:23: warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
| |- warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomTrailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[43/45] Compiling SwiftTUI VStack.swift
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:24:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
22 | }
23 |
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:25:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
23 |
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:26:23: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:27:23: warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
| |- warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:28:23: warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
| |- warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:29:23: warning: static property 'bottomLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
| |- warning: static property 'bottomLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:30:23: warning: static property 'topTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
| |- warning: static property 'topTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topTrailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:31:23: warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
| |- warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
33 | }
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:32:23: warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
| |- warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomTrailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[44/45] Compiling SwiftTUI Background.swift
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:24:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
22 | }
23 |
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:25:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
23 |
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:26:23: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:27:23: warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
| |- warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:28:23: warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
| |- warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:29:23: warning: static property 'bottomLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
| |- warning: static property 'bottomLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:30:23: warning: static property 'topTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
| |- warning: static property 'topTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topTrailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:31:23: warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
| |- warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
33 | }
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:32:23: warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
| |- warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomTrailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[45/45] Compiling SwiftTUI Border.swift
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:24:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
22 | }
23 |
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:25:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
23 |
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:26:23: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
24 | public static let top = Alignment(horizontalAlignment: .center, verticalAlignment: .top)
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:27:23: warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
25 | public static let bottom = Alignment(horizontalAlignment: .center, verticalAlignment: .bottom)
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
| |- warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:28:23: warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
26 | public static let center = Alignment(horizontalAlignment: .center, verticalAlignment: .center)
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
| |- warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:29:23: warning: static property 'bottomLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
27 | public static let topLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .top)
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
| |- warning: static property 'bottomLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:30:23: warning: static property 'topTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
28 | public static let leading = Alignment(horizontalAlignment: .leading, verticalAlignment: .center)
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
| |- warning: static property 'topTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topTrailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:31:23: warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
29 | public static let bottomLeading = Alignment(horizontalAlignment: .leading, verticalAlignment: .bottom)
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
| |- warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
33 | }
/host/spi-builder-workspace/Sources/SwiftTUI/View/Views/Merging/Alignment.swift:32:23: warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public struct Alignment {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
16 | public var horizontalAlignment: HorizontalAlignment
17 | public var verticalAlignment: VerticalAlignment
:
30 | public static let topTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .top)
31 | public static let trailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .center)
32 | public static let bottomTrailing = Alignment(horizontalAlignment: .trailing, verticalAlignment: .bottom)
| |- warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomTrailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/39] Compiling SwiftTUI Control.swift
[3/39] Compiling SwiftTUI Window.swift
[4/39] Compiling SwiftTUI Node+logTree.swift
[5/39] Compiling SwiftTUI log.swift
[6/39] Compiling SwiftTUI Cell.swift
[7/39] Compiling SwiftTUI Color.swift
[8/44] Compiling SwiftTUI FixedFrame.swift
[9/44] Compiling SwiftTUI Padding.swift
[10/44] Compiling SwiftTUI EmptyView.swift
[11/44] Compiling SwiftTUI ForEach.swift
[12/44] Compiling SwiftTUI Group.swift
[13/44] Compiling SwiftTUI Color+View.swift
[14/44] Compiling SwiftTUI Spacer.swift
[15/44] Compiling SwiftTUI Text.swift
[16/44] Compiling SwiftTUI TextField.swift
[17/44] Compiling SwiftTUI Node.swift
[18/44] Compiling SwiftTUI Optional+View.swift
[19/44] Compiling SwiftTUI TupleView.swift
[20/44] Compiling SwiftTUI ViewBuilder.swift
[21/44] Compiling SwiftTUI _ConditionalView.swift
[22/44] Compiling SwiftTUI Button.swift
[23/44] Compiling SwiftTUI ControlMapper.swift
[24/44] Compiling SwiftTUI PrimitiveView.swift
[25/44] Compiling SwiftTUI View.swift
[26/44] Compiling SwiftTUI ViewContainer.swift
[27/44] Compiling SwiftTUI ViewWrapper.swift
[28/44] Compiling SwiftTUI Binding.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:27: error: cannot find 'DispatchSource' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:95: error: cannot infer contextual base in reference to member 'main'
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:30: error: cannot find 'DispatchSource' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:70: error: cannot find 'SIGWINCH' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:88: error: cannot infer contextual base in reference to member 'main'
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:44:46: error: cannot infer contextual base in reference to member 'default'
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
45 | sigWinChSource.resume()
46 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:47:9: error: cannot find 'dispatchMain' in scope
45 | sigWinChSource.resume()
46 |
47 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
48 |
49 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:109:13: error: cannot find 'DispatchQueue' in scope
107 | func scheduleUpdate() {
108 | if !updateScheduled {
109 | DispatchQueue.main.async { self.update() }
| `- error: cannot find 'DispatchQueue' in scope
110 | updateScheduled = true
111 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[29/44] Compiling SwiftTUI State.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:27: error: cannot find 'DispatchSource' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:95: error: cannot infer contextual base in reference to member 'main'
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:30: error: cannot find 'DispatchSource' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:70: error: cannot find 'SIGWINCH' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:88: error: cannot infer contextual base in reference to member 'main'
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:44:46: error: cannot infer contextual base in reference to member 'default'
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
45 | sigWinChSource.resume()
46 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:47:9: error: cannot find 'dispatchMain' in scope
45 | sigWinChSource.resume()
46 |
47 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
48 |
49 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:109:13: error: cannot find 'DispatchQueue' in scope
107 | func scheduleUpdate() {
108 | if !updateScheduled {
109 | DispatchQueue.main.async { self.update() }
| `- error: cannot find 'DispatchQueue' in scope
110 | updateScheduled = true
111 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[30/44] Compiling SwiftTUI Application.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:27: error: cannot find 'DispatchSource' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:95: error: cannot infer contextual base in reference to member 'main'
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:30: error: cannot find 'DispatchSource' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:70: error: cannot find 'SIGWINCH' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:88: error: cannot infer contextual base in reference to member 'main'
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:44:46: error: cannot infer contextual base in reference to member 'default'
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
45 | sigWinChSource.resume()
46 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:47:9: error: cannot find 'dispatchMain' in scope
45 | sigWinChSource.resume()
46 |
47 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
48 |
49 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:109:13: error: cannot find 'DispatchQueue' in scope
107 | func scheduleUpdate() {
108 | if !updateScheduled {
109 | DispatchQueue.main.async { self.update() }
| `- error: cannot find 'DispatchQueue' in scope
110 | updateScheduled = true
111 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[31/44] Compiling SwiftTUI ArrowKeyParser.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:27: error: cannot find 'DispatchSource' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:95: error: cannot infer contextual base in reference to member 'main'
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:30: error: cannot find 'DispatchSource' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:70: error: cannot find 'SIGWINCH' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:88: error: cannot infer contextual base in reference to member 'main'
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:44:46: error: cannot infer contextual base in reference to member 'default'
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
45 | sigWinChSource.resume()
46 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:47:9: error: cannot find 'dispatchMain' in scope
45 | sigWinChSource.resume()
46 |
47 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
48 |
49 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:109:13: error: cannot find 'DispatchQueue' in scope
107 | func scheduleUpdate() {
108 | if !updateScheduled {
109 | DispatchQueue.main.async { self.update() }
| `- error: cannot find 'DispatchQueue' in scope
110 | updateScheduled = true
111 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[32/44] Compiling SwiftTUI SwiftTUI.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:27: error: cannot find 'DispatchSource' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:95: error: cannot infer contextual base in reference to member 'main'
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:30: error: cannot find 'DispatchSource' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:70: error: cannot find 'SIGWINCH' in scope
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:43:88: error: cannot infer contextual base in reference to member 'main'
41 | stdInSource.resume()
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
45 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:44:46: error: cannot infer contextual base in reference to member 'default'
42 |
43 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
44 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
45 | sigWinChSource.resume()
46 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:47:9: error: cannot find 'dispatchMain' in scope
45 | sigWinChSource.resume()
46 |
47 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
48 |
49 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:109:13: error: cannot find 'DispatchQueue' in scope
107 | func scheduleUpdate() {
108 | if !updateScheduled {
109 | DispatchQueue.main.async { self.update() }
| `- error: cannot find 'DispatchQueue' in scope
110 | updateScheduled = true
111 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[33/44] Compiling SwiftTUI Position.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
[34/44] Compiling SwiftTUI Rect.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
[35/44] Compiling SwiftTUI Layer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
[36/44] Compiling SwiftTUI LayerDrawing.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
[37/44] Compiling SwiftTUI Renderer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
[38/44] Compiling SwiftTUI Size.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
[39/44] Compiling SwiftTUI Alignment.swift
[40/44] Compiling SwiftTUI HStack.swift
[41/44] Compiling SwiftTUI VStack.swift
[42/44] Compiling SwiftTUI Background.swift
[43/44] Compiling SwiftTUI Border.swift
[44/44] Emitting module SwiftTUI
BUILD FAILURE 6.1 wasm