Build Information
Failed to build swift-posix, reference main (6feac9), with Swift 6.1 for Wasm on 19 Aug 2026 09:07:57 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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
| `- note: candidate would match if 'FilePermissions' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FilePermissions' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FilePermissions' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FilePermissions' 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 'FilePermissions' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FilePermissions' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'FilePermissions' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FilePermissions' 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 'FilePermissions' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'FilePermissions' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'FilePermissions' 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 FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned FilePermissions) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(FilePermissions) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned FilePermissions) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned FilePermissions) -> ()'
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 '(FilePermissions, FilePermissions) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(FilePermissions, FilePermissions) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:32:24: error: cannot find 'S_ISUID' in scope
30 | public init(rawValue: mode_t) { self.rawValue = rawValue }
31 | }
32 | private let _S_ISUID = S_ISUID
| `- error: cannot find 'S_ISUID' in scope
33 | private let _S_ISGID = S_ISGID
34 | private let _S_ISVTX = S_ISVTX
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:33:24: error: cannot find 'S_ISGID' in scope
31 | }
32 | private let _S_ISUID = S_ISUID
33 | private let _S_ISGID = S_ISGID
| `- error: cannot find 'S_ISGID' in scope
34 | private let _S_ISVTX = S_ISVTX
35 | private let _S_IRWXU = S_IRWXU
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:34:24: error: cannot find 'S_ISVTX' in scope
32 | private let _S_ISUID = S_ISUID
33 | private let _S_ISGID = S_ISGID
34 | private let _S_ISVTX = S_ISVTX
| `- error: cannot find 'S_ISVTX' in scope
35 | private let _S_IRWXU = S_IRWXU
36 | private let _S_IRUSR = S_IRUSR
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:35:24: error: cannot find 'S_IRWXU' in scope
33 | private let _S_ISGID = S_ISGID
34 | private let _S_ISVTX = S_ISVTX
35 | private let _S_IRWXU = S_IRWXU
| `- error: cannot find 'S_IRWXU' in scope
36 | private let _S_IRUSR = S_IRUSR
37 | private let _S_IWUSR = S_IWUSR
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:36:24: error: cannot find 'S_IRUSR' in scope
34 | private let _S_ISVTX = S_ISVTX
35 | private let _S_IRWXU = S_IRWXU
36 | private let _S_IRUSR = S_IRUSR
| `- error: cannot find 'S_IRUSR' in scope
37 | private let _S_IWUSR = S_IWUSR
38 | private let _S_IXUSR = S_IXUSR
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:37:24: error: cannot find 'S_IWUSR' in scope
35 | private let _S_IRWXU = S_IRWXU
36 | private let _S_IRUSR = S_IRUSR
37 | private let _S_IWUSR = S_IWUSR
| `- error: cannot find 'S_IWUSR' in scope
38 | private let _S_IXUSR = S_IXUSR
39 | private let _S_IRWXG = S_IRWXG
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:38:24: error: cannot find 'S_IXUSR' in scope
36 | private let _S_IRUSR = S_IRUSR
37 | private let _S_IWUSR = S_IWUSR
38 | private let _S_IXUSR = S_IXUSR
| `- error: cannot find 'S_IXUSR' in scope
39 | private let _S_IRWXG = S_IRWXG
40 | private let _S_IRGRP = S_IRGRP
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:39:24: error: cannot find 'S_IRWXG' in scope
37 | private let _S_IWUSR = S_IWUSR
38 | private let _S_IXUSR = S_IXUSR
39 | private let _S_IRWXG = S_IRWXG
| `- error: cannot find 'S_IRWXG' in scope
40 | private let _S_IRGRP = S_IRGRP
41 | private let _S_IWGRP = S_IWGRP
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:40:24: error: cannot find 'S_IRGRP' in scope
38 | private let _S_IXUSR = S_IXUSR
39 | private let _S_IRWXG = S_IRWXG
40 | private let _S_IRGRP = S_IRGRP
| `- error: cannot find 'S_IRGRP' in scope
41 | private let _S_IWGRP = S_IWGRP
42 | private let _S_IXGRP = S_IXGRP
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:41:24: error: cannot find 'S_IWGRP' in scope
39 | private let _S_IRWXG = S_IRWXG
40 | private let _S_IRGRP = S_IRGRP
41 | private let _S_IWGRP = S_IWGRP
| `- error: cannot find 'S_IWGRP' in scope
42 | private let _S_IXGRP = S_IXGRP
43 | private let _S_IRWXO = S_IRWXO
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:42:24: error: cannot find 'S_IXGRP' in scope
40 | private let _S_IRGRP = S_IRGRP
41 | private let _S_IWGRP = S_IWGRP
42 | private let _S_IXGRP = S_IXGRP
| `- error: cannot find 'S_IXGRP' in scope
43 | private let _S_IRWXO = S_IRWXO
44 | private let _S_IROTH = S_IROTH
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:43:24: error: cannot find 'S_IRWXO' in scope
41 | private let _S_IWGRP = S_IWGRP
42 | private let _S_IXGRP = S_IXGRP
43 | private let _S_IRWXO = S_IRWXO
| `- error: cannot find 'S_IRWXO' in scope
44 | private let _S_IROTH = S_IROTH
45 | private let _S_IWOTH = S_IWOTH
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:44:24: error: cannot find 'S_IROTH' in scope
42 | private let _S_IXGRP = S_IXGRP
43 | private let _S_IRWXO = S_IRWXO
44 | private let _S_IROTH = S_IROTH
| `- error: cannot find 'S_IROTH' in scope
45 | private let _S_IWOTH = S_IWOTH
46 | private let _S_IXOTH = S_IXOTH
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:45:24: error: cannot find 'S_IWOTH' in scope
43 | private let _S_IRWXO = S_IRWXO
44 | private let _S_IROTH = S_IROTH
45 | private let _S_IWOTH = S_IWOTH
| `- error: cannot find 'S_IWOTH' in scope
46 | private let _S_IXOTH = S_IXOTH
47 | extension FilePermissions {
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:46:24: error: cannot find 'S_IXOTH' in scope
44 | private let _S_IROTH = S_IROTH
45 | private let _S_IWOTH = S_IWOTH
46 | private let _S_IXOTH = S_IXOTH
| `- error: cannot find 'S_IXOTH' in scope
47 | extension FilePermissions {
48 | public static let S_ISUID = FilePermissions(rawValue: mode_t(_S_ISUID))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:48:59: error: cannot find 'mode_t' in scope
46 | private let _S_IXOTH = S_IXOTH
47 | extension FilePermissions {
48 | public static let S_ISUID = FilePermissions(rawValue: mode_t(_S_ISUID))
| `- error: cannot find 'mode_t' in scope
49 | public static let S_ISGID = FilePermissions(rawValue: mode_t(_S_ISGID))
50 | public static let S_ISVTX = FilePermissions(rawValue: mode_t(_S_ISVTX))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:48:48: error: extraneous argument label 'rawValue:' in call
46 | private let _S_IXOTH = S_IXOTH
47 | extension FilePermissions {
48 | public static let S_ISUID = FilePermissions(rawValue: mode_t(_S_ISUID))
| `- error: extraneous argument label 'rawValue:' in call
49 | public static let S_ISGID = FilePermissions(rawValue: mode_t(_S_ISGID))
50 | public static let S_ISVTX = FilePermissions(rawValue: mode_t(_S_ISVTX))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:49:59: error: cannot find 'mode_t' in scope
47 | extension FilePermissions {
48 | public static let S_ISUID = FilePermissions(rawValue: mode_t(_S_ISUID))
49 | public static let S_ISGID = FilePermissions(rawValue: mode_t(_S_ISGID))
| `- error: cannot find 'mode_t' in scope
50 | public static let S_ISVTX = FilePermissions(rawValue: mode_t(_S_ISVTX))
51 | public static let S_IRWXU = FilePermissions(rawValue: mode_t(_S_IRWXU))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:49:48: error: extraneous argument label 'rawValue:' in call
47 | extension FilePermissions {
48 | public static let S_ISUID = FilePermissions(rawValue: mode_t(_S_ISUID))
49 | public static let S_ISGID = FilePermissions(rawValue: mode_t(_S_ISGID))
| `- error: extraneous argument label 'rawValue:' in call
50 | public static let S_ISVTX = FilePermissions(rawValue: mode_t(_S_ISVTX))
51 | public static let S_IRWXU = FilePermissions(rawValue: mode_t(_S_IRWXU))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:50:59: error: cannot find 'mode_t' in scope
48 | public static let S_ISUID = FilePermissions(rawValue: mode_t(_S_ISUID))
49 | public static let S_ISGID = FilePermissions(rawValue: mode_t(_S_ISGID))
50 | public static let S_ISVTX = FilePermissions(rawValue: mode_t(_S_ISVTX))
| `- error: cannot find 'mode_t' in scope
51 | public static let S_IRWXU = FilePermissions(rawValue: mode_t(_S_IRWXU))
52 | public static let S_IRUSR = FilePermissions(rawValue: mode_t(_S_IRUSR))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:50:48: error: extraneous argument label 'rawValue:' in call
48 | public static let S_ISUID = FilePermissions(rawValue: mode_t(_S_ISUID))
49 | public static let S_ISGID = FilePermissions(rawValue: mode_t(_S_ISGID))
50 | public static let S_ISVTX = FilePermissions(rawValue: mode_t(_S_ISVTX))
| `- error: extraneous argument label 'rawValue:' in call
51 | public static let S_IRWXU = FilePermissions(rawValue: mode_t(_S_IRWXU))
52 | public static let S_IRUSR = FilePermissions(rawValue: mode_t(_S_IRUSR))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:51:59: error: cannot find 'mode_t' in scope
49 | public static let S_ISGID = FilePermissions(rawValue: mode_t(_S_ISGID))
50 | public static let S_ISVTX = FilePermissions(rawValue: mode_t(_S_ISVTX))
51 | public static let S_IRWXU = FilePermissions(rawValue: mode_t(_S_IRWXU))
| `- error: cannot find 'mode_t' in scope
52 | public static let S_IRUSR = FilePermissions(rawValue: mode_t(_S_IRUSR))
53 | public static let S_IWUSR = FilePermissions(rawValue: mode_t(_S_IWUSR))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:51:48: error: extraneous argument label 'rawValue:' in call
49 | public static let S_ISGID = FilePermissions(rawValue: mode_t(_S_ISGID))
50 | public static let S_ISVTX = FilePermissions(rawValue: mode_t(_S_ISVTX))
51 | public static let S_IRWXU = FilePermissions(rawValue: mode_t(_S_IRWXU))
| `- error: extraneous argument label 'rawValue:' in call
52 | public static let S_IRUSR = FilePermissions(rawValue: mode_t(_S_IRUSR))
53 | public static let S_IWUSR = FilePermissions(rawValue: mode_t(_S_IWUSR))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:52:59: error: cannot find 'mode_t' in scope
50 | public static let S_ISVTX = FilePermissions(rawValue: mode_t(_S_ISVTX))
51 | public static let S_IRWXU = FilePermissions(rawValue: mode_t(_S_IRWXU))
52 | public static let S_IRUSR = FilePermissions(rawValue: mode_t(_S_IRUSR))
| `- error: cannot find 'mode_t' in scope
53 | public static let S_IWUSR = FilePermissions(rawValue: mode_t(_S_IWUSR))
54 | public static let S_IXUSR = FilePermissions(rawValue: mode_t(_S_IXUSR))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:52:48: error: extraneous argument label 'rawValue:' in call
50 | public static let S_ISVTX = FilePermissions(rawValue: mode_t(_S_ISVTX))
51 | public static let S_IRWXU = FilePermissions(rawValue: mode_t(_S_IRWXU))
52 | public static let S_IRUSR = FilePermissions(rawValue: mode_t(_S_IRUSR))
| `- error: extraneous argument label 'rawValue:' in call
53 | public static let S_IWUSR = FilePermissions(rawValue: mode_t(_S_IWUSR))
54 | public static let S_IXUSR = FilePermissions(rawValue: mode_t(_S_IXUSR))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:53:59: error: cannot find 'mode_t' in scope
51 | public static let S_IRWXU = FilePermissions(rawValue: mode_t(_S_IRWXU))
52 | public static let S_IRUSR = FilePermissions(rawValue: mode_t(_S_IRUSR))
53 | public static let S_IWUSR = FilePermissions(rawValue: mode_t(_S_IWUSR))
| `- error: cannot find 'mode_t' in scope
54 | public static let S_IXUSR = FilePermissions(rawValue: mode_t(_S_IXUSR))
55 | public static let S_IRWXG = FilePermissions(rawValue: mode_t(_S_IRWXG))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:53:48: error: extraneous argument label 'rawValue:' in call
51 | public static let S_IRWXU = FilePermissions(rawValue: mode_t(_S_IRWXU))
52 | public static let S_IRUSR = FilePermissions(rawValue: mode_t(_S_IRUSR))
53 | public static let S_IWUSR = FilePermissions(rawValue: mode_t(_S_IWUSR))
| `- error: extraneous argument label 'rawValue:' in call
54 | public static let S_IXUSR = FilePermissions(rawValue: mode_t(_S_IXUSR))
55 | public static let S_IRWXG = FilePermissions(rawValue: mode_t(_S_IRWXG))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:54:59: error: cannot find 'mode_t' in scope
52 | public static let S_IRUSR = FilePermissions(rawValue: mode_t(_S_IRUSR))
53 | public static let S_IWUSR = FilePermissions(rawValue: mode_t(_S_IWUSR))
54 | public static let S_IXUSR = FilePermissions(rawValue: mode_t(_S_IXUSR))
| `- error: cannot find 'mode_t' in scope
55 | public static let S_IRWXG = FilePermissions(rawValue: mode_t(_S_IRWXG))
56 | public static let S_IRGRP = FilePermissions(rawValue: mode_t(_S_IRGRP))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:54:48: error: extraneous argument label 'rawValue:' in call
52 | public static let S_IRUSR = FilePermissions(rawValue: mode_t(_S_IRUSR))
53 | public static let S_IWUSR = FilePermissions(rawValue: mode_t(_S_IWUSR))
54 | public static let S_IXUSR = FilePermissions(rawValue: mode_t(_S_IXUSR))
| `- error: extraneous argument label 'rawValue:' in call
55 | public static let S_IRWXG = FilePermissions(rawValue: mode_t(_S_IRWXG))
56 | public static let S_IRGRP = FilePermissions(rawValue: mode_t(_S_IRGRP))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:55:59: error: cannot find 'mode_t' in scope
53 | public static let S_IWUSR = FilePermissions(rawValue: mode_t(_S_IWUSR))
54 | public static let S_IXUSR = FilePermissions(rawValue: mode_t(_S_IXUSR))
55 | public static let S_IRWXG = FilePermissions(rawValue: mode_t(_S_IRWXG))
| `- error: cannot find 'mode_t' in scope
56 | public static let S_IRGRP = FilePermissions(rawValue: mode_t(_S_IRGRP))
57 | public static let S_IWGRP = FilePermissions(rawValue: mode_t(_S_IWGRP))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:55:48: error: extraneous argument label 'rawValue:' in call
53 | public static let S_IWUSR = FilePermissions(rawValue: mode_t(_S_IWUSR))
54 | public static let S_IXUSR = FilePermissions(rawValue: mode_t(_S_IXUSR))
55 | public static let S_IRWXG = FilePermissions(rawValue: mode_t(_S_IRWXG))
| `- error: extraneous argument label 'rawValue:' in call
56 | public static let S_IRGRP = FilePermissions(rawValue: mode_t(_S_IRGRP))
57 | public static let S_IWGRP = FilePermissions(rawValue: mode_t(_S_IWGRP))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:56:59: error: cannot find 'mode_t' in scope
54 | public static let S_IXUSR = FilePermissions(rawValue: mode_t(_S_IXUSR))
55 | public static let S_IRWXG = FilePermissions(rawValue: mode_t(_S_IRWXG))
56 | public static let S_IRGRP = FilePermissions(rawValue: mode_t(_S_IRGRP))
| `- error: cannot find 'mode_t' in scope
57 | public static let S_IWGRP = FilePermissions(rawValue: mode_t(_S_IWGRP))
58 | public static let S_IXGRP = FilePermissions(rawValue: mode_t(_S_IXGRP))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:56:48: error: extraneous argument label 'rawValue:' in call
54 | public static let S_IXUSR = FilePermissions(rawValue: mode_t(_S_IXUSR))
55 | public static let S_IRWXG = FilePermissions(rawValue: mode_t(_S_IRWXG))
56 | public static let S_IRGRP = FilePermissions(rawValue: mode_t(_S_IRGRP))
| `- error: extraneous argument label 'rawValue:' in call
57 | public static let S_IWGRP = FilePermissions(rawValue: mode_t(_S_IWGRP))
58 | public static let S_IXGRP = FilePermissions(rawValue: mode_t(_S_IXGRP))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:57:59: error: cannot find 'mode_t' in scope
55 | public static let S_IRWXG = FilePermissions(rawValue: mode_t(_S_IRWXG))
56 | public static let S_IRGRP = FilePermissions(rawValue: mode_t(_S_IRGRP))
57 | public static let S_IWGRP = FilePermissions(rawValue: mode_t(_S_IWGRP))
| `- error: cannot find 'mode_t' in scope
58 | public static let S_IXGRP = FilePermissions(rawValue: mode_t(_S_IXGRP))
59 | public static let S_IRWXO = FilePermissions(rawValue: mode_t(_S_IRWXO))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:57:48: error: extraneous argument label 'rawValue:' in call
55 | public static let S_IRWXG = FilePermissions(rawValue: mode_t(_S_IRWXG))
56 | public static let S_IRGRP = FilePermissions(rawValue: mode_t(_S_IRGRP))
57 | public static let S_IWGRP = FilePermissions(rawValue: mode_t(_S_IWGRP))
| `- error: extraneous argument label 'rawValue:' in call
58 | public static let S_IXGRP = FilePermissions(rawValue: mode_t(_S_IXGRP))
59 | public static let S_IRWXO = FilePermissions(rawValue: mode_t(_S_IRWXO))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:58:59: error: cannot find 'mode_t' in scope
56 | public static let S_IRGRP = FilePermissions(rawValue: mode_t(_S_IRGRP))
57 | public static let S_IWGRP = FilePermissions(rawValue: mode_t(_S_IWGRP))
58 | public static let S_IXGRP = FilePermissions(rawValue: mode_t(_S_IXGRP))
| `- error: cannot find 'mode_t' in scope
59 | public static let S_IRWXO = FilePermissions(rawValue: mode_t(_S_IRWXO))
60 | public static let S_IROTH = FilePermissions(rawValue: mode_t(_S_IROTH))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:58:48: error: extraneous argument label 'rawValue:' in call
56 | public static let S_IRGRP = FilePermissions(rawValue: mode_t(_S_IRGRP))
57 | public static let S_IWGRP = FilePermissions(rawValue: mode_t(_S_IWGRP))
58 | public static let S_IXGRP = FilePermissions(rawValue: mode_t(_S_IXGRP))
| `- error: extraneous argument label 'rawValue:' in call
59 | public static let S_IRWXO = FilePermissions(rawValue: mode_t(_S_IRWXO))
60 | public static let S_IROTH = FilePermissions(rawValue: mode_t(_S_IROTH))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:59:59: error: cannot find 'mode_t' in scope
57 | public static let S_IWGRP = FilePermissions(rawValue: mode_t(_S_IWGRP))
58 | public static let S_IXGRP = FilePermissions(rawValue: mode_t(_S_IXGRP))
59 | public static let S_IRWXO = FilePermissions(rawValue: mode_t(_S_IRWXO))
| `- error: cannot find 'mode_t' in scope
60 | public static let S_IROTH = FilePermissions(rawValue: mode_t(_S_IROTH))
61 | public static let S_IWOTH = FilePermissions(rawValue: mode_t(_S_IWOTH))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:59:48: error: extraneous argument label 'rawValue:' in call
57 | public static let S_IWGRP = FilePermissions(rawValue: mode_t(_S_IWGRP))
58 | public static let S_IXGRP = FilePermissions(rawValue: mode_t(_S_IXGRP))
59 | public static let S_IRWXO = FilePermissions(rawValue: mode_t(_S_IRWXO))
| `- error: extraneous argument label 'rawValue:' in call
60 | public static let S_IROTH = FilePermissions(rawValue: mode_t(_S_IROTH))
61 | public static let S_IWOTH = FilePermissions(rawValue: mode_t(_S_IWOTH))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:60:59: error: cannot find 'mode_t' in scope
58 | public static let S_IXGRP = FilePermissions(rawValue: mode_t(_S_IXGRP))
59 | public static let S_IRWXO = FilePermissions(rawValue: mode_t(_S_IRWXO))
60 | public static let S_IROTH = FilePermissions(rawValue: mode_t(_S_IROTH))
| `- error: cannot find 'mode_t' in scope
61 | public static let S_IWOTH = FilePermissions(rawValue: mode_t(_S_IWOTH))
62 | public static let S_IXOTH = FilePermissions(rawValue: mode_t(_S_IXOTH))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:60:48: error: extraneous argument label 'rawValue:' in call
58 | public static let S_IXGRP = FilePermissions(rawValue: mode_t(_S_IXGRP))
59 | public static let S_IRWXO = FilePermissions(rawValue: mode_t(_S_IRWXO))
60 | public static let S_IROTH = FilePermissions(rawValue: mode_t(_S_IROTH))
| `- error: extraneous argument label 'rawValue:' in call
61 | public static let S_IWOTH = FilePermissions(rawValue: mode_t(_S_IWOTH))
62 | public static let S_IXOTH = FilePermissions(rawValue: mode_t(_S_IXOTH))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:61:59: error: cannot find 'mode_t' in scope
59 | public static let S_IRWXO = FilePermissions(rawValue: mode_t(_S_IRWXO))
60 | public static let S_IROTH = FilePermissions(rawValue: mode_t(_S_IROTH))
61 | public static let S_IWOTH = FilePermissions(rawValue: mode_t(_S_IWOTH))
| `- error: cannot find 'mode_t' in scope
62 | public static let S_IXOTH = FilePermissions(rawValue: mode_t(_S_IXOTH))
63 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:61:48: error: extraneous argument label 'rawValue:' in call
59 | public static let S_IRWXO = FilePermissions(rawValue: mode_t(_S_IRWXO))
60 | public static let S_IROTH = FilePermissions(rawValue: mode_t(_S_IROTH))
61 | public static let S_IWOTH = FilePermissions(rawValue: mode_t(_S_IWOTH))
| `- error: extraneous argument label 'rawValue:' in call
62 | public static let S_IXOTH = FilePermissions(rawValue: mode_t(_S_IXOTH))
63 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:62:59: error: cannot find 'mode_t' in scope
60 | public static let S_IROTH = FilePermissions(rawValue: mode_t(_S_IROTH))
61 | public static let S_IWOTH = FilePermissions(rawValue: mode_t(_S_IWOTH))
62 | public static let S_IXOTH = FilePermissions(rawValue: mode_t(_S_IXOTH))
| `- error: cannot find 'mode_t' in scope
63 | }
64 |
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:62:48: error: extraneous argument label 'rawValue:' in call
60 | public static let S_IROTH = FilePermissions(rawValue: mode_t(_S_IROTH))
61 | public static let S_IWOTH = FilePermissions(rawValue: mode_t(_S_IWOTH))
62 | public static let S_IXOTH = FilePermissions(rawValue: mode_t(_S_IXOTH))
| `- error: extraneous argument label 'rawValue:' in call
63 | }
64 |
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:65:23: error: cannot find 'S_IFMT' in scope
63 | }
64 |
65 | private let _S_IFMT = S_IFMT
| `- error: cannot find 'S_IFMT' in scope
66 | private let _S_IFIFO = S_IFIFO
67 | private let _S_IFCHR = S_IFCHR
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:66:24: error: cannot find 'S_IFIFO' in scope
64 |
65 | private let _S_IFMT = S_IFMT
66 | private let _S_IFIFO = S_IFIFO
| `- error: cannot find 'S_IFIFO' in scope
67 | private let _S_IFCHR = S_IFCHR
68 | private let _S_IFDIR = S_IFDIR
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:67:24: error: cannot find 'S_IFCHR' in scope
65 | private let _S_IFMT = S_IFMT
66 | private let _S_IFIFO = S_IFIFO
67 | private let _S_IFCHR = S_IFCHR
| `- error: cannot find 'S_IFCHR' in scope
68 | private let _S_IFDIR = S_IFDIR
69 | private let _S_IFBLK = S_IFBLK
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:68:24: error: cannot find 'S_IFDIR' in scope
66 | private let _S_IFIFO = S_IFIFO
67 | private let _S_IFCHR = S_IFCHR
68 | private let _S_IFDIR = S_IFDIR
| `- error: cannot find 'S_IFDIR' in scope
69 | private let _S_IFBLK = S_IFBLK
70 | private let _S_IFREG = S_IFREG
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:69:24: error: cannot find 'S_IFBLK' in scope
67 | private let _S_IFCHR = S_IFCHR
68 | private let _S_IFDIR = S_IFDIR
69 | private let _S_IFBLK = S_IFBLK
| `- error: cannot find 'S_IFBLK' in scope
70 | private let _S_IFREG = S_IFREG
71 | private let _S_IFLNK = S_IFLNK
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:70:24: error: cannot find 'S_IFREG' in scope
68 | private let _S_IFDIR = S_IFDIR
69 | private let _S_IFBLK = S_IFBLK
70 | private let _S_IFREG = S_IFREG
| `- error: cannot find 'S_IFREG' in scope
71 | private let _S_IFLNK = S_IFLNK
72 | private let _S_IFSOCK = S_IFSOCK
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:71:24: error: cannot find 'S_IFLNK' in scope
69 | private let _S_IFBLK = S_IFBLK
70 | private let _S_IFREG = S_IFREG
71 | private let _S_IFLNK = S_IFLNK
| `- error: cannot find 'S_IFLNK' in scope
72 | private let _S_IFSOCK = S_IFSOCK
73 |
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:72:25: error: cannot find 'S_IFSOCK' in scope
70 | private let _S_IFREG = S_IFREG
71 | private let _S_IFLNK = S_IFLNK
72 | private let _S_IFSOCK = S_IFSOCK
| `- error: cannot find 'S_IFSOCK' in scope
73 |
74 | /// The type of a file, derived from `st_mode`.
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:79:25: error: cannot find type 'mode_t' in scope
77 | case blockDevice, characterDevice, unknown
78 |
79 | internal init(mode: mode_t) {
| `- error: cannot find type 'mode_t' in scope
80 | switch mode & mode_t(_S_IFMT) {
81 | case mode_t(_S_IFREG): self = .regular
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:96:21: error: cannot find type 'dev_t' in scope
94 | public struct Stat: Sendable {
95 | /// device id (`st_dev`)
96 | public let dev: dev_t
| `- error: cannot find type 'dev_t' in scope
97 | /// inode number (`st_ino`)
98 | public let ino: ino_t
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:98:21: error: cannot find type 'ino_t' in scope
96 | public let dev: dev_t
97 | /// inode number (`st_ino`)
98 | public let ino: ino_t
| `- error: cannot find type 'ino_t' in scope
99 | /// file mode, type and permissions (`st_mode`)
100 | public let mode: mode_t
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:100:22: error: cannot find type 'mode_t' in scope
98 | public let ino: ino_t
99 | /// file mode, type and permissions (`st_mode`)
100 | public let mode: mode_t
| `- error: cannot find type 'mode_t' in scope
101 | /// number of hard links (`st_nlink`)
102 | public let nlink: nlink_t
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:102:23: error: cannot find type 'nlink_t' in scope
100 | public let mode: mode_t
101 | /// number of hard links (`st_nlink`)
102 | public let nlink: nlink_t
| `- error: cannot find type 'nlink_t' in scope
103 | /// owner's user id (`st_uid`)
104 | public let uid: uid_t
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:104:21: error: cannot find type 'uid_t' in scope
102 | public let nlink: nlink_t
103 | /// owner's user id (`st_uid`)
104 | public let uid: uid_t
| `- error: cannot find type 'uid_t' in scope
105 | /// owner's group id (`st_gid`)
106 | public let gid: gid_t
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:106:21: error: cannot find type 'gid_t' in scope
104 | public let uid: uid_t
105 | /// owner's group id (`st_gid`)
106 | public let gid: gid_t
| `- error: cannot find type 'gid_t' in scope
107 | /// device id, for special files (`st_rdev`)
108 | public let rdev: dev_t
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:108:22: error: cannot find type 'dev_t' in scope
106 | public let gid: gid_t
107 | /// device id, for special files (`st_rdev`)
108 | public let rdev: dev_t
| `- error: cannot find type 'dev_t' in scope
109 | /// size in bytes (`st_size`)
110 | public let size: off_t
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:110:22: error: cannot find type 'off_t' in scope
108 | public let rdev: dev_t
109 | /// size in bytes (`st_size`)
110 | public let size: off_t
| `- error: cannot find type 'off_t' in scope
111 | /// last access time (`st_atime`)
112 | public let atime: TimeSpec
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:118:25: error: cannot find type 'blksize_t' in scope
116 | public let ctime: TimeSpec
117 | /// preferred I/O block size (`st_blksize`)
118 | public let blksize: blksize_t
| `- error: cannot find type 'blksize_t' in scope
119 | /// number of 512-byte blocks allocated (`st_blocks`)
120 | public let blocks: blkcnt_t
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:120:24: error: cannot find type 'blkcnt_t' in scope
118 | public let blksize: blksize_t
119 | /// number of 512-byte blocks allocated (`st_blocks`)
120 | public let blocks: blkcnt_t
| `- error: cannot find type 'blkcnt_t' in scope
121 |
122 | /// the file's type, from the mode bits.
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:141:25: error: cannot find type 'stat' in scope
139 | public var isCharacterDevice: Bool { type == .characterDevice }
140 |
141 | internal init(_ st: stat) {
| `- error: cannot find type 'stat' in scope
142 | dev = st.st_dev
143 | ino = st.st_ino
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:186:43: error: cannot find type 'mode_t' in scope
184 |
185 | /// identical to C's `chmod(2)`.
186 | public func chmod(_ path: String, _ mode: mode_t) throws {
| `- error: cannot find type 'mode_t' in scope
187 | _ = try path.withCString { try check(chmod($0, mode)) }
188 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:191:43: error: cannot find type 'mode_t' in scope
189 |
190 | /// identical to C's `mkdir(2)`.
191 | public func mkdir(_ path: String, _ mode: mode_t = 0o777) throws {
| `- error: cannot find type 'mode_t' in scope
192 | _ = try path.withCString { try check(mkdir($0, mode)) }
193 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:196:44: error: cannot find type 'mode_t' in scope
194 |
195 | /// identical to C's `mkfifo(2)`.
196 | public func mkfifo(_ path: String, _ mode: mode_t = 0o666) throws {
| `- error: cannot find type 'mode_t' in scope
197 | _ = try path.withCString { try check(mkfifo($0, mode)) }
198 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:202:39: error: cannot find type 'mode_t' in scope
200 | /// identical to C's `umask(2)`; returns the previous mask.
201 | @discardableResult
202 | public func umask(_ cmask: mode_t) -> mode_t { C.umask(cmask) }
| `- error: cannot find type 'mode_t' in scope
203 |
204 | /// identical to C's `utime(3)`; nil times mean "now".
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:202:28: error: cannot find type 'mode_t' in scope
200 | /// identical to C's `umask(2)`; returns the previous mask.
201 | @discardableResult
202 | public func umask(_ cmask: mode_t) -> mode_t { C.umask(cmask) }
| `- error: cannot find type 'mode_t' in scope
203 |
204 | /// identical to C's `utime(3)`; nil times mean "now".
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:205:42: error: cannot find type 'time_t' in scope
203 |
204 | /// identical to C's `utime(3)`; nil times mean "now".
205 | public func utime(_ path: String, atime: time_t? = nil, mtime: time_t? = nil) throws {
| `- error: cannot find type 'time_t' in scope
206 | try path.withCString { p in
207 | if atime == nil && mtime == nil {
/host/spi-builder-workspace/Sources/POSIXGlobals/SysStat.swift:205:64: error: cannot find type 'time_t' in scope
203 |
204 | /// identical to C's `utime(3)`; nil times mean "now".
205 | public func utime(_ path: String, atime: time_t? = nil, mtime: time_t? = nil) throws {
| `- error: cannot find type 'time_t' in scope
206 | try path.withCString { p in
207 | if atime == nil && mtime == nil {
/host/spi-builder-workspace/Sources/POSIXGlobals/SysWait.swift:51:24: error: cannot find 'WNOHANG' in scope
49 | public init(rawValue: CInt) { self.rawValue = rawValue }
50 | }
51 | private let _WNOHANG = WNOHANG
| `- error: cannot find 'WNOHANG' in scope
52 | private let _WUNTRACED = WUNTRACED
53 | private let _WCONTINUED = WCONTINUED
/host/spi-builder-workspace/Sources/POSIXGlobals/SysWait.swift:52:26: error: cannot find 'WUNTRACED' in scope
50 | }
51 | private let _WNOHANG = WNOHANG
52 | private let _WUNTRACED = WUNTRACED
| `- error: cannot find 'WUNTRACED' in scope
53 | private let _WCONTINUED = WCONTINUED
54 | extension WaitOptions {
/host/spi-builder-workspace/Sources/POSIXGlobals/SysWait.swift:53:27: error: cannot find 'WCONTINUED' in scope
51 | private let _WNOHANG = WNOHANG
52 | private let _WUNTRACED = WUNTRACED
53 | private let _WCONTINUED = WCONTINUED
| `- error: cannot find 'WCONTINUED' in scope
54 | extension WaitOptions {
55 | public static let WNOHANG = WaitOptions(rawValue: _WNOHANG)
/host/spi-builder-workspace/Sources/POSIXGlobals/SysWait.swift:61:36: error: cannot find type 'pid_t' in scope
59 |
60 | /// identical to C's `wait(2)`; returns the reaped pid and its status.
61 | public func wait() throws -> (pid: pid_t, status: WaitStatus) {
| `- error: cannot find type 'pid_t' in scope
62 | var status: CInt = 0
63 | let pid = try check(wait(&status))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysWait.swift:69:80: error: cannot find type 'pid_t' in scope
67 | /// identical to C's `waitpid(2)`; returns the reaped pid (0 with
68 | /// `.WNOHANG` when nothing has changed) and its status.
69 | public func waitpid(_ pid: pid_t, _ options: WaitOptions = []) throws -> (pid: pid_t, status: WaitStatus) {
| `- error: cannot find type 'pid_t' in scope
70 | var status: CInt = 0
71 | let r = try check(waitpid(pid, &status, options.rawValue))
/host/spi-builder-workspace/Sources/POSIXGlobals/SysWait.swift:69:28: error: cannot find type 'pid_t' in scope
67 | /// identical to C's `waitpid(2)`; returns the reaped pid (0 with
68 | /// `.WNOHANG` when nothing has changed) and its status.
69 | public func waitpid(_ pid: pid_t, _ options: WaitOptions = []) throws -> (pid: pid_t, status: WaitStatus) {
| `- error: cannot find type 'pid_t' in scope
70 | var status: CInt = 0
71 | let r = try check(waitpid(pid, &status, options.rawValue))
/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/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/Unistd.swift:12:25: error: cannot find type 'pid_t' in scope
10 |
11 | /// identical to C's `getpid(2)`.
12 | public func getpid() -> pid_t { C.getpid() }
| `- error: cannot find type 'pid_t' in scope
13 | /// identical to C's `getppid(2)`.
14 | public func getppid() -> pid_t { C.getppid() }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:14:26: error: cannot find type 'pid_t' in scope
12 | public func getpid() -> pid_t { C.getpid() }
13 | /// identical to C's `getppid(2)`.
14 | public func getppid() -> pid_t { C.getppid() }
| `- error: cannot find type 'pid_t' in scope
15 | /// identical to C's `getuid(2)`.
16 | public func getuid() -> uid_t { C.getuid() }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:16:25: error: cannot find type 'uid_t' in scope
14 | public func getppid() -> pid_t { C.getppid() }
15 | /// identical to C's `getuid(2)`.
16 | public func getuid() -> uid_t { C.getuid() }
| `- error: cannot find type 'uid_t' in scope
17 | /// identical to C's `geteuid(2)`.
18 | public func geteuid() -> uid_t { C.geteuid() }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:18:26: error: cannot find type 'uid_t' in scope
16 | public func getuid() -> uid_t { C.getuid() }
17 | /// identical to C's `geteuid(2)`.
18 | public func geteuid() -> uid_t { C.geteuid() }
| `- error: cannot find type 'uid_t' in scope
19 | /// identical to C's `getgid(2)`.
20 | public func getgid() -> gid_t { C.getgid() }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:20:25: error: cannot find type 'gid_t' in scope
18 | public func geteuid() -> uid_t { C.geteuid() }
19 | /// identical to C's `getgid(2)`.
20 | public func getgid() -> gid_t { C.getgid() }
| `- error: cannot find type 'gid_t' in scope
21 | /// identical to C's `getegid(2)`.
22 | public func getegid() -> gid_t { C.getegid() }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:22:26: error: cannot find type 'gid_t' in scope
20 | public func getgid() -> gid_t { C.getgid() }
21 | /// identical to C's `getegid(2)`.
22 | public func getegid() -> gid_t { C.getegid() }
| `- error: cannot find type 'gid_t' in scope
23 | /// identical to C's `getpgrp(2)`.
24 | public func getpgrp() -> pid_t { C.getpgrp() }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:24:26: error: cannot find type 'pid_t' in scope
22 | public func getegid() -> gid_t { C.getegid() }
23 | /// identical to C's `getpgrp(2)`.
24 | public func getpgrp() -> pid_t { C.getpgrp() }
| `- error: cannot find type 'pid_t' in scope
25 | /// identical to C's `setuid(2)`.
26 | public func setuid(_ uid: uid_t) throws { try check(C.setuid(uid)) }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:26:27: error: cannot find type 'uid_t' in scope
24 | public func getpgrp() -> pid_t { C.getpgrp() }
25 | /// identical to C's `setuid(2)`.
26 | public func setuid(_ uid: uid_t) throws { try check(C.setuid(uid)) }
| `- error: cannot find type 'uid_t' in scope
27 | /// identical to C's `setgid(2)`.
28 | public func setgid(_ gid: gid_t) throws { try check(C.setgid(gid)) }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:28:27: error: cannot find type 'gid_t' in scope
26 | public func setuid(_ uid: uid_t) throws { try check(C.setuid(uid)) }
27 | /// identical to C's `setgid(2)`.
28 | public func setgid(_ gid: gid_t) throws { try check(C.setgid(gid)) }
| `- error: cannot find type 'gid_t' in scope
29 | /// identical to C's `setpgid(2)`.
30 | public func setpgid(_ pid: pid_t, _ pgid: pid_t) throws { try check(C.setpgid(pid, pgid)) }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:30:28: error: cannot find type 'pid_t' in scope
28 | public func setgid(_ gid: gid_t) throws { try check(C.setgid(gid)) }
29 | /// identical to C's `setpgid(2)`.
30 | public func setpgid(_ pid: pid_t, _ pgid: pid_t) throws { try check(C.setpgid(pid, pgid)) }
| `- error: cannot find type 'pid_t' in scope
31 | /// identical to C's `setsid(2)`.
32 | @discardableResult
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:30:43: error: cannot find type 'pid_t' in scope
28 | public func setgid(_ gid: gid_t) throws { try check(C.setgid(gid)) }
29 | /// identical to C's `setpgid(2)`.
30 | public func setpgid(_ pid: pid_t, _ pgid: pid_t) throws { try check(C.setpgid(pid, pgid)) }
| `- error: cannot find type 'pid_t' in scope
31 | /// identical to C's `setsid(2)`.
32 | @discardableResult
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:33:32: error: cannot find type 'pid_t' in scope
31 | /// identical to C's `setsid(2)`.
32 | @discardableResult
33 | public func setsid() throws -> pid_t { try check(C.setsid()) }
| `- error: cannot find type 'pid_t' in scope
34 |
35 | /// identical to C's `getgroups(2)`: the supplementary group ids.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:36:36: error: cannot find type 'gid_t' in scope
34 |
35 | /// identical to C's `getgroups(2)`: the supplementary group ids.
36 | public func getgroups() throws -> [gid_t] {
| `- error: cannot find type 'gid_t' in scope
37 | let n = try check(getgroups(0, nil))
38 | guard n > 0 else { return [] }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:54:30: error: cannot find type 'pid_t' in scope
52 | /// identical to C's `fork(2)`; returns 0 in the child and the child's
53 | /// pid in the parent.
54 | public func fork() throws -> pid_t { try check(C.fork()) }
| `- error: cannot find type 'pid_t' in scope
55 |
56 | /// identical to C's `_exit(2)`: exits without running cleanup.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:113:25: error: cannot find 'SEEK_SET' in scope
111 | public init(rawValue: CInt) { self.rawValue = rawValue }
112 | }
113 | private let _SEEK_SET = SEEK_SET
| `- error: cannot find 'SEEK_SET' in scope
114 | private let _SEEK_CUR = SEEK_CUR
115 | private let _SEEK_END = SEEK_END
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:114:25: error: cannot find 'SEEK_CUR' in scope
112 | }
113 | private let _SEEK_SET = SEEK_SET
114 | private let _SEEK_CUR = SEEK_CUR
| `- error: cannot find 'SEEK_CUR' in scope
115 | private let _SEEK_END = SEEK_END
116 | extension Whence {
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:115:25: error: cannot find 'SEEK_END' in scope
113 | private let _SEEK_SET = SEEK_SET
114 | private let _SEEK_CUR = SEEK_CUR
115 | private let _SEEK_END = SEEK_END
| `- error: cannot find 'SEEK_END' in scope
116 | extension Whence {
117 | public static let SEEK_SET = Whence(rawValue: _SEEK_SET)
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:124:88: error: cannot find type 'off_t' in scope
122 | /// identical to C's `lseek(2)`; returns the new offset.
123 | @discardableResult
124 | public func lseek(_ fd: CInt, _ offset: off_t, _ whence: Whence = .SEEK_SET) throws -> off_t {
| `- error: cannot find type 'off_t' in scope
125 | try check(lseek(fd, offset, whence.rawValue))
126 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:124:41: error: cannot find type 'off_t' in scope
122 | /// identical to C's `lseek(2)`; returns the new offset.
123 | @discardableResult
124 | public func lseek(_ fd: CInt, _ offset: off_t, _ whence: Whence = .SEEK_SET) throws -> off_t {
| `- error: cannot find type 'off_t' in scope
125 | try check(lseek(fd, offset, whence.rawValue))
126 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:159:21: error: cannot find 'F_OK' in scope
157 | public init(rawValue: CInt) { self.rawValue = rawValue }
158 | }
159 | private let _F_OK = F_OK
| `- error: cannot find 'F_OK' in scope
160 | private let _R_OK = R_OK
161 | private let _W_OK = W_OK
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:160:21: error: cannot find 'R_OK' in scope
158 | }
159 | private let _F_OK = F_OK
160 | private let _R_OK = R_OK
| `- error: cannot find 'R_OK' in scope
161 | private let _W_OK = W_OK
162 | private let _X_OK = X_OK
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:161:21: error: cannot find 'W_OK' in scope
159 | private let _F_OK = F_OK
160 | private let _R_OK = R_OK
161 | private let _W_OK = W_OK
| `- error: cannot find 'W_OK' in scope
162 | private let _X_OK = X_OK
163 | extension AccessMode {
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:162:21: error: cannot find 'X_OK' in scope
160 | private let _R_OK = R_OK
161 | private let _W_OK = W_OK
162 | private let _X_OK = X_OK
| `- error: cannot find 'X_OK' in scope
163 | extension AccessMode {
164 | public static let F_OK = AccessMode(rawValue: _F_OK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:181:44: error: cannot find type 'uid_t' in scope
179 |
180 | /// identical to C's `chown(2)`.
181 | public func chown(_ path: String, _ owner: uid_t, _ group: gid_t) throws {
| `- error: cannot find type 'uid_t' in scope
182 | _ = try path.withCString { try check(chown($0, owner, group)) }
183 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:181:60: error: cannot find type 'gid_t' in scope
179 |
180 | /// identical to C's `chown(2)`.
181 | public func chown(_ path: String, _ owner: uid_t, _ group: gid_t) throws {
| `- error: cannot find type 'gid_t' in scope
182 | _ = try path.withCString { try check(chown($0, owner, group)) }
183 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:219:59: error: cannot find '_SC_ARG_MAX' in scope
217 |
218 | // CInt() because Glibc imports these anonymous-enum constants as Int
219 | public static let argMax = SysconfName(rawValue: CInt(_SC_ARG_MAX))
| `- error: cannot find '_SC_ARG_MAX' in scope
220 | public static let childMax = SysconfName(rawValue: CInt(_SC_CHILD_MAX))
221 | public static let clockTick = SysconfName(rawValue: CInt(_SC_CLK_TCK))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:220:61: error: cannot find '_SC_CHILD_MAX' in scope
218 | // CInt() because Glibc imports these anonymous-enum constants as Int
219 | public static let argMax = SysconfName(rawValue: CInt(_SC_ARG_MAX))
220 | public static let childMax = SysconfName(rawValue: CInt(_SC_CHILD_MAX))
| `- error: cannot find '_SC_CHILD_MAX' in scope
221 | public static let clockTick = SysconfName(rawValue: CInt(_SC_CLK_TCK))
222 | public static let ngroupsMax = SysconfName(rawValue: CInt(_SC_NGROUPS_MAX))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:221:62: error: cannot find '_SC_CLK_TCK' in scope
219 | public static let argMax = SysconfName(rawValue: CInt(_SC_ARG_MAX))
220 | public static let childMax = SysconfName(rawValue: CInt(_SC_CHILD_MAX))
221 | public static let clockTick = SysconfName(rawValue: CInt(_SC_CLK_TCK))
| `- error: cannot find '_SC_CLK_TCK' in scope
222 | public static let ngroupsMax = SysconfName(rawValue: CInt(_SC_NGROUPS_MAX))
223 | public static let openMax = SysconfName(rawValue: CInt(_SC_OPEN_MAX))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:222:63: error: cannot find '_SC_NGROUPS_MAX' in scope
220 | public static let childMax = SysconfName(rawValue: CInt(_SC_CHILD_MAX))
221 | public static let clockTick = SysconfName(rawValue: CInt(_SC_CLK_TCK))
222 | public static let ngroupsMax = SysconfName(rawValue: CInt(_SC_NGROUPS_MAX))
| `- error: cannot find '_SC_NGROUPS_MAX' in scope
223 | public static let openMax = SysconfName(rawValue: CInt(_SC_OPEN_MAX))
224 | public static let pageSize = SysconfName(rawValue: CInt(_SC_PAGESIZE))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:223:60: error: cannot find '_SC_OPEN_MAX' in scope
221 | public static let clockTick = SysconfName(rawValue: CInt(_SC_CLK_TCK))
222 | public static let ngroupsMax = SysconfName(rawValue: CInt(_SC_NGROUPS_MAX))
223 | public static let openMax = SysconfName(rawValue: CInt(_SC_OPEN_MAX))
| `- error: cannot find '_SC_OPEN_MAX' in scope
224 | public static let pageSize = SysconfName(rawValue: CInt(_SC_PAGESIZE))
225 | public static let streamMax = SysconfName(rawValue: CInt(_SC_STREAM_MAX))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:224:61: error: cannot find '_SC_PAGESIZE' in scope
222 | public static let ngroupsMax = SysconfName(rawValue: CInt(_SC_NGROUPS_MAX))
223 | public static let openMax = SysconfName(rawValue: CInt(_SC_OPEN_MAX))
224 | public static let pageSize = SysconfName(rawValue: CInt(_SC_PAGESIZE))
| `- error: cannot find '_SC_PAGESIZE' in scope
225 | public static let streamMax = SysconfName(rawValue: CInt(_SC_STREAM_MAX))
226 | public static let tznameMax = SysconfName(rawValue: CInt(_SC_TZNAME_MAX))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:225:62: error: cannot find '_SC_STREAM_MAX' in scope
223 | public static let openMax = SysconfName(rawValue: CInt(_SC_OPEN_MAX))
224 | public static let pageSize = SysconfName(rawValue: CInt(_SC_PAGESIZE))
225 | public static let streamMax = SysconfName(rawValue: CInt(_SC_STREAM_MAX))
| `- error: cannot find '_SC_STREAM_MAX' in scope
226 | public static let tznameMax = SysconfName(rawValue: CInt(_SC_TZNAME_MAX))
227 | public static let jobControl = SysconfName(rawValue: CInt(_SC_JOB_CONTROL))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:226:62: error: cannot find '_SC_TZNAME_MAX' in scope
224 | public static let pageSize = SysconfName(rawValue: CInt(_SC_PAGESIZE))
225 | public static let streamMax = SysconfName(rawValue: CInt(_SC_STREAM_MAX))
226 | public static let tznameMax = SysconfName(rawValue: CInt(_SC_TZNAME_MAX))
| `- error: cannot find '_SC_TZNAME_MAX' in scope
227 | public static let jobControl = SysconfName(rawValue: CInt(_SC_JOB_CONTROL))
228 | public static let savedIDs = SysconfName(rawValue: CInt(_SC_SAVED_IDS))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:227:63: error: cannot find '_SC_JOB_CONTROL' in scope
225 | public static let streamMax = SysconfName(rawValue: CInt(_SC_STREAM_MAX))
226 | public static let tznameMax = SysconfName(rawValue: CInt(_SC_TZNAME_MAX))
227 | public static let jobControl = SysconfName(rawValue: CInt(_SC_JOB_CONTROL))
| `- error: cannot find '_SC_JOB_CONTROL' in scope
228 | public static let savedIDs = SysconfName(rawValue: CInt(_SC_SAVED_IDS))
229 | public static let version = SysconfName(rawValue: CInt(_SC_VERSION))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:228:61: error: cannot find '_SC_SAVED_IDS' in scope
226 | public static let tznameMax = SysconfName(rawValue: CInt(_SC_TZNAME_MAX))
227 | public static let jobControl = SysconfName(rawValue: CInt(_SC_JOB_CONTROL))
228 | public static let savedIDs = SysconfName(rawValue: CInt(_SC_SAVED_IDS))
| `- error: cannot find '_SC_SAVED_IDS' in scope
229 | public static let version = SysconfName(rawValue: CInt(_SC_VERSION))
230 | public static let processorsOnline = SysconfName(rawValue: CInt(_SC_NPROCESSORS_ONLN))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:229:60: error: cannot find '_SC_VERSION' in scope
227 | public static let jobControl = SysconfName(rawValue: CInt(_SC_JOB_CONTROL))
228 | public static let savedIDs = SysconfName(rawValue: CInt(_SC_SAVED_IDS))
229 | public static let version = SysconfName(rawValue: CInt(_SC_VERSION))
| `- error: cannot find '_SC_VERSION' in scope
230 | public static let processorsOnline = SysconfName(rawValue: CInt(_SC_NPROCESSORS_ONLN))
231 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:230:69: error: cannot find '_SC_NPROCESSORS_ONLN' in scope
228 | public static let savedIDs = SysconfName(rawValue: CInt(_SC_SAVED_IDS))
229 | public static let version = SysconfName(rawValue: CInt(_SC_VERSION))
230 | public static let processorsOnline = SysconfName(rawValue: CInt(_SC_NPROCESSORS_ONLN))
| `- error: cannot find '_SC_NPROCESSORS_ONLN' in scope
231 | }
232 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:250:61: error: cannot find '_PC_LINK_MAX' in scope
248 |
249 | // CInt() because Glibc imports these anonymous-enum constants as Int
250 | public static let linkMax = PathconfName(rawValue: CInt(_PC_LINK_MAX))
| `- error: cannot find '_PC_LINK_MAX' in scope
251 | public static let maxCanon = PathconfName(rawValue: CInt(_PC_MAX_CANON))
252 | public static let maxInput = PathconfName(rawValue: CInt(_PC_MAX_INPUT))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:251:62: error: cannot find '_PC_MAX_CANON' in scope
249 | // CInt() because Glibc imports these anonymous-enum constants as Int
250 | public static let linkMax = PathconfName(rawValue: CInt(_PC_LINK_MAX))
251 | public static let maxCanon = PathconfName(rawValue: CInt(_PC_MAX_CANON))
| `- error: cannot find '_PC_MAX_CANON' in scope
252 | public static let maxInput = PathconfName(rawValue: CInt(_PC_MAX_INPUT))
253 | public static let nameMax = PathconfName(rawValue: CInt(_PC_NAME_MAX))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:252:62: error: cannot find '_PC_MAX_INPUT' in scope
250 | public static let linkMax = PathconfName(rawValue: CInt(_PC_LINK_MAX))
251 | public static let maxCanon = PathconfName(rawValue: CInt(_PC_MAX_CANON))
252 | public static let maxInput = PathconfName(rawValue: CInt(_PC_MAX_INPUT))
| `- error: cannot find '_PC_MAX_INPUT' in scope
253 | public static let nameMax = PathconfName(rawValue: CInt(_PC_NAME_MAX))
254 | public static let pathMax = PathconfName(rawValue: CInt(_PC_PATH_MAX))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:253:61: error: cannot find '_PC_NAME_MAX' in scope
251 | public static let maxCanon = PathconfName(rawValue: CInt(_PC_MAX_CANON))
252 | public static let maxInput = PathconfName(rawValue: CInt(_PC_MAX_INPUT))
253 | public static let nameMax = PathconfName(rawValue: CInt(_PC_NAME_MAX))
| `- error: cannot find '_PC_NAME_MAX' in scope
254 | public static let pathMax = PathconfName(rawValue: CInt(_PC_PATH_MAX))
255 | public static let pipeBuf = PathconfName(rawValue: CInt(_PC_PIPE_BUF))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:254:61: error: cannot find '_PC_PATH_MAX' in scope
252 | public static let maxInput = PathconfName(rawValue: CInt(_PC_MAX_INPUT))
253 | public static let nameMax = PathconfName(rawValue: CInt(_PC_NAME_MAX))
254 | public static let pathMax = PathconfName(rawValue: CInt(_PC_PATH_MAX))
| `- error: cannot find '_PC_PATH_MAX' in scope
255 | public static let pipeBuf = PathconfName(rawValue: CInt(_PC_PIPE_BUF))
256 | public static let chownRestricted = PathconfName(rawValue: CInt(_PC_CHOWN_RESTRICTED))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:255:61: error: cannot find '_PC_PIPE_BUF' in scope
253 | public static let nameMax = PathconfName(rawValue: CInt(_PC_NAME_MAX))
254 | public static let pathMax = PathconfName(rawValue: CInt(_PC_PATH_MAX))
255 | public static let pipeBuf = PathconfName(rawValue: CInt(_PC_PIPE_BUF))
| `- error: cannot find '_PC_PIPE_BUF' in scope
256 | public static let chownRestricted = PathconfName(rawValue: CInt(_PC_CHOWN_RESTRICTED))
257 | public static let noTrunc = PathconfName(rawValue: CInt(_PC_NO_TRUNC))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:256:69: error: cannot find '_PC_CHOWN_RESTRICTED' in scope
254 | public static let pathMax = PathconfName(rawValue: CInt(_PC_PATH_MAX))
255 | public static let pipeBuf = PathconfName(rawValue: CInt(_PC_PIPE_BUF))
256 | public static let chownRestricted = PathconfName(rawValue: CInt(_PC_CHOWN_RESTRICTED))
| `- error: cannot find '_PC_CHOWN_RESTRICTED' in scope
257 | public static let noTrunc = PathconfName(rawValue: CInt(_PC_NO_TRUNC))
258 | public static let vdisable = PathconfName(rawValue: CInt(_PC_VDISABLE))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:257:61: error: cannot find '_PC_NO_TRUNC' in scope
255 | public static let pipeBuf = PathconfName(rawValue: CInt(_PC_PIPE_BUF))
256 | public static let chownRestricted = PathconfName(rawValue: CInt(_PC_CHOWN_RESTRICTED))
257 | public static let noTrunc = PathconfName(rawValue: CInt(_PC_NO_TRUNC))
| `- error: cannot find '_PC_NO_TRUNC' in scope
258 | public static let vdisable = PathconfName(rawValue: CInt(_PC_VDISABLE))
259 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:258:62: error: cannot find '_PC_VDISABLE' in scope
256 | public static let chownRestricted = PathconfName(rawValue: CInt(_PC_CHOWN_RESTRICTED))
257 | public static let noTrunc = PathconfName(rawValue: CInt(_PC_NO_TRUNC))
258 | public static let vdisable = PathconfName(rawValue: CInt(_PC_VDISABLE))
| `- error: cannot find '_PC_VDISABLE' in scope
259 | }
260 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:286:45: error: cannot find type 'pid_t' in scope
284 |
285 | /// identical to C's `tcgetpgrp(3)`.
286 | public func tcgetpgrp(_ fd: CInt) throws -> pid_t { try check(C.tcgetpgrp(fd)) }
| `- error: cannot find type 'pid_t' in scope
287 |
288 | /// identical to C's `tcsetpgrp(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:289:43: error: cannot find type 'pid_t' in scope
287 |
288 | /// identical to C's `tcsetpgrp(3)`.
289 | public func tcsetpgrp(_ fd: CInt, _ pgid: pid_t) throws { try check(C.tcsetpgrp(fd, pgid)) }
| `- error: cannot find type 'pid_t' in scope
290 |
BUILD FAILURE 6.1 wasm