Build Information
Failed to build SwiftTUI, reference 0.1.0 (75ae35
), with Swift 6.1 for Android on 28 May 2025 08:56:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: android
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-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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/40] Compiling SwiftTUI Binding.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
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: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:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' 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:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' 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:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/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:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/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
[5/40] Compiling SwiftTUI State.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
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: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:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' 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:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' 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:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/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:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/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
[6/40] Compiling SwiftTUI Application.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
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: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:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' 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:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' 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:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/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:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/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
[7/40] Compiling SwiftTUI ArrowKeyParser.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
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: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:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' 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:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' 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:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/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:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/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
[8/40] Compiling SwiftTUI SwiftTUI.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
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: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:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' 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:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' 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:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/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:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/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
[9/45] Compiling SwiftTUI FixedFrame.swift
[10/45] Compiling SwiftTUI Padding.swift
[11/45] Compiling SwiftTUI EmptyView.swift
[12/45] Compiling SwiftTUI ForEach.swift
[13/45] Compiling SwiftTUI Group.swift
[14/45] Compiling SwiftTUI ControlMapper.swift
[15/45] Compiling SwiftTUI PrimitiveView.swift
[16/45] Compiling SwiftTUI View.swift
[17/45] Compiling SwiftTUI ViewContainer.swift
[18/45] Compiling SwiftTUI ViewWrapper.swift
[19/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 |
[20/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 |
[21/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 |
[22/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 |
[23/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 |
[24/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 {
[25/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 {
[26/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 {
[27/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 {
[28/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 {
[29/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 {
[30/45] Compiling SwiftTUI Optional+View.swift
[31/45] Compiling SwiftTUI TupleView.swift
[32/45] Compiling SwiftTUI ViewBuilder.swift
[33/45] Compiling SwiftTUI _ConditionalView.swift
[34/45] Compiling SwiftTUI Button.swift
[35/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 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[36/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 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[37/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 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[38/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 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[39/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 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[40/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 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[41/45] Compiling SwiftTUI Color+View.swift
[42/45] Compiling SwiftTUI Spacer.swift
[43/45] Compiling SwiftTUI Text.swift
[44/45] Compiling SwiftTUI TextField.swift
[45/45] Compiling SwiftTUI Node.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/39] 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 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[3/39] 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 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[4/39] 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 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[5/39] 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 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[6/39] 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 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[7/39] 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 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[8/39] Emitting module SwiftTUI
[9/44] Compiling SwiftTUI Control.swift
[10/44] Compiling SwiftTUI Window.swift
[11/44] Compiling SwiftTUI Node+logTree.swift
[12/44] Compiling SwiftTUI log.swift
[13/44] Compiling SwiftTUI Cell.swift
[14/44] Compiling SwiftTUI Color.swift
[15/44] Compiling SwiftTUI ControlMapper.swift
[16/44] Compiling SwiftTUI PrimitiveView.swift
[17/44] Compiling SwiftTUI View.swift
[18/44] Compiling SwiftTUI ViewContainer.swift
[19/44] Compiling SwiftTUI ViewWrapper.swift
[20/44] Compiling SwiftTUI Color+View.swift
[21/44] Compiling SwiftTUI Spacer.swift
[22/44] Compiling SwiftTUI Text.swift
[23/44] Compiling SwiftTUI TextField.swift
[24/44] Compiling SwiftTUI Node.swift
[25/44] Compiling SwiftTUI Alignment.swift
[26/44] Compiling SwiftTUI HStack.swift
[27/44] Compiling SwiftTUI VStack.swift
[28/44] Compiling SwiftTUI Background.swift
[29/44] Compiling SwiftTUI Border.swift
[30/44] Compiling SwiftTUI FixedFrame.swift
[31/44] Compiling SwiftTUI Padding.swift
[32/44] Compiling SwiftTUI EmptyView.swift
[33/44] Compiling SwiftTUI ForEach.swift
[34/44] Compiling SwiftTUI Group.swift
[35/44] Compiling SwiftTUI Optional+View.swift
[36/44] Compiling SwiftTUI TupleView.swift
[37/44] Compiling SwiftTUI ViewBuilder.swift
[38/44] Compiling SwiftTUI _ConditionalView.swift
[39/44] Compiling SwiftTUI Button.swift
[40/44] Compiling SwiftTUI Binding.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
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: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:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' 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:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' 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:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/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:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/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
[41/44] Compiling SwiftTUI State.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
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: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:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' 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:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' 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:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/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:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/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
[42/44] Compiling SwiftTUI Application.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
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: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:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' 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:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' 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:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/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:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/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
[43/44] Compiling SwiftTUI ArrowKeyParser.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
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: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:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' 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:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' 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:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/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:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/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
[44/44] Compiling SwiftTUI SwiftTUI.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
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: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:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' 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:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' 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:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/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:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/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
BUILD FAILURE 6.1 android