Build Information
Failed to build Termios with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ponyboy47/Termios.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ponyboy47/Termios
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2204850 Correct the example code
Cloned https://github.com/ponyboy47/Termios.git
Revision (git rev-parse @):
220485037f5a5932dfaf1aaba621cb53ce26a44c
SUCCESS checkout https://github.com/ponyboy47/Termios.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/ponyboy47/Termios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/7] Compiling ErrNo ErrNo+Glibc.swift
[5/7] Compiling ErrNo ErrNo.swift
[6/7] Emitting module ErrNo
[7/7] Compiling ErrNo ErrNo+Darwin.swift
[8/13] Compiling Termios OutputFlags.swift
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:31:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
29 | }
30 |
31 | public static let zero: OutputFlags = {
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | return .init(rawValue: 0)
33 | }()
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:36:23: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
34 |
35 | /// Enable implementation-defined output processing.
36 | public static let post = OutputFlags(OPOST)
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'post' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// (not in POSIX) Map lowercase characters to uppercase on output.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:39:48: error: cannot find 'OLCUC' in scope
37 |
38 | /// (not in POSIX) Map lowercase characters to uppercase on output.
39 | public static let uppercased = OutputFlags(OLCUC)
| `- error: cannot find 'OLCUC' in scope
40 |
41 | /// (XSI) Map NL to CR-NL on output.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:42:23: warning: static property 'nlToCR' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
40 |
41 | /// (XSI) Map NL to CR-NL on output.
42 | public static let nlToCR = OutputFlags(ONLCR)
| |- warning: static property 'nlToCR' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nlToCR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Map CR to NL on output.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:45:23: warning: static property 'crToNL' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
43 |
44 | /// Map CR to NL on output.
45 | public static let crToNL = OutputFlags(OCRNL)
| |- warning: static property 'crToNL' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'crToNL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | /// Don't output CR at colun=mn 0.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:48:23: warning: static property 'noCR' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
46 |
47 | /// Don't output CR at colun=mn 0.
48 | public static let noCR = OutputFlags(ONOCR)
| |- warning: static property 'noCR' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noCR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// Don't output CR.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:51:23: warning: static property 'nlOnly' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
49 |
50 | /// Don't output CR.
51 | public static let nlOnly = OutputFlags(ONLRET)
| |- warning: static property 'nlOnly' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nlOnly' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// Send fill characters for a delay, rather than using a timed delay.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:54:23: warning: static property 'fill' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
52 |
53 | /// Send fill characters for a delay, rather than using a timed delay.
54 | public static let fill = OutputFlags(OFILL)
| |- warning: static property 'fill' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Fill character is ASCII DEL (0177). If unset, fill character is ASCII NUL ('\0'). (Not implemented on Linux.)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:57:23: warning: static property 'fillDelete' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
55 |
56 | /// Fill character is ASCII DEL (0177). If unset, fill character is ASCII NUL ('\0'). (Not implemented on Linux.)
57 | public static let fillDelete = OutputFlags(OFDEL)
| |- warning: static property 'fillDelete' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fillDelete' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | /// Newline delay mask. Values are nl0 and nl1. [requires _BSD_SOURCE, _SVID_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:60:23: warning: static property 'nlDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
58 |
59 | /// Newline delay mask. Values are nl0 and nl1. [requires _BSD_SOURCE, _SVID_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
60 | public static let nlDelay = OutputFlags(NLDLY)
| |- warning: static property 'nlDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nlDelay' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | /// Newline delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
62 | public static let nl0 = OutputFlags(NL0)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:62:23: warning: static property 'nl0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
60 | public static let nlDelay = OutputFlags(NLDLY)
61 | /// Newline delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
62 | public static let nl0 = OutputFlags(NL0)
| |- warning: static property 'nl0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nl0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | /// Newline delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
64 | public static let nl1 = OutputFlags(NL1)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:64:23: warning: static property 'nl1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
62 | public static let nl0 = OutputFlags(NL0)
63 | /// Newline delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
64 | public static let nl1 = OutputFlags(NL1)
| |- warning: static property 'nl1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nl1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:70:23: warning: static property 'tabDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
68 | tabs to spaces (with tab stops every eight columns). [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
69 | */
70 | public static let tabDelay = OutputFlags(TABDLY)
| |- warning: static property 'tabDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tabDelay' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | /// Carriage return delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
72 | public static let tab1 = OutputFlags(TAB1)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:72:23: warning: static property 'tab1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
70 | public static let tabDelay = OutputFlags(TABDLY)
71 | /// Carriage return delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
72 | public static let tab1 = OutputFlags(TAB1)
| |- warning: static property 'tab1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | /// Carriage return delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
74 | public static let tab2 = OutputFlags(TAB2)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:74:23: warning: static property 'tab2' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
72 | public static let tab1 = OutputFlags(TAB1)
73 | /// Carriage return delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
74 | public static let tab2 = OutputFlags(TAB2)
| |- warning: static property 'tab2' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | /**
76 | carriage return delay mask. expandstabs to spaces (with tab stops every eight columns). [requires _bsd_source,
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:79:23: warning: static property 'tab3' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
77 | _svid_source, or _xopen_source]
78 | */
79 | public static let tab3 = OutputFlags(TAB3)
| |- warning: static property 'tab3' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | /**
81 | carriage return delay mask. expandstabs to spaces (with tab stops every eight columns). [requires _bsd_source,
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:84:23: warning: static property 'xTabs' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
82 | _svid_source, or _xopen_source]
83 | */
84 | public static let xTabs = OutputFlags(XTABS)
| |- warning: static property 'xTabs' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xTabs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:90:23: warning: static property 'bsDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
88 | _XOPEN_SOURCE]
89 | */
90 | public static let bsDelay = OutputFlags(BSDLY)
| |- warning: static property 'bsDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bsDelay' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | /// Backspace delay mask. (Has never been implemented.) [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
92 | public static let bs0 = OutputFlags(BS0)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:92:23: warning: static property 'bs0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
90 | public static let bsDelay = OutputFlags(BSDLY)
91 | /// Backspace delay mask. (Has never been implemented.) [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
92 | public static let bs0 = OutputFlags(BS0)
| |- warning: static property 'bs0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bs0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | /// Backspace delay mask. (Has never been implemented.) [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
94 | public static let bs1 = OutputFlags(BS1)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:94:23: warning: static property 'bs1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
92 | public static let bs0 = OutputFlags(BS0)
93 | /// Backspace delay mask. (Has never been implemented.) [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
94 | public static let bs1 = OutputFlags(BS1)
| |- warning: static property 'bs1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bs1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | /// Vertical tab delay mask. Values are vt0 or vt1.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:97:23: warning: static property 'vtDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
95 |
96 | /// Vertical tab delay mask. Values are vt0 or vt1.
97 | public static let vtDelay = OutputFlags(VTDLY)
| |- warning: static property 'vtDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vtDelay' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | /// Vertical tab delay mask.
99 | public static let vt0 = OutputFlags(VT0)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:99:23: warning: static property 'vt0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
97 | public static let vtDelay = OutputFlags(VTDLY)
98 | /// Vertical tab delay mask.
99 | public static let vt0 = OutputFlags(VT0)
| |- warning: static property 'vt0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vt0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | /// Vertical tab delay mask.
101 | public static let vt1 = OutputFlags(VT1)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:101:23: warning: static property 'vt1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
99 | public static let vt0 = OutputFlags(VT0)
100 | /// Vertical tab delay mask.
101 | public static let vt1 = OutputFlags(VT1)
| |- warning: static property 'vt1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vt1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// Form feed delay mask. Values are FF0 or FF1. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:104:23: warning: static property 'ffDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
102 |
103 | /// Form feed delay mask. Values are FF0 or FF1. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
104 | public static let ffDelay = OutputFlags(FFDLY)
| |- warning: static property 'ffDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ffDelay' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// Form feed delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
106 | public static let ff0 = OutputFlags(FF0)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:106:23: warning: static property 'ff0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
104 | public static let ffDelay = OutputFlags(FFDLY)
105 | /// Form feed delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
106 | public static let ff0 = OutputFlags(FF0)
| |- warning: static property 'ff0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ff0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | /// Form feed delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
108 | public static let ff1 = OutputFlags(FF1)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:108:23: warning: static property 'ff1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
106 | public static let ff0 = OutputFlags(FF0)
107 | /// Form feed delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
108 | public static let ff1 = OutputFlags(FF1)
| |- warning: static property 'ff1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ff1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | }
110 |
[9/13] Compiling Termios LocalFlags.swift
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:31:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
29 | }
30 |
31 | public static let zero: LocalFlags = {
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | return .init(rawValue: 0)
33 | }()
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:36:23: warning: static property 'signal' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
34 |
35 | /// When any of the characters INTR, QUIT, SUSP, or DSUSP are received, generate the corresponding signal.
36 | public static let signal = LocalFlags(ISIG)
| |- warning: static property 'signal' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Enable canonical mode (described below).
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:39:23: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
37 |
38 | /// Enable canonical mode (described below).
39 | public static let canonical = LocalFlags(ICANON)
| |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'canonical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:46:42: error: cannot find 'XCASE' in scope
44 | characters are converted to uppercase. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
45 | */
46 | public static let xCase = LocalFlags(XCASE)
| `- error: cannot find 'XCASE' in scope
47 |
48 | /// Echo input characters
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:49:23: warning: static property 'echo' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
47 |
48 | /// Echo input characters
49 | public static let echo = LocalFlags(ECHO)
| |- warning: static property 'echo' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:55:23: warning: static property 'echoErase' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
53 | word.
54 | */
55 | public static let echoErase = LocalFlags(ECHOE)
| |- warning: static property 'echoErase' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echoErase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// If canonical is also set, the KILL character erases the current line.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:58:23: warning: static property 'echoKill' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
56 |
57 | /// If canonical is also set, the KILL character erases the current line.
58 | public static let echoKill = LocalFlags(ECHOK)
| |- warning: static property 'echoKill' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echoKill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// If canonical is also set, echo the NL character even if EHCO is not set.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:61:23: warning: static property 'echoNL' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
59 |
60 | /// If canonical is also set, echo the NL character even if EHCO is not set.
61 | public static let echoNL = LocalFlags(ECHONL)
| |- warning: static property 'echoNL' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echoNL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:68:23: warning: static property 'echoControl' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
66 | For example, character 0x08 (BS) is echoed as ^H. [requires _BSD_SOURCEor _SVID_SOURCE]
67 | */
68 | public static let echoControl = LocalFlags(ECHOCTL)
| |- warning: static property 'echoControl' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echoControl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:74:23: warning: static property 'echoPrint' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
72 | _BSD_SOURCE or _SVID_SOURCE]
73 | */
74 | public static let echoPrint = LocalFlags(ECHOPRT)
| |- warning: static property 'echoPrint' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echoPrint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:80:23: warning: static property 'echoKillErase' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
78 | echoErase and echoPrint. [requires _BSD_SOURCE or _SVID_SOURCE]
79 | */
80 | public static let echoKillErase = LocalFlags(ECHOKE)
| |- warning: static property 'echoKillErase' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echoKillErase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:84:45: error: cannot find 'DEFECHO' in scope
82 | #if os(macOS)
83 | /// (not in POSIX) Echo only when a process is reading. (Not implemented on Linux.)
84 | public static let deafEcho = LocalFlags(DEFECHO)
| `- error: cannot find 'DEFECHO' in scope
85 | #endif
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:91:23: warning: static property 'flush' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
89 | character. [requires _BSD_SOURCE or _SVID_SOURCE]
90 | */
91 | public static let flush = LocalFlags(FLUSHO)
| |- warning: static property 'flush' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'flush' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 |
93 | /// Disable flushing the input and output queues when generating signals for the INT, QUIT, and SUSP characters
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:94:24: warning: static property 'noFlush' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
92 |
93 | /// Disable flushing the input and output queues when generating signals for the INT, QUIT, and SUSP characters
94 | public static let noFlush = LocalFlags(NOFLSH)
| |- warning: static property 'noFlush' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noFlush' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:100:23: warning: static property 'toStop' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
98 | terminal.
99 | */
100 | public static let toStop = LocalFlags(TOSTOP)
| |- warning: static property 'toStop' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'toStop' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:106:23: warning: static property 'pending' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
104 | read. (bas(1) handles typeahead this way.) [requires _BSD_SOURCE or _SVID_SOURCE]
105 | */
106 | public static let pending = LocalFlags(PENDIN)
| |- warning: static property 'pending' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pending' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:112:23: warning: static property 'extension' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
110 | characters EOL2, LNEXT, REPRINT, WERASE to be interpreted, and for the lowercased flag to be effective.
111 | */
112 | public static let `extension` = LocalFlags(IEXTEN)
| |- warning: static property 'extension' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extension' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | }
114 |
[10/13] Compiling Termios InputFlags.swift
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:31:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
29 | }
30 |
31 | public static let zero: InputFlags = {
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | return .init(rawValue: 0)
33 | }()
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:36:23: warning: static property 'ignoreBreak' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
34 |
35 | /// Ignore break condition on input.
36 | public static let ignoreBreak = InputFlags(IGNBRK)
| |- warning: static property 'ignoreBreak' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreBreak' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:45:23: warning: static property 'breakInterupt' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
43 | \0.
44 | */
45 | public static let breakInterupt = InputFlags(BRKINT)
| |- warning: static property 'breakInterupt' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'breakInterupt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | /// Ignore framing errors and parity errors.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:48:23: warning: static property 'ignoreParity' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
46 |
47 | /// Ignore framing errors and parity errors.
48 | public static let ignoreParity = InputFlags(IGNPAR)
| |- warning: static property 'ignoreParity' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreParity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:60:23: warning: static property 'parityMark' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
58 | If neither ignoreParity nor parityMark is set, read a character with a parity error or framing error as \0.
59 | */
60 | public static let parityMark = InputFlags(PARMRK)
| |- warning: static property 'parityMark' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parityMark' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /// Enable input parity checking.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:63:23: warning: static property 'inputParityCheck' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
61 |
62 | /// Enable input parity checking.
63 | public static let inputParityCheck = InputFlags(INPCK)
| |- warning: static property 'inputParityCheck' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inputParityCheck' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// Strip off eighth bit.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:66:23: warning: static property 'strip' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
64 |
65 | /// Strip off eighth bit.
66 | public static let strip = InputFlags(ISTRIP)
| |- warning: static property 'strip' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// Translate NL to CR on input.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:69:23: warning: static property 'nlToCR' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
67 |
68 | /// Translate NL to CR on input.
69 | public static let nlToCR = InputFlags(INLCR)
| |- warning: static property 'nlToCR' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nlToCR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// Ignore carriage return on input.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:72:23: warning: static property 'ignoreCR' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
70 |
71 | /// Ignore carriage return on input.
72 | public static let ignoreCR = InputFlags(IGNCR)
| |- warning: static property 'ignoreCR' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreCR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /// Translate carriage return to newline on input (unless ignoreCR is set).
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:75:23: warning: static property 'crToNL' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
73 |
74 | /// Translate carriage return to newline on input (unless ignoreCR is set).
75 | public static let crToNL = InputFlags(ICRNL)
| |- warning: static property 'crToNL' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'crToNL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// (not in POSIX) Map uppercase characters to lowercase on input.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:78:47: error: cannot find 'IUCLC' in scope
76 |
77 | /// (not in POSIX) Map uppercase characters to lowercase on input.
78 | public static let lowercased = InputFlags(IUCLC)
| `- error: cannot find 'IUCLC' in scope
79 |
80 | /// Enable XON/XOFF flow control on output.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:81:23: warning: static property 'xOn' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
79 |
80 | /// Enable XON/XOFF flow control on output.
81 | public static let xOn = InputFlags(IXON)
| |- warning: static property 'xOn' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xOn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:87:23: warning: static property 'xAny' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
85 | output.)
86 | */
87 | public static let xAny = InputFlags(IXANY)
| |- warning: static property 'xAny' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xAny' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | /// Enable XON/XOFF flow control on output.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:90:23: warning: static property 'xOff' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
88 |
89 | /// Enable XON/XOFF flow control on output.
90 | public static let xOff = InputFlags(IXOFF)
| |- warning: static property 'xOff' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:96:23: warning: static property 'maxBell' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
94 | set.
95 | */
96 | public static let maxBell = InputFlags(IMAXBEL)
| |- warning: static property 'maxBell' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxBell' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 |
98 | /// (not in POSIX) Input is UTF8; this allows character-erase to be correctly performed in cooked mode.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:99:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
97 |
98 | /// (not in POSIX) Input is UTF8; this allows character-erase to be correctly performed in cooked mode.
99 | public static let utf8 = InputFlags(IUTF8)
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | }
101 |
[11/13] Compiling Termios Termios.swift
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:38:37: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
36 | /// Input flags
37 | public var inputFlags: InputFlags {
38 | get { return InputFlags(raw.c_iflag) }
| `- error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
39 | set { raw.c_iflag = newValue.rawValue }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:39:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
37 | public var inputFlags: InputFlags {
38 | get { return InputFlags(raw.c_iflag) }
39 | set { raw.c_iflag = newValue.rawValue }
| `- error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:44:38: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
42 | /// Output flags
43 | public var outputFlags: OutputFlags {
44 | get { return OutputFlags(raw.c_oflag) }
| `- error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
45 | set { raw.c_oflag = newValue.rawValue }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:45:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
43 | public var outputFlags: OutputFlags {
44 | get { return OutputFlags(raw.c_oflag) }
45 | set { raw.c_oflag = newValue.rawValue }
| `- error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:50:39: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
48 | /// Control flags
49 | public var controlFlags: ControlFlags {
50 | get { return ControlFlags(raw.c_cflag) }
| `- error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
51 | set { raw.c_cflag = newValue.rawValue }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:51:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
49 | public var controlFlags: ControlFlags {
50 | get { return ControlFlags(raw.c_cflag) }
51 | set { raw.c_cflag = newValue.rawValue }
| `- error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:56:37: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
54 | /// Local flags
55 | public var localFlags: LocalFlags {
56 | get { return LocalFlags(raw.c_lflag) }
| `- error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
57 | set { raw.c_lflag = newValue.rawValue }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:57:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
55 | public var localFlags: LocalFlags {
56 | get { return LocalFlags(raw.c_lflag) }
57 | set { raw.c_lflag = newValue.rawValue }
| `- error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
58 | }
59 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:81:33: error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
79 | /// Set the input speed.
80 | public mutating func setInputSpeed(baud: UInt32) throws {
81 | guard cfsetispeed(&raw, baud) == 0 else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
82 | throw ErrNo.lastError
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:88:33: error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
86 | /// Set the output speed.
87 | public mutating func setOutputSpeed(baud: UInt32) throws {
88 | guard cfsetospeed(&raw, baud) == 0 else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
89 | throw ErrNo.lastError
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:95:32: error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
93 | /// Set both input and output speed.
94 | public mutating func setSpeed(baud: UInt32) throws {
95 | guard cfsetspeed(&raw, baud) == 0 else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
96 | throw ErrNo.lastError
97 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/13] Emitting module Termios
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:31:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
29 | }
30 |
31 | public static let zero: ControlFlags = {
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | return .init(rawValue: 0)
33 | }()
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:36:43: error: cannot find 'CBAUD' in scope
34 |
35 | /// (not in POSIX) Baud speed mask (4+1 bits). [requires _BSD_SOURCE or _SVID_SOURCE]
36 | public static let baud = ControlFlags(CBAUD)
| `- error: cannot find 'CBAUD' in scope
37 |
38 | /// (not in POSIX) Extra baud speed mask (1 bit), included in baud. [requires _BSD_SOURCE or _SVID_SOURCE]
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:39:48: error: cannot find 'CBAUDEX' in scope
37 |
38 | /// (not in POSIX) Extra baud speed mask (1 bit), included in baud. [requires _BSD_SOURCE or _SVID_SOURCE]
39 | public static let baudExtra = ControlFlags(CBAUDEX)
| `- error: cannot find 'CBAUDEX' in scope
40 |
41 | /// Character size mask. Values are s5, s6, s7, or s8.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:42:23: warning: static property 'size' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
40 |
41 | /// Character size mask. Values are s5, s6, s7, or s8.
42 | public static let size = ControlFlags(CSIZE)
| |- warning: static property 'size' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'size' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// Character size mask.
44 | public static let s5 = ControlFlags(CS5)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:44:23: warning: static property 's5' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
42 | public static let size = ControlFlags(CSIZE)
43 | /// Character size mask.
44 | public static let s5 = ControlFlags(CS5)
| |- warning: static property 's5' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | /// Character size mask.
46 | public static let s6 = ControlFlags(CS6)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:46:23: warning: static property 's6' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
44 | public static let s5 = ControlFlags(CS5)
45 | /// Character size mask.
46 | public static let s6 = ControlFlags(CS6)
| |- warning: static property 's6' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// Character size mask.
48 | public static let s7 = ControlFlags(CS7)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:48:23: warning: static property 's7' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
46 | public static let s6 = ControlFlags(CS6)
47 | /// Character size mask.
48 | public static let s7 = ControlFlags(CS7)
| |- warning: static property 's7' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Character size mask.
50 | public static let s8 = ControlFlags(CS8)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:50:23: warning: static property 's8' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
48 | public static let s7 = ControlFlags(CS7)
49 | /// Character size mask.
50 | public static let s8 = ControlFlags(CS8)
| |- warning: static property 's8' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | /// Set two stop bitsm rather than one.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:53:23: warning: static property 'stopBits' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
51 |
52 | /// Set two stop bitsm rather than one.
53 | public static let stopBits = ControlFlags(CSTOPB)
| |- warning: static property 'stopBits' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stopBits' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// Enable receiver.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:56:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
54 |
55 | /// Enable receiver.
56 | public static let read = ControlFlags(CREAD)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// Enable parity generation on output and parity checking for input.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:59:23: warning: static property 'parity' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
57 |
58 | /// Enable parity generation on output and parity checking for input.
59 | public static let parity = ControlFlags(PARENB)
| |- warning: static property 'parity' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// If set, then parity for input and output is odd; otherwise even parity is used.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:62:23: warning: static property 'oddParity' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
60 |
61 | /// If set, then parity for input and output is odd; otherwise even parity is used.
62 | public static let oddParity = ControlFlags(PARODD)
| |- warning: static property 'oddParity' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oddParity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /// Lower modem control lines after last process closes the device (hang up).
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:65:23: warning: static property 'hangUp' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
63 |
64 | /// Lower modem control lines after last process closes the device (hang up).
65 | public static let hangUp = ControlFlags(HUPCL)
| |- warning: static property 'hangUp' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hangUp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// Ignore modem control lines.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:68:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
66 |
67 | /// Ignore modem control lines.
68 | public static let local = ControlFlags(CLOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:72:44: error: cannot find 'LOBLK' in scope
70 | #if os(macOS)
71 | /// (not in POSIX) Block output from a noncurrent shell layer. For use by shl (shell layers).
72 | public static let block = ControlFlags(LOBLK)
| `- error: cannot find 'LOBLK' in scope
73 | #endif
74 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:79:48: error: cannot find 'CIBAUD' in scope
77 | bits, shifted left IBSHIFT bits. [requires _BSD_SOURCE or _SVID_SOURCE] (Not implemented on Linux.)
78 | */
79 | public static let inputBaud = ControlFlags(CIBAUD)
| `- error: cannot find 'CIBAUD' in scope
80 |
81 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:86:48: error: cannot find 'CMSPAR' in scope
84 | _SVID_SOURCE]
85 | */
86 | public static let cmsParity = ControlFlags(CMSPAR)
| `- error: cannot find 'CMSPAR' in scope
87 |
88 | /// (not in POSIX) Enable RTS/CTS (hardware) flow control. [requires _BSD_SOURCE or _SVID_SOURCE]
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:89:23: warning: static property 'hwFlowControl' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
87 |
88 | /// (not in POSIX) Enable RTS/CTS (hardware) flow control. [requires _BSD_SOURCE or _SVID_SOURCE]
89 | public static let hwFlowControl = ControlFlags(CRTSCTS)
| |- warning: static property 'hwFlowControl' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hwFlowControl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:31:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
29 | }
30 |
31 | public static let zero: InputFlags = {
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | return .init(rawValue: 0)
33 | }()
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:36:23: warning: static property 'ignoreBreak' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
34 |
35 | /// Ignore break condition on input.
36 | public static let ignoreBreak = InputFlags(IGNBRK)
| |- warning: static property 'ignoreBreak' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreBreak' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:45:23: warning: static property 'breakInterupt' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
43 | \0.
44 | */
45 | public static let breakInterupt = InputFlags(BRKINT)
| |- warning: static property 'breakInterupt' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'breakInterupt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | /// Ignore framing errors and parity errors.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:48:23: warning: static property 'ignoreParity' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
46 |
47 | /// Ignore framing errors and parity errors.
48 | public static let ignoreParity = InputFlags(IGNPAR)
| |- warning: static property 'ignoreParity' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreParity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:60:23: warning: static property 'parityMark' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
58 | If neither ignoreParity nor parityMark is set, read a character with a parity error or framing error as \0.
59 | */
60 | public static let parityMark = InputFlags(PARMRK)
| |- warning: static property 'parityMark' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parityMark' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /// Enable input parity checking.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:63:23: warning: static property 'inputParityCheck' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
61 |
62 | /// Enable input parity checking.
63 | public static let inputParityCheck = InputFlags(INPCK)
| |- warning: static property 'inputParityCheck' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inputParityCheck' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// Strip off eighth bit.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:66:23: warning: static property 'strip' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
64 |
65 | /// Strip off eighth bit.
66 | public static let strip = InputFlags(ISTRIP)
| |- warning: static property 'strip' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// Translate NL to CR on input.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:69:23: warning: static property 'nlToCR' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
67 |
68 | /// Translate NL to CR on input.
69 | public static let nlToCR = InputFlags(INLCR)
| |- warning: static property 'nlToCR' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nlToCR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// Ignore carriage return on input.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:72:23: warning: static property 'ignoreCR' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
70 |
71 | /// Ignore carriage return on input.
72 | public static let ignoreCR = InputFlags(IGNCR)
| |- warning: static property 'ignoreCR' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreCR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /// Translate carriage return to newline on input (unless ignoreCR is set).
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:75:23: warning: static property 'crToNL' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
73 |
74 | /// Translate carriage return to newline on input (unless ignoreCR is set).
75 | public static let crToNL = InputFlags(ICRNL)
| |- warning: static property 'crToNL' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'crToNL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// (not in POSIX) Map uppercase characters to lowercase on input.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:78:47: error: cannot find 'IUCLC' in scope
76 |
77 | /// (not in POSIX) Map uppercase characters to lowercase on input.
78 | public static let lowercased = InputFlags(IUCLC)
| `- error: cannot find 'IUCLC' in scope
79 |
80 | /// Enable XON/XOFF flow control on output.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:81:23: warning: static property 'xOn' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
79 |
80 | /// Enable XON/XOFF flow control on output.
81 | public static let xOn = InputFlags(IXON)
| |- warning: static property 'xOn' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xOn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:87:23: warning: static property 'xAny' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
85 | output.)
86 | */
87 | public static let xAny = InputFlags(IXANY)
| |- warning: static property 'xAny' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xAny' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | /// Enable XON/XOFF flow control on output.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:90:23: warning: static property 'xOff' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
88 |
89 | /// Enable XON/XOFF flow control on output.
90 | public static let xOff = InputFlags(IXOFF)
| |- warning: static property 'xOff' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xOff' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:96:23: warning: static property 'maxBell' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
94 | set.
95 | */
96 | public static let maxBell = InputFlags(IMAXBEL)
| |- warning: static property 'maxBell' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxBell' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 |
98 | /// (not in POSIX) Input is UTF8; this allows character-erase to be correctly performed in cooked mode.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:99:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Input flag values in a `termios` structure.
16 | public struct InputFlags: OptionSet {
| `- note: consider making struct 'InputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
97 |
98 | /// (not in POSIX) Input is UTF8; this allows character-erase to be correctly performed in cooked mode.
99 | public static let utf8 = InputFlags(IUTF8)
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'InputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:31:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
29 | }
30 |
31 | public static let zero: LocalFlags = {
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | return .init(rawValue: 0)
33 | }()
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:36:23: warning: static property 'signal' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
34 |
35 | /// When any of the characters INTR, QUIT, SUSP, or DSUSP are received, generate the corresponding signal.
36 | public static let signal = LocalFlags(ISIG)
| |- warning: static property 'signal' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Enable canonical mode (described below).
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:39:23: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
37 |
38 | /// Enable canonical mode (described below).
39 | public static let canonical = LocalFlags(ICANON)
| |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'canonical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:46:42: error: cannot find 'XCASE' in scope
44 | characters are converted to uppercase. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
45 | */
46 | public static let xCase = LocalFlags(XCASE)
| `- error: cannot find 'XCASE' in scope
47 |
48 | /// Echo input characters
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:49:23: warning: static property 'echo' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
47 |
48 | /// Echo input characters
49 | public static let echo = LocalFlags(ECHO)
| |- warning: static property 'echo' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:55:23: warning: static property 'echoErase' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
53 | word.
54 | */
55 | public static let echoErase = LocalFlags(ECHOE)
| |- warning: static property 'echoErase' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echoErase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /// If canonical is also set, the KILL character erases the current line.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:58:23: warning: static property 'echoKill' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
56 |
57 | /// If canonical is also set, the KILL character erases the current line.
58 | public static let echoKill = LocalFlags(ECHOK)
| |- warning: static property 'echoKill' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echoKill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// If canonical is also set, echo the NL character even if EHCO is not set.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:61:23: warning: static property 'echoNL' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
59 |
60 | /// If canonical is also set, echo the NL character even if EHCO is not set.
61 | public static let echoNL = LocalFlags(ECHONL)
| |- warning: static property 'echoNL' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echoNL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:68:23: warning: static property 'echoControl' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
66 | For example, character 0x08 (BS) is echoed as ^H. [requires _BSD_SOURCEor _SVID_SOURCE]
67 | */
68 | public static let echoControl = LocalFlags(ECHOCTL)
| |- warning: static property 'echoControl' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echoControl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:74:23: warning: static property 'echoPrint' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
72 | _BSD_SOURCE or _SVID_SOURCE]
73 | */
74 | public static let echoPrint = LocalFlags(ECHOPRT)
| |- warning: static property 'echoPrint' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echoPrint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:80:23: warning: static property 'echoKillErase' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
78 | echoErase and echoPrint. [requires _BSD_SOURCE or _SVID_SOURCE]
79 | */
80 | public static let echoKillErase = LocalFlags(ECHOKE)
| |- warning: static property 'echoKillErase' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'echoKillErase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:84:45: error: cannot find 'DEFECHO' in scope
82 | #if os(macOS)
83 | /// (not in POSIX) Echo only when a process is reading. (Not implemented on Linux.)
84 | public static let deafEcho = LocalFlags(DEFECHO)
| `- error: cannot find 'DEFECHO' in scope
85 | #endif
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:91:23: warning: static property 'flush' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
89 | character. [requires _BSD_SOURCE or _SVID_SOURCE]
90 | */
91 | public static let flush = LocalFlags(FLUSHO)
| |- warning: static property 'flush' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'flush' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 |
93 | /// Disable flushing the input and output queues when generating signals for the INT, QUIT, and SUSP characters
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:94:24: warning: static property 'noFlush' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
92 |
93 | /// Disable flushing the input and output queues when generating signals for the INT, QUIT, and SUSP characters
94 | public static let noFlush = LocalFlags(NOFLSH)
| |- warning: static property 'noFlush' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noFlush' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:100:23: warning: static property 'toStop' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
98 | terminal.
99 | */
100 | public static let toStop = LocalFlags(TOSTOP)
| |- warning: static property 'toStop' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'toStop' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:106:23: warning: static property 'pending' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
104 | read. (bas(1) handles typeahead this way.) [requires _BSD_SOURCE or _SVID_SOURCE]
105 | */
106 | public static let pending = LocalFlags(PENDIN)
| |- warning: static property 'pending' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pending' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:112:23: warning: static property 'extension' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Local flag values in a `termios` structure.
16 | public struct LocalFlags: OptionSet {
| `- note: consider making struct 'LocalFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
110 | characters EOL2, LNEXT, REPRINT, WERASE to be interpreted, and for the lowercased flag to be effective.
111 | */
112 | public static let `extension` = LocalFlags(IEXTEN)
| |- warning: static property 'extension' is not concurrency-safe because non-'Sendable' type 'LocalFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extension' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:31:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
29 | }
30 |
31 | public static let zero: OutputFlags = {
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | return .init(rawValue: 0)
33 | }()
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:36:23: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
34 |
35 | /// Enable implementation-defined output processing.
36 | public static let post = OutputFlags(OPOST)
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'post' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// (not in POSIX) Map lowercase characters to uppercase on output.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:39:48: error: cannot find 'OLCUC' in scope
37 |
38 | /// (not in POSIX) Map lowercase characters to uppercase on output.
39 | public static let uppercased = OutputFlags(OLCUC)
| `- error: cannot find 'OLCUC' in scope
40 |
41 | /// (XSI) Map NL to CR-NL on output.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:42:23: warning: static property 'nlToCR' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
40 |
41 | /// (XSI) Map NL to CR-NL on output.
42 | public static let nlToCR = OutputFlags(ONLCR)
| |- warning: static property 'nlToCR' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nlToCR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Map CR to NL on output.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:45:23: warning: static property 'crToNL' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
43 |
44 | /// Map CR to NL on output.
45 | public static let crToNL = OutputFlags(OCRNL)
| |- warning: static property 'crToNL' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'crToNL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | /// Don't output CR at colun=mn 0.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:48:23: warning: static property 'noCR' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
46 |
47 | /// Don't output CR at colun=mn 0.
48 | public static let noCR = OutputFlags(ONOCR)
| |- warning: static property 'noCR' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noCR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// Don't output CR.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:51:23: warning: static property 'nlOnly' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
49 |
50 | /// Don't output CR.
51 | public static let nlOnly = OutputFlags(ONLRET)
| |- warning: static property 'nlOnly' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nlOnly' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// Send fill characters for a delay, rather than using a timed delay.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:54:23: warning: static property 'fill' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
52 |
53 | /// Send fill characters for a delay, rather than using a timed delay.
54 | public static let fill = OutputFlags(OFILL)
| |- warning: static property 'fill' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Fill character is ASCII DEL (0177). If unset, fill character is ASCII NUL ('\0'). (Not implemented on Linux.)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:57:23: warning: static property 'fillDelete' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
55 |
56 | /// Fill character is ASCII DEL (0177). If unset, fill character is ASCII NUL ('\0'). (Not implemented on Linux.)
57 | public static let fillDelete = OutputFlags(OFDEL)
| |- warning: static property 'fillDelete' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fillDelete' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | /// Newline delay mask. Values are nl0 and nl1. [requires _BSD_SOURCE, _SVID_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:60:23: warning: static property 'nlDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
58 |
59 | /// Newline delay mask. Values are nl0 and nl1. [requires _BSD_SOURCE, _SVID_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
60 | public static let nlDelay = OutputFlags(NLDLY)
| |- warning: static property 'nlDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nlDelay' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | /// Newline delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
62 | public static let nl0 = OutputFlags(NL0)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:62:23: warning: static property 'nl0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
60 | public static let nlDelay = OutputFlags(NLDLY)
61 | /// Newline delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
62 | public static let nl0 = OutputFlags(NL0)
| |- warning: static property 'nl0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nl0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | /// Newline delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
64 | public static let nl1 = OutputFlags(NL1)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:64:23: warning: static property 'nl1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
62 | public static let nl0 = OutputFlags(NL0)
63 | /// Newline delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
64 | public static let nl1 = OutputFlags(NL1)
| |- warning: static property 'nl1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nl1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:70:23: warning: static property 'tabDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
68 | tabs to spaces (with tab stops every eight columns). [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
69 | */
70 | public static let tabDelay = OutputFlags(TABDLY)
| |- warning: static property 'tabDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tabDelay' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | /// Carriage return delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
72 | public static let tab1 = OutputFlags(TAB1)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:72:23: warning: static property 'tab1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
70 | public static let tabDelay = OutputFlags(TABDLY)
71 | /// Carriage return delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
72 | public static let tab1 = OutputFlags(TAB1)
| |- warning: static property 'tab1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | /// Carriage return delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
74 | public static let tab2 = OutputFlags(TAB2)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:74:23: warning: static property 'tab2' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
72 | public static let tab1 = OutputFlags(TAB1)
73 | /// Carriage return delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
74 | public static let tab2 = OutputFlags(TAB2)
| |- warning: static property 'tab2' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | /**
76 | carriage return delay mask. expandstabs to spaces (with tab stops every eight columns). [requires _bsd_source,
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:79:23: warning: static property 'tab3' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
77 | _svid_source, or _xopen_source]
78 | */
79 | public static let tab3 = OutputFlags(TAB3)
| |- warning: static property 'tab3' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | /**
81 | carriage return delay mask. expandstabs to spaces (with tab stops every eight columns). [requires _bsd_source,
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:84:23: warning: static property 'xTabs' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
82 | _svid_source, or _xopen_source]
83 | */
84 | public static let xTabs = OutputFlags(XTABS)
| |- warning: static property 'xTabs' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xTabs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:90:23: warning: static property 'bsDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
88 | _XOPEN_SOURCE]
89 | */
90 | public static let bsDelay = OutputFlags(BSDLY)
| |- warning: static property 'bsDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bsDelay' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | /// Backspace delay mask. (Has never been implemented.) [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
92 | public static let bs0 = OutputFlags(BS0)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:92:23: warning: static property 'bs0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
90 | public static let bsDelay = OutputFlags(BSDLY)
91 | /// Backspace delay mask. (Has never been implemented.) [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
92 | public static let bs0 = OutputFlags(BS0)
| |- warning: static property 'bs0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bs0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | /// Backspace delay mask. (Has never been implemented.) [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
94 | public static let bs1 = OutputFlags(BS1)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:94:23: warning: static property 'bs1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
92 | public static let bs0 = OutputFlags(BS0)
93 | /// Backspace delay mask. (Has never been implemented.) [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
94 | public static let bs1 = OutputFlags(BS1)
| |- warning: static property 'bs1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bs1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | /// Vertical tab delay mask. Values are vt0 or vt1.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:97:23: warning: static property 'vtDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
95 |
96 | /// Vertical tab delay mask. Values are vt0 or vt1.
97 | public static let vtDelay = OutputFlags(VTDLY)
| |- warning: static property 'vtDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vtDelay' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | /// Vertical tab delay mask.
99 | public static let vt0 = OutputFlags(VT0)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:99:23: warning: static property 'vt0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
97 | public static let vtDelay = OutputFlags(VTDLY)
98 | /// Vertical tab delay mask.
99 | public static let vt0 = OutputFlags(VT0)
| |- warning: static property 'vt0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vt0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | /// Vertical tab delay mask.
101 | public static let vt1 = OutputFlags(VT1)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:101:23: warning: static property 'vt1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
99 | public static let vt0 = OutputFlags(VT0)
100 | /// Vertical tab delay mask.
101 | public static let vt1 = OutputFlags(VT1)
| |- warning: static property 'vt1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vt1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// Form feed delay mask. Values are FF0 or FF1. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:104:23: warning: static property 'ffDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
102 |
103 | /// Form feed delay mask. Values are FF0 or FF1. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
104 | public static let ffDelay = OutputFlags(FFDLY)
| |- warning: static property 'ffDelay' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ffDelay' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | /// Form feed delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
106 | public static let ff0 = OutputFlags(FF0)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:106:23: warning: static property 'ff0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
104 | public static let ffDelay = OutputFlags(FFDLY)
105 | /// Form feed delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
106 | public static let ff0 = OutputFlags(FF0)
| |- warning: static property 'ff0' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ff0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | /// Form feed delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
108 | public static let ff1 = OutputFlags(FF1)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:108:23: warning: static property 'ff1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Output flag values in a `termios` structure.
16 | public struct OutputFlags: OptionSet {
| `- note: consider making struct 'OutputFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
106 | public static let ff0 = OutputFlags(FF0)
107 | /// Form feed delay mask. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
108 | public static let ff1 = OutputFlags(FF1)
| |- warning: static property 'ff1' is not concurrency-safe because non-'Sendable' type 'OutputFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ff1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | }
110 |
[13/13] Compiling Termios ControlFlags.swift
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:31:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
29 | }
30 |
31 | public static let zero: ControlFlags = {
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | return .init(rawValue: 0)
33 | }()
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:36:43: error: cannot find 'CBAUD' in scope
34 |
35 | /// (not in POSIX) Baud speed mask (4+1 bits). [requires _BSD_SOURCE or _SVID_SOURCE]
36 | public static let baud = ControlFlags(CBAUD)
| `- error: cannot find 'CBAUD' in scope
37 |
38 | /// (not in POSIX) Extra baud speed mask (1 bit), included in baud. [requires _BSD_SOURCE or _SVID_SOURCE]
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:39:48: error: cannot find 'CBAUDEX' in scope
37 |
38 | /// (not in POSIX) Extra baud speed mask (1 bit), included in baud. [requires _BSD_SOURCE or _SVID_SOURCE]
39 | public static let baudExtra = ControlFlags(CBAUDEX)
| `- error: cannot find 'CBAUDEX' in scope
40 |
41 | /// Character size mask. Values are s5, s6, s7, or s8.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:42:23: warning: static property 'size' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
40 |
41 | /// Character size mask. Values are s5, s6, s7, or s8.
42 | public static let size = ControlFlags(CSIZE)
| |- warning: static property 'size' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'size' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// Character size mask.
44 | public static let s5 = ControlFlags(CS5)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:44:23: warning: static property 's5' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
42 | public static let size = ControlFlags(CSIZE)
43 | /// Character size mask.
44 | public static let s5 = ControlFlags(CS5)
| |- warning: static property 's5' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | /// Character size mask.
46 | public static let s6 = ControlFlags(CS6)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:46:23: warning: static property 's6' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
44 | public static let s5 = ControlFlags(CS5)
45 | /// Character size mask.
46 | public static let s6 = ControlFlags(CS6)
| |- warning: static property 's6' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// Character size mask.
48 | public static let s7 = ControlFlags(CS7)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:48:23: warning: static property 's7' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
46 | public static let s6 = ControlFlags(CS6)
47 | /// Character size mask.
48 | public static let s7 = ControlFlags(CS7)
| |- warning: static property 's7' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Character size mask.
50 | public static let s8 = ControlFlags(CS8)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:50:23: warning: static property 's8' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
48 | public static let s7 = ControlFlags(CS7)
49 | /// Character size mask.
50 | public static let s8 = ControlFlags(CS8)
| |- warning: static property 's8' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | /// Set two stop bitsm rather than one.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:53:23: warning: static property 'stopBits' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
51 |
52 | /// Set two stop bitsm rather than one.
53 | public static let stopBits = ControlFlags(CSTOPB)
| |- warning: static property 'stopBits' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stopBits' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// Enable receiver.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:56:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
54 |
55 | /// Enable receiver.
56 | public static let read = ControlFlags(CREAD)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// Enable parity generation on output and parity checking for input.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:59:23: warning: static property 'parity' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
57 |
58 | /// Enable parity generation on output and parity checking for input.
59 | public static let parity = ControlFlags(PARENB)
| |- warning: static property 'parity' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// If set, then parity for input and output is odd; otherwise even parity is used.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:62:23: warning: static property 'oddParity' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
60 |
61 | /// If set, then parity for input and output is odd; otherwise even parity is used.
62 | public static let oddParity = ControlFlags(PARODD)
| |- warning: static property 'oddParity' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oddParity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | /// Lower modem control lines after last process closes the device (hang up).
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:65:23: warning: static property 'hangUp' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
63 |
64 | /// Lower modem control lines after last process closes the device (hang up).
65 | public static let hangUp = ControlFlags(HUPCL)
| |- warning: static property 'hangUp' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hangUp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /// Ignore modem control lines.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:68:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
66 |
67 | /// Ignore modem control lines.
68 | public static let local = ControlFlags(CLOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 |
70 | #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:72:44: error: cannot find 'LOBLK' in scope
70 | #if os(macOS)
71 | /// (not in POSIX) Block output from a noncurrent shell layer. For use by shl (shell layers).
72 | public static let block = ControlFlags(LOBLK)
| `- error: cannot find 'LOBLK' in scope
73 | #endif
74 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:79:48: error: cannot find 'CIBAUD' in scope
77 | bits, shifted left IBSHIFT bits. [requires _BSD_SOURCE or _SVID_SOURCE] (Not implemented on Linux.)
78 | */
79 | public static let inputBaud = ControlFlags(CIBAUD)
| `- error: cannot find 'CIBAUD' in scope
80 |
81 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:86:48: error: cannot find 'CMSPAR' in scope
84 | _SVID_SOURCE]
85 | */
86 | public static let cmsParity = ControlFlags(CMSPAR)
| `- error: cannot find 'CMSPAR' in scope
87 |
88 | /// (not in POSIX) Enable RTS/CTS (hardware) flow control. [requires _BSD_SOURCE or _SVID_SOURCE]
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:89:23: warning: static property 'hwFlowControl' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Control flag values in a `termios` structure.
16 | public struct ControlFlags: OptionSet {
| `- note: consider making struct 'ControlFlags' conform to the 'Sendable' protocol
17 | public var rawValue: UInt32
18 |
:
87 |
88 | /// (not in POSIX) Enable RTS/CTS (hardware) flow control. [requires _BSD_SOURCE or _SVID_SOURCE]
89 | public static let hwFlowControl = ControlFlags(CRTSCTS)
| |- warning: static property 'hwFlowControl' is not concurrency-safe because non-'Sendable' type 'ControlFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hwFlowControl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | }
91 |
Fetching https://github.com/Ponyboy47/ErrNo.git
[1/294] Fetching errno
Fetched https://github.com/Ponyboy47/ErrNo.git from cache (0.82s)
Computing version for https://github.com/Ponyboy47/ErrNo.git
Computed https://github.com/Ponyboy47/ErrNo.git at 0.5.2 (0.65s)
Creating working copy for https://github.com/Ponyboy47/ErrNo.git
Working copy of https://github.com/Ponyboy47/ErrNo.git resolved at 0.5.2
BUILD FAILURE 6.0 macosSpm