The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-posix, reference 0.0.1 (6feac9), with Swift 6.1 for Wasm on 19 Aug 2026 09:05:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/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>&1

Build Log

 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 |
[20/21] Compiling POSIXGlobals Unimplemented.swift
/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 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:26:53: error: cannot find 'C' 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 'C' 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:53: error: cannot find 'C' 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 'C' 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:69: error: cannot find 'C' 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 'C' in scope
 31 | /// identical to C's `setsid(2)`.
 32 | @discardableResult
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:37:36: error: 'nil' requires a contextual type
 35 | /// identical to C's `getgroups(2)`: the supplementary group ids.
 36 | public func getgroups() throws -> [gid_t] {
 37 |     let n = try check(getgroups(0, nil))
    |                                    `- error: 'nil' requires a contextual type
 38 |     guard n > 0 else { return [] }
 39 |     var groups = [gid_t](repeating: 0, count: Int(n))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:39:19: error: cannot find 'gid_t' in scope
 37 |     let n = try check(getgroups(0, nil))
 38 |     guard n > 0 else { return [] }
 39 |     var groups = [gid_t](repeating: 0, count: Int(n))
    |                   `- error: cannot find 'gid_t' in scope
 40 |     let m = try check(getgroups(n, &groups))
 41 |     return Array(groups.prefix(Int(m)))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:39:18: error: cannot call value of non-function type '[Any]'
 37 |     let n = try check(getgroups(0, nil))
 38 |     guard n > 0 else { return [] }
 39 |     var groups = [gid_t](repeating: 0, count: Int(n))
    |                  `- error: cannot call value of non-function type '[Any]'
 40 |     let m = try check(getgroups(n, &groups))
 41 |     return Array(groups.prefix(Int(m)))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:46:19: error: cannot find 'C' in scope
 44 | /// identical to C's `getlogin(3)`.
 45 | public func getlogin() -> String? {
 46 |     guard let p = C.getlogin() else { return nil }
    |                   `- error: cannot find 'C' in scope
 47 |     return String(cString: p)
 48 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:57:50: error: cannot find 'C' in scope
 55 |
 56 | /// identical to C's `_exit(2)`: exits without running cleanup.
 57 | public func _exit(_ status: CInt = 0) -> Never { C._exit(status) }
    |                                                  `- error: cannot find 'C' in scope
 58 |
 59 | /// identical to C's `nice(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:64:13: error: cannot find 'C' in scope
 62 |     // -1 is a legal return value; disambiguate with errno.
 63 |     Errno.current = Errno(0)
 64 |     let r = C.nice(increment)
    |             `- error: cannot find 'C' in scope
 65 |     if r == -1 && Errno.current.rawValue != 0 { throw Errno.current }
 66 |     return r
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:71:50: error: cannot find 'C' in scope
 69 | /// identical to C's `alarm(2)`.
 70 | @discardableResult
 71 | public func alarm(_ seconds: UInt32) -> UInt32 { C.alarm(seconds) }
    |                                                  `- error: cannot find 'C' in scope
 72 |
 73 | /// identical to C's `pause(2)`: waits until a signal is delivered.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:74:27: error: cannot find 'C' in scope
 72 |
 73 | /// identical to C's `pause(2)`: waits until a signal is delivered.
 74 | public func pause() { _ = C.pause() }
    |                           `- error: cannot find 'C' in scope
 75 |
 76 | /// identical to C's `sleep(3)`; returns the unslept seconds.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:78:50: error: cannot find 'C' in scope
 76 | /// identical to C's `sleep(3)`; returns the unslept seconds.
 77 | @discardableResult
 78 | public func sleep(_ seconds: UInt32) -> UInt32 { C.sleep(seconds) }
    |                                                  `- error: cannot find 'C' in scope
 79 |
 80 | // MARK: file descriptors
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:83:50: error: cannot find 'C' in scope
 81 |
 82 | /// identical to C's `close(2)`.
 83 | public func close(_ fd: CInt) throws { try check(C.close(fd)) }
    |                                                  `- error: cannot find 'C' in scope
 84 |
 85 | /// identical to C's `dup(2)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:86:56: error: cannot find 'C' in scope
 84 |
 85 | /// identical to C's `dup(2)`.
 86 | public func dup(_ fd: CInt) throws -> CInt { try check(C.dup(fd)) }
    |                                                        `- error: cannot find 'C' in scope
 87 |
 88 | /// identical to C's `dup2(2)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:90:70: error: cannot find 'C' in scope
 88 | /// identical to C's `dup2(2)`.
 89 | @discardableResult
 90 | public func dup2(_ fd: CInt, _ fd2: CInt) throws -> CInt { try check(C.dup2(fd, fd2)) }
    |                                                                      `- error: cannot find 'C' in scope
 91 |
 92 | /// identical to C's `pipe(2)`; returns the read and write descriptors.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:95:20: error: argument passed to call that takes no arguments
 93 | public func pipe() throws -> (read: CInt, write: CInt) {
 94 |     var fds: [CInt] = [0, 0]
 95 |     try check(pipe(&fds))
    |                    `- error: argument passed to call that takes no arguments
 96 |     return (fds[0], fds[1])
 97 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:100:42: error: cannot find 'C' in scope
 98 |
 99 | /// identical to C's `isatty(3)`.
100 | public func isatty(_ fd: CInt) -> Bool { C.isatty(fd) == 1 }
    |                                          `- error: cannot find 'C' in scope
101 |
102 | /// identical to C's `ttyname(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:104:19: error: cannot find 'C' in scope
102 | /// identical to C's `ttyname(3)`.
103 | public func ttyname(_ fd: CInt) -> String? {
104 |     guard let p = C.ttyname(fd) else { return nil }
    |                   `- error: cannot find 'C' in scope
105 |     return String(cString: p)
106 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:133:45: error: extra argument in call
131 |     var buf = [UInt8](repeating: 0, count: count)
132 |     n = try buf.withUnsafeMutableBytes { raw in
133 |         try check(read(fd, raw.baseAddress, count))
    |                                             `- error: extra argument in call
134 |     }
135 |     return Array(buf.prefix(n))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:133:32: error: cannot convert value of type 'UnsafeMutableRawPointer?' to expected argument type 'Int'
131 |     var buf = [UInt8](repeating: 0, count: count)
132 |     n = try buf.withUnsafeMutableBytes { raw in
133 |         try check(read(fd, raw.baseAddress, count))
    |                                `- error: cannot convert value of type 'UnsafeMutableRawPointer?' to expected argument type 'Int'
134 |     }
135 |     return Array(buf.prefix(n))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:142:19: error: no exact matches in call to global function 'write'
138 | /// identical to C's `write(2)`; returns the number of bytes written.
139 | @discardableResult
140 | public func write(_ fd: CInt, _ bytes: [UInt8]) throws -> Int {
    |             `- note: candidate has partially matching parameter list (CInt, [UInt8])
141 |     try bytes.withUnsafeBytes { raw in
142 |         try check(write(fd, raw.baseAddress, raw.count))
    |                   `- error: no exact matches in call to global function 'write'
143 |     }
144 | }
    :
146 | /// identical to C's `write(2)`, taking the UTF-8 bytes of a String.
147 | @discardableResult
148 | public func write(_ fd: CInt, _ string: String) throws -> Int {
    |             `- note: candidate has partially matching parameter list (CInt, String)
149 |     try write(fd, Array(string.utf8))
150 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:172:50: error: binary operator '==' cannot be applied to operands of type 'Bool' and 'Int'
170 | /// identical to C's `access(2)`, but returns a Bool.
171 | public func access(_ path: String, _ mode: AccessMode = .F_OK) -> Bool {
172 |     path.withCString { access($0, mode.rawValue) == 0 }
    |                                                  |- error: binary operator '==' cannot be applied to operands of type 'Bool' and 'Int'
    |                                                  `- note: overloads for '==' exist with these partially matching parameter lists: (Bool, Bool), (Int, Int)
173 | }
174 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:172:31: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
170 | /// identical to C's `access(2)`, but returns a Bool.
171 | public func access(_ path: String, _ mode: AccessMode = .F_OK) -> Bool {
172 |     path.withCString { access($0, mode.rawValue) == 0 }
    |                               `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
173 | }
174 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:177:48: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
175 | /// identical to C's `chdir(2)`.
176 | public func chdir(_ path: String) throws {
177 |     _ = try path.withCString { try check(chdir($0)) }
    |                                                `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
178 | }
179 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:187:25: error: argument passed to call that takes no arguments
185 | /// identical to C's `getcwd(3)`.
186 | public func getcwd() throws -> String {
187 |     guard let p = getcwd(nil, 0) else { throw Errno.current }
    |                         `- error: argument passed to call that takes no arguments
188 |     defer { free(p) }
189 |     return String(cString: p)
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:187:26: error: 'nil' requires a contextual type
185 | /// identical to C's `getcwd(3)`.
186 | public func getcwd() throws -> String {
187 |     guard let p = getcwd(nil, 0) else { throw Errno.current }
    |                          `- error: 'nil' requires a contextual type
188 |     defer { free(p) }
189 |     return String(cString: p)
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:196:28: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
194 |     _ = try existing.withCString { e in
195 |         try new.withCString { n in
196 |             try check(link(e, n))
    |                            `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
197 |         }
198 |     }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:196:31: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
194 |     _ = try existing.withCString { e in
195 |         try new.withCString { n in
196 |             try check(link(e, n))
    |                               `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
197 |         }
198 |     }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:203:49: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
201 | /// identical to C's `unlink(2)`.
202 | public func unlink(_ path: String) throws {
203 |     _ = try path.withCString { try check(unlink($0)) }
    |                                                 `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
204 | }
205 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:208:48: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
206 | /// identical to C's `rmdir(2)`.
207 | public func rmdir(_ path: String) throws {
208 |     _ = try path.withCString { try check(rmdir($0)) }
    |                                                `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
209 | }
210 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:236:26: error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'SysconfName'
234 | public func sysconf(_ name: SysconfName) throws -> Int? {
235 |     Errno.current = Errno(0)
236 |     let r = sysconf(name.rawValue)
    |                          `- error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'SysconfName'
237 |     if r == -1 {
238 |         if Errno.current.rawValue != 0 { throw Errno.current }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:264:41: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
262 | public func pathconf(_ path: String, _ name: PathconfName) throws -> Int? {
263 |     Errno.current = Errno(0)
264 |     let r = path.withCString { pathconf($0, name.rawValue) }
    |                                         `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
265 |     if r == -1 {
266 |         if Errno.current.rawValue != 0 { throw Errno.current }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:264:50: error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'PathconfName'
262 | public func pathconf(_ path: String, _ name: PathconfName) throws -> Int? {
263 |     Errno.current = Errno(0)
264 |     let r = path.withCString { pathconf($0, name.rawValue) }
    |                                                  `- error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'PathconfName'
265 |     if r == -1 {
266 |         if Errno.current.rawValue != 0 { throw Errno.current }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:275:32: error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'PathconfName'
273 | public func fpathconf(_ fd: CInt, _ name: PathconfName) throws -> Int? {
274 |     Errno.current = Errno(0)
275 |     let r = fpathconf(fd, name.rawValue)
    |                                `- error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'PathconfName'
276 |     if r == -1 {
277 |         if Errno.current.rawValue != 0 { throw Errno.current }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:289:69: error: cannot find 'C' 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 'C' in scope
290 |
[21/21] Compiling POSIXGlobals Unistd.swift
/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 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:26:53: error: cannot find 'C' 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 'C' 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:53: error: cannot find 'C' 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 'C' 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:69: error: cannot find 'C' 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 'C' in scope
 31 | /// identical to C's `setsid(2)`.
 32 | @discardableResult
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:37:36: error: 'nil' requires a contextual type
 35 | /// identical to C's `getgroups(2)`: the supplementary group ids.
 36 | public func getgroups() throws -> [gid_t] {
 37 |     let n = try check(getgroups(0, nil))
    |                                    `- error: 'nil' requires a contextual type
 38 |     guard n > 0 else { return [] }
 39 |     var groups = [gid_t](repeating: 0, count: Int(n))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:39:19: error: cannot find 'gid_t' in scope
 37 |     let n = try check(getgroups(0, nil))
 38 |     guard n > 0 else { return [] }
 39 |     var groups = [gid_t](repeating: 0, count: Int(n))
    |                   `- error: cannot find 'gid_t' in scope
 40 |     let m = try check(getgroups(n, &groups))
 41 |     return Array(groups.prefix(Int(m)))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:39:18: error: cannot call value of non-function type '[Any]'
 37 |     let n = try check(getgroups(0, nil))
 38 |     guard n > 0 else { return [] }
 39 |     var groups = [gid_t](repeating: 0, count: Int(n))
    |                  `- error: cannot call value of non-function type '[Any]'
 40 |     let m = try check(getgroups(n, &groups))
 41 |     return Array(groups.prefix(Int(m)))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:46:19: error: cannot find 'C' in scope
 44 | /// identical to C's `getlogin(3)`.
 45 | public func getlogin() -> String? {
 46 |     guard let p = C.getlogin() else { return nil }
    |                   `- error: cannot find 'C' in scope
 47 |     return String(cString: p)
 48 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:57:50: error: cannot find 'C' in scope
 55 |
 56 | /// identical to C's `_exit(2)`: exits without running cleanup.
 57 | public func _exit(_ status: CInt = 0) -> Never { C._exit(status) }
    |                                                  `- error: cannot find 'C' in scope
 58 |
 59 | /// identical to C's `nice(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:64:13: error: cannot find 'C' in scope
 62 |     // -1 is a legal return value; disambiguate with errno.
 63 |     Errno.current = Errno(0)
 64 |     let r = C.nice(increment)
    |             `- error: cannot find 'C' in scope
 65 |     if r == -1 && Errno.current.rawValue != 0 { throw Errno.current }
 66 |     return r
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:71:50: error: cannot find 'C' in scope
 69 | /// identical to C's `alarm(2)`.
 70 | @discardableResult
 71 | public func alarm(_ seconds: UInt32) -> UInt32 { C.alarm(seconds) }
    |                                                  `- error: cannot find 'C' in scope
 72 |
 73 | /// identical to C's `pause(2)`: waits until a signal is delivered.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:74:27: error: cannot find 'C' in scope
 72 |
 73 | /// identical to C's `pause(2)`: waits until a signal is delivered.
 74 | public func pause() { _ = C.pause() }
    |                           `- error: cannot find 'C' in scope
 75 |
 76 | /// identical to C's `sleep(3)`; returns the unslept seconds.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:78:50: error: cannot find 'C' in scope
 76 | /// identical to C's `sleep(3)`; returns the unslept seconds.
 77 | @discardableResult
 78 | public func sleep(_ seconds: UInt32) -> UInt32 { C.sleep(seconds) }
    |                                                  `- error: cannot find 'C' in scope
 79 |
 80 | // MARK: file descriptors
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:83:50: error: cannot find 'C' in scope
 81 |
 82 | /// identical to C's `close(2)`.
 83 | public func close(_ fd: CInt) throws { try check(C.close(fd)) }
    |                                                  `- error: cannot find 'C' in scope
 84 |
 85 | /// identical to C's `dup(2)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:86:56: error: cannot find 'C' in scope
 84 |
 85 | /// identical to C's `dup(2)`.
 86 | public func dup(_ fd: CInt) throws -> CInt { try check(C.dup(fd)) }
    |                                                        `- error: cannot find 'C' in scope
 87 |
 88 | /// identical to C's `dup2(2)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:90:70: error: cannot find 'C' in scope
 88 | /// identical to C's `dup2(2)`.
 89 | @discardableResult
 90 | public func dup2(_ fd: CInt, _ fd2: CInt) throws -> CInt { try check(C.dup2(fd, fd2)) }
    |                                                                      `- error: cannot find 'C' in scope
 91 |
 92 | /// identical to C's `pipe(2)`; returns the read and write descriptors.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:95:20: error: argument passed to call that takes no arguments
 93 | public func pipe() throws -> (read: CInt, write: CInt) {
 94 |     var fds: [CInt] = [0, 0]
 95 |     try check(pipe(&fds))
    |                    `- error: argument passed to call that takes no arguments
 96 |     return (fds[0], fds[1])
 97 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:100:42: error: cannot find 'C' in scope
 98 |
 99 | /// identical to C's `isatty(3)`.
100 | public func isatty(_ fd: CInt) -> Bool { C.isatty(fd) == 1 }
    |                                          `- error: cannot find 'C' in scope
101 |
102 | /// identical to C's `ttyname(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:104:19: error: cannot find 'C' in scope
102 | /// identical to C's `ttyname(3)`.
103 | public func ttyname(_ fd: CInt) -> String? {
104 |     guard let p = C.ttyname(fd) else { return nil }
    |                   `- error: cannot find 'C' in scope
105 |     return String(cString: p)
106 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:133:45: error: extra argument in call
131 |     var buf = [UInt8](repeating: 0, count: count)
132 |     n = try buf.withUnsafeMutableBytes { raw in
133 |         try check(read(fd, raw.baseAddress, count))
    |                                             `- error: extra argument in call
134 |     }
135 |     return Array(buf.prefix(n))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:133:32: error: cannot convert value of type 'UnsafeMutableRawPointer?' to expected argument type 'Int'
131 |     var buf = [UInt8](repeating: 0, count: count)
132 |     n = try buf.withUnsafeMutableBytes { raw in
133 |         try check(read(fd, raw.baseAddress, count))
    |                                `- error: cannot convert value of type 'UnsafeMutableRawPointer?' to expected argument type 'Int'
134 |     }
135 |     return Array(buf.prefix(n))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:142:19: error: no exact matches in call to global function 'write'
138 | /// identical to C's `write(2)`; returns the number of bytes written.
139 | @discardableResult
140 | public func write(_ fd: CInt, _ bytes: [UInt8]) throws -> Int {
    |             `- note: candidate has partially matching parameter list (CInt, [UInt8])
141 |     try bytes.withUnsafeBytes { raw in
142 |         try check(write(fd, raw.baseAddress, raw.count))
    |                   `- error: no exact matches in call to global function 'write'
143 |     }
144 | }
    :
146 | /// identical to C's `write(2)`, taking the UTF-8 bytes of a String.
147 | @discardableResult
148 | public func write(_ fd: CInt, _ string: String) throws -> Int {
    |             `- note: candidate has partially matching parameter list (CInt, String)
149 |     try write(fd, Array(string.utf8))
150 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:172:50: error: binary operator '==' cannot be applied to operands of type 'Bool' and 'Int'
170 | /// identical to C's `access(2)`, but returns a Bool.
171 | public func access(_ path: String, _ mode: AccessMode = .F_OK) -> Bool {
172 |     path.withCString { access($0, mode.rawValue) == 0 }
    |                                                  |- error: binary operator '==' cannot be applied to operands of type 'Bool' and 'Int'
    |                                                  `- note: overloads for '==' exist with these partially matching parameter lists: (Bool, Bool), (Int, Int)
173 | }
174 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:172:31: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
170 | /// identical to C's `access(2)`, but returns a Bool.
171 | public func access(_ path: String, _ mode: AccessMode = .F_OK) -> Bool {
172 |     path.withCString { access($0, mode.rawValue) == 0 }
    |                               `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
173 | }
174 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:177:48: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
175 | /// identical to C's `chdir(2)`.
176 | public func chdir(_ path: String) throws {
177 |     _ = try path.withCString { try check(chdir($0)) }
    |                                                `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
178 | }
179 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:187:25: error: argument passed to call that takes no arguments
185 | /// identical to C's `getcwd(3)`.
186 | public func getcwd() throws -> String {
187 |     guard let p = getcwd(nil, 0) else { throw Errno.current }
    |                         `- error: argument passed to call that takes no arguments
188 |     defer { free(p) }
189 |     return String(cString: p)
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:187:26: error: 'nil' requires a contextual type
185 | /// identical to C's `getcwd(3)`.
186 | public func getcwd() throws -> String {
187 |     guard let p = getcwd(nil, 0) else { throw Errno.current }
    |                          `- error: 'nil' requires a contextual type
188 |     defer { free(p) }
189 |     return String(cString: p)
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:196:28: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
194 |     _ = try existing.withCString { e in
195 |         try new.withCString { n in
196 |             try check(link(e, n))
    |                            `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
197 |         }
198 |     }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:196:31: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
194 |     _ = try existing.withCString { e in
195 |         try new.withCString { n in
196 |             try check(link(e, n))
    |                               `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
197 |         }
198 |     }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:203:49: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
201 | /// identical to C's `unlink(2)`.
202 | public func unlink(_ path: String) throws {
203 |     _ = try path.withCString { try check(unlink($0)) }
    |                                                 `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
204 | }
205 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:208:48: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
206 | /// identical to C's `rmdir(2)`.
207 | public func rmdir(_ path: String) throws {
208 |     _ = try path.withCString { try check(rmdir($0)) }
    |                                                `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
209 | }
210 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:236:26: error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'SysconfName'
234 | public func sysconf(_ name: SysconfName) throws -> Int? {
235 |     Errno.current = Errno(0)
236 |     let r = sysconf(name.rawValue)
    |                          `- error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'SysconfName'
237 |     if r == -1 {
238 |         if Errno.current.rawValue != 0 { throw Errno.current }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:264:41: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
262 | public func pathconf(_ path: String, _ name: PathconfName) throws -> Int? {
263 |     Errno.current = Errno(0)
264 |     let r = path.withCString { pathconf($0, name.rawValue) }
    |                                         `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
265 |     if r == -1 {
266 |         if Errno.current.rawValue != 0 { throw Errno.current }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:264:50: error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'PathconfName'
262 | public func pathconf(_ path: String, _ name: PathconfName) throws -> Int? {
263 |     Errno.current = Errno(0)
264 |     let r = path.withCString { pathconf($0, name.rawValue) }
    |                                                  `- error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'PathconfName'
265 |     if r == -1 {
266 |         if Errno.current.rawValue != 0 { throw Errno.current }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:275:32: error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'PathconfName'
273 | public func fpathconf(_ fd: CInt, _ name: PathconfName) throws -> Int? {
274 |     Errno.current = Errno(0)
275 |     let r = fpathconf(fd, name.rawValue)
    |                                `- error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'PathconfName'
276 |     if r == -1 {
277 |         if Errno.current.rawValue != 0 { throw Errno.current }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:289:69: error: cannot find 'C' 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 'C' in scope
290 |
BUILD FAILURE 6.1 wasm