Build Information
Failed to build swift-posix, reference 0.0.1 (6feac9), with Swift 6.2 for Android on 19 Aug 2026 09:05:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Termios.LocalFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Termios.LocalFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Termios.LocalFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Termios.LocalFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Termios.LocalFlags' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Termios.LocalFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned Termios.LocalFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned Termios.LocalFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(Termios.LocalFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(Termios.LocalFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.LocalFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.LocalFlags) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Termios.LocalFlags, Termios.LocalFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Termios.LocalFlags, Termios.LocalFlags) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:196:52: error: cannot find type 'cc_t' in scope
194 |
195 | /// The `c_cc` control characters, e.g. `termios[.VMIN]`.
196 | public subscript(_ index: ControlCharacter) -> cc_t {
| `- error: cannot find type 'cc_t' in scope
197 | get {
198 | withUnsafeBytes(of: raw.c_cc) { $0[index.rawValue] }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:219:26: error: cannot find type 'speed_t' in scope
217 | /// A terminal baud rate, as `BaudRate.B9600` etc.
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
219 | public var rawValue: speed_t
| `- error: cannot find type 'speed_t' in scope
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:220:27: error: cannot find type 'speed_t' in scope
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
219 | public var rawValue: speed_t
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
| `- error: cannot find type 'speed_t' in scope
221 | public static let B0 = BaudRate(rawValue: _B0)
222 | public static let B50 = BaudRate(rawValue: _B50)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:221:28: error: no exact matches in call to initializer
219 | public var rawValue: speed_t
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
222 | public static let B50 = BaudRate(rawValue: _B50)
223 | public static let B75 = BaudRate(rawValue: _B75)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:222:29: error: no exact matches in call to initializer
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
222 | public static let B50 = BaudRate(rawValue: _B50)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
223 | public static let B75 = BaudRate(rawValue: _B75)
224 | public static let B110 = BaudRate(rawValue: _B110)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:223:29: error: no exact matches in call to initializer
221 | public static let B0 = BaudRate(rawValue: _B0)
222 | public static let B50 = BaudRate(rawValue: _B50)
223 | public static let B75 = BaudRate(rawValue: _B75)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
224 | public static let B110 = BaudRate(rawValue: _B110)
225 | public static let B134 = BaudRate(rawValue: _B134)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:224:30: error: no exact matches in call to initializer
222 | public static let B50 = BaudRate(rawValue: _B50)
223 | public static let B75 = BaudRate(rawValue: _B75)
224 | public static let B110 = BaudRate(rawValue: _B110)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
225 | public static let B134 = BaudRate(rawValue: _B134)
226 | public static let B150 = BaudRate(rawValue: _B150)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:225:30: error: no exact matches in call to initializer
223 | public static let B75 = BaudRate(rawValue: _B75)
224 | public static let B110 = BaudRate(rawValue: _B110)
225 | public static let B134 = BaudRate(rawValue: _B134)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
226 | public static let B150 = BaudRate(rawValue: _B150)
227 | public static let B200 = BaudRate(rawValue: _B200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:226:30: error: no exact matches in call to initializer
224 | public static let B110 = BaudRate(rawValue: _B110)
225 | public static let B134 = BaudRate(rawValue: _B134)
226 | public static let B150 = BaudRate(rawValue: _B150)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
227 | public static let B200 = BaudRate(rawValue: _B200)
228 | public static let B300 = BaudRate(rawValue: _B300)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:227:30: error: no exact matches in call to initializer
225 | public static let B134 = BaudRate(rawValue: _B134)
226 | public static let B150 = BaudRate(rawValue: _B150)
227 | public static let B200 = BaudRate(rawValue: _B200)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
228 | public static let B300 = BaudRate(rawValue: _B300)
229 | public static let B600 = BaudRate(rawValue: _B600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:228:30: error: no exact matches in call to initializer
226 | public static let B150 = BaudRate(rawValue: _B150)
227 | public static let B200 = BaudRate(rawValue: _B200)
228 | public static let B300 = BaudRate(rawValue: _B300)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
229 | public static let B600 = BaudRate(rawValue: _B600)
230 | public static let B1200 = BaudRate(rawValue: _B1200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:229:30: error: no exact matches in call to initializer
227 | public static let B200 = BaudRate(rawValue: _B200)
228 | public static let B300 = BaudRate(rawValue: _B300)
229 | public static let B600 = BaudRate(rawValue: _B600)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
230 | public static let B1200 = BaudRate(rawValue: _B1200)
231 | public static let B1800 = BaudRate(rawValue: _B1800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:230:31: error: no exact matches in call to initializer
228 | public static let B300 = BaudRate(rawValue: _B300)
229 | public static let B600 = BaudRate(rawValue: _B600)
230 | public static let B1200 = BaudRate(rawValue: _B1200)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
231 | public static let B1800 = BaudRate(rawValue: _B1800)
232 | public static let B2400 = BaudRate(rawValue: _B2400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:231:31: error: no exact matches in call to initializer
229 | public static let B600 = BaudRate(rawValue: _B600)
230 | public static let B1200 = BaudRate(rawValue: _B1200)
231 | public static let B1800 = BaudRate(rawValue: _B1800)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
232 | public static let B2400 = BaudRate(rawValue: _B2400)
233 | public static let B4800 = BaudRate(rawValue: _B4800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:232:31: error: no exact matches in call to initializer
230 | public static let B1200 = BaudRate(rawValue: _B1200)
231 | public static let B1800 = BaudRate(rawValue: _B1800)
232 | public static let B2400 = BaudRate(rawValue: _B2400)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
233 | public static let B4800 = BaudRate(rawValue: _B4800)
234 | public static let B9600 = BaudRate(rawValue: _B9600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:233:31: error: no exact matches in call to initializer
231 | public static let B1800 = BaudRate(rawValue: _B1800)
232 | public static let B2400 = BaudRate(rawValue: _B2400)
233 | public static let B4800 = BaudRate(rawValue: _B4800)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
234 | public static let B9600 = BaudRate(rawValue: _B9600)
235 | public static let B19200 = BaudRate(rawValue: _B19200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:234:31: error: no exact matches in call to initializer
232 | public static let B2400 = BaudRate(rawValue: _B2400)
233 | public static let B4800 = BaudRate(rawValue: _B4800)
234 | public static let B9600 = BaudRate(rawValue: _B9600)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
235 | public static let B19200 = BaudRate(rawValue: _B19200)
236 | public static let B38400 = BaudRate(rawValue: _B38400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:235:32: error: no exact matches in call to initializer
233 | public static let B4800 = BaudRate(rawValue: _B4800)
234 | public static let B9600 = BaudRate(rawValue: _B9600)
235 | public static let B19200 = BaudRate(rawValue: _B19200)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
236 | public static let B38400 = BaudRate(rawValue: _B38400)
237 | public static let B57600 = BaudRate(rawValue: _B57600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:236:32: error: no exact matches in call to initializer
234 | public static let B9600 = BaudRate(rawValue: _B9600)
235 | public static let B19200 = BaudRate(rawValue: _B19200)
236 | public static let B38400 = BaudRate(rawValue: _B38400)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
237 | public static let B57600 = BaudRate(rawValue: _B57600)
238 | public static let B115200 = BaudRate(rawValue: _B115200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:237:32: error: no exact matches in call to initializer
235 | public static let B19200 = BaudRate(rawValue: _B19200)
236 | public static let B38400 = BaudRate(rawValue: _B38400)
237 | public static let B57600 = BaudRate(rawValue: _B57600)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
238 | public static let B115200 = BaudRate(rawValue: _B115200)
239 | public static let B230400 = BaudRate(rawValue: _B230400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:238:33: error: no exact matches in call to initializer
236 | public static let B38400 = BaudRate(rawValue: _B38400)
237 | public static let B57600 = BaudRate(rawValue: _B57600)
238 | public static let B115200 = BaudRate(rawValue: _B115200)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
239 | public static let B230400 = BaudRate(rawValue: _B230400)
240 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:239:33: error: no exact matches in call to initializer
237 | public static let B57600 = BaudRate(rawValue: _B57600)
238 | public static let B115200 = BaudRate(rawValue: _B115200)
239 | public static let B230400 = BaudRate(rawValue: _B230400)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
240 | }
241 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:218:15: error: type 'BaudRate' does not conform to protocol 'Hashable'
216 |
217 | /// A terminal baud rate, as `BaudRate.B9600` etc.
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
| `- error: type 'BaudRate' does not conform to protocol 'Hashable'
219 | public var rawValue: speed_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'BaudRate' to 'Hashable'
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:218:15: error: type 'BaudRate' does not conform to protocol 'RawRepresentable'
216 |
217 | /// A terminal baud rate, as `BaudRate.B9600` etc.
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
| `- error: type 'BaudRate' does not conform to protocol 'RawRepresentable'
219 | public var rawValue: speed_t
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:218:15: error: type 'BaudRate' does not conform to protocol 'Equatable'
216 |
217 | /// A terminal baud rate, as `BaudRate.B9600` etc.
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
| |- error: type 'BaudRate' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
219 | public var rawValue: speed_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'BaudRate' to 'Equatable'
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
Swift.==:1:24: note: candidate would match if 'BaudRate.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'BaudRate.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'BaudRate' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaudRate' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'BaudRate' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'BaudRate' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'BaudRate' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaudRate' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'BaudRate' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'BaudRate' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'BaudRate' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'BaudRate' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'BaudRate' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'BaudRate' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'BaudRate' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'BaudRate' conformed to 'SIMD'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(BaudRate, BaudRate) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(BaudRate, BaudRate) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:101:27: error: cannot find 'termios' in scope
99 | /// The underlying C `struct termios`.
100 | public var raw: termios
101 | public init() { raw = termios() }
| `- error: cannot find 'termios' in scope
102 | public init(raw: termios) { self.raw = raw }
103 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:179:25: error: extraneous argument label 'rawValue:' in call
177 |
178 | public var inputFlags: InputFlags {
179 | get { InputFlags(rawValue: raw.c_iflag) }
| `- error: extraneous argument label 'rawValue:' in call
180 | set { raw.c_iflag = newValue.rawValue }
181 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:183:26: error: extraneous argument label 'rawValue:' in call
181 | }
182 | public var outputFlags: OutputFlags {
183 | get { OutputFlags(rawValue: raw.c_oflag) }
| `- error: extraneous argument label 'rawValue:' in call
184 | set { raw.c_oflag = newValue.rawValue }
185 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:187:27: error: extraneous argument label 'rawValue:' in call
185 | }
186 | public var controlFlags: ControlFlags {
187 | get { ControlFlags(rawValue: raw.c_cflag) }
| `- error: extraneous argument label 'rawValue:' in call
188 | set { raw.c_cflag = newValue.rawValue }
189 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:191:25: error: extraneous argument label 'rawValue:' in call
189 | }
190 | public var localFlags: LocalFlags {
191 | get { LocalFlags(rawValue: raw.c_lflag) }
| `- error: extraneous argument label 'rawValue:' in call
192 | set { raw.c_lflag = newValue.rawValue }
193 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:207:54: error: cannot find 'cfgetispeed' in scope
205 | /// `cfgetispeed(3)` / `cfsetispeed(3)`.
206 | public var inputSpeed: BaudRate {
207 | get { var r = raw; return BaudRate(rawValue: cfgetispeed(&r)) }
| `- error: cannot find 'cfgetispeed' in scope
208 | set { _ = cfsetispeed(&raw, newValue.rawValue) }
209 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:207:35: error: no exact matches in call to initializer
205 | /// `cfgetispeed(3)` / `cfsetispeed(3)`.
206 | public var inputSpeed: BaudRate {
207 | get { var r = raw; return BaudRate(rawValue: cfgetispeed(&r)) }
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
208 | set { _ = cfsetispeed(&raw, newValue.rawValue) }
209 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:208:19: error: cannot find 'cfsetispeed' in scope
206 | public var inputSpeed: BaudRate {
207 | get { var r = raw; return BaudRate(rawValue: cfgetispeed(&r)) }
208 | set { _ = cfsetispeed(&raw, newValue.rawValue) }
| `- error: cannot find 'cfsetispeed' in scope
209 | }
210 | /// `cfgetospeed(3)` / `cfsetospeed(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:212:54: error: cannot find 'cfgetospeed' in scope
210 | /// `cfgetospeed(3)` / `cfsetospeed(3)`.
211 | public var outputSpeed: BaudRate {
212 | get { var r = raw; return BaudRate(rawValue: cfgetospeed(&r)) }
| `- error: cannot find 'cfgetospeed' in scope
213 | set { _ = cfsetospeed(&raw, newValue.rawValue) }
214 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:212:35: error: no exact matches in call to initializer
210 | /// `cfgetospeed(3)` / `cfsetospeed(3)`.
211 | public var outputSpeed: BaudRate {
212 | get { var r = raw; return BaudRate(rawValue: cfgetospeed(&r)) }
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
213 | set { _ = cfsetospeed(&raw, newValue.rawValue) }
214 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:213:19: error: cannot find 'cfsetospeed' in scope
211 | public var outputSpeed: BaudRate {
212 | get { var r = raw; return BaudRate(rawValue: cfgetospeed(&r)) }
213 | set { _ = cfsetospeed(&raw, newValue.rawValue) }
| `- error: cannot find 'cfsetospeed' in scope
214 | }
215 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:272:13: error: cannot find 'termios' in scope
270 | /// identical to C's `tcgetattr(3)`, but returns a swifty `Termios`.
271 | public func tcgetattr(_ fd: CInt) throws -> Termios {
272 | var t = termios()
| `- error: cannot find 'termios' in scope
273 | try check(tcgetattr(fd, &t))
274 | return Termios(raw: t)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:273:29: error: extra argument in call
271 | public func tcgetattr(_ fd: CInt) throws -> Termios {
272 | var t = termios()
273 | try check(tcgetattr(fd, &t))
| `- error: extra argument in call
274 | return Termios(raw: t)
275 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:274:25: error: argument passed to call that takes no arguments
272 | var t = termios()
273 | try check(tcgetattr(fd, &t))
274 | return Termios(raw: t)
| `- error: argument passed to call that takes no arguments
275 | }
276 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:280:36: error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'TcsetattrAction'
278 | public func tcsetattr(_ fd: CInt, _ action: TcsetattrAction = .TCSANOW, _ termios: Termios) throws {
279 | var t = termios.raw
280 | try check(tcsetattr(fd, action.rawValue, &t))
| `- error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'TcsetattrAction'
281 | }
282 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:280:46: error: cannot convert value of type '_' to expected argument type 'Termios'
278 | public func tcsetattr(_ fd: CInt, _ action: TcsetattrAction = .TCSANOW, _ termios: Termios) throws {
279 | var t = termios.raw
280 | try check(tcsetattr(fd, action.rawValue, &t))
| `- error: cannot convert value of type '_' to expected argument type 'Termios'
281 | }
282 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:284:52: error: cannot find 'C' in scope
282 |
283 | /// identical to C's `tcdrain(3)`.
284 | public func tcdrain(_ fd: CInt) throws { try check(C.tcdrain(fd)) }
| `- error: cannot find 'C' in scope
285 |
286 | /// identical to C's `tcflow(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:288:15: error: cannot find 'C' in scope
286 | /// identical to C's `tcflow(3)`.
287 | public func tcflow(_ fd: CInt, _ action: TcflowAction) throws {
288 | try check(C.tcflow(fd, action.rawValue))
| `- error: cannot find 'C' in scope
289 | }
290 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:293:15: error: cannot find 'C' in scope
291 | /// identical to C's `tcflush(3)`.
292 | public func tcflush(_ fd: CInt, _ queue: TcflushQueue) throws {
293 | try check(C.tcflush(fd, queue.rawValue))
| `- error: cannot find 'C' in scope
294 | }
295 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:298:15: error: cannot find 'C' in scope
296 | /// identical to C's `tcsendbreak(3)`.
297 | public func tcsendbreak(_ fd: CInt, _ duration: CInt = 0) throws {
298 | try check(C.tcsendbreak(fd, duration))
| `- error: cannot find 'C' in scope
299 | }
300 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:47:26: error: cannot find type 'tm' in scope
45 | }
46 |
47 | internal init(_ ctm: tm) {
| `- error: cannot find type 'tm' in scope
48 | sec = Int(ctm.tm_sec); min = Int(ctm.tm_min); hour = Int(ctm.tm_hour)
49 | mday = Int(ctm.tm_mday); mon = Int(ctm.tm_mon); year = Int(ctm.tm_year)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:55:23: error: cannot find type 'tm' in scope
53 | }
54 |
55 | internal var ctm: tm {
| `- error: cannot find type 'tm' in scope
56 | var t = tm()
57 | t.tm_sec = CInt(sec); t.tm_min = CInt(min); t.tm_hour = CInt(hour)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:66:23: error: cannot find type 'time_t' in scope
64 |
65 | /// identical to C's `time(2)`: seconds since the epoch.
66 | public func time() -> time_t { time(nil) }
| `- error: cannot find type 'time_t' in scope
67 |
68 | /// identical to C's `difftime(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:69:31: error: cannot find type 'time_t' in scope
67 |
68 | /// identical to C's `difftime(3)`.
69 | public func difftime(_ time1: time_t, _ time0: time_t) -> Double { C.difftime(time1, time0) }
| `- error: cannot find type 'time_t' in scope
70 |
71 | /// identical to C's `gmtime(3)` (via `gmtime_r`), but returns a swifty `Tm`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:69:48: error: cannot find type 'time_t' in scope
67 |
68 | /// identical to C's `difftime(3)`.
69 | public func difftime(_ time1: time_t, _ time0: time_t) -> Double { C.difftime(time1, time0) }
| `- error: cannot find type 'time_t' in scope
70 |
71 | /// identical to C's `gmtime(3)` (via `gmtime_r`), but returns a swifty `Tm`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:72:25: error: cannot find type 'time_t' in scope
70 |
71 | /// identical to C's `gmtime(3)` (via `gmtime_r`), but returns a swifty `Tm`.
72 | public func gmtime(_ t: time_t = time(nil)) -> Tm {
| `- error: cannot find type 'time_t' in scope
73 | var tv = t
74 | var result = tm()
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:80:28: error: cannot find type 'time_t' in scope
78 |
79 | /// identical to C's `localtime(3)` (via `localtime_r`), but returns a swifty `Tm`.
80 | public func localtime(_ t: time_t = time(nil)) -> Tm {
| `- error: cannot find type 'time_t' in scope
81 | var tv = t
82 | var result = tm()
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:89:40: error: cannot find type 'time_t' in scope
87 | /// identical to C's `mktime(3)`: converts a local-time `Tm` to seconds
88 | /// since the epoch.
89 | public func mktime(_ tm: Tm) throws -> time_t {
| `- error: cannot find type 'time_t' in scope
90 | var ctm = tm.ctm
91 | return try check(mktime(&ctm))
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:103:24: error: cannot find type 'time_t' in scope
101 |
102 | /// identical to C's `ctime(3)`: `asctime(localtime(t))`.
103 | public func ctime(_ t: time_t = time(nil)) -> String { asctime(localtime(t)) }
| `- error: cannot find type 'time_t' in scope
104 |
105 | /// identical to C's `strftime(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:121:24: error: cannot find type 'clock_t' in scope
119 |
120 | /// identical to C's `clock(3)`: processor time used, in `CLOCKS_PER_SEC` ticks.
121 | public func clock() -> clock_t { C.clock() }
| `- error: cannot find type 'clock_t' in scope
122 |
123 | // (CLOCKS_PER_SEC is re-exported in Platform.swift)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:146:25: error: cannot find type 'clock_t' in scope
144 | public struct Times: Hashable, Sendable {
145 | /// elapsed real time since an arbitrary point, in clock ticks
146 | public let elapsed: clock_t
| `- error: cannot find type 'clock_t' in scope
147 | /// user CPU time (`tms_utime`)
148 | public let user: clock_t
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:148:22: error: cannot find type 'clock_t' in scope
146 | public let elapsed: clock_t
147 | /// user CPU time (`tms_utime`)
148 | public let user: clock_t
| `- error: cannot find type 'clock_t' in scope
149 | /// system CPU time (`tms_stime`)
150 | public let system: clock_t
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:150:24: error: cannot find type 'clock_t' in scope
148 | public let user: clock_t
149 | /// system CPU time (`tms_stime`)
150 | public let system: clock_t
| `- error: cannot find type 'clock_t' in scope
151 | /// user CPU time of terminated children (`tms_cutime`)
152 | public let childUser: clock_t
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:152:27: error: cannot find type 'clock_t' in scope
150 | public let system: clock_t
151 | /// user CPU time of terminated children (`tms_cutime`)
152 | public let childUser: clock_t
| `- error: cannot find type 'clock_t' in scope
153 | /// system CPU time of terminated children (`tms_cstime`)
154 | public let childSystem: clock_t
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:154:29: error: cannot find type 'clock_t' in scope
152 | public let childUser: clock_t
153 | /// system CPU time of terminated children (`tms_cstime`)
154 | public let childSystem: clock_t
| `- error: cannot find type 'clock_t' in scope
155 | }
156 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:144:15: error: type 'Times' does not conform to protocol 'Hashable'
142 | /// A swifty `struct tms`, plus the elapsed real time, like Perl's
143 | /// five-element `POSIX::times()`.
144 | public struct Times: Hashable, Sendable {
| `- error: type 'Times' does not conform to protocol 'Hashable'
145 | /// elapsed real time since an arbitrary point, in clock ticks
146 | public let elapsed: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
147 | /// user CPU time (`tms_utime`)
148 | public let user: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
149 | /// system CPU time (`tms_stime`)
150 | public let system: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
151 | /// user CPU time of terminated children (`tms_cutime`)
152 | public let childUser: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
153 | /// system CPU time of terminated children (`tms_cstime`)
154 | public let childSystem: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
155 | }
156 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:144:15: error: type 'Times' does not conform to protocol 'Equatable'
142 | /// A swifty `struct tms`, plus the elapsed real time, like Perl's
143 | /// five-element `POSIX::times()`.
144 | public struct Times: Hashable, Sendable {
| |- error: type 'Times' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
145 | /// elapsed real time since an arbitrary point, in clock ticks
146 | public let elapsed: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
147 | /// user CPU time (`tms_utime`)
148 | public let user: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
149 | /// system CPU time (`tms_stime`)
150 | public let system: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
151 | /// user CPU time of terminated children (`tms_cutime`)
152 | public let childUser: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
153 | /// system CPU time of terminated children (`tms_cstime`)
154 | public let childSystem: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
155 | }
156 |
Swift.==:1:24: note: candidate would match if 'Times' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Times' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Times' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Times' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Times' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Times' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Times' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Times' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Times' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Times' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Times' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Times' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Times' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Times' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Times' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Times' conformed to 'SIMD'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Times, Times) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Times, Times) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:56:17: error: cannot find 'tm' in scope
54 |
55 | internal var ctm: tm {
56 | var t = tm()
| `- error: cannot find 'tm' in scope
57 | t.tm_sec = CInt(sec); t.tm_min = CInt(min); t.tm_hour = CInt(hour)
58 | t.tm_mday = CInt(mday); t.tm_mon = CInt(mon); t.tm_year = CInt(year)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:69:68: error: cannot find 'C' in scope
67 |
68 | /// identical to C's `difftime(3)`.
69 | public func difftime(_ time1: time_t, _ time0: time_t) -> Double { C.difftime(time1, time0) }
| `- error: cannot find 'C' in scope
70 |
71 | /// identical to C's `gmtime(3)` (via `gmtime_r`), but returns a swifty `Tm`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:74:18: error: cannot find 'tm' in scope
72 | public func gmtime(_ t: time_t = time(nil)) -> Tm {
73 | var tv = t
74 | var result = tm()
| `- error: cannot find 'tm' in scope
75 | gmtime_r(&tv, &result)
76 | return Tm(result)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:75:5: error: cannot find 'gmtime_r' in scope
73 | var tv = t
74 | var result = tm()
75 | gmtime_r(&tv, &result)
| `- error: cannot find 'gmtime_r' in scope
76 | return Tm(result)
77 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:76:15: error: missing argument label 'sec:' in call
74 | var result = tm()
75 | gmtime_r(&tv, &result)
76 | return Tm(result)
| `- error: missing argument label 'sec:' in call
77 | }
78 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:82:18: error: cannot find 'tm' in scope
80 | public func localtime(_ t: time_t = time(nil)) -> Tm {
81 | var tv = t
82 | var result = tm()
| `- error: cannot find 'tm' in scope
83 | localtime_r(&tv, &result)
84 | return Tm(result)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:83:5: error: cannot find 'localtime_r' in scope
81 | var tv = t
82 | var result = tm()
83 | localtime_r(&tv, &result)
| `- error: cannot find 'localtime_r' in scope
84 | return Tm(result)
85 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:84:15: error: missing argument label 'sec:' in call
82 | var result = tm()
83 | localtime_r(&tv, &result)
84 | return Tm(result)
| `- error: missing argument label 'sec:' in call
85 | }
86 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:98:11: error: cannot find 'asctime_r' in scope
96 | var ctm = tm.ctm
97 | var buf = [CChar](repeating: 0, count: 32) // >= 26
98 | guard asctime_r(&ctm, &buf) != nil else { return "" }
| `- error: cannot find 'asctime_r' in scope
99 | return stringFromCChars(buf)
100 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:112:29: error: extra arguments at positions #3, #4 in call
104 |
105 | /// identical to C's `strftime(3)`.
106 | public func strftime(_ format: String, _ tm: Tm) -> String {
| `- note: 'strftime' declared here
107 | var ctm = tm.ctm
108 | return format.withCString { fmt in
:
110 | while capacity <= 64 * 1024 {
111 | var buf = [CChar](repeating: 0, count: capacity)
112 | let n = strftime(&buf, capacity, fmt, &ctm)
| `- error: extra arguments at positions #3, #4 in call
113 | if n > 0 || format.isEmpty { return stringFromCChars(buf) }
114 | capacity *= 4
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:112:30: error: cannot convert value of type '[CChar]' (aka 'Array<Int8>') to expected argument type 'String'
110 | while capacity <= 64 * 1024 {
111 | var buf = [CChar](repeating: 0, count: capacity)
112 | let n = strftime(&buf, capacity, fmt, &ctm)
| `- error: cannot convert value of type '[CChar]' (aka 'Array<Int8>') to expected argument type 'String'
113 | if n > 0 || format.isEmpty { return stringFromCChars(buf) }
114 | capacity *= 4
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:112:36: error: cannot convert value of type 'Int' to expected argument type 'Tm'
110 | while capacity <= 64 * 1024 {
111 | var buf = [CChar](repeating: 0, count: capacity)
112 | let n = strftime(&buf, capacity, fmt, &ctm)
| `- error: cannot convert value of type 'Int' to expected argument type 'Tm'
113 | if n > 0 || format.isEmpty { return stringFromCChars(buf) }
114 | capacity *= 4
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:126:23: error: cannot find 'C' in scope
124 |
125 | /// identical to C's `tzset(3)`.
126 | public func tzset() { C.tzset() }
| `- error: cannot find 'C' in scope
127 |
128 | /// like C's `tzname`: the standard and daylight-saving timezone
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:132:5: error: cannot find 'C' in scope
130 | /// January and July, to avoid the non-thread-safe C global).
131 | public func tzname() -> (standard: String, daylight: String) {
132 | C.tzset()
| `- error: cannot find 'C' in scope
133 | // 2021-01-01 and 2021-07-01, chosen for opposite DST states.
134 | let jan = localtime(1609459200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:160:13: error: cannot find 'tms' in scope
158 | /// (in `sysconf(.clockTick)` ticks, not `CLOCKS_PER_SEC`).
159 | public func times() throws -> Times {
160 | var t = tms()
| `- error: cannot find 'tms' in scope
161 | let elapsed = times(&t)
162 | guard elapsed != ~clock_t(0) else { throw Errno.current } // (clock_t)-1
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:161:25: error: argument passed to call that takes no arguments
159 | public func times() throws -> Times {
160 | var t = tms()
161 | let elapsed = times(&t)
| `- error: argument passed to call that takes no arguments
162 | guard elapsed != ~clock_t(0) else { throw Errno.current } // (clock_t)-1
163 | return Times(
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:162:23: error: cannot find 'clock_t' in scope
160 | var t = tms()
161 | let elapsed = times(&t)
162 | guard elapsed != ~clock_t(0) else { throw Errno.current } // (clock_t)-1
| `- error: cannot find 'clock_t' in scope
163 | return Times(
164 | elapsed: elapsed,
[23/23] Compiling POSIXGlobals Time.swift
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:11:23: error: cannot find 'tcflag_t' in scope
9 |
10 | // input flags
11 | private let _IGNBRK = tcflag_t(IGNBRK)
| `- error: cannot find 'tcflag_t' in scope
12 | private let _BRKINT = tcflag_t(BRKINT)
13 | private let _IGNPAR = tcflag_t(IGNPAR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:11:32: error: cannot find 'IGNBRK' in scope
9 |
10 | // input flags
11 | private let _IGNBRK = tcflag_t(IGNBRK)
| `- error: cannot find 'IGNBRK' in scope
12 | private let _BRKINT = tcflag_t(BRKINT)
13 | private let _IGNPAR = tcflag_t(IGNPAR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:12:23: error: cannot find 'tcflag_t' in scope
10 | // input flags
11 | private let _IGNBRK = tcflag_t(IGNBRK)
12 | private let _BRKINT = tcflag_t(BRKINT)
| `- error: cannot find 'tcflag_t' in scope
13 | private let _IGNPAR = tcflag_t(IGNPAR)
14 | private let _PARMRK = tcflag_t(PARMRK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:12:32: error: cannot find 'BRKINT' in scope
10 | // input flags
11 | private let _IGNBRK = tcflag_t(IGNBRK)
12 | private let _BRKINT = tcflag_t(BRKINT)
| `- error: cannot find 'BRKINT' in scope
13 | private let _IGNPAR = tcflag_t(IGNPAR)
14 | private let _PARMRK = tcflag_t(PARMRK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:13:23: error: cannot find 'tcflag_t' in scope
11 | private let _IGNBRK = tcflag_t(IGNBRK)
12 | private let _BRKINT = tcflag_t(BRKINT)
13 | private let _IGNPAR = tcflag_t(IGNPAR)
| `- error: cannot find 'tcflag_t' in scope
14 | private let _PARMRK = tcflag_t(PARMRK)
15 | private let _INPCK = tcflag_t(INPCK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:13:32: error: cannot find 'IGNPAR' in scope
11 | private let _IGNBRK = tcflag_t(IGNBRK)
12 | private let _BRKINT = tcflag_t(BRKINT)
13 | private let _IGNPAR = tcflag_t(IGNPAR)
| `- error: cannot find 'IGNPAR' in scope
14 | private let _PARMRK = tcflag_t(PARMRK)
15 | private let _INPCK = tcflag_t(INPCK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:14:23: error: cannot find 'tcflag_t' in scope
12 | private let _BRKINT = tcflag_t(BRKINT)
13 | private let _IGNPAR = tcflag_t(IGNPAR)
14 | private let _PARMRK = tcflag_t(PARMRK)
| `- error: cannot find 'tcflag_t' in scope
15 | private let _INPCK = tcflag_t(INPCK)
16 | private let _ISTRIP = tcflag_t(ISTRIP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:14:32: error: cannot find 'PARMRK' in scope
12 | private let _BRKINT = tcflag_t(BRKINT)
13 | private let _IGNPAR = tcflag_t(IGNPAR)
14 | private let _PARMRK = tcflag_t(PARMRK)
| `- error: cannot find 'PARMRK' in scope
15 | private let _INPCK = tcflag_t(INPCK)
16 | private let _ISTRIP = tcflag_t(ISTRIP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:15:22: error: cannot find 'tcflag_t' in scope
13 | private let _IGNPAR = tcflag_t(IGNPAR)
14 | private let _PARMRK = tcflag_t(PARMRK)
15 | private let _INPCK = tcflag_t(INPCK)
| `- error: cannot find 'tcflag_t' in scope
16 | private let _ISTRIP = tcflag_t(ISTRIP)
17 | private let _INLCR = tcflag_t(INLCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:15:31: error: cannot find 'INPCK' in scope
13 | private let _IGNPAR = tcflag_t(IGNPAR)
14 | private let _PARMRK = tcflag_t(PARMRK)
15 | private let _INPCK = tcflag_t(INPCK)
| `- error: cannot find 'INPCK' in scope
16 | private let _ISTRIP = tcflag_t(ISTRIP)
17 | private let _INLCR = tcflag_t(INLCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:16:23: error: cannot find 'tcflag_t' in scope
14 | private let _PARMRK = tcflag_t(PARMRK)
15 | private let _INPCK = tcflag_t(INPCK)
16 | private let _ISTRIP = tcflag_t(ISTRIP)
| `- error: cannot find 'tcflag_t' in scope
17 | private let _INLCR = tcflag_t(INLCR)
18 | private let _IGNCR = tcflag_t(IGNCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:16:32: error: cannot find 'ISTRIP' in scope
14 | private let _PARMRK = tcflag_t(PARMRK)
15 | private let _INPCK = tcflag_t(INPCK)
16 | private let _ISTRIP = tcflag_t(ISTRIP)
| `- error: cannot find 'ISTRIP' in scope
17 | private let _INLCR = tcflag_t(INLCR)
18 | private let _IGNCR = tcflag_t(IGNCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:17:22: error: cannot find 'tcflag_t' in scope
15 | private let _INPCK = tcflag_t(INPCK)
16 | private let _ISTRIP = tcflag_t(ISTRIP)
17 | private let _INLCR = tcflag_t(INLCR)
| `- error: cannot find 'tcflag_t' in scope
18 | private let _IGNCR = tcflag_t(IGNCR)
19 | private let _ICRNL = tcflag_t(ICRNL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:17:31: error: cannot find 'INLCR' in scope
15 | private let _INPCK = tcflag_t(INPCK)
16 | private let _ISTRIP = tcflag_t(ISTRIP)
17 | private let _INLCR = tcflag_t(INLCR)
| `- error: cannot find 'INLCR' in scope
18 | private let _IGNCR = tcflag_t(IGNCR)
19 | private let _ICRNL = tcflag_t(ICRNL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:18:22: error: cannot find 'tcflag_t' in scope
16 | private let _ISTRIP = tcflag_t(ISTRIP)
17 | private let _INLCR = tcflag_t(INLCR)
18 | private let _IGNCR = tcflag_t(IGNCR)
| `- error: cannot find 'tcflag_t' in scope
19 | private let _ICRNL = tcflag_t(ICRNL)
20 | private let _IXON = tcflag_t(IXON)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:18:31: error: cannot find 'IGNCR' in scope
16 | private let _ISTRIP = tcflag_t(ISTRIP)
17 | private let _INLCR = tcflag_t(INLCR)
18 | private let _IGNCR = tcflag_t(IGNCR)
| `- error: cannot find 'IGNCR' in scope
19 | private let _ICRNL = tcflag_t(ICRNL)
20 | private let _IXON = tcflag_t(IXON)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:19:22: error: cannot find 'tcflag_t' in scope
17 | private let _INLCR = tcflag_t(INLCR)
18 | private let _IGNCR = tcflag_t(IGNCR)
19 | private let _ICRNL = tcflag_t(ICRNL)
| `- error: cannot find 'tcflag_t' in scope
20 | private let _IXON = tcflag_t(IXON)
21 | private let _IXOFF = tcflag_t(IXOFF)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:19:31: error: cannot find 'ICRNL' in scope
17 | private let _INLCR = tcflag_t(INLCR)
18 | private let _IGNCR = tcflag_t(IGNCR)
19 | private let _ICRNL = tcflag_t(ICRNL)
| `- error: cannot find 'ICRNL' in scope
20 | private let _IXON = tcflag_t(IXON)
21 | private let _IXOFF = tcflag_t(IXOFF)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:20:21: error: cannot find 'tcflag_t' in scope
18 | private let _IGNCR = tcflag_t(IGNCR)
19 | private let _ICRNL = tcflag_t(ICRNL)
20 | private let _IXON = tcflag_t(IXON)
| `- error: cannot find 'tcflag_t' in scope
21 | private let _IXOFF = tcflag_t(IXOFF)
22 | private let _IXANY = tcflag_t(IXANY)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:20:30: error: cannot find 'IXON' in scope
18 | private let _IGNCR = tcflag_t(IGNCR)
19 | private let _ICRNL = tcflag_t(ICRNL)
20 | private let _IXON = tcflag_t(IXON)
| `- error: cannot find 'IXON' in scope
21 | private let _IXOFF = tcflag_t(IXOFF)
22 | private let _IXANY = tcflag_t(IXANY)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:21:22: error: cannot find 'tcflag_t' in scope
19 | private let _ICRNL = tcflag_t(ICRNL)
20 | private let _IXON = tcflag_t(IXON)
21 | private let _IXOFF = tcflag_t(IXOFF)
| `- error: cannot find 'tcflag_t' in scope
22 | private let _IXANY = tcflag_t(IXANY)
23 | // output flags
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:21:31: error: cannot find 'IXOFF' in scope
19 | private let _ICRNL = tcflag_t(ICRNL)
20 | private let _IXON = tcflag_t(IXON)
21 | private let _IXOFF = tcflag_t(IXOFF)
| `- error: cannot find 'IXOFF' in scope
22 | private let _IXANY = tcflag_t(IXANY)
23 | // output flags
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:22:22: error: cannot find 'tcflag_t' in scope
20 | private let _IXON = tcflag_t(IXON)
21 | private let _IXOFF = tcflag_t(IXOFF)
22 | private let _IXANY = tcflag_t(IXANY)
| `- error: cannot find 'tcflag_t' in scope
23 | // output flags
24 | private let _OPOST = tcflag_t(OPOST)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:22:31: error: cannot find 'IXANY' in scope
20 | private let _IXON = tcflag_t(IXON)
21 | private let _IXOFF = tcflag_t(IXOFF)
22 | private let _IXANY = tcflag_t(IXANY)
| `- error: cannot find 'IXANY' in scope
23 | // output flags
24 | private let _OPOST = tcflag_t(OPOST)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:24:22: error: cannot find 'tcflag_t' in scope
22 | private let _IXANY = tcflag_t(IXANY)
23 | // output flags
24 | private let _OPOST = tcflag_t(OPOST)
| `- error: cannot find 'tcflag_t' in scope
25 | private let _ONLCR = tcflag_t(ONLCR)
26 | private let _OCRNL = tcflag_t(OCRNL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:24:31: error: cannot find 'OPOST' in scope
22 | private let _IXANY = tcflag_t(IXANY)
23 | // output flags
24 | private let _OPOST = tcflag_t(OPOST)
| `- error: cannot find 'OPOST' in scope
25 | private let _ONLCR = tcflag_t(ONLCR)
26 | private let _OCRNL = tcflag_t(OCRNL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:25:22: error: cannot find 'tcflag_t' in scope
23 | // output flags
24 | private let _OPOST = tcflag_t(OPOST)
25 | private let _ONLCR = tcflag_t(ONLCR)
| `- error: cannot find 'tcflag_t' in scope
26 | private let _OCRNL = tcflag_t(OCRNL)
27 | private let _ONOCR = tcflag_t(ONOCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:25:31: error: cannot find 'ONLCR' in scope
23 | // output flags
24 | private let _OPOST = tcflag_t(OPOST)
25 | private let _ONLCR = tcflag_t(ONLCR)
| `- error: cannot find 'ONLCR' in scope
26 | private let _OCRNL = tcflag_t(OCRNL)
27 | private let _ONOCR = tcflag_t(ONOCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:26:22: error: cannot find 'tcflag_t' in scope
24 | private let _OPOST = tcflag_t(OPOST)
25 | private let _ONLCR = tcflag_t(ONLCR)
26 | private let _OCRNL = tcflag_t(OCRNL)
| `- error: cannot find 'tcflag_t' in scope
27 | private let _ONOCR = tcflag_t(ONOCR)
28 | private let _ONLRET = tcflag_t(ONLRET)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:26:31: error: cannot find 'OCRNL' in scope
24 | private let _OPOST = tcflag_t(OPOST)
25 | private let _ONLCR = tcflag_t(ONLCR)
26 | private let _OCRNL = tcflag_t(OCRNL)
| `- error: cannot find 'OCRNL' in scope
27 | private let _ONOCR = tcflag_t(ONOCR)
28 | private let _ONLRET = tcflag_t(ONLRET)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:27:22: error: cannot find 'tcflag_t' in scope
25 | private let _ONLCR = tcflag_t(ONLCR)
26 | private let _OCRNL = tcflag_t(OCRNL)
27 | private let _ONOCR = tcflag_t(ONOCR)
| `- error: cannot find 'tcflag_t' in scope
28 | private let _ONLRET = tcflag_t(ONLRET)
29 | // control flags
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:27:31: error: cannot find 'ONOCR' in scope
25 | private let _ONLCR = tcflag_t(ONLCR)
26 | private let _OCRNL = tcflag_t(OCRNL)
27 | private let _ONOCR = tcflag_t(ONOCR)
| `- error: cannot find 'ONOCR' in scope
28 | private let _ONLRET = tcflag_t(ONLRET)
29 | // control flags
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:28:23: error: cannot find 'tcflag_t' in scope
26 | private let _OCRNL = tcflag_t(OCRNL)
27 | private let _ONOCR = tcflag_t(ONOCR)
28 | private let _ONLRET = tcflag_t(ONLRET)
| `- error: cannot find 'tcflag_t' in scope
29 | // control flags
30 | private let _CSIZE = tcflag_t(CSIZE)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:28:32: error: cannot find 'ONLRET' in scope
26 | private let _OCRNL = tcflag_t(OCRNL)
27 | private let _ONOCR = tcflag_t(ONOCR)
28 | private let _ONLRET = tcflag_t(ONLRET)
| `- error: cannot find 'ONLRET' in scope
29 | // control flags
30 | private let _CSIZE = tcflag_t(CSIZE)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:30:22: error: cannot find 'tcflag_t' in scope
28 | private let _ONLRET = tcflag_t(ONLRET)
29 | // control flags
30 | private let _CSIZE = tcflag_t(CSIZE)
| `- error: cannot find 'tcflag_t' in scope
31 | private let _CS5 = tcflag_t(CS5)
32 | private let _CS6 = tcflag_t(CS6)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:30:31: error: cannot find 'CSIZE' in scope
28 | private let _ONLRET = tcflag_t(ONLRET)
29 | // control flags
30 | private let _CSIZE = tcflag_t(CSIZE)
| `- error: cannot find 'CSIZE' in scope
31 | private let _CS5 = tcflag_t(CS5)
32 | private let _CS6 = tcflag_t(CS6)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:31:20: error: cannot find 'tcflag_t' in scope
29 | // control flags
30 | private let _CSIZE = tcflag_t(CSIZE)
31 | private let _CS5 = tcflag_t(CS5)
| `- error: cannot find 'tcflag_t' in scope
32 | private let _CS6 = tcflag_t(CS6)
33 | private let _CS7 = tcflag_t(CS7)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:31:29: error: cannot find 'CS5' in scope
29 | // control flags
30 | private let _CSIZE = tcflag_t(CSIZE)
31 | private let _CS5 = tcflag_t(CS5)
| `- error: cannot find 'CS5' in scope
32 | private let _CS6 = tcflag_t(CS6)
33 | private let _CS7 = tcflag_t(CS7)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:32:20: error: cannot find 'tcflag_t' in scope
30 | private let _CSIZE = tcflag_t(CSIZE)
31 | private let _CS5 = tcflag_t(CS5)
32 | private let _CS6 = tcflag_t(CS6)
| `- error: cannot find 'tcflag_t' in scope
33 | private let _CS7 = tcflag_t(CS7)
34 | private let _CS8 = tcflag_t(CS8)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:32:29: error: cannot find 'CS6' in scope
30 | private let _CSIZE = tcflag_t(CSIZE)
31 | private let _CS5 = tcflag_t(CS5)
32 | private let _CS6 = tcflag_t(CS6)
| `- error: cannot find 'CS6' in scope
33 | private let _CS7 = tcflag_t(CS7)
34 | private let _CS8 = tcflag_t(CS8)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:33:20: error: cannot find 'tcflag_t' in scope
31 | private let _CS5 = tcflag_t(CS5)
32 | private let _CS6 = tcflag_t(CS6)
33 | private let _CS7 = tcflag_t(CS7)
| `- error: cannot find 'tcflag_t' in scope
34 | private let _CS8 = tcflag_t(CS8)
35 | private let _CSTOPB = tcflag_t(CSTOPB)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:33:29: error: cannot find 'CS7' in scope
31 | private let _CS5 = tcflag_t(CS5)
32 | private let _CS6 = tcflag_t(CS6)
33 | private let _CS7 = tcflag_t(CS7)
| `- error: cannot find 'CS7' in scope
34 | private let _CS8 = tcflag_t(CS8)
35 | private let _CSTOPB = tcflag_t(CSTOPB)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:34:20: error: cannot find 'tcflag_t' in scope
32 | private let _CS6 = tcflag_t(CS6)
33 | private let _CS7 = tcflag_t(CS7)
34 | private let _CS8 = tcflag_t(CS8)
| `- error: cannot find 'tcflag_t' in scope
35 | private let _CSTOPB = tcflag_t(CSTOPB)
36 | private let _CREAD = tcflag_t(CREAD)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:34:29: error: cannot find 'CS8' in scope
32 | private let _CS6 = tcflag_t(CS6)
33 | private let _CS7 = tcflag_t(CS7)
34 | private let _CS8 = tcflag_t(CS8)
| `- error: cannot find 'CS8' in scope
35 | private let _CSTOPB = tcflag_t(CSTOPB)
36 | private let _CREAD = tcflag_t(CREAD)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:35:23: error: cannot find 'tcflag_t' in scope
33 | private let _CS7 = tcflag_t(CS7)
34 | private let _CS8 = tcflag_t(CS8)
35 | private let _CSTOPB = tcflag_t(CSTOPB)
| `- error: cannot find 'tcflag_t' in scope
36 | private let _CREAD = tcflag_t(CREAD)
37 | private let _PARENB = tcflag_t(PARENB)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:35:32: error: cannot find 'CSTOPB' in scope
33 | private let _CS7 = tcflag_t(CS7)
34 | private let _CS8 = tcflag_t(CS8)
35 | private let _CSTOPB = tcflag_t(CSTOPB)
| `- error: cannot find 'CSTOPB' in scope
36 | private let _CREAD = tcflag_t(CREAD)
37 | private let _PARENB = tcflag_t(PARENB)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:36:22: error: cannot find 'tcflag_t' in scope
34 | private let _CS8 = tcflag_t(CS8)
35 | private let _CSTOPB = tcflag_t(CSTOPB)
36 | private let _CREAD = tcflag_t(CREAD)
| `- error: cannot find 'tcflag_t' in scope
37 | private let _PARENB = tcflag_t(PARENB)
38 | private let _PARODD = tcflag_t(PARODD)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:36:31: error: cannot find 'CREAD' in scope
34 | private let _CS8 = tcflag_t(CS8)
35 | private let _CSTOPB = tcflag_t(CSTOPB)
36 | private let _CREAD = tcflag_t(CREAD)
| `- error: cannot find 'CREAD' in scope
37 | private let _PARENB = tcflag_t(PARENB)
38 | private let _PARODD = tcflag_t(PARODD)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:37:23: error: cannot find 'tcflag_t' in scope
35 | private let _CSTOPB = tcflag_t(CSTOPB)
36 | private let _CREAD = tcflag_t(CREAD)
37 | private let _PARENB = tcflag_t(PARENB)
| `- error: cannot find 'tcflag_t' in scope
38 | private let _PARODD = tcflag_t(PARODD)
39 | private let _HUPCL = tcflag_t(HUPCL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:37:32: error: cannot find 'PARENB' in scope
35 | private let _CSTOPB = tcflag_t(CSTOPB)
36 | private let _CREAD = tcflag_t(CREAD)
37 | private let _PARENB = tcflag_t(PARENB)
| `- error: cannot find 'PARENB' in scope
38 | private let _PARODD = tcflag_t(PARODD)
39 | private let _HUPCL = tcflag_t(HUPCL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:38:23: error: cannot find 'tcflag_t' in scope
36 | private let _CREAD = tcflag_t(CREAD)
37 | private let _PARENB = tcflag_t(PARENB)
38 | private let _PARODD = tcflag_t(PARODD)
| `- error: cannot find 'tcflag_t' in scope
39 | private let _HUPCL = tcflag_t(HUPCL)
40 | private let _CLOCAL = tcflag_t(CLOCAL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:38:32: error: cannot find 'PARODD' in scope
36 | private let _CREAD = tcflag_t(CREAD)
37 | private let _PARENB = tcflag_t(PARENB)
38 | private let _PARODD = tcflag_t(PARODD)
| `- error: cannot find 'PARODD' in scope
39 | private let _HUPCL = tcflag_t(HUPCL)
40 | private let _CLOCAL = tcflag_t(CLOCAL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:39:22: error: cannot find 'tcflag_t' in scope
37 | private let _PARENB = tcflag_t(PARENB)
38 | private let _PARODD = tcflag_t(PARODD)
39 | private let _HUPCL = tcflag_t(HUPCL)
| `- error: cannot find 'tcflag_t' in scope
40 | private let _CLOCAL = tcflag_t(CLOCAL)
41 | // local flags
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:39:31: error: cannot find 'HUPCL' in scope
37 | private let _PARENB = tcflag_t(PARENB)
38 | private let _PARODD = tcflag_t(PARODD)
39 | private let _HUPCL = tcflag_t(HUPCL)
| `- error: cannot find 'HUPCL' in scope
40 | private let _CLOCAL = tcflag_t(CLOCAL)
41 | // local flags
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:40:23: error: cannot find 'tcflag_t' in scope
38 | private let _PARODD = tcflag_t(PARODD)
39 | private let _HUPCL = tcflag_t(HUPCL)
40 | private let _CLOCAL = tcflag_t(CLOCAL)
| `- error: cannot find 'tcflag_t' in scope
41 | // local flags
42 | private let _ECHO = tcflag_t(ECHO)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:40:32: error: cannot find 'CLOCAL' in scope
38 | private let _PARODD = tcflag_t(PARODD)
39 | private let _HUPCL = tcflag_t(HUPCL)
40 | private let _CLOCAL = tcflag_t(CLOCAL)
| `- error: cannot find 'CLOCAL' in scope
41 | // local flags
42 | private let _ECHO = tcflag_t(ECHO)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:42:21: error: cannot find 'tcflag_t' in scope
40 | private let _CLOCAL = tcflag_t(CLOCAL)
41 | // local flags
42 | private let _ECHO = tcflag_t(ECHO)
| `- error: cannot find 'tcflag_t' in scope
43 | private let _ECHOE = tcflag_t(ECHOE)
44 | private let _ECHOK = tcflag_t(ECHOK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:42:30: error: cannot find 'ECHO' in scope
40 | private let _CLOCAL = tcflag_t(CLOCAL)
41 | // local flags
42 | private let _ECHO = tcflag_t(ECHO)
| `- error: cannot find 'ECHO' in scope
43 | private let _ECHOE = tcflag_t(ECHOE)
44 | private let _ECHOK = tcflag_t(ECHOK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:43:22: error: cannot find 'tcflag_t' in scope
41 | // local flags
42 | private let _ECHO = tcflag_t(ECHO)
43 | private let _ECHOE = tcflag_t(ECHOE)
| `- error: cannot find 'tcflag_t' in scope
44 | private let _ECHOK = tcflag_t(ECHOK)
45 | private let _ECHONL = tcflag_t(ECHONL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:43:31: error: cannot find 'ECHOE' in scope
41 | // local flags
42 | private let _ECHO = tcflag_t(ECHO)
43 | private let _ECHOE = tcflag_t(ECHOE)
| `- error: cannot find 'ECHOE' in scope
44 | private let _ECHOK = tcflag_t(ECHOK)
45 | private let _ECHONL = tcflag_t(ECHONL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:44:22: error: cannot find 'tcflag_t' in scope
42 | private let _ECHO = tcflag_t(ECHO)
43 | private let _ECHOE = tcflag_t(ECHOE)
44 | private let _ECHOK = tcflag_t(ECHOK)
| `- error: cannot find 'tcflag_t' in scope
45 | private let _ECHONL = tcflag_t(ECHONL)
46 | private let _ICANON = tcflag_t(ICANON)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:44:31: error: cannot find 'ECHOK' in scope
42 | private let _ECHO = tcflag_t(ECHO)
43 | private let _ECHOE = tcflag_t(ECHOE)
44 | private let _ECHOK = tcflag_t(ECHOK)
| `- error: cannot find 'ECHOK' in scope
45 | private let _ECHONL = tcflag_t(ECHONL)
46 | private let _ICANON = tcflag_t(ICANON)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:45:23: error: cannot find 'tcflag_t' in scope
43 | private let _ECHOE = tcflag_t(ECHOE)
44 | private let _ECHOK = tcflag_t(ECHOK)
45 | private let _ECHONL = tcflag_t(ECHONL)
| `- error: cannot find 'tcflag_t' in scope
46 | private let _ICANON = tcflag_t(ICANON)
47 | private let _ISIG = tcflag_t(ISIG)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:45:32: error: cannot find 'ECHONL' in scope
43 | private let _ECHOE = tcflag_t(ECHOE)
44 | private let _ECHOK = tcflag_t(ECHOK)
45 | private let _ECHONL = tcflag_t(ECHONL)
| `- error: cannot find 'ECHONL' in scope
46 | private let _ICANON = tcflag_t(ICANON)
47 | private let _ISIG = tcflag_t(ISIG)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:46:23: error: cannot find 'tcflag_t' in scope
44 | private let _ECHOK = tcflag_t(ECHOK)
45 | private let _ECHONL = tcflag_t(ECHONL)
46 | private let _ICANON = tcflag_t(ICANON)
| `- error: cannot find 'tcflag_t' in scope
47 | private let _ISIG = tcflag_t(ISIG)
48 | private let _IEXTEN = tcflag_t(IEXTEN)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:46:32: error: cannot find 'ICANON' in scope
44 | private let _ECHOK = tcflag_t(ECHOK)
45 | private let _ECHONL = tcflag_t(ECHONL)
46 | private let _ICANON = tcflag_t(ICANON)
| `- error: cannot find 'ICANON' in scope
47 | private let _ISIG = tcflag_t(ISIG)
48 | private let _IEXTEN = tcflag_t(IEXTEN)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:47:21: error: cannot find 'tcflag_t' in scope
45 | private let _ECHONL = tcflag_t(ECHONL)
46 | private let _ICANON = tcflag_t(ICANON)
47 | private let _ISIG = tcflag_t(ISIG)
| `- error: cannot find 'tcflag_t' in scope
48 | private let _IEXTEN = tcflag_t(IEXTEN)
49 | private let _NOFLSH = tcflag_t(NOFLSH)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:47:30: error: cannot find 'ISIG' in scope
45 | private let _ECHONL = tcflag_t(ECHONL)
46 | private let _ICANON = tcflag_t(ICANON)
47 | private let _ISIG = tcflag_t(ISIG)
| `- error: cannot find 'ISIG' in scope
48 | private let _IEXTEN = tcflag_t(IEXTEN)
49 | private let _NOFLSH = tcflag_t(NOFLSH)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:48:23: error: cannot find 'tcflag_t' in scope
46 | private let _ICANON = tcflag_t(ICANON)
47 | private let _ISIG = tcflag_t(ISIG)
48 | private let _IEXTEN = tcflag_t(IEXTEN)
| `- error: cannot find 'tcflag_t' in scope
49 | private let _NOFLSH = tcflag_t(NOFLSH)
50 | private let _TOSTOP = tcflag_t(TOSTOP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:48:32: error: cannot find 'IEXTEN' in scope
46 | private let _ICANON = tcflag_t(ICANON)
47 | private let _ISIG = tcflag_t(ISIG)
48 | private let _IEXTEN = tcflag_t(IEXTEN)
| `- error: cannot find 'IEXTEN' in scope
49 | private let _NOFLSH = tcflag_t(NOFLSH)
50 | private let _TOSTOP = tcflag_t(TOSTOP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:49:23: error: cannot find 'tcflag_t' in scope
47 | private let _ISIG = tcflag_t(ISIG)
48 | private let _IEXTEN = tcflag_t(IEXTEN)
49 | private let _NOFLSH = tcflag_t(NOFLSH)
| `- error: cannot find 'tcflag_t' in scope
50 | private let _TOSTOP = tcflag_t(TOSTOP)
51 | // control characters
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:49:32: error: cannot find 'NOFLSH' in scope
47 | private let _ISIG = tcflag_t(ISIG)
48 | private let _IEXTEN = tcflag_t(IEXTEN)
49 | private let _NOFLSH = tcflag_t(NOFLSH)
| `- error: cannot find 'NOFLSH' in scope
50 | private let _TOSTOP = tcflag_t(TOSTOP)
51 | // control characters
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:50:23: error: cannot find 'tcflag_t' in scope
48 | private let _IEXTEN = tcflag_t(IEXTEN)
49 | private let _NOFLSH = tcflag_t(NOFLSH)
50 | private let _TOSTOP = tcflag_t(TOSTOP)
| `- error: cannot find 'tcflag_t' in scope
51 | // control characters
52 | private let _VEOF = Int(VEOF)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:50:32: error: cannot find 'TOSTOP' in scope
48 | private let _IEXTEN = tcflag_t(IEXTEN)
49 | private let _NOFLSH = tcflag_t(NOFLSH)
50 | private let _TOSTOP = tcflag_t(TOSTOP)
| `- error: cannot find 'TOSTOP' in scope
51 | // control characters
52 | private let _VEOF = Int(VEOF)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:52:25: error: cannot find 'VEOF' in scope
50 | private let _TOSTOP = tcflag_t(TOSTOP)
51 | // control characters
52 | private let _VEOF = Int(VEOF)
| `- error: cannot find 'VEOF' in scope
53 | private let _VEOL = Int(VEOL)
54 | private let _VERASE = Int(VERASE)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:53:25: error: cannot find 'VEOL' in scope
51 | // control characters
52 | private let _VEOF = Int(VEOF)
53 | private let _VEOL = Int(VEOL)
| `- error: cannot find 'VEOL' in scope
54 | private let _VERASE = Int(VERASE)
55 | private let _VINTR = Int(VINTR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:54:27: error: cannot find 'VERASE' in scope
52 | private let _VEOF = Int(VEOF)
53 | private let _VEOL = Int(VEOL)
54 | private let _VERASE = Int(VERASE)
| `- error: cannot find 'VERASE' in scope
55 | private let _VINTR = Int(VINTR)
56 | private let _VKILL = Int(VKILL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:55:26: error: cannot find 'VINTR' in scope
53 | private let _VEOL = Int(VEOL)
54 | private let _VERASE = Int(VERASE)
55 | private let _VINTR = Int(VINTR)
| `- error: cannot find 'VINTR' in scope
56 | private let _VKILL = Int(VKILL)
57 | private let _VMIN = Int(VMIN)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:56:26: error: cannot find 'VKILL' in scope
54 | private let _VERASE = Int(VERASE)
55 | private let _VINTR = Int(VINTR)
56 | private let _VKILL = Int(VKILL)
| `- error: cannot find 'VKILL' in scope
57 | private let _VMIN = Int(VMIN)
58 | private let _VQUIT = Int(VQUIT)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:57:25: error: cannot find 'VMIN' in scope
55 | private let _VINTR = Int(VINTR)
56 | private let _VKILL = Int(VKILL)
57 | private let _VMIN = Int(VMIN)
| `- error: cannot find 'VMIN' in scope
58 | private let _VQUIT = Int(VQUIT)
59 | private let _VSTART = Int(VSTART)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:58:26: error: cannot find 'VQUIT' in scope
56 | private let _VKILL = Int(VKILL)
57 | private let _VMIN = Int(VMIN)
58 | private let _VQUIT = Int(VQUIT)
| `- error: cannot find 'VQUIT' in scope
59 | private let _VSTART = Int(VSTART)
60 | private let _VSTOP = Int(VSTOP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:59:27: error: cannot find 'VSTART' in scope
57 | private let _VMIN = Int(VMIN)
58 | private let _VQUIT = Int(VQUIT)
59 | private let _VSTART = Int(VSTART)
| `- error: cannot find 'VSTART' in scope
60 | private let _VSTOP = Int(VSTOP)
61 | private let _VSUSP = Int(VSUSP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:60:26: error: cannot find 'VSTOP' in scope
58 | private let _VQUIT = Int(VQUIT)
59 | private let _VSTART = Int(VSTART)
60 | private let _VSTOP = Int(VSTOP)
| `- error: cannot find 'VSTOP' in scope
61 | private let _VSUSP = Int(VSUSP)
62 | private let _VTIME = Int(VTIME)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:61:26: error: cannot find 'VSUSP' in scope
59 | private let _VSTART = Int(VSTART)
60 | private let _VSTOP = Int(VSTOP)
61 | private let _VSUSP = Int(VSUSP)
| `- error: cannot find 'VSUSP' in scope
62 | private let _VTIME = Int(VTIME)
63 | // baud rates
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:62:26: error: cannot find 'VTIME' in scope
60 | private let _VSTOP = Int(VSTOP)
61 | private let _VSUSP = Int(VSUSP)
62 | private let _VTIME = Int(VTIME)
| `- error: cannot find 'VTIME' in scope
63 | // baud rates
64 | private let _B0 = speed_t(B0)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:64:19: error: cannot find 'speed_t' in scope
62 | private let _VTIME = Int(VTIME)
63 | // baud rates
64 | private let _B0 = speed_t(B0)
| `- error: cannot find 'speed_t' in scope
65 | private let _B50 = speed_t(B50)
66 | private let _B75 = speed_t(B75)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:64:27: error: cannot find 'B0' in scope
62 | private let _VTIME = Int(VTIME)
63 | // baud rates
64 | private let _B0 = speed_t(B0)
| `- error: cannot find 'B0' in scope
65 | private let _B50 = speed_t(B50)
66 | private let _B75 = speed_t(B75)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:65:20: error: cannot find 'speed_t' in scope
63 | // baud rates
64 | private let _B0 = speed_t(B0)
65 | private let _B50 = speed_t(B50)
| `- error: cannot find 'speed_t' in scope
66 | private let _B75 = speed_t(B75)
67 | private let _B110 = speed_t(B110)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:65:28: error: cannot find 'B50' in scope
63 | // baud rates
64 | private let _B0 = speed_t(B0)
65 | private let _B50 = speed_t(B50)
| `- error: cannot find 'B50' in scope
66 | private let _B75 = speed_t(B75)
67 | private let _B110 = speed_t(B110)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:66:20: error: cannot find 'speed_t' in scope
64 | private let _B0 = speed_t(B0)
65 | private let _B50 = speed_t(B50)
66 | private let _B75 = speed_t(B75)
| `- error: cannot find 'speed_t' in scope
67 | private let _B110 = speed_t(B110)
68 | private let _B134 = speed_t(B134)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:66:28: error: cannot find 'B75' in scope
64 | private let _B0 = speed_t(B0)
65 | private let _B50 = speed_t(B50)
66 | private let _B75 = speed_t(B75)
| `- error: cannot find 'B75' in scope
67 | private let _B110 = speed_t(B110)
68 | private let _B134 = speed_t(B134)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:67:21: error: cannot find 'speed_t' in scope
65 | private let _B50 = speed_t(B50)
66 | private let _B75 = speed_t(B75)
67 | private let _B110 = speed_t(B110)
| `- error: cannot find 'speed_t' in scope
68 | private let _B134 = speed_t(B134)
69 | private let _B150 = speed_t(B150)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:67:29: error: cannot find 'B110' in scope
65 | private let _B50 = speed_t(B50)
66 | private let _B75 = speed_t(B75)
67 | private let _B110 = speed_t(B110)
| `- error: cannot find 'B110' in scope
68 | private let _B134 = speed_t(B134)
69 | private let _B150 = speed_t(B150)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:68:21: error: cannot find 'speed_t' in scope
66 | private let _B75 = speed_t(B75)
67 | private let _B110 = speed_t(B110)
68 | private let _B134 = speed_t(B134)
| `- error: cannot find 'speed_t' in scope
69 | private let _B150 = speed_t(B150)
70 | private let _B200 = speed_t(B200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:68:29: error: cannot find 'B134' in scope
66 | private let _B75 = speed_t(B75)
67 | private let _B110 = speed_t(B110)
68 | private let _B134 = speed_t(B134)
| `- error: cannot find 'B134' in scope
69 | private let _B150 = speed_t(B150)
70 | private let _B200 = speed_t(B200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:69:21: error: cannot find 'speed_t' in scope
67 | private let _B110 = speed_t(B110)
68 | private let _B134 = speed_t(B134)
69 | private let _B150 = speed_t(B150)
| `- error: cannot find 'speed_t' in scope
70 | private let _B200 = speed_t(B200)
71 | private let _B300 = speed_t(B300)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:69:29: error: cannot find 'B150' in scope
67 | private let _B110 = speed_t(B110)
68 | private let _B134 = speed_t(B134)
69 | private let _B150 = speed_t(B150)
| `- error: cannot find 'B150' in scope
70 | private let _B200 = speed_t(B200)
71 | private let _B300 = speed_t(B300)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:70:21: error: cannot find 'speed_t' in scope
68 | private let _B134 = speed_t(B134)
69 | private let _B150 = speed_t(B150)
70 | private let _B200 = speed_t(B200)
| `- error: cannot find 'speed_t' in scope
71 | private let _B300 = speed_t(B300)
72 | private let _B600 = speed_t(B600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:70:29: error: cannot find 'B200' in scope
68 | private let _B134 = speed_t(B134)
69 | private let _B150 = speed_t(B150)
70 | private let _B200 = speed_t(B200)
| `- error: cannot find 'B200' in scope
71 | private let _B300 = speed_t(B300)
72 | private let _B600 = speed_t(B600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:71:21: error: cannot find 'speed_t' in scope
69 | private let _B150 = speed_t(B150)
70 | private let _B200 = speed_t(B200)
71 | private let _B300 = speed_t(B300)
| `- error: cannot find 'speed_t' in scope
72 | private let _B600 = speed_t(B600)
73 | private let _B1200 = speed_t(B1200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:71:29: error: cannot find 'B300' in scope
69 | private let _B150 = speed_t(B150)
70 | private let _B200 = speed_t(B200)
71 | private let _B300 = speed_t(B300)
| `- error: cannot find 'B300' in scope
72 | private let _B600 = speed_t(B600)
73 | private let _B1200 = speed_t(B1200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:72:21: error: cannot find 'speed_t' in scope
70 | private let _B200 = speed_t(B200)
71 | private let _B300 = speed_t(B300)
72 | private let _B600 = speed_t(B600)
| `- error: cannot find 'speed_t' in scope
73 | private let _B1200 = speed_t(B1200)
74 | private let _B1800 = speed_t(B1800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:72:29: error: cannot find 'B600' in scope
70 | private let _B200 = speed_t(B200)
71 | private let _B300 = speed_t(B300)
72 | private let _B600 = speed_t(B600)
| `- error: cannot find 'B600' in scope
73 | private let _B1200 = speed_t(B1200)
74 | private let _B1800 = speed_t(B1800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:73:22: error: cannot find 'speed_t' in scope
71 | private let _B300 = speed_t(B300)
72 | private let _B600 = speed_t(B600)
73 | private let _B1200 = speed_t(B1200)
| `- error: cannot find 'speed_t' in scope
74 | private let _B1800 = speed_t(B1800)
75 | private let _B2400 = speed_t(B2400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:73:30: error: cannot find 'B1200' in scope
71 | private let _B300 = speed_t(B300)
72 | private let _B600 = speed_t(B600)
73 | private let _B1200 = speed_t(B1200)
| `- error: cannot find 'B1200' in scope
74 | private let _B1800 = speed_t(B1800)
75 | private let _B2400 = speed_t(B2400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:74:22: error: cannot find 'speed_t' in scope
72 | private let _B600 = speed_t(B600)
73 | private let _B1200 = speed_t(B1200)
74 | private let _B1800 = speed_t(B1800)
| `- error: cannot find 'speed_t' in scope
75 | private let _B2400 = speed_t(B2400)
76 | private let _B4800 = speed_t(B4800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:74:30: error: cannot find 'B1800' in scope
72 | private let _B600 = speed_t(B600)
73 | private let _B1200 = speed_t(B1200)
74 | private let _B1800 = speed_t(B1800)
| `- error: cannot find 'B1800' in scope
75 | private let _B2400 = speed_t(B2400)
76 | private let _B4800 = speed_t(B4800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:75:22: error: cannot find 'speed_t' in scope
73 | private let _B1200 = speed_t(B1200)
74 | private let _B1800 = speed_t(B1800)
75 | private let _B2400 = speed_t(B2400)
| `- error: cannot find 'speed_t' in scope
76 | private let _B4800 = speed_t(B4800)
77 | private let _B9600 = speed_t(B9600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:75:30: error: cannot find 'B2400' in scope
73 | private let _B1200 = speed_t(B1200)
74 | private let _B1800 = speed_t(B1800)
75 | private let _B2400 = speed_t(B2400)
| `- error: cannot find 'B2400' in scope
76 | private let _B4800 = speed_t(B4800)
77 | private let _B9600 = speed_t(B9600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:76:22: error: cannot find 'speed_t' in scope
74 | private let _B1800 = speed_t(B1800)
75 | private let _B2400 = speed_t(B2400)
76 | private let _B4800 = speed_t(B4800)
| `- error: cannot find 'speed_t' in scope
77 | private let _B9600 = speed_t(B9600)
78 | private let _B19200 = speed_t(B19200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:76:30: error: cannot find 'B4800' in scope
74 | private let _B1800 = speed_t(B1800)
75 | private let _B2400 = speed_t(B2400)
76 | private let _B4800 = speed_t(B4800)
| `- error: cannot find 'B4800' in scope
77 | private let _B9600 = speed_t(B9600)
78 | private let _B19200 = speed_t(B19200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:77:22: error: cannot find 'speed_t' in scope
75 | private let _B2400 = speed_t(B2400)
76 | private let _B4800 = speed_t(B4800)
77 | private let _B9600 = speed_t(B9600)
| `- error: cannot find 'speed_t' in scope
78 | private let _B19200 = speed_t(B19200)
79 | private let _B38400 = speed_t(B38400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:77:30: error: cannot find 'B9600' in scope
75 | private let _B2400 = speed_t(B2400)
76 | private let _B4800 = speed_t(B4800)
77 | private let _B9600 = speed_t(B9600)
| `- error: cannot find 'B9600' in scope
78 | private let _B19200 = speed_t(B19200)
79 | private let _B38400 = speed_t(B38400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:78:23: error: cannot find 'speed_t' in scope
76 | private let _B4800 = speed_t(B4800)
77 | private let _B9600 = speed_t(B9600)
78 | private let _B19200 = speed_t(B19200)
| `- error: cannot find 'speed_t' in scope
79 | private let _B38400 = speed_t(B38400)
80 | private let _B57600 = speed_t(B57600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:78:31: error: cannot find 'B19200' in scope
76 | private let _B4800 = speed_t(B4800)
77 | private let _B9600 = speed_t(B9600)
78 | private let _B19200 = speed_t(B19200)
| `- error: cannot find 'B19200' in scope
79 | private let _B38400 = speed_t(B38400)
80 | private let _B57600 = speed_t(B57600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:79:23: error: cannot find 'speed_t' in scope
77 | private let _B9600 = speed_t(B9600)
78 | private let _B19200 = speed_t(B19200)
79 | private let _B38400 = speed_t(B38400)
| `- error: cannot find 'speed_t' in scope
80 | private let _B57600 = speed_t(B57600)
81 | private let _B115200 = speed_t(B115200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:79:31: error: cannot find 'B38400' in scope
77 | private let _B9600 = speed_t(B9600)
78 | private let _B19200 = speed_t(B19200)
79 | private let _B38400 = speed_t(B38400)
| `- error: cannot find 'B38400' in scope
80 | private let _B57600 = speed_t(B57600)
81 | private let _B115200 = speed_t(B115200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:80:23: error: cannot find 'speed_t' in scope
78 | private let _B19200 = speed_t(B19200)
79 | private let _B38400 = speed_t(B38400)
80 | private let _B57600 = speed_t(B57600)
| `- error: cannot find 'speed_t' in scope
81 | private let _B115200 = speed_t(B115200)
82 | private let _B230400 = speed_t(B230400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:80:31: error: cannot find 'B57600' in scope
78 | private let _B19200 = speed_t(B19200)
79 | private let _B38400 = speed_t(B38400)
80 | private let _B57600 = speed_t(B57600)
| `- error: cannot find 'B57600' in scope
81 | private let _B115200 = speed_t(B115200)
82 | private let _B230400 = speed_t(B230400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:81:24: error: cannot find 'speed_t' in scope
79 | private let _B38400 = speed_t(B38400)
80 | private let _B57600 = speed_t(B57600)
81 | private let _B115200 = speed_t(B115200)
| `- error: cannot find 'speed_t' in scope
82 | private let _B230400 = speed_t(B230400)
83 | // tcsetattr actions
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:81:32: error: cannot find 'B115200' in scope
79 | private let _B38400 = speed_t(B38400)
80 | private let _B57600 = speed_t(B57600)
81 | private let _B115200 = speed_t(B115200)
| `- error: cannot find 'B115200' in scope
82 | private let _B230400 = speed_t(B230400)
83 | // tcsetattr actions
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:82:24: error: cannot find 'speed_t' in scope
80 | private let _B57600 = speed_t(B57600)
81 | private let _B115200 = speed_t(B115200)
82 | private let _B230400 = speed_t(B230400)
| `- error: cannot find 'speed_t' in scope
83 | // tcsetattr actions
84 | private let _TCSANOW = TCSANOW
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:82:32: error: cannot find 'B230400' in scope
80 | private let _B57600 = speed_t(B57600)
81 | private let _B115200 = speed_t(B115200)
82 | private let _B230400 = speed_t(B230400)
| `- error: cannot find 'B230400' in scope
83 | // tcsetattr actions
84 | private let _TCSANOW = TCSANOW
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:84:24: error: cannot find 'TCSANOW' in scope
82 | private let _B230400 = speed_t(B230400)
83 | // tcsetattr actions
84 | private let _TCSANOW = TCSANOW
| `- error: cannot find 'TCSANOW' in scope
85 | private let _TCSADRAIN = TCSADRAIN
86 | private let _TCSAFLUSH = TCSAFLUSH
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:85:26: error: cannot find 'TCSADRAIN' in scope
83 | // tcsetattr actions
84 | private let _TCSANOW = TCSANOW
85 | private let _TCSADRAIN = TCSADRAIN
| `- error: cannot find 'TCSADRAIN' in scope
86 | private let _TCSAFLUSH = TCSAFLUSH
87 | // tcflush queues
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:86:26: error: cannot find 'TCSAFLUSH' in scope
84 | private let _TCSANOW = TCSANOW
85 | private let _TCSADRAIN = TCSADRAIN
86 | private let _TCSAFLUSH = TCSAFLUSH
| `- error: cannot find 'TCSAFLUSH' in scope
87 | // tcflush queues
88 | private let _TCIFLUSH = TCIFLUSH
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:88:25: error: cannot find 'TCIFLUSH' in scope
86 | private let _TCSAFLUSH = TCSAFLUSH
87 | // tcflush queues
88 | private let _TCIFLUSH = TCIFLUSH
| `- error: cannot find 'TCIFLUSH' in scope
89 | private let _TCOFLUSH = TCOFLUSH
90 | private let _TCIOFLUSH = TCIOFLUSH
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:89:25: error: cannot find 'TCOFLUSH' in scope
87 | // tcflush queues
88 | private let _TCIFLUSH = TCIFLUSH
89 | private let _TCOFLUSH = TCOFLUSH
| `- error: cannot find 'TCOFLUSH' in scope
90 | private let _TCIOFLUSH = TCIOFLUSH
91 | // tcflow actions
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:90:26: error: cannot find 'TCIOFLUSH' in scope
88 | private let _TCIFLUSH = TCIFLUSH
89 | private let _TCOFLUSH = TCOFLUSH
90 | private let _TCIOFLUSH = TCIOFLUSH
| `- error: cannot find 'TCIOFLUSH' in scope
91 | // tcflow actions
92 | private let _TCOOFF = TCOOFF
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:92:23: error: cannot find 'TCOOFF' in scope
90 | private let _TCIOFLUSH = TCIOFLUSH
91 | // tcflow actions
92 | private let _TCOOFF = TCOOFF
| `- error: cannot find 'TCOOFF' in scope
93 | private let _TCOON = TCOON
94 | private let _TCIOFF = TCIOFF
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:93:22: error: cannot find 'TCOON' in scope
91 | // tcflow actions
92 | private let _TCOOFF = TCOOFF
93 | private let _TCOON = TCOON
| `- error: cannot find 'TCOON' in scope
94 | private let _TCIOFF = TCIOFF
95 | private let _TCION = TCION
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:94:23: error: cannot find 'TCIOFF' in scope
92 | private let _TCOOFF = TCOOFF
93 | private let _TCOON = TCOON
94 | private let _TCIOFF = TCIOFF
| `- error: cannot find 'TCIOFF' in scope
95 | private let _TCION = TCION
96 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:95:22: error: cannot find 'TCION' in scope
93 | private let _TCOON = TCOON
94 | private let _TCIOFF = TCIOFF
95 | private let _TCION = TCION
| `- error: cannot find 'TCION' in scope
96 |
97 | /// A swifty `struct termios`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:100:21: error: cannot find type 'termios' in scope
98 | public struct Termios: Sendable {
99 | /// The underlying C `struct termios`.
100 | public var raw: termios
| `- error: cannot find type 'termios' in scope
101 | public init() { raw = termios() }
102 | public init(raw: termios) { self.raw = raw }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:102:22: error: cannot find type 'termios' in scope
100 | public var raw: termios
101 | public init() { raw = termios() }
102 | public init(raw: termios) { self.raw = raw }
| `- error: cannot find type 'termios' in scope
103 |
104 | /// `c_iflag`, as an OptionSet.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:106:30: error: cannot find type 'tcflag_t' in scope
104 | /// `c_iflag`, as an OptionSet.
105 | public struct InputFlags: OptionSet, Sendable {
106 | public var rawValue: tcflag_t
| `- error: cannot find type 'tcflag_t' in scope
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
108 | public static let IGNBRK = InputFlags(rawValue: _IGNBRK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:107:31: error: cannot find type 'tcflag_t' in scope
105 | public struct InputFlags: OptionSet, Sendable {
106 | public var rawValue: tcflag_t
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
| `- error: cannot find type 'tcflag_t' in scope
108 | public static let IGNBRK = InputFlags(rawValue: _IGNBRK)
109 | public static let BRKINT = InputFlags(rawValue: _BRKINT)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:108:46: error: extraneous argument label 'rawValue:' in call
106 | public var rawValue: tcflag_t
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
108 | public static let IGNBRK = InputFlags(rawValue: _IGNBRK)
| `- error: extraneous argument label 'rawValue:' in call
109 | public static let BRKINT = InputFlags(rawValue: _BRKINT)
110 | public static let IGNPAR = InputFlags(rawValue: _IGNPAR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:109:46: error: extraneous argument label 'rawValue:' in call
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
108 | public static let IGNBRK = InputFlags(rawValue: _IGNBRK)
109 | public static let BRKINT = InputFlags(rawValue: _BRKINT)
| `- error: extraneous argument label 'rawValue:' in call
110 | public static let IGNPAR = InputFlags(rawValue: _IGNPAR)
111 | public static let PARMRK = InputFlags(rawValue: _PARMRK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:110:46: error: extraneous argument label 'rawValue:' in call
108 | public static let IGNBRK = InputFlags(rawValue: _IGNBRK)
109 | public static let BRKINT = InputFlags(rawValue: _BRKINT)
110 | public static let IGNPAR = InputFlags(rawValue: _IGNPAR)
| `- error: extraneous argument label 'rawValue:' in call
111 | public static let PARMRK = InputFlags(rawValue: _PARMRK)
112 | public static let INPCK = InputFlags(rawValue: _INPCK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:111:46: error: extraneous argument label 'rawValue:' in call
109 | public static let BRKINT = InputFlags(rawValue: _BRKINT)
110 | public static let IGNPAR = InputFlags(rawValue: _IGNPAR)
111 | public static let PARMRK = InputFlags(rawValue: _PARMRK)
| `- error: extraneous argument label 'rawValue:' in call
112 | public static let INPCK = InputFlags(rawValue: _INPCK)
113 | public static let ISTRIP = InputFlags(rawValue: _ISTRIP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:112:45: error: extraneous argument label 'rawValue:' in call
110 | public static let IGNPAR = InputFlags(rawValue: _IGNPAR)
111 | public static let PARMRK = InputFlags(rawValue: _PARMRK)
112 | public static let INPCK = InputFlags(rawValue: _INPCK)
| `- error: extraneous argument label 'rawValue:' in call
113 | public static let ISTRIP = InputFlags(rawValue: _ISTRIP)
114 | public static let INLCR = InputFlags(rawValue: _INLCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:113:46: error: extraneous argument label 'rawValue:' in call
111 | public static let PARMRK = InputFlags(rawValue: _PARMRK)
112 | public static let INPCK = InputFlags(rawValue: _INPCK)
113 | public static let ISTRIP = InputFlags(rawValue: _ISTRIP)
| `- error: extraneous argument label 'rawValue:' in call
114 | public static let INLCR = InputFlags(rawValue: _INLCR)
115 | public static let IGNCR = InputFlags(rawValue: _IGNCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:114:45: error: extraneous argument label 'rawValue:' in call
112 | public static let INPCK = InputFlags(rawValue: _INPCK)
113 | public static let ISTRIP = InputFlags(rawValue: _ISTRIP)
114 | public static let INLCR = InputFlags(rawValue: _INLCR)
| `- error: extraneous argument label 'rawValue:' in call
115 | public static let IGNCR = InputFlags(rawValue: _IGNCR)
116 | public static let ICRNL = InputFlags(rawValue: _ICRNL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:115:45: error: extraneous argument label 'rawValue:' in call
113 | public static let ISTRIP = InputFlags(rawValue: _ISTRIP)
114 | public static let INLCR = InputFlags(rawValue: _INLCR)
115 | public static let IGNCR = InputFlags(rawValue: _IGNCR)
| `- error: extraneous argument label 'rawValue:' in call
116 | public static let ICRNL = InputFlags(rawValue: _ICRNL)
117 | public static let IXON = InputFlags(rawValue: _IXON)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:116:45: error: extraneous argument label 'rawValue:' in call
114 | public static let INLCR = InputFlags(rawValue: _INLCR)
115 | public static let IGNCR = InputFlags(rawValue: _IGNCR)
116 | public static let ICRNL = InputFlags(rawValue: _ICRNL)
| `- error: extraneous argument label 'rawValue:' in call
117 | public static let IXON = InputFlags(rawValue: _IXON)
118 | public static let IXOFF = InputFlags(rawValue: _IXOFF)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:117:44: error: extraneous argument label 'rawValue:' in call
115 | public static let IGNCR = InputFlags(rawValue: _IGNCR)
116 | public static let ICRNL = InputFlags(rawValue: _ICRNL)
117 | public static let IXON = InputFlags(rawValue: _IXON)
| `- error: extraneous argument label 'rawValue:' in call
118 | public static let IXOFF = InputFlags(rawValue: _IXOFF)
119 | public static let IXANY = InputFlags(rawValue: _IXANY)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:118:45: error: extraneous argument label 'rawValue:' in call
116 | public static let ICRNL = InputFlags(rawValue: _ICRNL)
117 | public static let IXON = InputFlags(rawValue: _IXON)
118 | public static let IXOFF = InputFlags(rawValue: _IXOFF)
| `- error: extraneous argument label 'rawValue:' in call
119 | public static let IXANY = InputFlags(rawValue: _IXANY)
120 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:119:45: error: extraneous argument label 'rawValue:' in call
117 | public static let IXON = InputFlags(rawValue: _IXON)
118 | public static let IXOFF = InputFlags(rawValue: _IXOFF)
119 | public static let IXANY = InputFlags(rawValue: _IXANY)
| `- error: extraneous argument label 'rawValue:' in call
120 | }
121 | /// `c_oflag`, as an OptionSet.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:105:19: error: type 'Termios.InputFlags' does not conform to protocol 'SetAlgebra'
103 |
104 | /// `c_iflag`, as an OptionSet.
105 | public struct InputFlags: OptionSet, Sendable {
| `- error: type 'Termios.InputFlags' does not conform to protocol 'SetAlgebra'
106 | public var rawValue: tcflag_t
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
Swift.OptionSet.init:2:19: note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:105:19: error: type 'Termios.InputFlags' does not conform to protocol 'RawRepresentable'
103 |
104 | /// `c_iflag`, as an OptionSet.
105 | public struct InputFlags: OptionSet, Sendable {
| `- error: type 'Termios.InputFlags' does not conform to protocol 'RawRepresentable'
106 | public var rawValue: tcflag_t
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:105:19: error: type 'Termios.InputFlags' does not conform to protocol 'Equatable'
103 |
104 | /// `c_iflag`, as an OptionSet.
105 | public struct InputFlags: OptionSet, Sendable {
| |- error: type 'Termios.InputFlags' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
106 | public var rawValue: tcflag_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Termios.InputFlags' to 'Equatable'
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
108 | public static let IGNBRK = InputFlags(rawValue: _IGNBRK)
Swift.==:1:24: note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Termios.InputFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.InputFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Termios.InputFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Termios.InputFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Termios.InputFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.InputFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Termios.InputFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Termios.InputFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Termios.InputFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Termios.InputFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Termios.InputFlags' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Termios.InputFlags' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Termios.InputFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Termios.InputFlags' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned Termios.InputFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned Termios.InputFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(Termios.InputFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(Termios.InputFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.InputFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.InputFlags) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Termios.InputFlags, Termios.InputFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Termios.InputFlags, Termios.InputFlags) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:123:30: error: cannot find type 'tcflag_t' in scope
121 | /// `c_oflag`, as an OptionSet.
122 | public struct OutputFlags: OptionSet, Sendable {
123 | public var rawValue: tcflag_t
| `- error: cannot find type 'tcflag_t' in scope
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
125 | public static let OPOST = OutputFlags(rawValue: _OPOST)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:124:31: error: cannot find type 'tcflag_t' in scope
122 | public struct OutputFlags: OptionSet, Sendable {
123 | public var rawValue: tcflag_t
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
| `- error: cannot find type 'tcflag_t' in scope
125 | public static let OPOST = OutputFlags(rawValue: _OPOST)
126 | public static let ONLCR = OutputFlags(rawValue: _ONLCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:125:46: error: extraneous argument label 'rawValue:' in call
123 | public var rawValue: tcflag_t
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
125 | public static let OPOST = OutputFlags(rawValue: _OPOST)
| `- error: extraneous argument label 'rawValue:' in call
126 | public static let ONLCR = OutputFlags(rawValue: _ONLCR)
127 | public static let OCRNL = OutputFlags(rawValue: _OCRNL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:126:46: error: extraneous argument label 'rawValue:' in call
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
125 | public static let OPOST = OutputFlags(rawValue: _OPOST)
126 | public static let ONLCR = OutputFlags(rawValue: _ONLCR)
| `- error: extraneous argument label 'rawValue:' in call
127 | public static let OCRNL = OutputFlags(rawValue: _OCRNL)
128 | public static let ONOCR = OutputFlags(rawValue: _ONOCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:127:46: error: extraneous argument label 'rawValue:' in call
125 | public static let OPOST = OutputFlags(rawValue: _OPOST)
126 | public static let ONLCR = OutputFlags(rawValue: _ONLCR)
127 | public static let OCRNL = OutputFlags(rawValue: _OCRNL)
| `- error: extraneous argument label 'rawValue:' in call
128 | public static let ONOCR = OutputFlags(rawValue: _ONOCR)
129 | public static let ONLRET = OutputFlags(rawValue: _ONLRET)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:128:46: error: extraneous argument label 'rawValue:' in call
126 | public static let ONLCR = OutputFlags(rawValue: _ONLCR)
127 | public static let OCRNL = OutputFlags(rawValue: _OCRNL)
128 | public static let ONOCR = OutputFlags(rawValue: _ONOCR)
| `- error: extraneous argument label 'rawValue:' in call
129 | public static let ONLRET = OutputFlags(rawValue: _ONLRET)
130 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:129:47: error: extraneous argument label 'rawValue:' in call
127 | public static let OCRNL = OutputFlags(rawValue: _OCRNL)
128 | public static let ONOCR = OutputFlags(rawValue: _ONOCR)
129 | public static let ONLRET = OutputFlags(rawValue: _ONLRET)
| `- error: extraneous argument label 'rawValue:' in call
130 | }
131 | /// `c_cflag`, as an OptionSet.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:122:19: error: type 'Termios.OutputFlags' does not conform to protocol 'SetAlgebra'
120 | }
121 | /// `c_oflag`, as an OptionSet.
122 | public struct OutputFlags: OptionSet, Sendable {
| `- error: type 'Termios.OutputFlags' does not conform to protocol 'SetAlgebra'
123 | public var rawValue: tcflag_t
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
Swift.OptionSet.init:2:19: note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:122:19: error: type 'Termios.OutputFlags' does not conform to protocol 'RawRepresentable'
120 | }
121 | /// `c_oflag`, as an OptionSet.
122 | public struct OutputFlags: OptionSet, Sendable {
| `- error: type 'Termios.OutputFlags' does not conform to protocol 'RawRepresentable'
123 | public var rawValue: tcflag_t
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:122:19: error: type 'Termios.OutputFlags' does not conform to protocol 'Equatable'
120 | }
121 | /// `c_oflag`, as an OptionSet.
122 | public struct OutputFlags: OptionSet, Sendable {
| |- error: type 'Termios.OutputFlags' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
123 | public var rawValue: tcflag_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Termios.OutputFlags' to 'Equatable'
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
125 | public static let OPOST = OutputFlags(rawValue: _OPOST)
Swift.==:1:24: note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Termios.OutputFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Termios.OutputFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Termios.OutputFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Termios.OutputFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Termios.OutputFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Termios.OutputFlags' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Termios.OutputFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned Termios.OutputFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned Termios.OutputFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(Termios.OutputFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(Termios.OutputFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.OutputFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.OutputFlags) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Termios.OutputFlags, Termios.OutputFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Termios.OutputFlags, Termios.OutputFlags) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:133:30: error: cannot find type 'tcflag_t' in scope
131 | /// `c_cflag`, as an OptionSet.
132 | public struct ControlFlags: OptionSet, Sendable {
133 | public var rawValue: tcflag_t
| `- error: cannot find type 'tcflag_t' in scope
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
135 | public static let CSIZE = ControlFlags(rawValue: _CSIZE)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:134:31: error: cannot find type 'tcflag_t' in scope
132 | public struct ControlFlags: OptionSet, Sendable {
133 | public var rawValue: tcflag_t
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
| `- error: cannot find type 'tcflag_t' in scope
135 | public static let CSIZE = ControlFlags(rawValue: _CSIZE)
136 | public static let CS5 = ControlFlags(rawValue: _CS5)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:135:47: error: extraneous argument label 'rawValue:' in call
133 | public var rawValue: tcflag_t
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
135 | public static let CSIZE = ControlFlags(rawValue: _CSIZE)
| `- error: extraneous argument label 'rawValue:' in call
136 | public static let CS5 = ControlFlags(rawValue: _CS5)
137 | public static let CS6 = ControlFlags(rawValue: _CS6)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:136:45: error: extraneous argument label 'rawValue:' in call
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
135 | public static let CSIZE = ControlFlags(rawValue: _CSIZE)
136 | public static let CS5 = ControlFlags(rawValue: _CS5)
| `- error: extraneous argument label 'rawValue:' in call
137 | public static let CS6 = ControlFlags(rawValue: _CS6)
138 | public static let CS7 = ControlFlags(rawValue: _CS7)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:137:45: error: extraneous argument label 'rawValue:' in call
135 | public static let CSIZE = ControlFlags(rawValue: _CSIZE)
136 | public static let CS5 = ControlFlags(rawValue: _CS5)
137 | public static let CS6 = ControlFlags(rawValue: _CS6)
| `- error: extraneous argument label 'rawValue:' in call
138 | public static let CS7 = ControlFlags(rawValue: _CS7)
139 | public static let CS8 = ControlFlags(rawValue: _CS8)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:138:45: error: extraneous argument label 'rawValue:' in call
136 | public static let CS5 = ControlFlags(rawValue: _CS5)
137 | public static let CS6 = ControlFlags(rawValue: _CS6)
138 | public static let CS7 = ControlFlags(rawValue: _CS7)
| `- error: extraneous argument label 'rawValue:' in call
139 | public static let CS8 = ControlFlags(rawValue: _CS8)
140 | public static let CSTOPB = ControlFlags(rawValue: _CSTOPB)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:139:45: error: extraneous argument label 'rawValue:' in call
137 | public static let CS6 = ControlFlags(rawValue: _CS6)
138 | public static let CS7 = ControlFlags(rawValue: _CS7)
139 | public static let CS8 = ControlFlags(rawValue: _CS8)
| `- error: extraneous argument label 'rawValue:' in call
140 | public static let CSTOPB = ControlFlags(rawValue: _CSTOPB)
141 | public static let CREAD = ControlFlags(rawValue: _CREAD)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:140:48: error: extraneous argument label 'rawValue:' in call
138 | public static let CS7 = ControlFlags(rawValue: _CS7)
139 | public static let CS8 = ControlFlags(rawValue: _CS8)
140 | public static let CSTOPB = ControlFlags(rawValue: _CSTOPB)
| `- error: extraneous argument label 'rawValue:' in call
141 | public static let CREAD = ControlFlags(rawValue: _CREAD)
142 | public static let PARENB = ControlFlags(rawValue: _PARENB)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:141:47: error: extraneous argument label 'rawValue:' in call
139 | public static let CS8 = ControlFlags(rawValue: _CS8)
140 | public static let CSTOPB = ControlFlags(rawValue: _CSTOPB)
141 | public static let CREAD = ControlFlags(rawValue: _CREAD)
| `- error: extraneous argument label 'rawValue:' in call
142 | public static let PARENB = ControlFlags(rawValue: _PARENB)
143 | public static let PARODD = ControlFlags(rawValue: _PARODD)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:142:48: error: extraneous argument label 'rawValue:' in call
140 | public static let CSTOPB = ControlFlags(rawValue: _CSTOPB)
141 | public static let CREAD = ControlFlags(rawValue: _CREAD)
142 | public static let PARENB = ControlFlags(rawValue: _PARENB)
| `- error: extraneous argument label 'rawValue:' in call
143 | public static let PARODD = ControlFlags(rawValue: _PARODD)
144 | public static let HUPCL = ControlFlags(rawValue: _HUPCL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:143:48: error: extraneous argument label 'rawValue:' in call
141 | public static let CREAD = ControlFlags(rawValue: _CREAD)
142 | public static let PARENB = ControlFlags(rawValue: _PARENB)
143 | public static let PARODD = ControlFlags(rawValue: _PARODD)
| `- error: extraneous argument label 'rawValue:' in call
144 | public static let HUPCL = ControlFlags(rawValue: _HUPCL)
145 | public static let CLOCAL = ControlFlags(rawValue: _CLOCAL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:144:47: error: extraneous argument label 'rawValue:' in call
142 | public static let PARENB = ControlFlags(rawValue: _PARENB)
143 | public static let PARODD = ControlFlags(rawValue: _PARODD)
144 | public static let HUPCL = ControlFlags(rawValue: _HUPCL)
| `- error: extraneous argument label 'rawValue:' in call
145 | public static let CLOCAL = ControlFlags(rawValue: _CLOCAL)
146 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:145:48: error: extraneous argument label 'rawValue:' in call
143 | public static let PARODD = ControlFlags(rawValue: _PARODD)
144 | public static let HUPCL = ControlFlags(rawValue: _HUPCL)
145 | public static let CLOCAL = ControlFlags(rawValue: _CLOCAL)
| `- error: extraneous argument label 'rawValue:' in call
146 | }
147 | /// `c_lflag`, as an OptionSet.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:132:19: error: type 'Termios.ControlFlags' does not conform to protocol 'SetAlgebra'
130 | }
131 | /// `c_cflag`, as an OptionSet.
132 | public struct ControlFlags: OptionSet, Sendable {
| `- error: type 'Termios.ControlFlags' does not conform to protocol 'SetAlgebra'
133 | public var rawValue: tcflag_t
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
Swift.OptionSet.init:2:19: note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:132:19: error: type 'Termios.ControlFlags' does not conform to protocol 'RawRepresentable'
130 | }
131 | /// `c_cflag`, as an OptionSet.
132 | public struct ControlFlags: OptionSet, Sendable {
| `- error: type 'Termios.ControlFlags' does not conform to protocol 'RawRepresentable'
133 | public var rawValue: tcflag_t
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:132:19: error: type 'Termios.ControlFlags' does not conform to protocol 'Equatable'
130 | }
131 | /// `c_cflag`, as an OptionSet.
132 | public struct ControlFlags: OptionSet, Sendable {
| |- error: type 'Termios.ControlFlags' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
133 | public var rawValue: tcflag_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Termios.ControlFlags' to 'Equatable'
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
135 | public static let CSIZE = ControlFlags(rawValue: _CSIZE)
Swift.==:1:24: note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Termios.ControlFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Termios.ControlFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Termios.ControlFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Termios.ControlFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Termios.ControlFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Termios.ControlFlags' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Termios.ControlFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned Termios.ControlFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned Termios.ControlFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(Termios.ControlFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(Termios.ControlFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.ControlFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.ControlFlags) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Termios.ControlFlags, Termios.ControlFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Termios.ControlFlags, Termios.ControlFlags) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:149:30: error: cannot find type 'tcflag_t' in scope
147 | /// `c_lflag`, as an OptionSet.
148 | public struct LocalFlags: OptionSet, Sendable {
149 | public var rawValue: tcflag_t
| `- error: cannot find type 'tcflag_t' in scope
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
151 | public static let ECHO = LocalFlags(rawValue: _ECHO)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:150:31: error: cannot find type 'tcflag_t' in scope
148 | public struct LocalFlags: OptionSet, Sendable {
149 | public var rawValue: tcflag_t
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
| `- error: cannot find type 'tcflag_t' in scope
151 | public static let ECHO = LocalFlags(rawValue: _ECHO)
152 | public static let ECHOE = LocalFlags(rawValue: _ECHOE)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:151:44: error: extraneous argument label 'rawValue:' in call
149 | public var rawValue: tcflag_t
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
151 | public static let ECHO = LocalFlags(rawValue: _ECHO)
| `- error: extraneous argument label 'rawValue:' in call
152 | public static let ECHOE = LocalFlags(rawValue: _ECHOE)
153 | public static let ECHOK = LocalFlags(rawValue: _ECHOK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:152:45: error: extraneous argument label 'rawValue:' in call
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
151 | public static let ECHO = LocalFlags(rawValue: _ECHO)
152 | public static let ECHOE = LocalFlags(rawValue: _ECHOE)
| `- error: extraneous argument label 'rawValue:' in call
153 | public static let ECHOK = LocalFlags(rawValue: _ECHOK)
154 | public static let ECHONL = LocalFlags(rawValue: _ECHONL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:153:45: error: extraneous argument label 'rawValue:' in call
151 | public static let ECHO = LocalFlags(rawValue: _ECHO)
152 | public static let ECHOE = LocalFlags(rawValue: _ECHOE)
153 | public static let ECHOK = LocalFlags(rawValue: _ECHOK)
| `- error: extraneous argument label 'rawValue:' in call
154 | public static let ECHONL = LocalFlags(rawValue: _ECHONL)
155 | public static let ICANON = LocalFlags(rawValue: _ICANON)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:154:46: error: extraneous argument label 'rawValue:' in call
152 | public static let ECHOE = LocalFlags(rawValue: _ECHOE)
153 | public static let ECHOK = LocalFlags(rawValue: _ECHOK)
154 | public static let ECHONL = LocalFlags(rawValue: _ECHONL)
| `- error: extraneous argument label 'rawValue:' in call
155 | public static let ICANON = LocalFlags(rawValue: _ICANON)
156 | public static let ISIG = LocalFlags(rawValue: _ISIG)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:155:46: error: extraneous argument label 'rawValue:' in call
153 | public static let ECHOK = LocalFlags(rawValue: _ECHOK)
154 | public static let ECHONL = LocalFlags(rawValue: _ECHONL)
155 | public static let ICANON = LocalFlags(rawValue: _ICANON)
| `- error: extraneous argument label 'rawValue:' in call
156 | public static let ISIG = LocalFlags(rawValue: _ISIG)
157 | public static let IEXTEN = LocalFlags(rawValue: _IEXTEN)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:156:44: error: extraneous argument label 'rawValue:' in call
154 | public static let ECHONL = LocalFlags(rawValue: _ECHONL)
155 | public static let ICANON = LocalFlags(rawValue: _ICANON)
156 | public static let ISIG = LocalFlags(rawValue: _ISIG)
| `- error: extraneous argument label 'rawValue:' in call
157 | public static let IEXTEN = LocalFlags(rawValue: _IEXTEN)
158 | public static let NOFLSH = LocalFlags(rawValue: _NOFLSH)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:157:46: error: extraneous argument label 'rawValue:' in call
155 | public static let ICANON = LocalFlags(rawValue: _ICANON)
156 | public static let ISIG = LocalFlags(rawValue: _ISIG)
157 | public static let IEXTEN = LocalFlags(rawValue: _IEXTEN)
| `- error: extraneous argument label 'rawValue:' in call
158 | public static let NOFLSH = LocalFlags(rawValue: _NOFLSH)
159 | public static let TOSTOP = LocalFlags(rawValue: _TOSTOP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:158:46: error: extraneous argument label 'rawValue:' in call
156 | public static let ISIG = LocalFlags(rawValue: _ISIG)
157 | public static let IEXTEN = LocalFlags(rawValue: _IEXTEN)
158 | public static let NOFLSH = LocalFlags(rawValue: _NOFLSH)
| `- error: extraneous argument label 'rawValue:' in call
159 | public static let TOSTOP = LocalFlags(rawValue: _TOSTOP)
160 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:159:46: error: extraneous argument label 'rawValue:' in call
157 | public static let IEXTEN = LocalFlags(rawValue: _IEXTEN)
158 | public static let NOFLSH = LocalFlags(rawValue: _NOFLSH)
159 | public static let TOSTOP = LocalFlags(rawValue: _TOSTOP)
| `- error: extraneous argument label 'rawValue:' in call
160 | }
161 | /// An index into `c_cc`, as `ControlCharacter.VMIN` etc.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:148:19: error: type 'Termios.LocalFlags' does not conform to protocol 'SetAlgebra'
146 | }
147 | /// `c_lflag`, as an OptionSet.
148 | public struct LocalFlags: OptionSet, Sendable {
| `- error: type 'Termios.LocalFlags' does not conform to protocol 'SetAlgebra'
149 | public var rawValue: tcflag_t
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
Swift.OptionSet.init:2:19: note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:148:19: error: type 'Termios.LocalFlags' does not conform to protocol 'RawRepresentable'
146 | }
147 | /// `c_lflag`, as an OptionSet.
148 | public struct LocalFlags: OptionSet, Sendable {
| `- error: type 'Termios.LocalFlags' does not conform to protocol 'RawRepresentable'
149 | public var rawValue: tcflag_t
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:148:19: error: type 'Termios.LocalFlags' does not conform to protocol 'Equatable'
146 | }
147 | /// `c_lflag`, as an OptionSet.
148 | public struct LocalFlags: OptionSet, Sendable {
| |- error: type 'Termios.LocalFlags' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
149 | public var rawValue: tcflag_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Termios.LocalFlags' to 'Equatable'
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
151 | public static let ECHO = LocalFlags(rawValue: _ECHO)
Swift.==:1:24: note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Termios.LocalFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Termios.LocalFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Termios.LocalFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Termios.LocalFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Termios.LocalFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Termios.LocalFlags' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Termios.LocalFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned Termios.LocalFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned Termios.LocalFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(Termios.LocalFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(Termios.LocalFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.LocalFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.LocalFlags) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Termios.LocalFlags, Termios.LocalFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Termios.LocalFlags, Termios.LocalFlags) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:196:52: error: cannot find type 'cc_t' in scope
194 |
195 | /// The `c_cc` control characters, e.g. `termios[.VMIN]`.
196 | public subscript(_ index: ControlCharacter) -> cc_t {
| `- error: cannot find type 'cc_t' in scope
197 | get {
198 | withUnsafeBytes(of: raw.c_cc) { $0[index.rawValue] }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:219:26: error: cannot find type 'speed_t' in scope
217 | /// A terminal baud rate, as `BaudRate.B9600` etc.
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
219 | public var rawValue: speed_t
| `- error: cannot find type 'speed_t' in scope
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:220:27: error: cannot find type 'speed_t' in scope
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
219 | public var rawValue: speed_t
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
| `- error: cannot find type 'speed_t' in scope
221 | public static let B0 = BaudRate(rawValue: _B0)
222 | public static let B50 = BaudRate(rawValue: _B50)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:221:28: error: no exact matches in call to initializer
219 | public var rawValue: speed_t
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
222 | public static let B50 = BaudRate(rawValue: _B50)
223 | public static let B75 = BaudRate(rawValue: _B75)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:222:29: error: no exact matches in call to initializer
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
222 | public static let B50 = BaudRate(rawValue: _B50)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
223 | public static let B75 = BaudRate(rawValue: _B75)
224 | public static let B110 = BaudRate(rawValue: _B110)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:223:29: error: no exact matches in call to initializer
221 | public static let B0 = BaudRate(rawValue: _B0)
222 | public static let B50 = BaudRate(rawValue: _B50)
223 | public static let B75 = BaudRate(rawValue: _B75)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
224 | public static let B110 = BaudRate(rawValue: _B110)
225 | public static let B134 = BaudRate(rawValue: _B134)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:224:30: error: no exact matches in call to initializer
222 | public static let B50 = BaudRate(rawValue: _B50)
223 | public static let B75 = BaudRate(rawValue: _B75)
224 | public static let B110 = BaudRate(rawValue: _B110)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
225 | public static let B134 = BaudRate(rawValue: _B134)
226 | public static let B150 = BaudRate(rawValue: _B150)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:225:30: error: no exact matches in call to initializer
223 | public static let B75 = BaudRate(rawValue: _B75)
224 | public static let B110 = BaudRate(rawValue: _B110)
225 | public static let B134 = BaudRate(rawValue: _B134)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
226 | public static let B150 = BaudRate(rawValue: _B150)
227 | public static let B200 = BaudRate(rawValue: _B200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:226:30: error: no exact matches in call to initializer
224 | public static let B110 = BaudRate(rawValue: _B110)
225 | public static let B134 = BaudRate(rawValue: _B134)
226 | public static let B150 = BaudRate(rawValue: _B150)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
227 | public static let B200 = BaudRate(rawValue: _B200)
228 | public static let B300 = BaudRate(rawValue: _B300)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:227:30: error: no exact matches in call to initializer
225 | public static let B134 = BaudRate(rawValue: _B134)
226 | public static let B150 = BaudRate(rawValue: _B150)
227 | public static let B200 = BaudRate(rawValue: _B200)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
228 | public static let B300 = BaudRate(rawValue: _B300)
229 | public static let B600 = BaudRate(rawValue: _B600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:228:30: error: no exact matches in call to initializer
226 | public static let B150 = BaudRate(rawValue: _B150)
227 | public static let B200 = BaudRate(rawValue: _B200)
228 | public static let B300 = BaudRate(rawValue: _B300)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
229 | public static let B600 = BaudRate(rawValue: _B600)
230 | public static let B1200 = BaudRate(rawValue: _B1200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:229:30: error: no exact matches in call to initializer
227 | public static let B200 = BaudRate(rawValue: _B200)
228 | public static let B300 = BaudRate(rawValue: _B300)
229 | public static let B600 = BaudRate(rawValue: _B600)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
230 | public static let B1200 = BaudRate(rawValue: _B1200)
231 | public static let B1800 = BaudRate(rawValue: _B1800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:230:31: error: no exact matches in call to initializer
228 | public static let B300 = BaudRate(rawValue: _B300)
229 | public static let B600 = BaudRate(rawValue: _B600)
230 | public static let B1200 = BaudRate(rawValue: _B1200)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
231 | public static let B1800 = BaudRate(rawValue: _B1800)
232 | public static let B2400 = BaudRate(rawValue: _B2400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:231:31: error: no exact matches in call to initializer
229 | public static let B600 = BaudRate(rawValue: _B600)
230 | public static let B1200 = BaudRate(rawValue: _B1200)
231 | public static let B1800 = BaudRate(rawValue: _B1800)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
232 | public static let B2400 = BaudRate(rawValue: _B2400)
233 | public static let B4800 = BaudRate(rawValue: _B4800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:232:31: error: no exact matches in call to initializer
230 | public static let B1200 = BaudRate(rawValue: _B1200)
231 | public static let B1800 = BaudRate(rawValue: _B1800)
232 | public static let B2400 = BaudRate(rawValue: _B2400)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
233 | public static let B4800 = BaudRate(rawValue: _B4800)
234 | public static let B9600 = BaudRate(rawValue: _B9600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:233:31: error: no exact matches in call to initializer
231 | public static let B1800 = BaudRate(rawValue: _B1800)
232 | public static let B2400 = BaudRate(rawValue: _B2400)
233 | public static let B4800 = BaudRate(rawValue: _B4800)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
234 | public static let B9600 = BaudRate(rawValue: _B9600)
235 | public static let B19200 = BaudRate(rawValue: _B19200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:234:31: error: no exact matches in call to initializer
232 | public static let B2400 = BaudRate(rawValue: _B2400)
233 | public static let B4800 = BaudRate(rawValue: _B4800)
234 | public static let B9600 = BaudRate(rawValue: _B9600)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
235 | public static let B19200 = BaudRate(rawValue: _B19200)
236 | public static let B38400 = BaudRate(rawValue: _B38400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:235:32: error: no exact matches in call to initializer
233 | public static let B4800 = BaudRate(rawValue: _B4800)
234 | public static let B9600 = BaudRate(rawValue: _B9600)
235 | public static let B19200 = BaudRate(rawValue: _B19200)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
236 | public static let B38400 = BaudRate(rawValue: _B38400)
237 | public static let B57600 = BaudRate(rawValue: _B57600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:236:32: error: no exact matches in call to initializer
234 | public static let B9600 = BaudRate(rawValue: _B9600)
235 | public static let B19200 = BaudRate(rawValue: _B19200)
236 | public static let B38400 = BaudRate(rawValue: _B38400)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
237 | public static let B57600 = BaudRate(rawValue: _B57600)
238 | public static let B115200 = BaudRate(rawValue: _B115200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:237:32: error: no exact matches in call to initializer
235 | public static let B19200 = BaudRate(rawValue: _B19200)
236 | public static let B38400 = BaudRate(rawValue: _B38400)
237 | public static let B57600 = BaudRate(rawValue: _B57600)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
238 | public static let B115200 = BaudRate(rawValue: _B115200)
239 | public static let B230400 = BaudRate(rawValue: _B230400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:238:33: error: no exact matches in call to initializer
236 | public static let B38400 = BaudRate(rawValue: _B38400)
237 | public static let B57600 = BaudRate(rawValue: _B57600)
238 | public static let B115200 = BaudRate(rawValue: _B115200)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
239 | public static let B230400 = BaudRate(rawValue: _B230400)
240 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:239:33: error: no exact matches in call to initializer
237 | public static let B57600 = BaudRate(rawValue: _B57600)
238 | public static let B115200 = BaudRate(rawValue: _B115200)
239 | public static let B230400 = BaudRate(rawValue: _B230400)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
240 | }
241 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:218:15: error: type 'BaudRate' does not conform to protocol 'Hashable'
216 |
217 | /// A terminal baud rate, as `BaudRate.B9600` etc.
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
| `- error: type 'BaudRate' does not conform to protocol 'Hashable'
219 | public var rawValue: speed_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'BaudRate' to 'Hashable'
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:218:15: error: type 'BaudRate' does not conform to protocol 'RawRepresentable'
216 |
217 | /// A terminal baud rate, as `BaudRate.B9600` etc.
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
| `- error: type 'BaudRate' does not conform to protocol 'RawRepresentable'
219 | public var rawValue: speed_t
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:218:15: error: type 'BaudRate' does not conform to protocol 'Equatable'
216 |
217 | /// A terminal baud rate, as `BaudRate.B9600` etc.
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
| |- error: type 'BaudRate' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
219 | public var rawValue: speed_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'BaudRate' to 'Equatable'
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
Swift.==:1:24: note: candidate would match if 'BaudRate.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'BaudRate.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'BaudRate' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaudRate' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'BaudRate' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'BaudRate' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'BaudRate' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaudRate' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'BaudRate' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'BaudRate' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'BaudRate' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'BaudRate' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'BaudRate' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'BaudRate' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'BaudRate' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'BaudRate' conformed to 'SIMD'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(BaudRate, BaudRate) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(BaudRate, BaudRate) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:101:27: error: cannot find 'termios' in scope
99 | /// The underlying C `struct termios`.
100 | public var raw: termios
101 | public init() { raw = termios() }
| `- error: cannot find 'termios' in scope
102 | public init(raw: termios) { self.raw = raw }
103 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:179:25: error: extraneous argument label 'rawValue:' in call
177 |
178 | public var inputFlags: InputFlags {
179 | get { InputFlags(rawValue: raw.c_iflag) }
| `- error: extraneous argument label 'rawValue:' in call
180 | set { raw.c_iflag = newValue.rawValue }
181 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:183:26: error: extraneous argument label 'rawValue:' in call
181 | }
182 | public var outputFlags: OutputFlags {
183 | get { OutputFlags(rawValue: raw.c_oflag) }
| `- error: extraneous argument label 'rawValue:' in call
184 | set { raw.c_oflag = newValue.rawValue }
185 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:187:27: error: extraneous argument label 'rawValue:' in call
185 | }
186 | public var controlFlags: ControlFlags {
187 | get { ControlFlags(rawValue: raw.c_cflag) }
| `- error: extraneous argument label 'rawValue:' in call
188 | set { raw.c_cflag = newValue.rawValue }
189 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:191:25: error: extraneous argument label 'rawValue:' in call
189 | }
190 | public var localFlags: LocalFlags {
191 | get { LocalFlags(rawValue: raw.c_lflag) }
| `- error: extraneous argument label 'rawValue:' in call
192 | set { raw.c_lflag = newValue.rawValue }
193 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:207:54: error: cannot find 'cfgetispeed' in scope
205 | /// `cfgetispeed(3)` / `cfsetispeed(3)`.
206 | public var inputSpeed: BaudRate {
207 | get { var r = raw; return BaudRate(rawValue: cfgetispeed(&r)) }
| `- error: cannot find 'cfgetispeed' in scope
208 | set { _ = cfsetispeed(&raw, newValue.rawValue) }
209 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:207:35: error: no exact matches in call to initializer
205 | /// `cfgetispeed(3)` / `cfsetispeed(3)`.
206 | public var inputSpeed: BaudRate {
207 | get { var r = raw; return BaudRate(rawValue: cfgetispeed(&r)) }
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
208 | set { _ = cfsetispeed(&raw, newValue.rawValue) }
209 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:208:19: error: cannot find 'cfsetispeed' in scope
206 | public var inputSpeed: BaudRate {
207 | get { var r = raw; return BaudRate(rawValue: cfgetispeed(&r)) }
208 | set { _ = cfsetispeed(&raw, newValue.rawValue) }
| `- error: cannot find 'cfsetispeed' in scope
209 | }
210 | /// `cfgetospeed(3)` / `cfsetospeed(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:212:54: error: cannot find 'cfgetospeed' in scope
210 | /// `cfgetospeed(3)` / `cfsetospeed(3)`.
211 | public var outputSpeed: BaudRate {
212 | get { var r = raw; return BaudRate(rawValue: cfgetospeed(&r)) }
| `- error: cannot find 'cfgetospeed' in scope
213 | set { _ = cfsetospeed(&raw, newValue.rawValue) }
214 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:212:35: error: no exact matches in call to initializer
210 | /// `cfgetospeed(3)` / `cfsetospeed(3)`.
211 | public var outputSpeed: BaudRate {
212 | get { var r = raw; return BaudRate(rawValue: cfgetospeed(&r)) }
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
213 | set { _ = cfsetospeed(&raw, newValue.rawValue) }
214 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:213:19: error: cannot find 'cfsetospeed' in scope
211 | public var outputSpeed: BaudRate {
212 | get { var r = raw; return BaudRate(rawValue: cfgetospeed(&r)) }
213 | set { _ = cfsetospeed(&raw, newValue.rawValue) }
| `- error: cannot find 'cfsetospeed' in scope
214 | }
215 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:272:13: error: cannot find 'termios' in scope
270 | /// identical to C's `tcgetattr(3)`, but returns a swifty `Termios`.
271 | public func tcgetattr(_ fd: CInt) throws -> Termios {
272 | var t = termios()
| `- error: cannot find 'termios' in scope
273 | try check(tcgetattr(fd, &t))
274 | return Termios(raw: t)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:273:29: error: extra argument in call
271 | public func tcgetattr(_ fd: CInt) throws -> Termios {
272 | var t = termios()
273 | try check(tcgetattr(fd, &t))
| `- error: extra argument in call
274 | return Termios(raw: t)
275 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:274:25: error: argument passed to call that takes no arguments
272 | var t = termios()
273 | try check(tcgetattr(fd, &t))
274 | return Termios(raw: t)
| `- error: argument passed to call that takes no arguments
275 | }
276 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:280:36: error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'TcsetattrAction'
278 | public func tcsetattr(_ fd: CInt, _ action: TcsetattrAction = .TCSANOW, _ termios: Termios) throws {
279 | var t = termios.raw
280 | try check(tcsetattr(fd, action.rawValue, &t))
| `- error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'TcsetattrAction'
281 | }
282 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:280:46: error: cannot convert value of type '_' to expected argument type 'Termios'
278 | public func tcsetattr(_ fd: CInt, _ action: TcsetattrAction = .TCSANOW, _ termios: Termios) throws {
279 | var t = termios.raw
280 | try check(tcsetattr(fd, action.rawValue, &t))
| `- error: cannot convert value of type '_' to expected argument type 'Termios'
281 | }
282 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:284:52: error: cannot find 'C' in scope
282 |
283 | /// identical to C's `tcdrain(3)`.
284 | public func tcdrain(_ fd: CInt) throws { try check(C.tcdrain(fd)) }
| `- error: cannot find 'C' in scope
285 |
286 | /// identical to C's `tcflow(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:288:15: error: cannot find 'C' in scope
286 | /// identical to C's `tcflow(3)`.
287 | public func tcflow(_ fd: CInt, _ action: TcflowAction) throws {
288 | try check(C.tcflow(fd, action.rawValue))
| `- error: cannot find 'C' in scope
289 | }
290 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:293:15: error: cannot find 'C' in scope
291 | /// identical to C's `tcflush(3)`.
292 | public func tcflush(_ fd: CInt, _ queue: TcflushQueue) throws {
293 | try check(C.tcflush(fd, queue.rawValue))
| `- error: cannot find 'C' in scope
294 | }
295 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:298:15: error: cannot find 'C' in scope
296 | /// identical to C's `tcsendbreak(3)`.
297 | public func tcsendbreak(_ fd: CInt, _ duration: CInt = 0) throws {
298 | try check(C.tcsendbreak(fd, duration))
| `- error: cannot find 'C' in scope
299 | }
300 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:47:26: error: cannot find type 'tm' in scope
45 | }
46 |
47 | internal init(_ ctm: tm) {
| `- error: cannot find type 'tm' in scope
48 | sec = Int(ctm.tm_sec); min = Int(ctm.tm_min); hour = Int(ctm.tm_hour)
49 | mday = Int(ctm.tm_mday); mon = Int(ctm.tm_mon); year = Int(ctm.tm_year)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:55:23: error: cannot find type 'tm' in scope
53 | }
54 |
55 | internal var ctm: tm {
| `- error: cannot find type 'tm' in scope
56 | var t = tm()
57 | t.tm_sec = CInt(sec); t.tm_min = CInt(min); t.tm_hour = CInt(hour)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:66:23: error: cannot find type 'time_t' in scope
64 |
65 | /// identical to C's `time(2)`: seconds since the epoch.
66 | public func time() -> time_t { time(nil) }
| `- error: cannot find type 'time_t' in scope
67 |
68 | /// identical to C's `difftime(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:69:31: error: cannot find type 'time_t' in scope
67 |
68 | /// identical to C's `difftime(3)`.
69 | public func difftime(_ time1: time_t, _ time0: time_t) -> Double { C.difftime(time1, time0) }
| `- error: cannot find type 'time_t' in scope
70 |
71 | /// identical to C's `gmtime(3)` (via `gmtime_r`), but returns a swifty `Tm`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:69:48: error: cannot find type 'time_t' in scope
67 |
68 | /// identical to C's `difftime(3)`.
69 | public func difftime(_ time1: time_t, _ time0: time_t) -> Double { C.difftime(time1, time0) }
| `- error: cannot find type 'time_t' in scope
70 |
71 | /// identical to C's `gmtime(3)` (via `gmtime_r`), but returns a swifty `Tm`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:72:25: error: cannot find type 'time_t' in scope
70 |
71 | /// identical to C's `gmtime(3)` (via `gmtime_r`), but returns a swifty `Tm`.
72 | public func gmtime(_ t: time_t = time(nil)) -> Tm {
| `- error: cannot find type 'time_t' in scope
73 | var tv = t
74 | var result = tm()
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:80:28: error: cannot find type 'time_t' in scope
78 |
79 | /// identical to C's `localtime(3)` (via `localtime_r`), but returns a swifty `Tm`.
80 | public func localtime(_ t: time_t = time(nil)) -> Tm {
| `- error: cannot find type 'time_t' in scope
81 | var tv = t
82 | var result = tm()
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:89:40: error: cannot find type 'time_t' in scope
87 | /// identical to C's `mktime(3)`: converts a local-time `Tm` to seconds
88 | /// since the epoch.
89 | public func mktime(_ tm: Tm) throws -> time_t {
| `- error: cannot find type 'time_t' in scope
90 | var ctm = tm.ctm
91 | return try check(mktime(&ctm))
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:103:24: error: cannot find type 'time_t' in scope
101 |
102 | /// identical to C's `ctime(3)`: `asctime(localtime(t))`.
103 | public func ctime(_ t: time_t = time(nil)) -> String { asctime(localtime(t)) }
| `- error: cannot find type 'time_t' in scope
104 |
105 | /// identical to C's `strftime(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:121:24: error: cannot find type 'clock_t' in scope
119 |
120 | /// identical to C's `clock(3)`: processor time used, in `CLOCKS_PER_SEC` ticks.
121 | public func clock() -> clock_t { C.clock() }
| `- error: cannot find type 'clock_t' in scope
122 |
123 | // (CLOCKS_PER_SEC is re-exported in Platform.swift)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:146:25: error: cannot find type 'clock_t' in scope
144 | public struct Times: Hashable, Sendable {
145 | /// elapsed real time since an arbitrary point, in clock ticks
146 | public let elapsed: clock_t
| `- error: cannot find type 'clock_t' in scope
147 | /// user CPU time (`tms_utime`)
148 | public let user: clock_t
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:148:22: error: cannot find type 'clock_t' in scope
146 | public let elapsed: clock_t
147 | /// user CPU time (`tms_utime`)
148 | public let user: clock_t
| `- error: cannot find type 'clock_t' in scope
149 | /// system CPU time (`tms_stime`)
150 | public let system: clock_t
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:150:24: error: cannot find type 'clock_t' in scope
148 | public let user: clock_t
149 | /// system CPU time (`tms_stime`)
150 | public let system: clock_t
| `- error: cannot find type 'clock_t' in scope
151 | /// user CPU time of terminated children (`tms_cutime`)
152 | public let childUser: clock_t
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:152:27: error: cannot find type 'clock_t' in scope
150 | public let system: clock_t
151 | /// user CPU time of terminated children (`tms_cutime`)
152 | public let childUser: clock_t
| `- error: cannot find type 'clock_t' in scope
153 | /// system CPU time of terminated children (`tms_cstime`)
154 | public let childSystem: clock_t
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:154:29: error: cannot find type 'clock_t' in scope
152 | public let childUser: clock_t
153 | /// system CPU time of terminated children (`tms_cstime`)
154 | public let childSystem: clock_t
| `- error: cannot find type 'clock_t' in scope
155 | }
156 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:144:15: error: type 'Times' does not conform to protocol 'Hashable'
142 | /// A swifty `struct tms`, plus the elapsed real time, like Perl's
143 | /// five-element `POSIX::times()`.
144 | public struct Times: Hashable, Sendable {
| `- error: type 'Times' does not conform to protocol 'Hashable'
145 | /// elapsed real time since an arbitrary point, in clock ticks
146 | public let elapsed: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
147 | /// user CPU time (`tms_utime`)
148 | public let user: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
149 | /// system CPU time (`tms_stime`)
150 | public let system: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
151 | /// user CPU time of terminated children (`tms_cutime`)
152 | public let childUser: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
153 | /// system CPU time of terminated children (`tms_cstime`)
154 | public let childSystem: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
155 | }
156 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:144:15: error: type 'Times' does not conform to protocol 'Equatable'
142 | /// A swifty `struct tms`, plus the elapsed real time, like Perl's
143 | /// five-element `POSIX::times()`.
144 | public struct Times: Hashable, Sendable {
| |- error: type 'Times' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
145 | /// elapsed real time since an arbitrary point, in clock ticks
146 | public let elapsed: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
147 | /// user CPU time (`tms_utime`)
148 | public let user: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
149 | /// system CPU time (`tms_stime`)
150 | public let system: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
151 | /// user CPU time of terminated children (`tms_cutime`)
152 | public let childUser: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
153 | /// system CPU time of terminated children (`tms_cstime`)
154 | public let childSystem: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
155 | }
156 |
Swift.==:1:24: note: candidate would match if 'Times' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Times' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Times' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Times' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Times' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Times' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Times' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Times' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Times' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Times' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Times' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Times' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Times' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Times' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Times' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Times' conformed to 'SIMD'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Times, Times) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Times, Times) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:56:17: error: cannot find 'tm' in scope
54 |
55 | internal var ctm: tm {
56 | var t = tm()
| `- error: cannot find 'tm' in scope
57 | t.tm_sec = CInt(sec); t.tm_min = CInt(min); t.tm_hour = CInt(hour)
58 | t.tm_mday = CInt(mday); t.tm_mon = CInt(mon); t.tm_year = CInt(year)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:69:68: error: cannot find 'C' in scope
67 |
68 | /// identical to C's `difftime(3)`.
69 | public func difftime(_ time1: time_t, _ time0: time_t) -> Double { C.difftime(time1, time0) }
| `- error: cannot find 'C' in scope
70 |
71 | /// identical to C's `gmtime(3)` (via `gmtime_r`), but returns a swifty `Tm`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:74:18: error: cannot find 'tm' in scope
72 | public func gmtime(_ t: time_t = time(nil)) -> Tm {
73 | var tv = t
74 | var result = tm()
| `- error: cannot find 'tm' in scope
75 | gmtime_r(&tv, &result)
76 | return Tm(result)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:75:5: error: cannot find 'gmtime_r' in scope
73 | var tv = t
74 | var result = tm()
75 | gmtime_r(&tv, &result)
| `- error: cannot find 'gmtime_r' in scope
76 | return Tm(result)
77 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:76:15: error: missing argument label 'sec:' in call
74 | var result = tm()
75 | gmtime_r(&tv, &result)
76 | return Tm(result)
| `- error: missing argument label 'sec:' in call
77 | }
78 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:82:18: error: cannot find 'tm' in scope
80 | public func localtime(_ t: time_t = time(nil)) -> Tm {
81 | var tv = t
82 | var result = tm()
| `- error: cannot find 'tm' in scope
83 | localtime_r(&tv, &result)
84 | return Tm(result)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:83:5: error: cannot find 'localtime_r' in scope
81 | var tv = t
82 | var result = tm()
83 | localtime_r(&tv, &result)
| `- error: cannot find 'localtime_r' in scope
84 | return Tm(result)
85 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:84:15: error: missing argument label 'sec:' in call
82 | var result = tm()
83 | localtime_r(&tv, &result)
84 | return Tm(result)
| `- error: missing argument label 'sec:' in call
85 | }
86 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:98:11: error: cannot find 'asctime_r' in scope
96 | var ctm = tm.ctm
97 | var buf = [CChar](repeating: 0, count: 32) // >= 26
98 | guard asctime_r(&ctm, &buf) != nil else { return "" }
| `- error: cannot find 'asctime_r' in scope
99 | return stringFromCChars(buf)
100 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:112:29: error: extra arguments at positions #3, #4 in call
104 |
105 | /// identical to C's `strftime(3)`.
106 | public func strftime(_ format: String, _ tm: Tm) -> String {
| `- note: 'strftime' declared here
107 | var ctm = tm.ctm
108 | return format.withCString { fmt in
:
110 | while capacity <= 64 * 1024 {
111 | var buf = [CChar](repeating: 0, count: capacity)
112 | let n = strftime(&buf, capacity, fmt, &ctm)
| `- error: extra arguments at positions #3, #4 in call
113 | if n > 0 || format.isEmpty { return stringFromCChars(buf) }
114 | capacity *= 4
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:112:30: error: cannot convert value of type '[CChar]' (aka 'Array<Int8>') to expected argument type 'String'
110 | while capacity <= 64 * 1024 {
111 | var buf = [CChar](repeating: 0, count: capacity)
112 | let n = strftime(&buf, capacity, fmt, &ctm)
| `- error: cannot convert value of type '[CChar]' (aka 'Array<Int8>') to expected argument type 'String'
113 | if n > 0 || format.isEmpty { return stringFromCChars(buf) }
114 | capacity *= 4
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:112:36: error: cannot convert value of type 'Int' to expected argument type 'Tm'
110 | while capacity <= 64 * 1024 {
111 | var buf = [CChar](repeating: 0, count: capacity)
112 | let n = strftime(&buf, capacity, fmt, &ctm)
| `- error: cannot convert value of type 'Int' to expected argument type 'Tm'
113 | if n > 0 || format.isEmpty { return stringFromCChars(buf) }
114 | capacity *= 4
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:126:23: error: cannot find 'C' in scope
124 |
125 | /// identical to C's `tzset(3)`.
126 | public func tzset() { C.tzset() }
| `- error: cannot find 'C' in scope
127 |
128 | /// like C's `tzname`: the standard and daylight-saving timezone
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:132:5: error: cannot find 'C' in scope
130 | /// January and July, to avoid the non-thread-safe C global).
131 | public func tzname() -> (standard: String, daylight: String) {
132 | C.tzset()
| `- error: cannot find 'C' in scope
133 | // 2021-01-01 and 2021-07-01, chosen for opposite DST states.
134 | let jan = localtime(1609459200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:160:13: error: cannot find 'tms' in scope
158 | /// (in `sysconf(.clockTick)` ticks, not `CLOCKS_PER_SEC`).
159 | public func times() throws -> Times {
160 | var t = tms()
| `- error: cannot find 'tms' in scope
161 | let elapsed = times(&t)
162 | guard elapsed != ~clock_t(0) else { throw Errno.current } // (clock_t)-1
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:161:25: error: argument passed to call that takes no arguments
159 | public func times() throws -> Times {
160 | var t = tms()
161 | let elapsed = times(&t)
| `- error: argument passed to call that takes no arguments
162 | guard elapsed != ~clock_t(0) else { throw Errno.current } // (clock_t)-1
163 | return Times(
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:162:23: error: cannot find 'clock_t' in scope
160 | var t = tms()
161 | let elapsed = times(&t)
162 | guard elapsed != ~clock_t(0) else { throw Errno.current } // (clock_t)-1
| `- error: cannot find 'clock_t' in scope
163 | return Times(
164 | elapsed: elapsed,
BUILD FAILURE 6.2 android