Build Information
Failed to build swift-posix, reference main (6feac9), with Swift 6.1 for Android on 19 Aug 2026 09:05:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
37 | private let _PARENB = tcflag_t(PARENB)
38 | private let _PARODD = tcflag_t(PARODD)
39 | private let _HUPCL = tcflag_t(HUPCL)
| `- error: cannot find 'tcflag_t' in scope
40 | private let _CLOCAL = tcflag_t(CLOCAL)
41 | // local flags
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:39:31: error: cannot find 'HUPCL' in scope
37 | private let _PARENB = tcflag_t(PARENB)
38 | private let _PARODD = tcflag_t(PARODD)
39 | private let _HUPCL = tcflag_t(HUPCL)
| `- error: cannot find 'HUPCL' in scope
40 | private let _CLOCAL = tcflag_t(CLOCAL)
41 | // local flags
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:40:23: error: cannot find 'tcflag_t' in scope
38 | private let _PARODD = tcflag_t(PARODD)
39 | private let _HUPCL = tcflag_t(HUPCL)
40 | private let _CLOCAL = tcflag_t(CLOCAL)
| `- error: cannot find 'tcflag_t' in scope
41 | // local flags
42 | private let _ECHO = tcflag_t(ECHO)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:40:32: error: cannot find 'CLOCAL' in scope
38 | private let _PARODD = tcflag_t(PARODD)
39 | private let _HUPCL = tcflag_t(HUPCL)
40 | private let _CLOCAL = tcflag_t(CLOCAL)
| `- error: cannot find 'CLOCAL' in scope
41 | // local flags
42 | private let _ECHO = tcflag_t(ECHO)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:42:21: error: cannot find 'tcflag_t' in scope
40 | private let _CLOCAL = tcflag_t(CLOCAL)
41 | // local flags
42 | private let _ECHO = tcflag_t(ECHO)
| `- error: cannot find 'tcflag_t' in scope
43 | private let _ECHOE = tcflag_t(ECHOE)
44 | private let _ECHOK = tcflag_t(ECHOK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:42:30: error: cannot find 'ECHO' in scope
40 | private let _CLOCAL = tcflag_t(CLOCAL)
41 | // local flags
42 | private let _ECHO = tcflag_t(ECHO)
| `- error: cannot find 'ECHO' in scope
43 | private let _ECHOE = tcflag_t(ECHOE)
44 | private let _ECHOK = tcflag_t(ECHOK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:43:22: error: cannot find 'tcflag_t' in scope
41 | // local flags
42 | private let _ECHO = tcflag_t(ECHO)
43 | private let _ECHOE = tcflag_t(ECHOE)
| `- error: cannot find 'tcflag_t' in scope
44 | private let _ECHOK = tcflag_t(ECHOK)
45 | private let _ECHONL = tcflag_t(ECHONL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:43:31: error: cannot find 'ECHOE' in scope
41 | // local flags
42 | private let _ECHO = tcflag_t(ECHO)
43 | private let _ECHOE = tcflag_t(ECHOE)
| `- error: cannot find 'ECHOE' in scope
44 | private let _ECHOK = tcflag_t(ECHOK)
45 | private let _ECHONL = tcflag_t(ECHONL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:44:22: error: cannot find 'tcflag_t' in scope
42 | private let _ECHO = tcflag_t(ECHO)
43 | private let _ECHOE = tcflag_t(ECHOE)
44 | private let _ECHOK = tcflag_t(ECHOK)
| `- error: cannot find 'tcflag_t' in scope
45 | private let _ECHONL = tcflag_t(ECHONL)
46 | private let _ICANON = tcflag_t(ICANON)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:44:31: error: cannot find 'ECHOK' in scope
42 | private let _ECHO = tcflag_t(ECHO)
43 | private let _ECHOE = tcflag_t(ECHOE)
44 | private let _ECHOK = tcflag_t(ECHOK)
| `- error: cannot find 'ECHOK' in scope
45 | private let _ECHONL = tcflag_t(ECHONL)
46 | private let _ICANON = tcflag_t(ICANON)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:45:23: error: cannot find 'tcflag_t' in scope
43 | private let _ECHOE = tcflag_t(ECHOE)
44 | private let _ECHOK = tcflag_t(ECHOK)
45 | private let _ECHONL = tcflag_t(ECHONL)
| `- error: cannot find 'tcflag_t' in scope
46 | private let _ICANON = tcflag_t(ICANON)
47 | private let _ISIG = tcflag_t(ISIG)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:45:32: error: cannot find 'ECHONL' in scope
43 | private let _ECHOE = tcflag_t(ECHOE)
44 | private let _ECHOK = tcflag_t(ECHOK)
45 | private let _ECHONL = tcflag_t(ECHONL)
| `- error: cannot find 'ECHONL' in scope
46 | private let _ICANON = tcflag_t(ICANON)
47 | private let _ISIG = tcflag_t(ISIG)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:46:23: error: cannot find 'tcflag_t' in scope
44 | private let _ECHOK = tcflag_t(ECHOK)
45 | private let _ECHONL = tcflag_t(ECHONL)
46 | private let _ICANON = tcflag_t(ICANON)
| `- error: cannot find 'tcflag_t' in scope
47 | private let _ISIG = tcflag_t(ISIG)
48 | private let _IEXTEN = tcflag_t(IEXTEN)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:46:32: error: cannot find 'ICANON' in scope
44 | private let _ECHOK = tcflag_t(ECHOK)
45 | private let _ECHONL = tcflag_t(ECHONL)
46 | private let _ICANON = tcflag_t(ICANON)
| `- error: cannot find 'ICANON' in scope
47 | private let _ISIG = tcflag_t(ISIG)
48 | private let _IEXTEN = tcflag_t(IEXTEN)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:47:21: error: cannot find 'tcflag_t' in scope
45 | private let _ECHONL = tcflag_t(ECHONL)
46 | private let _ICANON = tcflag_t(ICANON)
47 | private let _ISIG = tcflag_t(ISIG)
| `- error: cannot find 'tcflag_t' in scope
48 | private let _IEXTEN = tcflag_t(IEXTEN)
49 | private let _NOFLSH = tcflag_t(NOFLSH)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:47:30: error: cannot find 'ISIG' in scope
45 | private let _ECHONL = tcflag_t(ECHONL)
46 | private let _ICANON = tcflag_t(ICANON)
47 | private let _ISIG = tcflag_t(ISIG)
| `- error: cannot find 'ISIG' in scope
48 | private let _IEXTEN = tcflag_t(IEXTEN)
49 | private let _NOFLSH = tcflag_t(NOFLSH)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:48:23: error: cannot find 'tcflag_t' in scope
46 | private let _ICANON = tcflag_t(ICANON)
47 | private let _ISIG = tcflag_t(ISIG)
48 | private let _IEXTEN = tcflag_t(IEXTEN)
| `- error: cannot find 'tcflag_t' in scope
49 | private let _NOFLSH = tcflag_t(NOFLSH)
50 | private let _TOSTOP = tcflag_t(TOSTOP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:48:32: error: cannot find 'IEXTEN' in scope
46 | private let _ICANON = tcflag_t(ICANON)
47 | private let _ISIG = tcflag_t(ISIG)
48 | private let _IEXTEN = tcflag_t(IEXTEN)
| `- error: cannot find 'IEXTEN' in scope
49 | private let _NOFLSH = tcflag_t(NOFLSH)
50 | private let _TOSTOP = tcflag_t(TOSTOP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:49:23: error: cannot find 'tcflag_t' in scope
47 | private let _ISIG = tcflag_t(ISIG)
48 | private let _IEXTEN = tcflag_t(IEXTEN)
49 | private let _NOFLSH = tcflag_t(NOFLSH)
| `- error: cannot find 'tcflag_t' in scope
50 | private let _TOSTOP = tcflag_t(TOSTOP)
51 | // control characters
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:49:32: error: cannot find 'NOFLSH' in scope
47 | private let _ISIG = tcflag_t(ISIG)
48 | private let _IEXTEN = tcflag_t(IEXTEN)
49 | private let _NOFLSH = tcflag_t(NOFLSH)
| `- error: cannot find 'NOFLSH' in scope
50 | private let _TOSTOP = tcflag_t(TOSTOP)
51 | // control characters
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:50:23: error: cannot find 'tcflag_t' in scope
48 | private let _IEXTEN = tcflag_t(IEXTEN)
49 | private let _NOFLSH = tcflag_t(NOFLSH)
50 | private let _TOSTOP = tcflag_t(TOSTOP)
| `- error: cannot find 'tcflag_t' in scope
51 | // control characters
52 | private let _VEOF = Int(VEOF)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:50:32: error: cannot find 'TOSTOP' in scope
48 | private let _IEXTEN = tcflag_t(IEXTEN)
49 | private let _NOFLSH = tcflag_t(NOFLSH)
50 | private let _TOSTOP = tcflag_t(TOSTOP)
| `- error: cannot find 'TOSTOP' in scope
51 | // control characters
52 | private let _VEOF = Int(VEOF)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:52:25: error: cannot find 'VEOF' in scope
50 | private let _TOSTOP = tcflag_t(TOSTOP)
51 | // control characters
52 | private let _VEOF = Int(VEOF)
| `- error: cannot find 'VEOF' in scope
53 | private let _VEOL = Int(VEOL)
54 | private let _VERASE = Int(VERASE)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:53:25: error: cannot find 'VEOL' in scope
51 | // control characters
52 | private let _VEOF = Int(VEOF)
53 | private let _VEOL = Int(VEOL)
| `- error: cannot find 'VEOL' in scope
54 | private let _VERASE = Int(VERASE)
55 | private let _VINTR = Int(VINTR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:54:27: error: cannot find 'VERASE' in scope
52 | private let _VEOF = Int(VEOF)
53 | private let _VEOL = Int(VEOL)
54 | private let _VERASE = Int(VERASE)
| `- error: cannot find 'VERASE' in scope
55 | private let _VINTR = Int(VINTR)
56 | private let _VKILL = Int(VKILL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:55:26: error: cannot find 'VINTR' in scope
53 | private let _VEOL = Int(VEOL)
54 | private let _VERASE = Int(VERASE)
55 | private let _VINTR = Int(VINTR)
| `- error: cannot find 'VINTR' in scope
56 | private let _VKILL = Int(VKILL)
57 | private let _VMIN = Int(VMIN)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:56:26: error: cannot find 'VKILL' in scope
54 | private let _VERASE = Int(VERASE)
55 | private let _VINTR = Int(VINTR)
56 | private let _VKILL = Int(VKILL)
| `- error: cannot find 'VKILL' in scope
57 | private let _VMIN = Int(VMIN)
58 | private let _VQUIT = Int(VQUIT)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:57:25: error: cannot find 'VMIN' in scope
55 | private let _VINTR = Int(VINTR)
56 | private let _VKILL = Int(VKILL)
57 | private let _VMIN = Int(VMIN)
| `- error: cannot find 'VMIN' in scope
58 | private let _VQUIT = Int(VQUIT)
59 | private let _VSTART = Int(VSTART)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:58:26: error: cannot find 'VQUIT' in scope
56 | private let _VKILL = Int(VKILL)
57 | private let _VMIN = Int(VMIN)
58 | private let _VQUIT = Int(VQUIT)
| `- error: cannot find 'VQUIT' in scope
59 | private let _VSTART = Int(VSTART)
60 | private let _VSTOP = Int(VSTOP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:59:27: error: cannot find 'VSTART' in scope
57 | private let _VMIN = Int(VMIN)
58 | private let _VQUIT = Int(VQUIT)
59 | private let _VSTART = Int(VSTART)
| `- error: cannot find 'VSTART' in scope
60 | private let _VSTOP = Int(VSTOP)
61 | private let _VSUSP = Int(VSUSP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:60:26: error: cannot find 'VSTOP' in scope
58 | private let _VQUIT = Int(VQUIT)
59 | private let _VSTART = Int(VSTART)
60 | private let _VSTOP = Int(VSTOP)
| `- error: cannot find 'VSTOP' in scope
61 | private let _VSUSP = Int(VSUSP)
62 | private let _VTIME = Int(VTIME)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:61:26: error: cannot find 'VSUSP' in scope
59 | private let _VSTART = Int(VSTART)
60 | private let _VSTOP = Int(VSTOP)
61 | private let _VSUSP = Int(VSUSP)
| `- error: cannot find 'VSUSP' in scope
62 | private let _VTIME = Int(VTIME)
63 | // baud rates
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:62:26: error: cannot find 'VTIME' in scope
60 | private let _VSTOP = Int(VSTOP)
61 | private let _VSUSP = Int(VSUSP)
62 | private let _VTIME = Int(VTIME)
| `- error: cannot find 'VTIME' in scope
63 | // baud rates
64 | private let _B0 = speed_t(B0)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:64:19: error: cannot find 'speed_t' in scope
62 | private let _VTIME = Int(VTIME)
63 | // baud rates
64 | private let _B0 = speed_t(B0)
| `- error: cannot find 'speed_t' in scope
65 | private let _B50 = speed_t(B50)
66 | private let _B75 = speed_t(B75)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:64:27: error: cannot find 'B0' in scope
62 | private let _VTIME = Int(VTIME)
63 | // baud rates
64 | private let _B0 = speed_t(B0)
| `- error: cannot find 'B0' in scope
65 | private let _B50 = speed_t(B50)
66 | private let _B75 = speed_t(B75)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:65:20: error: cannot find 'speed_t' in scope
63 | // baud rates
64 | private let _B0 = speed_t(B0)
65 | private let _B50 = speed_t(B50)
| `- error: cannot find 'speed_t' in scope
66 | private let _B75 = speed_t(B75)
67 | private let _B110 = speed_t(B110)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:65:28: error: cannot find 'B50' in scope
63 | // baud rates
64 | private let _B0 = speed_t(B0)
65 | private let _B50 = speed_t(B50)
| `- error: cannot find 'B50' in scope
66 | private let _B75 = speed_t(B75)
67 | private let _B110 = speed_t(B110)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:66:20: error: cannot find 'speed_t' in scope
64 | private let _B0 = speed_t(B0)
65 | private let _B50 = speed_t(B50)
66 | private let _B75 = speed_t(B75)
| `- error: cannot find 'speed_t' in scope
67 | private let _B110 = speed_t(B110)
68 | private let _B134 = speed_t(B134)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:66:28: error: cannot find 'B75' in scope
64 | private let _B0 = speed_t(B0)
65 | private let _B50 = speed_t(B50)
66 | private let _B75 = speed_t(B75)
| `- error: cannot find 'B75' in scope
67 | private let _B110 = speed_t(B110)
68 | private let _B134 = speed_t(B134)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:67:21: error: cannot find 'speed_t' in scope
65 | private let _B50 = speed_t(B50)
66 | private let _B75 = speed_t(B75)
67 | private let _B110 = speed_t(B110)
| `- error: cannot find 'speed_t' in scope
68 | private let _B134 = speed_t(B134)
69 | private let _B150 = speed_t(B150)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:67:29: error: cannot find 'B110' in scope
65 | private let _B50 = speed_t(B50)
66 | private let _B75 = speed_t(B75)
67 | private let _B110 = speed_t(B110)
| `- error: cannot find 'B110' in scope
68 | private let _B134 = speed_t(B134)
69 | private let _B150 = speed_t(B150)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:68:21: error: cannot find 'speed_t' in scope
66 | private let _B75 = speed_t(B75)
67 | private let _B110 = speed_t(B110)
68 | private let _B134 = speed_t(B134)
| `- error: cannot find 'speed_t' in scope
69 | private let _B150 = speed_t(B150)
70 | private let _B200 = speed_t(B200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:68:29: error: cannot find 'B134' in scope
66 | private let _B75 = speed_t(B75)
67 | private let _B110 = speed_t(B110)
68 | private let _B134 = speed_t(B134)
| `- error: cannot find 'B134' in scope
69 | private let _B150 = speed_t(B150)
70 | private let _B200 = speed_t(B200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:69:21: error: cannot find 'speed_t' in scope
67 | private let _B110 = speed_t(B110)
68 | private let _B134 = speed_t(B134)
69 | private let _B150 = speed_t(B150)
| `- error: cannot find 'speed_t' in scope
70 | private let _B200 = speed_t(B200)
71 | private let _B300 = speed_t(B300)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:69:29: error: cannot find 'B150' in scope
67 | private let _B110 = speed_t(B110)
68 | private let _B134 = speed_t(B134)
69 | private let _B150 = speed_t(B150)
| `- error: cannot find 'B150' in scope
70 | private let _B200 = speed_t(B200)
71 | private let _B300 = speed_t(B300)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:70:21: error: cannot find 'speed_t' in scope
68 | private let _B134 = speed_t(B134)
69 | private let _B150 = speed_t(B150)
70 | private let _B200 = speed_t(B200)
| `- error: cannot find 'speed_t' in scope
71 | private let _B300 = speed_t(B300)
72 | private let _B600 = speed_t(B600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:70:29: error: cannot find 'B200' in scope
68 | private let _B134 = speed_t(B134)
69 | private let _B150 = speed_t(B150)
70 | private let _B200 = speed_t(B200)
| `- error: cannot find 'B200' in scope
71 | private let _B300 = speed_t(B300)
72 | private let _B600 = speed_t(B600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:71:21: error: cannot find 'speed_t' in scope
69 | private let _B150 = speed_t(B150)
70 | private let _B200 = speed_t(B200)
71 | private let _B300 = speed_t(B300)
| `- error: cannot find 'speed_t' in scope
72 | private let _B600 = speed_t(B600)
73 | private let _B1200 = speed_t(B1200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:71:29: error: cannot find 'B300' in scope
69 | private let _B150 = speed_t(B150)
70 | private let _B200 = speed_t(B200)
71 | private let _B300 = speed_t(B300)
| `- error: cannot find 'B300' in scope
72 | private let _B600 = speed_t(B600)
73 | private let _B1200 = speed_t(B1200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:72:21: error: cannot find 'speed_t' in scope
70 | private let _B200 = speed_t(B200)
71 | private let _B300 = speed_t(B300)
72 | private let _B600 = speed_t(B600)
| `- error: cannot find 'speed_t' in scope
73 | private let _B1200 = speed_t(B1200)
74 | private let _B1800 = speed_t(B1800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:72:29: error: cannot find 'B600' in scope
70 | private let _B200 = speed_t(B200)
71 | private let _B300 = speed_t(B300)
72 | private let _B600 = speed_t(B600)
| `- error: cannot find 'B600' in scope
73 | private let _B1200 = speed_t(B1200)
74 | private let _B1800 = speed_t(B1800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:73:22: error: cannot find 'speed_t' in scope
71 | private let _B300 = speed_t(B300)
72 | private let _B600 = speed_t(B600)
73 | private let _B1200 = speed_t(B1200)
| `- error: cannot find 'speed_t' in scope
74 | private let _B1800 = speed_t(B1800)
75 | private let _B2400 = speed_t(B2400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:73:30: error: cannot find 'B1200' in scope
71 | private let _B300 = speed_t(B300)
72 | private let _B600 = speed_t(B600)
73 | private let _B1200 = speed_t(B1200)
| `- error: cannot find 'B1200' in scope
74 | private let _B1800 = speed_t(B1800)
75 | private let _B2400 = speed_t(B2400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:74:22: error: cannot find 'speed_t' in scope
72 | private let _B600 = speed_t(B600)
73 | private let _B1200 = speed_t(B1200)
74 | private let _B1800 = speed_t(B1800)
| `- error: cannot find 'speed_t' in scope
75 | private let _B2400 = speed_t(B2400)
76 | private let _B4800 = speed_t(B4800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:74:30: error: cannot find 'B1800' in scope
72 | private let _B600 = speed_t(B600)
73 | private let _B1200 = speed_t(B1200)
74 | private let _B1800 = speed_t(B1800)
| `- error: cannot find 'B1800' in scope
75 | private let _B2400 = speed_t(B2400)
76 | private let _B4800 = speed_t(B4800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:75:22: error: cannot find 'speed_t' in scope
73 | private let _B1200 = speed_t(B1200)
74 | private let _B1800 = speed_t(B1800)
75 | private let _B2400 = speed_t(B2400)
| `- error: cannot find 'speed_t' in scope
76 | private let _B4800 = speed_t(B4800)
77 | private let _B9600 = speed_t(B9600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:75:30: error: cannot find 'B2400' in scope
73 | private let _B1200 = speed_t(B1200)
74 | private let _B1800 = speed_t(B1800)
75 | private let _B2400 = speed_t(B2400)
| `- error: cannot find 'B2400' in scope
76 | private let _B4800 = speed_t(B4800)
77 | private let _B9600 = speed_t(B9600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:76:22: error: cannot find 'speed_t' in scope
74 | private let _B1800 = speed_t(B1800)
75 | private let _B2400 = speed_t(B2400)
76 | private let _B4800 = speed_t(B4800)
| `- error: cannot find 'speed_t' in scope
77 | private let _B9600 = speed_t(B9600)
78 | private let _B19200 = speed_t(B19200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:76:30: error: cannot find 'B4800' in scope
74 | private let _B1800 = speed_t(B1800)
75 | private let _B2400 = speed_t(B2400)
76 | private let _B4800 = speed_t(B4800)
| `- error: cannot find 'B4800' in scope
77 | private let _B9600 = speed_t(B9600)
78 | private let _B19200 = speed_t(B19200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:77:22: error: cannot find 'speed_t' in scope
75 | private let _B2400 = speed_t(B2400)
76 | private let _B4800 = speed_t(B4800)
77 | private let _B9600 = speed_t(B9600)
| `- error: cannot find 'speed_t' in scope
78 | private let _B19200 = speed_t(B19200)
79 | private let _B38400 = speed_t(B38400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:77:30: error: cannot find 'B9600' in scope
75 | private let _B2400 = speed_t(B2400)
76 | private let _B4800 = speed_t(B4800)
77 | private let _B9600 = speed_t(B9600)
| `- error: cannot find 'B9600' in scope
78 | private let _B19200 = speed_t(B19200)
79 | private let _B38400 = speed_t(B38400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:78:23: error: cannot find 'speed_t' in scope
76 | private let _B4800 = speed_t(B4800)
77 | private let _B9600 = speed_t(B9600)
78 | private let _B19200 = speed_t(B19200)
| `- error: cannot find 'speed_t' in scope
79 | private let _B38400 = speed_t(B38400)
80 | private let _B57600 = speed_t(B57600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:78:31: error: cannot find 'B19200' in scope
76 | private let _B4800 = speed_t(B4800)
77 | private let _B9600 = speed_t(B9600)
78 | private let _B19200 = speed_t(B19200)
| `- error: cannot find 'B19200' in scope
79 | private let _B38400 = speed_t(B38400)
80 | private let _B57600 = speed_t(B57600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:79:23: error: cannot find 'speed_t' in scope
77 | private let _B9600 = speed_t(B9600)
78 | private let _B19200 = speed_t(B19200)
79 | private let _B38400 = speed_t(B38400)
| `- error: cannot find 'speed_t' in scope
80 | private let _B57600 = speed_t(B57600)
81 | private let _B115200 = speed_t(B115200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:79:31: error: cannot find 'B38400' in scope
77 | private let _B9600 = speed_t(B9600)
78 | private let _B19200 = speed_t(B19200)
79 | private let _B38400 = speed_t(B38400)
| `- error: cannot find 'B38400' in scope
80 | private let _B57600 = speed_t(B57600)
81 | private let _B115200 = speed_t(B115200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:80:23: error: cannot find 'speed_t' in scope
78 | private let _B19200 = speed_t(B19200)
79 | private let _B38400 = speed_t(B38400)
80 | private let _B57600 = speed_t(B57600)
| `- error: cannot find 'speed_t' in scope
81 | private let _B115200 = speed_t(B115200)
82 | private let _B230400 = speed_t(B230400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:80:31: error: cannot find 'B57600' in scope
78 | private let _B19200 = speed_t(B19200)
79 | private let _B38400 = speed_t(B38400)
80 | private let _B57600 = speed_t(B57600)
| `- error: cannot find 'B57600' in scope
81 | private let _B115200 = speed_t(B115200)
82 | private let _B230400 = speed_t(B230400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:81:24: error: cannot find 'speed_t' in scope
79 | private let _B38400 = speed_t(B38400)
80 | private let _B57600 = speed_t(B57600)
81 | private let _B115200 = speed_t(B115200)
| `- error: cannot find 'speed_t' in scope
82 | private let _B230400 = speed_t(B230400)
83 | // tcsetattr actions
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:81:32: error: cannot find 'B115200' in scope
79 | private let _B38400 = speed_t(B38400)
80 | private let _B57600 = speed_t(B57600)
81 | private let _B115200 = speed_t(B115200)
| `- error: cannot find 'B115200' in scope
82 | private let _B230400 = speed_t(B230400)
83 | // tcsetattr actions
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:82:24: error: cannot find 'speed_t' in scope
80 | private let _B57600 = speed_t(B57600)
81 | private let _B115200 = speed_t(B115200)
82 | private let _B230400 = speed_t(B230400)
| `- error: cannot find 'speed_t' in scope
83 | // tcsetattr actions
84 | private let _TCSANOW = TCSANOW
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:82:32: error: cannot find 'B230400' in scope
80 | private let _B57600 = speed_t(B57600)
81 | private let _B115200 = speed_t(B115200)
82 | private let _B230400 = speed_t(B230400)
| `- error: cannot find 'B230400' in scope
83 | // tcsetattr actions
84 | private let _TCSANOW = TCSANOW
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:84:24: error: cannot find 'TCSANOW' in scope
82 | private let _B230400 = speed_t(B230400)
83 | // tcsetattr actions
84 | private let _TCSANOW = TCSANOW
| `- error: cannot find 'TCSANOW' in scope
85 | private let _TCSADRAIN = TCSADRAIN
86 | private let _TCSAFLUSH = TCSAFLUSH
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:85:26: error: cannot find 'TCSADRAIN' in scope
83 | // tcsetattr actions
84 | private let _TCSANOW = TCSANOW
85 | private let _TCSADRAIN = TCSADRAIN
| `- error: cannot find 'TCSADRAIN' in scope
86 | private let _TCSAFLUSH = TCSAFLUSH
87 | // tcflush queues
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:86:26: error: cannot find 'TCSAFLUSH' in scope
84 | private let _TCSANOW = TCSANOW
85 | private let _TCSADRAIN = TCSADRAIN
86 | private let _TCSAFLUSH = TCSAFLUSH
| `- error: cannot find 'TCSAFLUSH' in scope
87 | // tcflush queues
88 | private let _TCIFLUSH = TCIFLUSH
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:88:25: error: cannot find 'TCIFLUSH' in scope
86 | private let _TCSAFLUSH = TCSAFLUSH
87 | // tcflush queues
88 | private let _TCIFLUSH = TCIFLUSH
| `- error: cannot find 'TCIFLUSH' in scope
89 | private let _TCOFLUSH = TCOFLUSH
90 | private let _TCIOFLUSH = TCIOFLUSH
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:89:25: error: cannot find 'TCOFLUSH' in scope
87 | // tcflush queues
88 | private let _TCIFLUSH = TCIFLUSH
89 | private let _TCOFLUSH = TCOFLUSH
| `- error: cannot find 'TCOFLUSH' in scope
90 | private let _TCIOFLUSH = TCIOFLUSH
91 | // tcflow actions
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:90:26: error: cannot find 'TCIOFLUSH' in scope
88 | private let _TCIFLUSH = TCIFLUSH
89 | private let _TCOFLUSH = TCOFLUSH
90 | private let _TCIOFLUSH = TCIOFLUSH
| `- error: cannot find 'TCIOFLUSH' in scope
91 | // tcflow actions
92 | private let _TCOOFF = TCOOFF
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:92:23: error: cannot find 'TCOOFF' in scope
90 | private let _TCIOFLUSH = TCIOFLUSH
91 | // tcflow actions
92 | private let _TCOOFF = TCOOFF
| `- error: cannot find 'TCOOFF' in scope
93 | private let _TCOON = TCOON
94 | private let _TCIOFF = TCIOFF
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:93:22: error: cannot find 'TCOON' in scope
91 | // tcflow actions
92 | private let _TCOOFF = TCOOFF
93 | private let _TCOON = TCOON
| `- error: cannot find 'TCOON' in scope
94 | private let _TCIOFF = TCIOFF
95 | private let _TCION = TCION
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:94:23: error: cannot find 'TCIOFF' in scope
92 | private let _TCOOFF = TCOOFF
93 | private let _TCOON = TCOON
94 | private let _TCIOFF = TCIOFF
| `- error: cannot find 'TCIOFF' in scope
95 | private let _TCION = TCION
96 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:95:22: error: cannot find 'TCION' in scope
93 | private let _TCOON = TCOON
94 | private let _TCIOFF = TCIOFF
95 | private let _TCION = TCION
| `- error: cannot find 'TCION' in scope
96 |
97 | /// A swifty `struct termios`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:100:21: error: cannot find type 'termios' in scope
98 | public struct Termios: Sendable {
99 | /// The underlying C `struct termios`.
100 | public var raw: termios
| `- error: cannot find type 'termios' in scope
101 | public init() { raw = termios() }
102 | public init(raw: termios) { self.raw = raw }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:102:22: error: cannot find type 'termios' in scope
100 | public var raw: termios
101 | public init() { raw = termios() }
102 | public init(raw: termios) { self.raw = raw }
| `- error: cannot find type 'termios' in scope
103 |
104 | /// `c_iflag`, as an OptionSet.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:106:30: error: cannot find type 'tcflag_t' in scope
104 | /// `c_iflag`, as an OptionSet.
105 | public struct InputFlags: OptionSet, Sendable {
106 | public var rawValue: tcflag_t
| `- error: cannot find type 'tcflag_t' in scope
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
108 | public static let IGNBRK = InputFlags(rawValue: _IGNBRK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:107:31: error: cannot find type 'tcflag_t' in scope
105 | public struct InputFlags: OptionSet, Sendable {
106 | public var rawValue: tcflag_t
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
| `- error: cannot find type 'tcflag_t' in scope
108 | public static let IGNBRK = InputFlags(rawValue: _IGNBRK)
109 | public static let BRKINT = InputFlags(rawValue: _BRKINT)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:108:46: error: extraneous argument label 'rawValue:' in call
106 | public var rawValue: tcflag_t
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
108 | public static let IGNBRK = InputFlags(rawValue: _IGNBRK)
| `- error: extraneous argument label 'rawValue:' in call
109 | public static let BRKINT = InputFlags(rawValue: _BRKINT)
110 | public static let IGNPAR = InputFlags(rawValue: _IGNPAR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:109:46: error: extraneous argument label 'rawValue:' in call
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
108 | public static let IGNBRK = InputFlags(rawValue: _IGNBRK)
109 | public static let BRKINT = InputFlags(rawValue: _BRKINT)
| `- error: extraneous argument label 'rawValue:' in call
110 | public static let IGNPAR = InputFlags(rawValue: _IGNPAR)
111 | public static let PARMRK = InputFlags(rawValue: _PARMRK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:110:46: error: extraneous argument label 'rawValue:' in call
108 | public static let IGNBRK = InputFlags(rawValue: _IGNBRK)
109 | public static let BRKINT = InputFlags(rawValue: _BRKINT)
110 | public static let IGNPAR = InputFlags(rawValue: _IGNPAR)
| `- error: extraneous argument label 'rawValue:' in call
111 | public static let PARMRK = InputFlags(rawValue: _PARMRK)
112 | public static let INPCK = InputFlags(rawValue: _INPCK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:111:46: error: extraneous argument label 'rawValue:' in call
109 | public static let BRKINT = InputFlags(rawValue: _BRKINT)
110 | public static let IGNPAR = InputFlags(rawValue: _IGNPAR)
111 | public static let PARMRK = InputFlags(rawValue: _PARMRK)
| `- error: extraneous argument label 'rawValue:' in call
112 | public static let INPCK = InputFlags(rawValue: _INPCK)
113 | public static let ISTRIP = InputFlags(rawValue: _ISTRIP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:112:45: error: extraneous argument label 'rawValue:' in call
110 | public static let IGNPAR = InputFlags(rawValue: _IGNPAR)
111 | public static let PARMRK = InputFlags(rawValue: _PARMRK)
112 | public static let INPCK = InputFlags(rawValue: _INPCK)
| `- error: extraneous argument label 'rawValue:' in call
113 | public static let ISTRIP = InputFlags(rawValue: _ISTRIP)
114 | public static let INLCR = InputFlags(rawValue: _INLCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:113:46: error: extraneous argument label 'rawValue:' in call
111 | public static let PARMRK = InputFlags(rawValue: _PARMRK)
112 | public static let INPCK = InputFlags(rawValue: _INPCK)
113 | public static let ISTRIP = InputFlags(rawValue: _ISTRIP)
| `- error: extraneous argument label 'rawValue:' in call
114 | public static let INLCR = InputFlags(rawValue: _INLCR)
115 | public static let IGNCR = InputFlags(rawValue: _IGNCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:114:45: error: extraneous argument label 'rawValue:' in call
112 | public static let INPCK = InputFlags(rawValue: _INPCK)
113 | public static let ISTRIP = InputFlags(rawValue: _ISTRIP)
114 | public static let INLCR = InputFlags(rawValue: _INLCR)
| `- error: extraneous argument label 'rawValue:' in call
115 | public static let IGNCR = InputFlags(rawValue: _IGNCR)
116 | public static let ICRNL = InputFlags(rawValue: _ICRNL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:115:45: error: extraneous argument label 'rawValue:' in call
113 | public static let ISTRIP = InputFlags(rawValue: _ISTRIP)
114 | public static let INLCR = InputFlags(rawValue: _INLCR)
115 | public static let IGNCR = InputFlags(rawValue: _IGNCR)
| `- error: extraneous argument label 'rawValue:' in call
116 | public static let ICRNL = InputFlags(rawValue: _ICRNL)
117 | public static let IXON = InputFlags(rawValue: _IXON)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:116:45: error: extraneous argument label 'rawValue:' in call
114 | public static let INLCR = InputFlags(rawValue: _INLCR)
115 | public static let IGNCR = InputFlags(rawValue: _IGNCR)
116 | public static let ICRNL = InputFlags(rawValue: _ICRNL)
| `- error: extraneous argument label 'rawValue:' in call
117 | public static let IXON = InputFlags(rawValue: _IXON)
118 | public static let IXOFF = InputFlags(rawValue: _IXOFF)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:117:44: error: extraneous argument label 'rawValue:' in call
115 | public static let IGNCR = InputFlags(rawValue: _IGNCR)
116 | public static let ICRNL = InputFlags(rawValue: _ICRNL)
117 | public static let IXON = InputFlags(rawValue: _IXON)
| `- error: extraneous argument label 'rawValue:' in call
118 | public static let IXOFF = InputFlags(rawValue: _IXOFF)
119 | public static let IXANY = InputFlags(rawValue: _IXANY)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:118:45: error: extraneous argument label 'rawValue:' in call
116 | public static let ICRNL = InputFlags(rawValue: _ICRNL)
117 | public static let IXON = InputFlags(rawValue: _IXON)
118 | public static let IXOFF = InputFlags(rawValue: _IXOFF)
| `- error: extraneous argument label 'rawValue:' in call
119 | public static let IXANY = InputFlags(rawValue: _IXANY)
120 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:119:45: error: extraneous argument label 'rawValue:' in call
117 | public static let IXON = InputFlags(rawValue: _IXON)
118 | public static let IXOFF = InputFlags(rawValue: _IXOFF)
119 | public static let IXANY = InputFlags(rawValue: _IXANY)
| `- error: extraneous argument label 'rawValue:' in call
120 | }
121 | /// `c_oflag`, as an OptionSet.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:105:19: error: type 'Termios.InputFlags' does not conform to protocol 'SetAlgebra'
103 |
104 | /// `c_iflag`, as an OptionSet.
105 | public struct InputFlags: OptionSet, Sendable {
| `- error: type 'Termios.InputFlags' does not conform to protocol 'SetAlgebra'
106 | public var rawValue: tcflag_t
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
Swift.OptionSet.init:2:19: note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:105:19: error: type 'Termios.InputFlags' does not conform to protocol 'RawRepresentable'
103 |
104 | /// `c_iflag`, as an OptionSet.
105 | public struct InputFlags: OptionSet, Sendable {
| `- error: type 'Termios.InputFlags' does not conform to protocol 'RawRepresentable'
106 | public var rawValue: tcflag_t
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:105:19: error: type 'Termios.InputFlags' does not conform to protocol 'Equatable'
103 |
104 | /// `c_iflag`, as an OptionSet.
105 | public struct InputFlags: OptionSet, Sendable {
| |- error: type 'Termios.InputFlags' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
106 | public var rawValue: tcflag_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Termios.InputFlags' to 'Equatable'
107 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
108 | public static let IGNBRK = InputFlags(rawValue: _IGNBRK)
Swift.==:1:24: note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Termios.InputFlags.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Termios.InputFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.InputFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Termios.InputFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Termios.InputFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Termios.InputFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.InputFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Termios.InputFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Termios.InputFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Termios.InputFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Termios.InputFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Termios.InputFlags' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Termios.InputFlags' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Termios.InputFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Termios.InputFlags' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned Termios.InputFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned Termios.InputFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(Termios.InputFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(Termios.InputFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.InputFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.InputFlags) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Termios.InputFlags, Termios.InputFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Termios.InputFlags, Termios.InputFlags) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:123:30: error: cannot find type 'tcflag_t' in scope
121 | /// `c_oflag`, as an OptionSet.
122 | public struct OutputFlags: OptionSet, Sendable {
123 | public var rawValue: tcflag_t
| `- error: cannot find type 'tcflag_t' in scope
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
125 | public static let OPOST = OutputFlags(rawValue: _OPOST)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:124:31: error: cannot find type 'tcflag_t' in scope
122 | public struct OutputFlags: OptionSet, Sendable {
123 | public var rawValue: tcflag_t
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
| `- error: cannot find type 'tcflag_t' in scope
125 | public static let OPOST = OutputFlags(rawValue: _OPOST)
126 | public static let ONLCR = OutputFlags(rawValue: _ONLCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:125:46: error: extraneous argument label 'rawValue:' in call
123 | public var rawValue: tcflag_t
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
125 | public static let OPOST = OutputFlags(rawValue: _OPOST)
| `- error: extraneous argument label 'rawValue:' in call
126 | public static let ONLCR = OutputFlags(rawValue: _ONLCR)
127 | public static let OCRNL = OutputFlags(rawValue: _OCRNL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:126:46: error: extraneous argument label 'rawValue:' in call
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
125 | public static let OPOST = OutputFlags(rawValue: _OPOST)
126 | public static let ONLCR = OutputFlags(rawValue: _ONLCR)
| `- error: extraneous argument label 'rawValue:' in call
127 | public static let OCRNL = OutputFlags(rawValue: _OCRNL)
128 | public static let ONOCR = OutputFlags(rawValue: _ONOCR)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:127:46: error: extraneous argument label 'rawValue:' in call
125 | public static let OPOST = OutputFlags(rawValue: _OPOST)
126 | public static let ONLCR = OutputFlags(rawValue: _ONLCR)
127 | public static let OCRNL = OutputFlags(rawValue: _OCRNL)
| `- error: extraneous argument label 'rawValue:' in call
128 | public static let ONOCR = OutputFlags(rawValue: _ONOCR)
129 | public static let ONLRET = OutputFlags(rawValue: _ONLRET)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:128:46: error: extraneous argument label 'rawValue:' in call
126 | public static let ONLCR = OutputFlags(rawValue: _ONLCR)
127 | public static let OCRNL = OutputFlags(rawValue: _OCRNL)
128 | public static let ONOCR = OutputFlags(rawValue: _ONOCR)
| `- error: extraneous argument label 'rawValue:' in call
129 | public static let ONLRET = OutputFlags(rawValue: _ONLRET)
130 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:129:47: error: extraneous argument label 'rawValue:' in call
127 | public static let OCRNL = OutputFlags(rawValue: _OCRNL)
128 | public static let ONOCR = OutputFlags(rawValue: _ONOCR)
129 | public static let ONLRET = OutputFlags(rawValue: _ONLRET)
| `- error: extraneous argument label 'rawValue:' in call
130 | }
131 | /// `c_cflag`, as an OptionSet.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:122:19: error: type 'Termios.OutputFlags' does not conform to protocol 'SetAlgebra'
120 | }
121 | /// `c_oflag`, as an OptionSet.
122 | public struct OutputFlags: OptionSet, Sendable {
| `- error: type 'Termios.OutputFlags' does not conform to protocol 'SetAlgebra'
123 | public var rawValue: tcflag_t
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
Swift.OptionSet.init:2:19: note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:122:19: error: type 'Termios.OutputFlags' does not conform to protocol 'RawRepresentable'
120 | }
121 | /// `c_oflag`, as an OptionSet.
122 | public struct OutputFlags: OptionSet, Sendable {
| `- error: type 'Termios.OutputFlags' does not conform to protocol 'RawRepresentable'
123 | public var rawValue: tcflag_t
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:122:19: error: type 'Termios.OutputFlags' does not conform to protocol 'Equatable'
120 | }
121 | /// `c_oflag`, as an OptionSet.
122 | public struct OutputFlags: OptionSet, Sendable {
| |- error: type 'Termios.OutputFlags' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
123 | public var rawValue: tcflag_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Termios.OutputFlags' to 'Equatable'
124 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
125 | public static let OPOST = OutputFlags(rawValue: _OPOST)
Swift.==:1:24: note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Termios.OutputFlags.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Termios.OutputFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Termios.OutputFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Termios.OutputFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Termios.OutputFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Termios.OutputFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Termios.OutputFlags' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Termios.OutputFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Termios.OutputFlags' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned Termios.OutputFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned Termios.OutputFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(Termios.OutputFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(Termios.OutputFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.OutputFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.OutputFlags) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Termios.OutputFlags, Termios.OutputFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Termios.OutputFlags, Termios.OutputFlags) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:133:30: error: cannot find type 'tcflag_t' in scope
131 | /// `c_cflag`, as an OptionSet.
132 | public struct ControlFlags: OptionSet, Sendable {
133 | public var rawValue: tcflag_t
| `- error: cannot find type 'tcflag_t' in scope
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
135 | public static let CSIZE = ControlFlags(rawValue: _CSIZE)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:134:31: error: cannot find type 'tcflag_t' in scope
132 | public struct ControlFlags: OptionSet, Sendable {
133 | public var rawValue: tcflag_t
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
| `- error: cannot find type 'tcflag_t' in scope
135 | public static let CSIZE = ControlFlags(rawValue: _CSIZE)
136 | public static let CS5 = ControlFlags(rawValue: _CS5)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:135:47: error: extraneous argument label 'rawValue:' in call
133 | public var rawValue: tcflag_t
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
135 | public static let CSIZE = ControlFlags(rawValue: _CSIZE)
| `- error: extraneous argument label 'rawValue:' in call
136 | public static let CS5 = ControlFlags(rawValue: _CS5)
137 | public static let CS6 = ControlFlags(rawValue: _CS6)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:136:45: error: extraneous argument label 'rawValue:' in call
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
135 | public static let CSIZE = ControlFlags(rawValue: _CSIZE)
136 | public static let CS5 = ControlFlags(rawValue: _CS5)
| `- error: extraneous argument label 'rawValue:' in call
137 | public static let CS6 = ControlFlags(rawValue: _CS6)
138 | public static let CS7 = ControlFlags(rawValue: _CS7)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:137:45: error: extraneous argument label 'rawValue:' in call
135 | public static let CSIZE = ControlFlags(rawValue: _CSIZE)
136 | public static let CS5 = ControlFlags(rawValue: _CS5)
137 | public static let CS6 = ControlFlags(rawValue: _CS6)
| `- error: extraneous argument label 'rawValue:' in call
138 | public static let CS7 = ControlFlags(rawValue: _CS7)
139 | public static let CS8 = ControlFlags(rawValue: _CS8)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:138:45: error: extraneous argument label 'rawValue:' in call
136 | public static let CS5 = ControlFlags(rawValue: _CS5)
137 | public static let CS6 = ControlFlags(rawValue: _CS6)
138 | public static let CS7 = ControlFlags(rawValue: _CS7)
| `- error: extraneous argument label 'rawValue:' in call
139 | public static let CS8 = ControlFlags(rawValue: _CS8)
140 | public static let CSTOPB = ControlFlags(rawValue: _CSTOPB)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:139:45: error: extraneous argument label 'rawValue:' in call
137 | public static let CS6 = ControlFlags(rawValue: _CS6)
138 | public static let CS7 = ControlFlags(rawValue: _CS7)
139 | public static let CS8 = ControlFlags(rawValue: _CS8)
| `- error: extraneous argument label 'rawValue:' in call
140 | public static let CSTOPB = ControlFlags(rawValue: _CSTOPB)
141 | public static let CREAD = ControlFlags(rawValue: _CREAD)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:140:48: error: extraneous argument label 'rawValue:' in call
138 | public static let CS7 = ControlFlags(rawValue: _CS7)
139 | public static let CS8 = ControlFlags(rawValue: _CS8)
140 | public static let CSTOPB = ControlFlags(rawValue: _CSTOPB)
| `- error: extraneous argument label 'rawValue:' in call
141 | public static let CREAD = ControlFlags(rawValue: _CREAD)
142 | public static let PARENB = ControlFlags(rawValue: _PARENB)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:141:47: error: extraneous argument label 'rawValue:' in call
139 | public static let CS8 = ControlFlags(rawValue: _CS8)
140 | public static let CSTOPB = ControlFlags(rawValue: _CSTOPB)
141 | public static let CREAD = ControlFlags(rawValue: _CREAD)
| `- error: extraneous argument label 'rawValue:' in call
142 | public static let PARENB = ControlFlags(rawValue: _PARENB)
143 | public static let PARODD = ControlFlags(rawValue: _PARODD)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:142:48: error: extraneous argument label 'rawValue:' in call
140 | public static let CSTOPB = ControlFlags(rawValue: _CSTOPB)
141 | public static let CREAD = ControlFlags(rawValue: _CREAD)
142 | public static let PARENB = ControlFlags(rawValue: _PARENB)
| `- error: extraneous argument label 'rawValue:' in call
143 | public static let PARODD = ControlFlags(rawValue: _PARODD)
144 | public static let HUPCL = ControlFlags(rawValue: _HUPCL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:143:48: error: extraneous argument label 'rawValue:' in call
141 | public static let CREAD = ControlFlags(rawValue: _CREAD)
142 | public static let PARENB = ControlFlags(rawValue: _PARENB)
143 | public static let PARODD = ControlFlags(rawValue: _PARODD)
| `- error: extraneous argument label 'rawValue:' in call
144 | public static let HUPCL = ControlFlags(rawValue: _HUPCL)
145 | public static let CLOCAL = ControlFlags(rawValue: _CLOCAL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:144:47: error: extraneous argument label 'rawValue:' in call
142 | public static let PARENB = ControlFlags(rawValue: _PARENB)
143 | public static let PARODD = ControlFlags(rawValue: _PARODD)
144 | public static let HUPCL = ControlFlags(rawValue: _HUPCL)
| `- error: extraneous argument label 'rawValue:' in call
145 | public static let CLOCAL = ControlFlags(rawValue: _CLOCAL)
146 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:145:48: error: extraneous argument label 'rawValue:' in call
143 | public static let PARODD = ControlFlags(rawValue: _PARODD)
144 | public static let HUPCL = ControlFlags(rawValue: _HUPCL)
145 | public static let CLOCAL = ControlFlags(rawValue: _CLOCAL)
| `- error: extraneous argument label 'rawValue:' in call
146 | }
147 | /// `c_lflag`, as an OptionSet.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:132:19: error: type 'Termios.ControlFlags' does not conform to protocol 'SetAlgebra'
130 | }
131 | /// `c_cflag`, as an OptionSet.
132 | public struct ControlFlags: OptionSet, Sendable {
| `- error: type 'Termios.ControlFlags' does not conform to protocol 'SetAlgebra'
133 | public var rawValue: tcflag_t
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
Swift.OptionSet.init:2:19: note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:132:19: error: type 'Termios.ControlFlags' does not conform to protocol 'RawRepresentable'
130 | }
131 | /// `c_cflag`, as an OptionSet.
132 | public struct ControlFlags: OptionSet, Sendable {
| `- error: type 'Termios.ControlFlags' does not conform to protocol 'RawRepresentable'
133 | public var rawValue: tcflag_t
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:132:19: error: type 'Termios.ControlFlags' does not conform to protocol 'Equatable'
130 | }
131 | /// `c_cflag`, as an OptionSet.
132 | public struct ControlFlags: OptionSet, Sendable {
| |- error: type 'Termios.ControlFlags' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
133 | public var rawValue: tcflag_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Termios.ControlFlags' to 'Equatable'
134 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
135 | public static let CSIZE = ControlFlags(rawValue: _CSIZE)
Swift.==:1:24: note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Termios.ControlFlags.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Termios.ControlFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Termios.ControlFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Termios.ControlFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Termios.ControlFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Termios.ControlFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Termios.ControlFlags' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Termios.ControlFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Termios.ControlFlags' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned Termios.ControlFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned Termios.ControlFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(Termios.ControlFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(Termios.ControlFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.ControlFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.ControlFlags) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Termios.ControlFlags, Termios.ControlFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Termios.ControlFlags, Termios.ControlFlags) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:149:30: error: cannot find type 'tcflag_t' in scope
147 | /// `c_lflag`, as an OptionSet.
148 | public struct LocalFlags: OptionSet, Sendable {
149 | public var rawValue: tcflag_t
| `- error: cannot find type 'tcflag_t' in scope
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
151 | public static let ECHO = LocalFlags(rawValue: _ECHO)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:150:31: error: cannot find type 'tcflag_t' in scope
148 | public struct LocalFlags: OptionSet, Sendable {
149 | public var rawValue: tcflag_t
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
| `- error: cannot find type 'tcflag_t' in scope
151 | public static let ECHO = LocalFlags(rawValue: _ECHO)
152 | public static let ECHOE = LocalFlags(rawValue: _ECHOE)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:151:44: error: extraneous argument label 'rawValue:' in call
149 | public var rawValue: tcflag_t
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
151 | public static let ECHO = LocalFlags(rawValue: _ECHO)
| `- error: extraneous argument label 'rawValue:' in call
152 | public static let ECHOE = LocalFlags(rawValue: _ECHOE)
153 | public static let ECHOK = LocalFlags(rawValue: _ECHOK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:152:45: error: extraneous argument label 'rawValue:' in call
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
151 | public static let ECHO = LocalFlags(rawValue: _ECHO)
152 | public static let ECHOE = LocalFlags(rawValue: _ECHOE)
| `- error: extraneous argument label 'rawValue:' in call
153 | public static let ECHOK = LocalFlags(rawValue: _ECHOK)
154 | public static let ECHONL = LocalFlags(rawValue: _ECHONL)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:153:45: error: extraneous argument label 'rawValue:' in call
151 | public static let ECHO = LocalFlags(rawValue: _ECHO)
152 | public static let ECHOE = LocalFlags(rawValue: _ECHOE)
153 | public static let ECHOK = LocalFlags(rawValue: _ECHOK)
| `- error: extraneous argument label 'rawValue:' in call
154 | public static let ECHONL = LocalFlags(rawValue: _ECHONL)
155 | public static let ICANON = LocalFlags(rawValue: _ICANON)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:154:46: error: extraneous argument label 'rawValue:' in call
152 | public static let ECHOE = LocalFlags(rawValue: _ECHOE)
153 | public static let ECHOK = LocalFlags(rawValue: _ECHOK)
154 | public static let ECHONL = LocalFlags(rawValue: _ECHONL)
| `- error: extraneous argument label 'rawValue:' in call
155 | public static let ICANON = LocalFlags(rawValue: _ICANON)
156 | public static let ISIG = LocalFlags(rawValue: _ISIG)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:155:46: error: extraneous argument label 'rawValue:' in call
153 | public static let ECHOK = LocalFlags(rawValue: _ECHOK)
154 | public static let ECHONL = LocalFlags(rawValue: _ECHONL)
155 | public static let ICANON = LocalFlags(rawValue: _ICANON)
| `- error: extraneous argument label 'rawValue:' in call
156 | public static let ISIG = LocalFlags(rawValue: _ISIG)
157 | public static let IEXTEN = LocalFlags(rawValue: _IEXTEN)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:156:44: error: extraneous argument label 'rawValue:' in call
154 | public static let ECHONL = LocalFlags(rawValue: _ECHONL)
155 | public static let ICANON = LocalFlags(rawValue: _ICANON)
156 | public static let ISIG = LocalFlags(rawValue: _ISIG)
| `- error: extraneous argument label 'rawValue:' in call
157 | public static let IEXTEN = LocalFlags(rawValue: _IEXTEN)
158 | public static let NOFLSH = LocalFlags(rawValue: _NOFLSH)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:157:46: error: extraneous argument label 'rawValue:' in call
155 | public static let ICANON = LocalFlags(rawValue: _ICANON)
156 | public static let ISIG = LocalFlags(rawValue: _ISIG)
157 | public static let IEXTEN = LocalFlags(rawValue: _IEXTEN)
| `- error: extraneous argument label 'rawValue:' in call
158 | public static let NOFLSH = LocalFlags(rawValue: _NOFLSH)
159 | public static let TOSTOP = LocalFlags(rawValue: _TOSTOP)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:158:46: error: extraneous argument label 'rawValue:' in call
156 | public static let ISIG = LocalFlags(rawValue: _ISIG)
157 | public static let IEXTEN = LocalFlags(rawValue: _IEXTEN)
158 | public static let NOFLSH = LocalFlags(rawValue: _NOFLSH)
| `- error: extraneous argument label 'rawValue:' in call
159 | public static let TOSTOP = LocalFlags(rawValue: _TOSTOP)
160 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:159:46: error: extraneous argument label 'rawValue:' in call
157 | public static let IEXTEN = LocalFlags(rawValue: _IEXTEN)
158 | public static let NOFLSH = LocalFlags(rawValue: _NOFLSH)
159 | public static let TOSTOP = LocalFlags(rawValue: _TOSTOP)
| `- error: extraneous argument label 'rawValue:' in call
160 | }
161 | /// An index into `c_cc`, as `ControlCharacter.VMIN` etc.
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:148:19: error: type 'Termios.LocalFlags' does not conform to protocol 'SetAlgebra'
146 | }
147 | /// `c_lflag`, as an OptionSet.
148 | public struct LocalFlags: OptionSet, Sendable {
| `- error: type 'Termios.LocalFlags' does not conform to protocol 'SetAlgebra'
149 | public var rawValue: tcflag_t
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
Swift.OptionSet.init:2:19: note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:148:19: error: type 'Termios.LocalFlags' does not conform to protocol 'RawRepresentable'
146 | }
147 | /// `c_lflag`, as an OptionSet.
148 | public struct LocalFlags: OptionSet, Sendable {
| `- error: type 'Termios.LocalFlags' does not conform to protocol 'RawRepresentable'
149 | public var rawValue: tcflag_t
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:148:19: error: type 'Termios.LocalFlags' does not conform to protocol 'Equatable'
146 | }
147 | /// `c_lflag`, as an OptionSet.
148 | public struct LocalFlags: OptionSet, Sendable {
| |- error: type 'Termios.LocalFlags' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
149 | public var rawValue: tcflag_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Termios.LocalFlags' to 'Equatable'
150 | public init(rawValue: tcflag_t) { self.rawValue = rawValue }
151 | public static let ECHO = LocalFlags(rawValue: _ECHO)
Swift.==:1:24: note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Termios.LocalFlags.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Termios.LocalFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Termios.LocalFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Termios.LocalFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Termios.LocalFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Termios.LocalFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Termios.LocalFlags' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Termios.LocalFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Termios.LocalFlags' conformed to 'SIMD'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned Termios.LocalFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned Termios.LocalFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(Termios.LocalFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(Termios.LocalFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.LocalFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned Termios.LocalFlags) -> ()'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Termios.LocalFlags, Termios.LocalFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Termios.LocalFlags, Termios.LocalFlags) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:196:52: error: cannot find type 'cc_t' in scope
194 |
195 | /// The `c_cc` control characters, e.g. `termios[.VMIN]`.
196 | public subscript(_ index: ControlCharacter) -> cc_t {
| `- error: cannot find type 'cc_t' in scope
197 | get {
198 | withUnsafeBytes(of: raw.c_cc) { $0[index.rawValue] }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:219:26: error: cannot find type 'speed_t' in scope
217 | /// A terminal baud rate, as `BaudRate.B9600` etc.
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
219 | public var rawValue: speed_t
| `- error: cannot find type 'speed_t' in scope
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:220:27: error: cannot find type 'speed_t' in scope
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
219 | public var rawValue: speed_t
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
| `- error: cannot find type 'speed_t' in scope
221 | public static let B0 = BaudRate(rawValue: _B0)
222 | public static let B50 = BaudRate(rawValue: _B50)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:221:28: error: no exact matches in call to initializer
219 | public var rawValue: speed_t
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
222 | public static let B50 = BaudRate(rawValue: _B50)
223 | public static let B75 = BaudRate(rawValue: _B75)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:222:29: error: no exact matches in call to initializer
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
222 | public static let B50 = BaudRate(rawValue: _B50)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
223 | public static let B75 = BaudRate(rawValue: _B75)
224 | public static let B110 = BaudRate(rawValue: _B110)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:223:29: error: no exact matches in call to initializer
221 | public static let B0 = BaudRate(rawValue: _B0)
222 | public static let B50 = BaudRate(rawValue: _B50)
223 | public static let B75 = BaudRate(rawValue: _B75)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
224 | public static let B110 = BaudRate(rawValue: _B110)
225 | public static let B134 = BaudRate(rawValue: _B134)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:224:30: error: no exact matches in call to initializer
222 | public static let B50 = BaudRate(rawValue: _B50)
223 | public static let B75 = BaudRate(rawValue: _B75)
224 | public static let B110 = BaudRate(rawValue: _B110)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
225 | public static let B134 = BaudRate(rawValue: _B134)
226 | public static let B150 = BaudRate(rawValue: _B150)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:225:30: error: no exact matches in call to initializer
223 | public static let B75 = BaudRate(rawValue: _B75)
224 | public static let B110 = BaudRate(rawValue: _B110)
225 | public static let B134 = BaudRate(rawValue: _B134)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
226 | public static let B150 = BaudRate(rawValue: _B150)
227 | public static let B200 = BaudRate(rawValue: _B200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:226:30: error: no exact matches in call to initializer
224 | public static let B110 = BaudRate(rawValue: _B110)
225 | public static let B134 = BaudRate(rawValue: _B134)
226 | public static let B150 = BaudRate(rawValue: _B150)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
227 | public static let B200 = BaudRate(rawValue: _B200)
228 | public static let B300 = BaudRate(rawValue: _B300)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:227:30: error: no exact matches in call to initializer
225 | public static let B134 = BaudRate(rawValue: _B134)
226 | public static let B150 = BaudRate(rawValue: _B150)
227 | public static let B200 = BaudRate(rawValue: _B200)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
228 | public static let B300 = BaudRate(rawValue: _B300)
229 | public static let B600 = BaudRate(rawValue: _B600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:228:30: error: no exact matches in call to initializer
226 | public static let B150 = BaudRate(rawValue: _B150)
227 | public static let B200 = BaudRate(rawValue: _B200)
228 | public static let B300 = BaudRate(rawValue: _B300)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
229 | public static let B600 = BaudRate(rawValue: _B600)
230 | public static let B1200 = BaudRate(rawValue: _B1200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:229:30: error: no exact matches in call to initializer
227 | public static let B200 = BaudRate(rawValue: _B200)
228 | public static let B300 = BaudRate(rawValue: _B300)
229 | public static let B600 = BaudRate(rawValue: _B600)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
230 | public static let B1200 = BaudRate(rawValue: _B1200)
231 | public static let B1800 = BaudRate(rawValue: _B1800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:230:31: error: no exact matches in call to initializer
228 | public static let B300 = BaudRate(rawValue: _B300)
229 | public static let B600 = BaudRate(rawValue: _B600)
230 | public static let B1200 = BaudRate(rawValue: _B1200)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
231 | public static let B1800 = BaudRate(rawValue: _B1800)
232 | public static let B2400 = BaudRate(rawValue: _B2400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:231:31: error: no exact matches in call to initializer
229 | public static let B600 = BaudRate(rawValue: _B600)
230 | public static let B1200 = BaudRate(rawValue: _B1200)
231 | public static let B1800 = BaudRate(rawValue: _B1800)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
232 | public static let B2400 = BaudRate(rawValue: _B2400)
233 | public static let B4800 = BaudRate(rawValue: _B4800)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:232:31: error: no exact matches in call to initializer
230 | public static let B1200 = BaudRate(rawValue: _B1200)
231 | public static let B1800 = BaudRate(rawValue: _B1800)
232 | public static let B2400 = BaudRate(rawValue: _B2400)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
233 | public static let B4800 = BaudRate(rawValue: _B4800)
234 | public static let B9600 = BaudRate(rawValue: _B9600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:233:31: error: no exact matches in call to initializer
231 | public static let B1800 = BaudRate(rawValue: _B1800)
232 | public static let B2400 = BaudRate(rawValue: _B2400)
233 | public static let B4800 = BaudRate(rawValue: _B4800)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
234 | public static let B9600 = BaudRate(rawValue: _B9600)
235 | public static let B19200 = BaudRate(rawValue: _B19200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:234:31: error: no exact matches in call to initializer
232 | public static let B2400 = BaudRate(rawValue: _B2400)
233 | public static let B4800 = BaudRate(rawValue: _B4800)
234 | public static let B9600 = BaudRate(rawValue: _B9600)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
235 | public static let B19200 = BaudRate(rawValue: _B19200)
236 | public static let B38400 = BaudRate(rawValue: _B38400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:235:32: error: no exact matches in call to initializer
233 | public static let B4800 = BaudRate(rawValue: _B4800)
234 | public static let B9600 = BaudRate(rawValue: _B9600)
235 | public static let B19200 = BaudRate(rawValue: _B19200)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
236 | public static let B38400 = BaudRate(rawValue: _B38400)
237 | public static let B57600 = BaudRate(rawValue: _B57600)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:236:32: error: no exact matches in call to initializer
234 | public static let B9600 = BaudRate(rawValue: _B9600)
235 | public static let B19200 = BaudRate(rawValue: _B19200)
236 | public static let B38400 = BaudRate(rawValue: _B38400)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
237 | public static let B57600 = BaudRate(rawValue: _B57600)
238 | public static let B115200 = BaudRate(rawValue: _B115200)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:237:32: error: no exact matches in call to initializer
235 | public static let B19200 = BaudRate(rawValue: _B19200)
236 | public static let B38400 = BaudRate(rawValue: _B38400)
237 | public static let B57600 = BaudRate(rawValue: _B57600)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
238 | public static let B115200 = BaudRate(rawValue: _B115200)
239 | public static let B230400 = BaudRate(rawValue: _B230400)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:238:33: error: no exact matches in call to initializer
236 | public static let B38400 = BaudRate(rawValue: _B38400)
237 | public static let B57600 = BaudRate(rawValue: _B57600)
238 | public static let B115200 = BaudRate(rawValue: _B115200)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
239 | public static let B230400 = BaudRate(rawValue: _B230400)
240 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:239:33: error: no exact matches in call to initializer
237 | public static let B57600 = BaudRate(rawValue: _B57600)
238 | public static let B115200 = BaudRate(rawValue: _B115200)
239 | public static let B230400 = BaudRate(rawValue: _B230400)
| |- error: no exact matches in call to initializer
| `- note: found candidate with type '(any Decoder) throws -> BaudRate'
240 | }
241 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:218:15: error: type 'BaudRate' does not conform to protocol 'Hashable'
216 |
217 | /// A terminal baud rate, as `BaudRate.B9600` etc.
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
| `- error: type 'BaudRate' does not conform to protocol 'Hashable'
219 | public var rawValue: speed_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'BaudRate' to 'Hashable'
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:218:15: error: type 'BaudRate' does not conform to protocol 'RawRepresentable'
216 |
217 | /// A terminal baud rate, as `BaudRate.B9600` etc.
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
| `- error: type 'BaudRate' does not conform to protocol 'RawRepresentable'
219 | public var rawValue: speed_t
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/POSIXGlobals/Termios.swift:218:15: error: type 'BaudRate' does not conform to protocol 'Equatable'
216 |
217 | /// A terminal baud rate, as `BaudRate.B9600` etc.
218 | public struct BaudRate: RawRepresentable, Hashable, Sendable {
| |- error: type 'BaudRate' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
219 | public var rawValue: speed_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'BaudRate' to 'Equatable'
220 | public init(rawValue: speed_t) { self.rawValue = rawValue }
221 | public static let B0 = BaudRate(rawValue: _B0)
Swift.==:1:24: note: candidate would match if 'BaudRate.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'BaudRate.RawValue' conformed to 'Equatable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'BaudRate' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaudRate' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'BaudRate' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'BaudRate' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'BaudRate' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaudRate' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'BaudRate' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'BaudRate' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'BaudRate' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'BaudRate' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'BaudRate' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'BaudRate' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'BaudRate' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'BaudRate' conformed to 'SIMD'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(BaudRate, BaudRate) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(BaudRate, BaudRate) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:47:26: error: cannot find type 'tm' in scope
45 | }
46 |
47 | internal init(_ ctm: tm) {
| `- error: cannot find type 'tm' in scope
48 | sec = Int(ctm.tm_sec); min = Int(ctm.tm_min); hour = Int(ctm.tm_hour)
49 | mday = Int(ctm.tm_mday); mon = Int(ctm.tm_mon); year = Int(ctm.tm_year)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:55:23: error: cannot find type 'tm' in scope
53 | }
54 |
55 | internal var ctm: tm {
| `- error: cannot find type 'tm' in scope
56 | var t = tm()
57 | t.tm_sec = CInt(sec); t.tm_min = CInt(min); t.tm_hour = CInt(hour)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:66:23: error: cannot find type 'time_t' in scope
64 |
65 | /// identical to C's `time(2)`: seconds since the epoch.
66 | public func time() -> time_t { time(nil) }
| `- error: cannot find type 'time_t' in scope
67 |
68 | /// identical to C's `difftime(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:69:31: error: cannot find type 'time_t' in scope
67 |
68 | /// identical to C's `difftime(3)`.
69 | public func difftime(_ time1: time_t, _ time0: time_t) -> Double { C.difftime(time1, time0) }
| `- error: cannot find type 'time_t' in scope
70 |
71 | /// identical to C's `gmtime(3)` (via `gmtime_r`), but returns a swifty `Tm`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:69:48: error: cannot find type 'time_t' in scope
67 |
68 | /// identical to C's `difftime(3)`.
69 | public func difftime(_ time1: time_t, _ time0: time_t) -> Double { C.difftime(time1, time0) }
| `- error: cannot find type 'time_t' in scope
70 |
71 | /// identical to C's `gmtime(3)` (via `gmtime_r`), but returns a swifty `Tm`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:72:25: error: cannot find type 'time_t' in scope
70 |
71 | /// identical to C's `gmtime(3)` (via `gmtime_r`), but returns a swifty `Tm`.
72 | public func gmtime(_ t: time_t = time(nil)) -> Tm {
| `- error: cannot find type 'time_t' in scope
73 | var tv = t
74 | var result = tm()
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:80:28: error: cannot find type 'time_t' in scope
78 |
79 | /// identical to C's `localtime(3)` (via `localtime_r`), but returns a swifty `Tm`.
80 | public func localtime(_ t: time_t = time(nil)) -> Tm {
| `- error: cannot find type 'time_t' in scope
81 | var tv = t
82 | var result = tm()
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:89:40: error: cannot find type 'time_t' in scope
87 | /// identical to C's `mktime(3)`: converts a local-time `Tm` to seconds
88 | /// since the epoch.
89 | public func mktime(_ tm: Tm) throws -> time_t {
| `- error: cannot find type 'time_t' in scope
90 | var ctm = tm.ctm
91 | return try check(mktime(&ctm))
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:103:24: error: cannot find type 'time_t' in scope
101 |
102 | /// identical to C's `ctime(3)`: `asctime(localtime(t))`.
103 | public func ctime(_ t: time_t = time(nil)) -> String { asctime(localtime(t)) }
| `- error: cannot find type 'time_t' in scope
104 |
105 | /// identical to C's `strftime(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:121:24: error: cannot find type 'clock_t' in scope
119 |
120 | /// identical to C's `clock(3)`: processor time used, in `CLOCKS_PER_SEC` ticks.
121 | public func clock() -> clock_t { C.clock() }
| `- error: cannot find type 'clock_t' in scope
122 |
123 | // (CLOCKS_PER_SEC is re-exported in Platform.swift)
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:146:25: error: cannot find type 'clock_t' in scope
144 | public struct Times: Hashable, Sendable {
145 | /// elapsed real time since an arbitrary point, in clock ticks
146 | public let elapsed: clock_t
| `- error: cannot find type 'clock_t' in scope
147 | /// user CPU time (`tms_utime`)
148 | public let user: clock_t
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:148:22: error: cannot find type 'clock_t' in scope
146 | public let elapsed: clock_t
147 | /// user CPU time (`tms_utime`)
148 | public let user: clock_t
| `- error: cannot find type 'clock_t' in scope
149 | /// system CPU time (`tms_stime`)
150 | public let system: clock_t
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:150:24: error: cannot find type 'clock_t' in scope
148 | public let user: clock_t
149 | /// system CPU time (`tms_stime`)
150 | public let system: clock_t
| `- error: cannot find type 'clock_t' in scope
151 | /// user CPU time of terminated children (`tms_cutime`)
152 | public let childUser: clock_t
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:152:27: error: cannot find type 'clock_t' in scope
150 | public let system: clock_t
151 | /// user CPU time of terminated children (`tms_cutime`)
152 | public let childUser: clock_t
| `- error: cannot find type 'clock_t' in scope
153 | /// system CPU time of terminated children (`tms_cstime`)
154 | public let childSystem: clock_t
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:154:29: error: cannot find type 'clock_t' in scope
152 | public let childUser: clock_t
153 | /// system CPU time of terminated children (`tms_cstime`)
154 | public let childSystem: clock_t
| `- error: cannot find type 'clock_t' in scope
155 | }
156 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:144:15: error: type 'Times' does not conform to protocol 'Hashable'
142 | /// A swifty `struct tms`, plus the elapsed real time, like Perl's
143 | /// five-element `POSIX::times()`.
144 | public struct Times: Hashable, Sendable {
| `- error: type 'Times' does not conform to protocol 'Hashable'
145 | /// elapsed real time since an arbitrary point, in clock ticks
146 | public let elapsed: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
147 | /// user CPU time (`tms_utime`)
148 | public let user: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
149 | /// system CPU time (`tms_stime`)
150 | public let system: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
151 | /// user CPU time of terminated children (`tms_cutime`)
152 | public let childUser: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
153 | /// system CPU time of terminated children (`tms_cstime`)
154 | public let childSystem: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Hashable', preventing synthesized conformance of 'Times' to 'Hashable'
155 | }
156 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Time.swift:144:15: error: type 'Times' does not conform to protocol 'Equatable'
142 | /// A swifty `struct tms`, plus the elapsed real time, like Perl's
143 | /// five-element `POSIX::times()`.
144 | public struct Times: Hashable, Sendable {
| |- error: type 'Times' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
145 | /// elapsed real time since an arbitrary point, in clock ticks
146 | public let elapsed: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
147 | /// user CPU time (`tms_utime`)
148 | public let user: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
149 | /// system CPU time (`tms_stime`)
150 | public let system: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
151 | /// user CPU time of terminated children (`tms_cutime`)
152 | public let childUser: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
153 | /// system CPU time of terminated children (`tms_cstime`)
154 | public let childSystem: clock_t
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Times' to 'Equatable'
155 | }
156 |
Swift.==:1:24: note: candidate would match if 'Times' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Times' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Times' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Times' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Times' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Times' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Times' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Times' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Times' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'Times' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Times' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Times' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Times' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'Times' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Times' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Times' conformed to 'SIMD'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Times, Times) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Times, Times) -> Bool'
3 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:12:25: error: cannot find type 'pid_t' in scope
10 |
11 | /// identical to C's `getpid(2)`.
12 | public func getpid() -> pid_t { C.getpid() }
| `- error: cannot find type 'pid_t' in scope
13 | /// identical to C's `getppid(2)`.
14 | public func getppid() -> pid_t { C.getppid() }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:14:26: error: cannot find type 'pid_t' in scope
12 | public func getpid() -> pid_t { C.getpid() }
13 | /// identical to C's `getppid(2)`.
14 | public func getppid() -> pid_t { C.getppid() }
| `- error: cannot find type 'pid_t' in scope
15 | /// identical to C's `getuid(2)`.
16 | public func getuid() -> uid_t { C.getuid() }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:16:25: error: cannot find type 'uid_t' in scope
14 | public func getppid() -> pid_t { C.getppid() }
15 | /// identical to C's `getuid(2)`.
16 | public func getuid() -> uid_t { C.getuid() }
| `- error: cannot find type 'uid_t' in scope
17 | /// identical to C's `geteuid(2)`.
18 | public func geteuid() -> uid_t { C.geteuid() }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:18:26: error: cannot find type 'uid_t' in scope
16 | public func getuid() -> uid_t { C.getuid() }
17 | /// identical to C's `geteuid(2)`.
18 | public func geteuid() -> uid_t { C.geteuid() }
| `- error: cannot find type 'uid_t' in scope
19 | /// identical to C's `getgid(2)`.
20 | public func getgid() -> gid_t { C.getgid() }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:20:25: error: cannot find type 'gid_t' in scope
18 | public func geteuid() -> uid_t { C.geteuid() }
19 | /// identical to C's `getgid(2)`.
20 | public func getgid() -> gid_t { C.getgid() }
| `- error: cannot find type 'gid_t' in scope
21 | /// identical to C's `getegid(2)`.
22 | public func getegid() -> gid_t { C.getegid() }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:22:26: error: cannot find type 'gid_t' in scope
20 | public func getgid() -> gid_t { C.getgid() }
21 | /// identical to C's `getegid(2)`.
22 | public func getegid() -> gid_t { C.getegid() }
| `- error: cannot find type 'gid_t' in scope
23 | /// identical to C's `getpgrp(2)`.
24 | public func getpgrp() -> pid_t { C.getpgrp() }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:24:26: error: cannot find type 'pid_t' in scope
22 | public func getegid() -> gid_t { C.getegid() }
23 | /// identical to C's `getpgrp(2)`.
24 | public func getpgrp() -> pid_t { C.getpgrp() }
| `- error: cannot find type 'pid_t' in scope
25 | /// identical to C's `setuid(2)`.
26 | public func setuid(_ uid: uid_t) throws { try check(C.setuid(uid)) }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:26:27: error: cannot find type 'uid_t' in scope
24 | public func getpgrp() -> pid_t { C.getpgrp() }
25 | /// identical to C's `setuid(2)`.
26 | public func setuid(_ uid: uid_t) throws { try check(C.setuid(uid)) }
| `- error: cannot find type 'uid_t' in scope
27 | /// identical to C's `setgid(2)`.
28 | public func setgid(_ gid: gid_t) throws { try check(C.setgid(gid)) }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:28:27: error: cannot find type 'gid_t' in scope
26 | public func setuid(_ uid: uid_t) throws { try check(C.setuid(uid)) }
27 | /// identical to C's `setgid(2)`.
28 | public func setgid(_ gid: gid_t) throws { try check(C.setgid(gid)) }
| `- error: cannot find type 'gid_t' in scope
29 | /// identical to C's `setpgid(2)`.
30 | public func setpgid(_ pid: pid_t, _ pgid: pid_t) throws { try check(C.setpgid(pid, pgid)) }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:30:28: error: cannot find type 'pid_t' in scope
28 | public func setgid(_ gid: gid_t) throws { try check(C.setgid(gid)) }
29 | /// identical to C's `setpgid(2)`.
30 | public func setpgid(_ pid: pid_t, _ pgid: pid_t) throws { try check(C.setpgid(pid, pgid)) }
| `- error: cannot find type 'pid_t' in scope
31 | /// identical to C's `setsid(2)`.
32 | @discardableResult
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:30:43: error: cannot find type 'pid_t' in scope
28 | public func setgid(_ gid: gid_t) throws { try check(C.setgid(gid)) }
29 | /// identical to C's `setpgid(2)`.
30 | public func setpgid(_ pid: pid_t, _ pgid: pid_t) throws { try check(C.setpgid(pid, pgid)) }
| `- error: cannot find type 'pid_t' in scope
31 | /// identical to C's `setsid(2)`.
32 | @discardableResult
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:33:32: error: cannot find type 'pid_t' in scope
31 | /// identical to C's `setsid(2)`.
32 | @discardableResult
33 | public func setsid() throws -> pid_t { try check(C.setsid()) }
| `- error: cannot find type 'pid_t' in scope
34 |
35 | /// identical to C's `getgroups(2)`: the supplementary group ids.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:36:36: error: cannot find type 'gid_t' in scope
34 |
35 | /// identical to C's `getgroups(2)`: the supplementary group ids.
36 | public func getgroups() throws -> [gid_t] {
| `- error: cannot find type 'gid_t' in scope
37 | let n = try check(getgroups(0, nil))
38 | guard n > 0 else { return [] }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:54:30: error: cannot find type 'pid_t' in scope
52 | /// identical to C's `fork(2)`; returns 0 in the child and the child's
53 | /// pid in the parent.
54 | public func fork() throws -> pid_t { try check(C.fork()) }
| `- error: cannot find type 'pid_t' in scope
55 |
56 | /// identical to C's `_exit(2)`: exits without running cleanup.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:113:25: error: cannot find 'SEEK_SET' in scope
111 | public init(rawValue: CInt) { self.rawValue = rawValue }
112 | }
113 | private let _SEEK_SET = SEEK_SET
| `- error: cannot find 'SEEK_SET' in scope
114 | private let _SEEK_CUR = SEEK_CUR
115 | private let _SEEK_END = SEEK_END
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:114:25: error: cannot find 'SEEK_CUR' in scope
112 | }
113 | private let _SEEK_SET = SEEK_SET
114 | private let _SEEK_CUR = SEEK_CUR
| `- error: cannot find 'SEEK_CUR' in scope
115 | private let _SEEK_END = SEEK_END
116 | extension Whence {
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:115:25: error: cannot find 'SEEK_END' in scope
113 | private let _SEEK_SET = SEEK_SET
114 | private let _SEEK_CUR = SEEK_CUR
115 | private let _SEEK_END = SEEK_END
| `- error: cannot find 'SEEK_END' in scope
116 | extension Whence {
117 | public static let SEEK_SET = Whence(rawValue: _SEEK_SET)
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:124:88: error: cannot find type 'off_t' in scope
122 | /// identical to C's `lseek(2)`; returns the new offset.
123 | @discardableResult
124 | public func lseek(_ fd: CInt, _ offset: off_t, _ whence: Whence = .SEEK_SET) throws -> off_t {
| `- error: cannot find type 'off_t' in scope
125 | try check(lseek(fd, offset, whence.rawValue))
126 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:124:41: error: cannot find type 'off_t' in scope
122 | /// identical to C's `lseek(2)`; returns the new offset.
123 | @discardableResult
124 | public func lseek(_ fd: CInt, _ offset: off_t, _ whence: Whence = .SEEK_SET) throws -> off_t {
| `- error: cannot find type 'off_t' in scope
125 | try check(lseek(fd, offset, whence.rawValue))
126 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:159:21: error: cannot find 'F_OK' in scope
157 | public init(rawValue: CInt) { self.rawValue = rawValue }
158 | }
159 | private let _F_OK = F_OK
| `- error: cannot find 'F_OK' in scope
160 | private let _R_OK = R_OK
161 | private let _W_OK = W_OK
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:160:21: error: cannot find 'R_OK' in scope
158 | }
159 | private let _F_OK = F_OK
160 | private let _R_OK = R_OK
| `- error: cannot find 'R_OK' in scope
161 | private let _W_OK = W_OK
162 | private let _X_OK = X_OK
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:161:21: error: cannot find 'W_OK' in scope
159 | private let _F_OK = F_OK
160 | private let _R_OK = R_OK
161 | private let _W_OK = W_OK
| `- error: cannot find 'W_OK' in scope
162 | private let _X_OK = X_OK
163 | extension AccessMode {
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:162:21: error: cannot find 'X_OK' in scope
160 | private let _R_OK = R_OK
161 | private let _W_OK = W_OK
162 | private let _X_OK = X_OK
| `- error: cannot find 'X_OK' in scope
163 | extension AccessMode {
164 | public static let F_OK = AccessMode(rawValue: _F_OK)
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:181:44: error: cannot find type 'uid_t' in scope
179 |
180 | /// identical to C's `chown(2)`.
181 | public func chown(_ path: String, _ owner: uid_t, _ group: gid_t) throws {
| `- error: cannot find type 'uid_t' in scope
182 | _ = try path.withCString { try check(chown($0, owner, group)) }
183 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:181:60: error: cannot find type 'gid_t' in scope
179 |
180 | /// identical to C's `chown(2)`.
181 | public func chown(_ path: String, _ owner: uid_t, _ group: gid_t) throws {
| `- error: cannot find type 'gid_t' in scope
182 | _ = try path.withCString { try check(chown($0, owner, group)) }
183 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:219:59: error: cannot find '_SC_ARG_MAX' in scope
217 |
218 | // CInt() because Glibc imports these anonymous-enum constants as Int
219 | public static let argMax = SysconfName(rawValue: CInt(_SC_ARG_MAX))
| `- error: cannot find '_SC_ARG_MAX' in scope
220 | public static let childMax = SysconfName(rawValue: CInt(_SC_CHILD_MAX))
221 | public static let clockTick = SysconfName(rawValue: CInt(_SC_CLK_TCK))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:220:61: error: cannot find '_SC_CHILD_MAX' in scope
218 | // CInt() because Glibc imports these anonymous-enum constants as Int
219 | public static let argMax = SysconfName(rawValue: CInt(_SC_ARG_MAX))
220 | public static let childMax = SysconfName(rawValue: CInt(_SC_CHILD_MAX))
| `- error: cannot find '_SC_CHILD_MAX' in scope
221 | public static let clockTick = SysconfName(rawValue: CInt(_SC_CLK_TCK))
222 | public static let ngroupsMax = SysconfName(rawValue: CInt(_SC_NGROUPS_MAX))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:221:62: error: cannot find '_SC_CLK_TCK' in scope
219 | public static let argMax = SysconfName(rawValue: CInt(_SC_ARG_MAX))
220 | public static let childMax = SysconfName(rawValue: CInt(_SC_CHILD_MAX))
221 | public static let clockTick = SysconfName(rawValue: CInt(_SC_CLK_TCK))
| `- error: cannot find '_SC_CLK_TCK' in scope
222 | public static let ngroupsMax = SysconfName(rawValue: CInt(_SC_NGROUPS_MAX))
223 | public static let openMax = SysconfName(rawValue: CInt(_SC_OPEN_MAX))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:222:63: error: cannot find '_SC_NGROUPS_MAX' in scope
220 | public static let childMax = SysconfName(rawValue: CInt(_SC_CHILD_MAX))
221 | public static let clockTick = SysconfName(rawValue: CInt(_SC_CLK_TCK))
222 | public static let ngroupsMax = SysconfName(rawValue: CInt(_SC_NGROUPS_MAX))
| `- error: cannot find '_SC_NGROUPS_MAX' in scope
223 | public static let openMax = SysconfName(rawValue: CInt(_SC_OPEN_MAX))
224 | public static let pageSize = SysconfName(rawValue: CInt(_SC_PAGESIZE))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:223:60: error: cannot find '_SC_OPEN_MAX' in scope
221 | public static let clockTick = SysconfName(rawValue: CInt(_SC_CLK_TCK))
222 | public static let ngroupsMax = SysconfName(rawValue: CInt(_SC_NGROUPS_MAX))
223 | public static let openMax = SysconfName(rawValue: CInt(_SC_OPEN_MAX))
| `- error: cannot find '_SC_OPEN_MAX' in scope
224 | public static let pageSize = SysconfName(rawValue: CInt(_SC_PAGESIZE))
225 | public static let streamMax = SysconfName(rawValue: CInt(_SC_STREAM_MAX))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:224:61: error: cannot find '_SC_PAGESIZE' in scope
222 | public static let ngroupsMax = SysconfName(rawValue: CInt(_SC_NGROUPS_MAX))
223 | public static let openMax = SysconfName(rawValue: CInt(_SC_OPEN_MAX))
224 | public static let pageSize = SysconfName(rawValue: CInt(_SC_PAGESIZE))
| `- error: cannot find '_SC_PAGESIZE' in scope
225 | public static let streamMax = SysconfName(rawValue: CInt(_SC_STREAM_MAX))
226 | public static let tznameMax = SysconfName(rawValue: CInt(_SC_TZNAME_MAX))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:225:62: error: cannot find '_SC_STREAM_MAX' in scope
223 | public static let openMax = SysconfName(rawValue: CInt(_SC_OPEN_MAX))
224 | public static let pageSize = SysconfName(rawValue: CInt(_SC_PAGESIZE))
225 | public static let streamMax = SysconfName(rawValue: CInt(_SC_STREAM_MAX))
| `- error: cannot find '_SC_STREAM_MAX' in scope
226 | public static let tznameMax = SysconfName(rawValue: CInt(_SC_TZNAME_MAX))
227 | public static let jobControl = SysconfName(rawValue: CInt(_SC_JOB_CONTROL))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:226:62: error: cannot find '_SC_TZNAME_MAX' in scope
224 | public static let pageSize = SysconfName(rawValue: CInt(_SC_PAGESIZE))
225 | public static let streamMax = SysconfName(rawValue: CInt(_SC_STREAM_MAX))
226 | public static let tznameMax = SysconfName(rawValue: CInt(_SC_TZNAME_MAX))
| `- error: cannot find '_SC_TZNAME_MAX' in scope
227 | public static let jobControl = SysconfName(rawValue: CInt(_SC_JOB_CONTROL))
228 | public static let savedIDs = SysconfName(rawValue: CInt(_SC_SAVED_IDS))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:227:63: error: cannot find '_SC_JOB_CONTROL' in scope
225 | public static let streamMax = SysconfName(rawValue: CInt(_SC_STREAM_MAX))
226 | public static let tznameMax = SysconfName(rawValue: CInt(_SC_TZNAME_MAX))
227 | public static let jobControl = SysconfName(rawValue: CInt(_SC_JOB_CONTROL))
| `- error: cannot find '_SC_JOB_CONTROL' in scope
228 | public static let savedIDs = SysconfName(rawValue: CInt(_SC_SAVED_IDS))
229 | public static let version = SysconfName(rawValue: CInt(_SC_VERSION))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:228:61: error: cannot find '_SC_SAVED_IDS' in scope
226 | public static let tznameMax = SysconfName(rawValue: CInt(_SC_TZNAME_MAX))
227 | public static let jobControl = SysconfName(rawValue: CInt(_SC_JOB_CONTROL))
228 | public static let savedIDs = SysconfName(rawValue: CInt(_SC_SAVED_IDS))
| `- error: cannot find '_SC_SAVED_IDS' in scope
229 | public static let version = SysconfName(rawValue: CInt(_SC_VERSION))
230 | public static let processorsOnline = SysconfName(rawValue: CInt(_SC_NPROCESSORS_ONLN))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:229:60: error: cannot find '_SC_VERSION' in scope
227 | public static let jobControl = SysconfName(rawValue: CInt(_SC_JOB_CONTROL))
228 | public static let savedIDs = SysconfName(rawValue: CInt(_SC_SAVED_IDS))
229 | public static let version = SysconfName(rawValue: CInt(_SC_VERSION))
| `- error: cannot find '_SC_VERSION' in scope
230 | public static let processorsOnline = SysconfName(rawValue: CInt(_SC_NPROCESSORS_ONLN))
231 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:230:69: error: cannot find '_SC_NPROCESSORS_ONLN' in scope
228 | public static let savedIDs = SysconfName(rawValue: CInt(_SC_SAVED_IDS))
229 | public static let version = SysconfName(rawValue: CInt(_SC_VERSION))
230 | public static let processorsOnline = SysconfName(rawValue: CInt(_SC_NPROCESSORS_ONLN))
| `- error: cannot find '_SC_NPROCESSORS_ONLN' in scope
231 | }
232 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:250:61: error: cannot find '_PC_LINK_MAX' in scope
248 |
249 | // CInt() because Glibc imports these anonymous-enum constants as Int
250 | public static let linkMax = PathconfName(rawValue: CInt(_PC_LINK_MAX))
| `- error: cannot find '_PC_LINK_MAX' in scope
251 | public static let maxCanon = PathconfName(rawValue: CInt(_PC_MAX_CANON))
252 | public static let maxInput = PathconfName(rawValue: CInt(_PC_MAX_INPUT))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:251:62: error: cannot find '_PC_MAX_CANON' in scope
249 | // CInt() because Glibc imports these anonymous-enum constants as Int
250 | public static let linkMax = PathconfName(rawValue: CInt(_PC_LINK_MAX))
251 | public static let maxCanon = PathconfName(rawValue: CInt(_PC_MAX_CANON))
| `- error: cannot find '_PC_MAX_CANON' in scope
252 | public static let maxInput = PathconfName(rawValue: CInt(_PC_MAX_INPUT))
253 | public static let nameMax = PathconfName(rawValue: CInt(_PC_NAME_MAX))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:252:62: error: cannot find '_PC_MAX_INPUT' in scope
250 | public static let linkMax = PathconfName(rawValue: CInt(_PC_LINK_MAX))
251 | public static let maxCanon = PathconfName(rawValue: CInt(_PC_MAX_CANON))
252 | public static let maxInput = PathconfName(rawValue: CInt(_PC_MAX_INPUT))
| `- error: cannot find '_PC_MAX_INPUT' in scope
253 | public static let nameMax = PathconfName(rawValue: CInt(_PC_NAME_MAX))
254 | public static let pathMax = PathconfName(rawValue: CInt(_PC_PATH_MAX))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:253:61: error: cannot find '_PC_NAME_MAX' in scope
251 | public static let maxCanon = PathconfName(rawValue: CInt(_PC_MAX_CANON))
252 | public static let maxInput = PathconfName(rawValue: CInt(_PC_MAX_INPUT))
253 | public static let nameMax = PathconfName(rawValue: CInt(_PC_NAME_MAX))
| `- error: cannot find '_PC_NAME_MAX' in scope
254 | public static let pathMax = PathconfName(rawValue: CInt(_PC_PATH_MAX))
255 | public static let pipeBuf = PathconfName(rawValue: CInt(_PC_PIPE_BUF))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:254:61: error: cannot find '_PC_PATH_MAX' in scope
252 | public static let maxInput = PathconfName(rawValue: CInt(_PC_MAX_INPUT))
253 | public static let nameMax = PathconfName(rawValue: CInt(_PC_NAME_MAX))
254 | public static let pathMax = PathconfName(rawValue: CInt(_PC_PATH_MAX))
| `- error: cannot find '_PC_PATH_MAX' in scope
255 | public static let pipeBuf = PathconfName(rawValue: CInt(_PC_PIPE_BUF))
256 | public static let chownRestricted = PathconfName(rawValue: CInt(_PC_CHOWN_RESTRICTED))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:255:61: error: cannot find '_PC_PIPE_BUF' in scope
253 | public static let nameMax = PathconfName(rawValue: CInt(_PC_NAME_MAX))
254 | public static let pathMax = PathconfName(rawValue: CInt(_PC_PATH_MAX))
255 | public static let pipeBuf = PathconfName(rawValue: CInt(_PC_PIPE_BUF))
| `- error: cannot find '_PC_PIPE_BUF' in scope
256 | public static let chownRestricted = PathconfName(rawValue: CInt(_PC_CHOWN_RESTRICTED))
257 | public static let noTrunc = PathconfName(rawValue: CInt(_PC_NO_TRUNC))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:256:69: error: cannot find '_PC_CHOWN_RESTRICTED' in scope
254 | public static let pathMax = PathconfName(rawValue: CInt(_PC_PATH_MAX))
255 | public static let pipeBuf = PathconfName(rawValue: CInt(_PC_PIPE_BUF))
256 | public static let chownRestricted = PathconfName(rawValue: CInt(_PC_CHOWN_RESTRICTED))
| `- error: cannot find '_PC_CHOWN_RESTRICTED' in scope
257 | public static let noTrunc = PathconfName(rawValue: CInt(_PC_NO_TRUNC))
258 | public static let vdisable = PathconfName(rawValue: CInt(_PC_VDISABLE))
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:257:61: error: cannot find '_PC_NO_TRUNC' in scope
255 | public static let pipeBuf = PathconfName(rawValue: CInt(_PC_PIPE_BUF))
256 | public static let chownRestricted = PathconfName(rawValue: CInt(_PC_CHOWN_RESTRICTED))
257 | public static let noTrunc = PathconfName(rawValue: CInt(_PC_NO_TRUNC))
| `- error: cannot find '_PC_NO_TRUNC' in scope
258 | public static let vdisable = PathconfName(rawValue: CInt(_PC_VDISABLE))
259 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:258:62: error: cannot find '_PC_VDISABLE' in scope
256 | public static let chownRestricted = PathconfName(rawValue: CInt(_PC_CHOWN_RESTRICTED))
257 | public static let noTrunc = PathconfName(rawValue: CInt(_PC_NO_TRUNC))
258 | public static let vdisable = PathconfName(rawValue: CInt(_PC_VDISABLE))
| `- error: cannot find '_PC_VDISABLE' in scope
259 | }
260 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:286:45: error: cannot find type 'pid_t' in scope
284 |
285 | /// identical to C's `tcgetpgrp(3)`.
286 | public func tcgetpgrp(_ fd: CInt) throws -> pid_t { try check(C.tcgetpgrp(fd)) }
| `- error: cannot find type 'pid_t' in scope
287 |
288 | /// identical to C's `tcsetpgrp(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Unistd.swift:289:43: error: cannot find type 'pid_t' in scope
287 |
288 | /// identical to C's `tcsetpgrp(3)`.
289 | public func tcsetpgrp(_ fd: CInt, _ pgid: pid_t) throws { try check(C.tcsetpgrp(fd, pgid)) }
| `- error: cannot find type 'pid_t' in scope
290 |
[19/21] Compiling POSIXGlobals CType.swift
/host/spi-builder-workspace/Sources/POSIXGlobals/Dirent.swift:14:24: error: cannot find type 'CDirPointer' in scope
12 | /// "." and "..", like `readdir(3)`).
13 | public final class Dir: Sequence, IteratorProtocol {
14 | internal var dirp: CDirPointer?
| `- error: cannot find type 'CDirPointer' in scope
15 |
16 | /// identical to C's `opendir(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Dirent.swift:18:57: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
16 | /// identical to C's `opendir(3)`.
17 | public init(_ path: String) throws {
18 | dirp = try path.withCString { try check(opendir($0)) }
| `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
19 | }
20 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:34:22: error: cannot find 'EPERM' in scope
32 | // The E* constants, as `Errno.EPERM` etc.
33 | // (private top-level aliases pick up the libc value without self-reference)
34 | private let _EPERM = EPERM
| `- error: cannot find 'EPERM' in scope
35 | private let _ENOENT = ENOENT
36 | private let _ESRCH = ESRCH
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:35:23: error: cannot find 'ENOENT' in scope
33 | // (private top-level aliases pick up the libc value without self-reference)
34 | private let _EPERM = EPERM
35 | private let _ENOENT = ENOENT
| `- error: cannot find 'ENOENT' in scope
36 | private let _ESRCH = ESRCH
37 | private let _EINTR = EINTR
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:36:22: error: cannot find 'ESRCH' in scope
34 | private let _EPERM = EPERM
35 | private let _ENOENT = ENOENT
36 | private let _ESRCH = ESRCH
| `- error: cannot find 'ESRCH' in scope
37 | private let _EINTR = EINTR
38 | private let _EIO = EIO
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:37:22: error: cannot find 'EINTR' in scope
35 | private let _ENOENT = ENOENT
36 | private let _ESRCH = ESRCH
37 | private let _EINTR = EINTR
| `- error: cannot find 'EINTR' in scope
38 | private let _EIO = EIO
39 | private let _ENXIO = ENXIO
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:38:20: error: cannot find 'EIO' in scope
36 | private let _ESRCH = ESRCH
37 | private let _EINTR = EINTR
38 | private let _EIO = EIO
| `- error: cannot find 'EIO' in scope
39 | private let _ENXIO = ENXIO
40 | private let _E2BIG = E2BIG
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:39:22: error: cannot find 'ENXIO' in scope
37 | private let _EINTR = EINTR
38 | private let _EIO = EIO
39 | private let _ENXIO = ENXIO
| `- error: cannot find 'ENXIO' in scope
40 | private let _E2BIG = E2BIG
41 | private let _ENOEXEC = ENOEXEC
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:40:22: error: cannot find 'E2BIG' in scope
38 | private let _EIO = EIO
39 | private let _ENXIO = ENXIO
40 | private let _E2BIG = E2BIG
| `- error: cannot find 'E2BIG' in scope
41 | private let _ENOEXEC = ENOEXEC
42 | private let _EBADF = EBADF
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:41:24: error: cannot find 'ENOEXEC' in scope
39 | private let _ENXIO = ENXIO
40 | private let _E2BIG = E2BIG
41 | private let _ENOEXEC = ENOEXEC
| `- error: cannot find 'ENOEXEC' in scope
42 | private let _EBADF = EBADF
43 | private let _ECHILD = ECHILD
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:42:22: error: cannot find 'EBADF' in scope
40 | private let _E2BIG = E2BIG
41 | private let _ENOEXEC = ENOEXEC
42 | private let _EBADF = EBADF
| `- error: cannot find 'EBADF' in scope
43 | private let _ECHILD = ECHILD
44 | private let _EAGAIN = EAGAIN
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:43:23: error: cannot find 'ECHILD' in scope
41 | private let _ENOEXEC = ENOEXEC
42 | private let _EBADF = EBADF
43 | private let _ECHILD = ECHILD
| `- error: cannot find 'ECHILD' in scope
44 | private let _EAGAIN = EAGAIN
45 | private let _ENOMEM = ENOMEM
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:44:23: error: cannot find 'EAGAIN' in scope
42 | private let _EBADF = EBADF
43 | private let _ECHILD = ECHILD
44 | private let _EAGAIN = EAGAIN
| `- error: cannot find 'EAGAIN' in scope
45 | private let _ENOMEM = ENOMEM
46 | private let _EACCES = EACCES
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:45:23: error: cannot find 'ENOMEM' in scope
43 | private let _ECHILD = ECHILD
44 | private let _EAGAIN = EAGAIN
45 | private let _ENOMEM = ENOMEM
| `- error: cannot find 'ENOMEM' in scope
46 | private let _EACCES = EACCES
47 | private let _EFAULT = EFAULT
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:46:23: error: cannot find 'EACCES' in scope
44 | private let _EAGAIN = EAGAIN
45 | private let _ENOMEM = ENOMEM
46 | private let _EACCES = EACCES
| `- error: cannot find 'EACCES' in scope
47 | private let _EFAULT = EFAULT
48 | private let _EBUSY = EBUSY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:47:23: error: cannot find 'EFAULT' in scope
45 | private let _ENOMEM = ENOMEM
46 | private let _EACCES = EACCES
47 | private let _EFAULT = EFAULT
| `- error: cannot find 'EFAULT' in scope
48 | private let _EBUSY = EBUSY
49 | private let _EEXIST = EEXIST
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:48:22: error: cannot find 'EBUSY' in scope
46 | private let _EACCES = EACCES
47 | private let _EFAULT = EFAULT
48 | private let _EBUSY = EBUSY
| `- error: cannot find 'EBUSY' in scope
49 | private let _EEXIST = EEXIST
50 | private let _EXDEV = EXDEV
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:49:23: error: cannot find 'EEXIST' in scope
47 | private let _EFAULT = EFAULT
48 | private let _EBUSY = EBUSY
49 | private let _EEXIST = EEXIST
| `- error: cannot find 'EEXIST' in scope
50 | private let _EXDEV = EXDEV
51 | private let _ENODEV = ENODEV
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:50:22: error: cannot find 'EXDEV' in scope
48 | private let _EBUSY = EBUSY
49 | private let _EEXIST = EEXIST
50 | private let _EXDEV = EXDEV
| `- error: cannot find 'EXDEV' in scope
51 | private let _ENODEV = ENODEV
52 | private let _ENOTDIR = ENOTDIR
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:51:23: error: cannot find 'ENODEV' in scope
49 | private let _EEXIST = EEXIST
50 | private let _EXDEV = EXDEV
51 | private let _ENODEV = ENODEV
| `- error: cannot find 'ENODEV' in scope
52 | private let _ENOTDIR = ENOTDIR
53 | private let _EISDIR = EISDIR
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:52:24: error: cannot find 'ENOTDIR' in scope
50 | private let _EXDEV = EXDEV
51 | private let _ENODEV = ENODEV
52 | private let _ENOTDIR = ENOTDIR
| `- error: cannot find 'ENOTDIR' in scope
53 | private let _EISDIR = EISDIR
54 | private let _EINVAL = EINVAL
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:53:23: error: cannot find 'EISDIR' in scope
51 | private let _ENODEV = ENODEV
52 | private let _ENOTDIR = ENOTDIR
53 | private let _EISDIR = EISDIR
| `- error: cannot find 'EISDIR' in scope
54 | private let _EINVAL = EINVAL
55 | private let _ENFILE = ENFILE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:54:23: error: cannot find 'EINVAL' in scope
52 | private let _ENOTDIR = ENOTDIR
53 | private let _EISDIR = EISDIR
54 | private let _EINVAL = EINVAL
| `- error: cannot find 'EINVAL' in scope
55 | private let _ENFILE = ENFILE
56 | private let _EMFILE = EMFILE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:55:23: error: cannot find 'ENFILE' in scope
53 | private let _EISDIR = EISDIR
54 | private let _EINVAL = EINVAL
55 | private let _ENFILE = ENFILE
| `- error: cannot find 'ENFILE' in scope
56 | private let _EMFILE = EMFILE
57 | private let _ENOTTY = ENOTTY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:56:23: error: cannot find 'EMFILE' in scope
54 | private let _EINVAL = EINVAL
55 | private let _ENFILE = ENFILE
56 | private let _EMFILE = EMFILE
| `- error: cannot find 'EMFILE' in scope
57 | private let _ENOTTY = ENOTTY
58 | private let _ETXTBSY = ETXTBSY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:57:23: error: cannot find 'ENOTTY' in scope
55 | private let _ENFILE = ENFILE
56 | private let _EMFILE = EMFILE
57 | private let _ENOTTY = ENOTTY
| `- error: cannot find 'ENOTTY' in scope
58 | private let _ETXTBSY = ETXTBSY
59 | private let _EFBIG = EFBIG
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:58:24: error: cannot find 'ETXTBSY' in scope
56 | private let _EMFILE = EMFILE
57 | private let _ENOTTY = ENOTTY
58 | private let _ETXTBSY = ETXTBSY
| `- error: cannot find 'ETXTBSY' in scope
59 | private let _EFBIG = EFBIG
60 | private let _ENOSPC = ENOSPC
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:59:22: error: cannot find 'EFBIG' in scope
57 | private let _ENOTTY = ENOTTY
58 | private let _ETXTBSY = ETXTBSY
59 | private let _EFBIG = EFBIG
| `- error: cannot find 'EFBIG' in scope
60 | private let _ENOSPC = ENOSPC
61 | private let _ESPIPE = ESPIPE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:60:23: error: cannot find 'ENOSPC' in scope
58 | private let _ETXTBSY = ETXTBSY
59 | private let _EFBIG = EFBIG
60 | private let _ENOSPC = ENOSPC
| `- error: cannot find 'ENOSPC' in scope
61 | private let _ESPIPE = ESPIPE
62 | private let _EROFS = EROFS
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:61:23: error: cannot find 'ESPIPE' in scope
59 | private let _EFBIG = EFBIG
60 | private let _ENOSPC = ENOSPC
61 | private let _ESPIPE = ESPIPE
| `- error: cannot find 'ESPIPE' in scope
62 | private let _EROFS = EROFS
63 | private let _EMLINK = EMLINK
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:62:22: error: cannot find 'EROFS' in scope
60 | private let _ENOSPC = ENOSPC
61 | private let _ESPIPE = ESPIPE
62 | private let _EROFS = EROFS
| `- error: cannot find 'EROFS' in scope
63 | private let _EMLINK = EMLINK
64 | private let _EPIPE = EPIPE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:63:23: error: cannot find 'EMLINK' in scope
61 | private let _ESPIPE = ESPIPE
62 | private let _EROFS = EROFS
63 | private let _EMLINK = EMLINK
| `- error: cannot find 'EMLINK' in scope
64 | private let _EPIPE = EPIPE
65 | private let _EDOM = EDOM
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:64:22: error: cannot find 'EPIPE' in scope
62 | private let _EROFS = EROFS
63 | private let _EMLINK = EMLINK
64 | private let _EPIPE = EPIPE
| `- error: cannot find 'EPIPE' in scope
65 | private let _EDOM = EDOM
66 | private let _ERANGE = ERANGE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:65:21: error: cannot find 'EDOM' in scope
63 | private let _EMLINK = EMLINK
64 | private let _EPIPE = EPIPE
65 | private let _EDOM = EDOM
| `- error: cannot find 'EDOM' in scope
66 | private let _ERANGE = ERANGE
67 | private let _EDEADLK = EDEADLK
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:66:23: error: cannot find 'ERANGE' in scope
64 | private let _EPIPE = EPIPE
65 | private let _EDOM = EDOM
66 | private let _ERANGE = ERANGE
| `- error: cannot find 'ERANGE' in scope
67 | private let _EDEADLK = EDEADLK
68 | private let _ENAMETOOLONG = ENAMETOOLONG
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:67:24: error: cannot find 'EDEADLK' in scope
65 | private let _EDOM = EDOM
66 | private let _ERANGE = ERANGE
67 | private let _EDEADLK = EDEADLK
| `- error: cannot find 'EDEADLK' in scope
68 | private let _ENAMETOOLONG = ENAMETOOLONG
69 | private let _ENOLCK = ENOLCK
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:68:29: error: cannot find 'ENAMETOOLONG' in scope
66 | private let _ERANGE = ERANGE
67 | private let _EDEADLK = EDEADLK
68 | private let _ENAMETOOLONG = ENAMETOOLONG
| `- error: cannot find 'ENAMETOOLONG' in scope
69 | private let _ENOLCK = ENOLCK
70 | private let _ENOSYS = ENOSYS
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:69:23: error: cannot find 'ENOLCK' in scope
67 | private let _EDEADLK = EDEADLK
68 | private let _ENAMETOOLONG = ENAMETOOLONG
69 | private let _ENOLCK = ENOLCK
| `- error: cannot find 'ENOLCK' in scope
70 | private let _ENOSYS = ENOSYS
71 | private let _ENOTEMPTY = ENOTEMPTY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:70:23: error: cannot find 'ENOSYS' in scope
68 | private let _ENAMETOOLONG = ENAMETOOLONG
69 | private let _ENOLCK = ENOLCK
70 | private let _ENOSYS = ENOSYS
| `- error: cannot find 'ENOSYS' in scope
71 | private let _ENOTEMPTY = ENOTEMPTY
72 | private let _ELOOP = ELOOP
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:71:26: error: cannot find 'ENOTEMPTY' in scope
69 | private let _ENOLCK = ENOLCK
70 | private let _ENOSYS = ENOSYS
71 | private let _ENOTEMPTY = ENOTEMPTY
| `- error: cannot find 'ENOTEMPTY' in scope
72 | private let _ELOOP = ELOOP
73 | private let _EWOULDBLOCK = EWOULDBLOCK
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:72:22: error: cannot find 'ELOOP' in scope
70 | private let _ENOSYS = ENOSYS
71 | private let _ENOTEMPTY = ENOTEMPTY
72 | private let _ELOOP = ELOOP
| `- error: cannot find 'ELOOP' in scope
73 | private let _EWOULDBLOCK = EWOULDBLOCK
74 | private let _ENOTSUP = ENOTSUP
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:73:28: error: cannot find 'EWOULDBLOCK' in scope
71 | private let _ENOTEMPTY = ENOTEMPTY
72 | private let _ELOOP = ELOOP
73 | private let _EWOULDBLOCK = EWOULDBLOCK
| `- error: cannot find 'EWOULDBLOCK' in scope
74 | private let _ENOTSUP = ENOTSUP
75 | private let _EOPNOTSUPP = EOPNOTSUPP
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:74:24: error: cannot find 'ENOTSUP' in scope
72 | private let _ELOOP = ELOOP
73 | private let _EWOULDBLOCK = EWOULDBLOCK
74 | private let _ENOTSUP = ENOTSUP
| `- error: cannot find 'ENOTSUP' in scope
75 | private let _EOPNOTSUPP = EOPNOTSUPP
76 | private let _ETIMEDOUT = ETIMEDOUT
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:75:27: error: cannot find 'EOPNOTSUPP' in scope
73 | private let _EWOULDBLOCK = EWOULDBLOCK
74 | private let _ENOTSUP = ENOTSUP
75 | private let _EOPNOTSUPP = EOPNOTSUPP
| `- error: cannot find 'EOPNOTSUPP' in scope
76 | private let _ETIMEDOUT = ETIMEDOUT
77 | private let _EINPROGRESS = EINPROGRESS
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:76:26: error: cannot find 'ETIMEDOUT' in scope
74 | private let _ENOTSUP = ENOTSUP
75 | private let _EOPNOTSUPP = EOPNOTSUPP
76 | private let _ETIMEDOUT = ETIMEDOUT
| `- error: cannot find 'ETIMEDOUT' in scope
77 | private let _EINPROGRESS = EINPROGRESS
78 | private let _EALREADY = EALREADY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:77:28: error: cannot find 'EINPROGRESS' in scope
75 | private let _EOPNOTSUPP = EOPNOTSUPP
76 | private let _ETIMEDOUT = ETIMEDOUT
77 | private let _EINPROGRESS = EINPROGRESS
| `- error: cannot find 'EINPROGRESS' in scope
78 | private let _EALREADY = EALREADY
79 | private let _ECONNREFUSED = ECONNREFUSED
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:78:25: error: cannot find 'EALREADY' in scope
76 | private let _ETIMEDOUT = ETIMEDOUT
77 | private let _EINPROGRESS = EINPROGRESS
78 | private let _EALREADY = EALREADY
| `- error: cannot find 'EALREADY' in scope
79 | private let _ECONNREFUSED = ECONNREFUSED
80 | private let _ECONNRESET = ECONNRESET
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:79:29: error: cannot find 'ECONNREFUSED' in scope
77 | private let _EINPROGRESS = EINPROGRESS
78 | private let _EALREADY = EALREADY
79 | private let _ECONNREFUSED = ECONNREFUSED
| `- error: cannot find 'ECONNREFUSED' in scope
80 | private let _ECONNRESET = ECONNRESET
81 | private let _EADDRINUSE = EADDRINUSE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:80:27: error: cannot find 'ECONNRESET' in scope
78 | private let _EALREADY = EALREADY
79 | private let _ECONNREFUSED = ECONNREFUSED
80 | private let _ECONNRESET = ECONNRESET
| `- error: cannot find 'ECONNRESET' in scope
81 | private let _EADDRINUSE = EADDRINUSE
82 | private let _EOVERFLOW = EOVERFLOW
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:81:27: error: cannot find 'EADDRINUSE' in scope
79 | private let _ECONNREFUSED = ECONNREFUSED
80 | private let _ECONNRESET = ECONNRESET
81 | private let _EADDRINUSE = EADDRINUSE
| `- error: cannot find 'EADDRINUSE' in scope
82 | private let _EOVERFLOW = EOVERFLOW
83 | private let _EILSEQ = EILSEQ
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:82:26: error: cannot find 'EOVERFLOW' in scope
80 | private let _ECONNRESET = ECONNRESET
81 | private let _EADDRINUSE = EADDRINUSE
82 | private let _EOVERFLOW = EOVERFLOW
| `- error: cannot find 'EOVERFLOW' in scope
83 | private let _EILSEQ = EILSEQ
84 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:83:23: error: cannot find 'EILSEQ' in scope
81 | private let _EADDRINUSE = EADDRINUSE
82 | private let _EOVERFLOW = EOVERFLOW
83 | private let _EILSEQ = EILSEQ
| `- error: cannot find 'EILSEQ' in scope
84 |
85 | extension Errno {
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:19:21: error: cannot find 'errno' in scope
17 | /// The calling thread's current `errno` value.
18 | public static var current: Errno {
19 | get { Errno(errno) }
| `- error: cannot find 'errno' in scope
20 | set { errno = newValue.rawValue }
21 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:20:15: error: cannot find 'errno' in scope
18 | public static var current: Errno {
19 | get { Errno(errno) }
20 | set { errno = newValue.rawValue }
| `- error: cannot find 'errno' in scope
21 | }
22 | /// The result of `strerror(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:24:32: error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'Errno'
22 | /// The result of `strerror(3)`.
23 | public var description: String {
24 | guard let s = strerror(rawValue) else { return "Unknown error \(rawValue)" }
| `- error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'Errno'
25 | return String(cString: s)
26 | }
[20/21] Compiling POSIXGlobals Dirent.swift
/host/spi-builder-workspace/Sources/POSIXGlobals/Dirent.swift:14:24: error: cannot find type 'CDirPointer' in scope
12 | /// "." and "..", like `readdir(3)`).
13 | public final class Dir: Sequence, IteratorProtocol {
14 | internal var dirp: CDirPointer?
| `- error: cannot find type 'CDirPointer' in scope
15 |
16 | /// identical to C's `opendir(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Dirent.swift:18:57: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
16 | /// identical to C's `opendir(3)`.
17 | public init(_ path: String) throws {
18 | dirp = try path.withCString { try check(opendir($0)) }
| `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
19 | }
20 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:34:22: error: cannot find 'EPERM' in scope
32 | // The E* constants, as `Errno.EPERM` etc.
33 | // (private top-level aliases pick up the libc value without self-reference)
34 | private let _EPERM = EPERM
| `- error: cannot find 'EPERM' in scope
35 | private let _ENOENT = ENOENT
36 | private let _ESRCH = ESRCH
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:35:23: error: cannot find 'ENOENT' in scope
33 | // (private top-level aliases pick up the libc value without self-reference)
34 | private let _EPERM = EPERM
35 | private let _ENOENT = ENOENT
| `- error: cannot find 'ENOENT' in scope
36 | private let _ESRCH = ESRCH
37 | private let _EINTR = EINTR
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:36:22: error: cannot find 'ESRCH' in scope
34 | private let _EPERM = EPERM
35 | private let _ENOENT = ENOENT
36 | private let _ESRCH = ESRCH
| `- error: cannot find 'ESRCH' in scope
37 | private let _EINTR = EINTR
38 | private let _EIO = EIO
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:37:22: error: cannot find 'EINTR' in scope
35 | private let _ENOENT = ENOENT
36 | private let _ESRCH = ESRCH
37 | private let _EINTR = EINTR
| `- error: cannot find 'EINTR' in scope
38 | private let _EIO = EIO
39 | private let _ENXIO = ENXIO
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:38:20: error: cannot find 'EIO' in scope
36 | private let _ESRCH = ESRCH
37 | private let _EINTR = EINTR
38 | private let _EIO = EIO
| `- error: cannot find 'EIO' in scope
39 | private let _ENXIO = ENXIO
40 | private let _E2BIG = E2BIG
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:39:22: error: cannot find 'ENXIO' in scope
37 | private let _EINTR = EINTR
38 | private let _EIO = EIO
39 | private let _ENXIO = ENXIO
| `- error: cannot find 'ENXIO' in scope
40 | private let _E2BIG = E2BIG
41 | private let _ENOEXEC = ENOEXEC
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:40:22: error: cannot find 'E2BIG' in scope
38 | private let _EIO = EIO
39 | private let _ENXIO = ENXIO
40 | private let _E2BIG = E2BIG
| `- error: cannot find 'E2BIG' in scope
41 | private let _ENOEXEC = ENOEXEC
42 | private let _EBADF = EBADF
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:41:24: error: cannot find 'ENOEXEC' in scope
39 | private let _ENXIO = ENXIO
40 | private let _E2BIG = E2BIG
41 | private let _ENOEXEC = ENOEXEC
| `- error: cannot find 'ENOEXEC' in scope
42 | private let _EBADF = EBADF
43 | private let _ECHILD = ECHILD
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:42:22: error: cannot find 'EBADF' in scope
40 | private let _E2BIG = E2BIG
41 | private let _ENOEXEC = ENOEXEC
42 | private let _EBADF = EBADF
| `- error: cannot find 'EBADF' in scope
43 | private let _ECHILD = ECHILD
44 | private let _EAGAIN = EAGAIN
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:43:23: error: cannot find 'ECHILD' in scope
41 | private let _ENOEXEC = ENOEXEC
42 | private let _EBADF = EBADF
43 | private let _ECHILD = ECHILD
| `- error: cannot find 'ECHILD' in scope
44 | private let _EAGAIN = EAGAIN
45 | private let _ENOMEM = ENOMEM
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:44:23: error: cannot find 'EAGAIN' in scope
42 | private let _EBADF = EBADF
43 | private let _ECHILD = ECHILD
44 | private let _EAGAIN = EAGAIN
| `- error: cannot find 'EAGAIN' in scope
45 | private let _ENOMEM = ENOMEM
46 | private let _EACCES = EACCES
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:45:23: error: cannot find 'ENOMEM' in scope
43 | private let _ECHILD = ECHILD
44 | private let _EAGAIN = EAGAIN
45 | private let _ENOMEM = ENOMEM
| `- error: cannot find 'ENOMEM' in scope
46 | private let _EACCES = EACCES
47 | private let _EFAULT = EFAULT
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:46:23: error: cannot find 'EACCES' in scope
44 | private let _EAGAIN = EAGAIN
45 | private let _ENOMEM = ENOMEM
46 | private let _EACCES = EACCES
| `- error: cannot find 'EACCES' in scope
47 | private let _EFAULT = EFAULT
48 | private let _EBUSY = EBUSY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:47:23: error: cannot find 'EFAULT' in scope
45 | private let _ENOMEM = ENOMEM
46 | private let _EACCES = EACCES
47 | private let _EFAULT = EFAULT
| `- error: cannot find 'EFAULT' in scope
48 | private let _EBUSY = EBUSY
49 | private let _EEXIST = EEXIST
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:48:22: error: cannot find 'EBUSY' in scope
46 | private let _EACCES = EACCES
47 | private let _EFAULT = EFAULT
48 | private let _EBUSY = EBUSY
| `- error: cannot find 'EBUSY' in scope
49 | private let _EEXIST = EEXIST
50 | private let _EXDEV = EXDEV
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:49:23: error: cannot find 'EEXIST' in scope
47 | private let _EFAULT = EFAULT
48 | private let _EBUSY = EBUSY
49 | private let _EEXIST = EEXIST
| `- error: cannot find 'EEXIST' in scope
50 | private let _EXDEV = EXDEV
51 | private let _ENODEV = ENODEV
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:50:22: error: cannot find 'EXDEV' in scope
48 | private let _EBUSY = EBUSY
49 | private let _EEXIST = EEXIST
50 | private let _EXDEV = EXDEV
| `- error: cannot find 'EXDEV' in scope
51 | private let _ENODEV = ENODEV
52 | private let _ENOTDIR = ENOTDIR
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:51:23: error: cannot find 'ENODEV' in scope
49 | private let _EEXIST = EEXIST
50 | private let _EXDEV = EXDEV
51 | private let _ENODEV = ENODEV
| `- error: cannot find 'ENODEV' in scope
52 | private let _ENOTDIR = ENOTDIR
53 | private let _EISDIR = EISDIR
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:52:24: error: cannot find 'ENOTDIR' in scope
50 | private let _EXDEV = EXDEV
51 | private let _ENODEV = ENODEV
52 | private let _ENOTDIR = ENOTDIR
| `- error: cannot find 'ENOTDIR' in scope
53 | private let _EISDIR = EISDIR
54 | private let _EINVAL = EINVAL
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:53:23: error: cannot find 'EISDIR' in scope
51 | private let _ENODEV = ENODEV
52 | private let _ENOTDIR = ENOTDIR
53 | private let _EISDIR = EISDIR
| `- error: cannot find 'EISDIR' in scope
54 | private let _EINVAL = EINVAL
55 | private let _ENFILE = ENFILE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:54:23: error: cannot find 'EINVAL' in scope
52 | private let _ENOTDIR = ENOTDIR
53 | private let _EISDIR = EISDIR
54 | private let _EINVAL = EINVAL
| `- error: cannot find 'EINVAL' in scope
55 | private let _ENFILE = ENFILE
56 | private let _EMFILE = EMFILE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:55:23: error: cannot find 'ENFILE' in scope
53 | private let _EISDIR = EISDIR
54 | private let _EINVAL = EINVAL
55 | private let _ENFILE = ENFILE
| `- error: cannot find 'ENFILE' in scope
56 | private let _EMFILE = EMFILE
57 | private let _ENOTTY = ENOTTY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:56:23: error: cannot find 'EMFILE' in scope
54 | private let _EINVAL = EINVAL
55 | private let _ENFILE = ENFILE
56 | private let _EMFILE = EMFILE
| `- error: cannot find 'EMFILE' in scope
57 | private let _ENOTTY = ENOTTY
58 | private let _ETXTBSY = ETXTBSY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:57:23: error: cannot find 'ENOTTY' in scope
55 | private let _ENFILE = ENFILE
56 | private let _EMFILE = EMFILE
57 | private let _ENOTTY = ENOTTY
| `- error: cannot find 'ENOTTY' in scope
58 | private let _ETXTBSY = ETXTBSY
59 | private let _EFBIG = EFBIG
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:58:24: error: cannot find 'ETXTBSY' in scope
56 | private let _EMFILE = EMFILE
57 | private let _ENOTTY = ENOTTY
58 | private let _ETXTBSY = ETXTBSY
| `- error: cannot find 'ETXTBSY' in scope
59 | private let _EFBIG = EFBIG
60 | private let _ENOSPC = ENOSPC
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:59:22: error: cannot find 'EFBIG' in scope
57 | private let _ENOTTY = ENOTTY
58 | private let _ETXTBSY = ETXTBSY
59 | private let _EFBIG = EFBIG
| `- error: cannot find 'EFBIG' in scope
60 | private let _ENOSPC = ENOSPC
61 | private let _ESPIPE = ESPIPE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:60:23: error: cannot find 'ENOSPC' in scope
58 | private let _ETXTBSY = ETXTBSY
59 | private let _EFBIG = EFBIG
60 | private let _ENOSPC = ENOSPC
| `- error: cannot find 'ENOSPC' in scope
61 | private let _ESPIPE = ESPIPE
62 | private let _EROFS = EROFS
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:61:23: error: cannot find 'ESPIPE' in scope
59 | private let _EFBIG = EFBIG
60 | private let _ENOSPC = ENOSPC
61 | private let _ESPIPE = ESPIPE
| `- error: cannot find 'ESPIPE' in scope
62 | private let _EROFS = EROFS
63 | private let _EMLINK = EMLINK
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:62:22: error: cannot find 'EROFS' in scope
60 | private let _ENOSPC = ENOSPC
61 | private let _ESPIPE = ESPIPE
62 | private let _EROFS = EROFS
| `- error: cannot find 'EROFS' in scope
63 | private let _EMLINK = EMLINK
64 | private let _EPIPE = EPIPE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:63:23: error: cannot find 'EMLINK' in scope
61 | private let _ESPIPE = ESPIPE
62 | private let _EROFS = EROFS
63 | private let _EMLINK = EMLINK
| `- error: cannot find 'EMLINK' in scope
64 | private let _EPIPE = EPIPE
65 | private let _EDOM = EDOM
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:64:22: error: cannot find 'EPIPE' in scope
62 | private let _EROFS = EROFS
63 | private let _EMLINK = EMLINK
64 | private let _EPIPE = EPIPE
| `- error: cannot find 'EPIPE' in scope
65 | private let _EDOM = EDOM
66 | private let _ERANGE = ERANGE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:65:21: error: cannot find 'EDOM' in scope
63 | private let _EMLINK = EMLINK
64 | private let _EPIPE = EPIPE
65 | private let _EDOM = EDOM
| `- error: cannot find 'EDOM' in scope
66 | private let _ERANGE = ERANGE
67 | private let _EDEADLK = EDEADLK
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:66:23: error: cannot find 'ERANGE' in scope
64 | private let _EPIPE = EPIPE
65 | private let _EDOM = EDOM
66 | private let _ERANGE = ERANGE
| `- error: cannot find 'ERANGE' in scope
67 | private let _EDEADLK = EDEADLK
68 | private let _ENAMETOOLONG = ENAMETOOLONG
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:67:24: error: cannot find 'EDEADLK' in scope
65 | private let _EDOM = EDOM
66 | private let _ERANGE = ERANGE
67 | private let _EDEADLK = EDEADLK
| `- error: cannot find 'EDEADLK' in scope
68 | private let _ENAMETOOLONG = ENAMETOOLONG
69 | private let _ENOLCK = ENOLCK
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:68:29: error: cannot find 'ENAMETOOLONG' in scope
66 | private let _ERANGE = ERANGE
67 | private let _EDEADLK = EDEADLK
68 | private let _ENAMETOOLONG = ENAMETOOLONG
| `- error: cannot find 'ENAMETOOLONG' in scope
69 | private let _ENOLCK = ENOLCK
70 | private let _ENOSYS = ENOSYS
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:69:23: error: cannot find 'ENOLCK' in scope
67 | private let _EDEADLK = EDEADLK
68 | private let _ENAMETOOLONG = ENAMETOOLONG
69 | private let _ENOLCK = ENOLCK
| `- error: cannot find 'ENOLCK' in scope
70 | private let _ENOSYS = ENOSYS
71 | private let _ENOTEMPTY = ENOTEMPTY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:70:23: error: cannot find 'ENOSYS' in scope
68 | private let _ENAMETOOLONG = ENAMETOOLONG
69 | private let _ENOLCK = ENOLCK
70 | private let _ENOSYS = ENOSYS
| `- error: cannot find 'ENOSYS' in scope
71 | private let _ENOTEMPTY = ENOTEMPTY
72 | private let _ELOOP = ELOOP
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:71:26: error: cannot find 'ENOTEMPTY' in scope
69 | private let _ENOLCK = ENOLCK
70 | private let _ENOSYS = ENOSYS
71 | private let _ENOTEMPTY = ENOTEMPTY
| `- error: cannot find 'ENOTEMPTY' in scope
72 | private let _ELOOP = ELOOP
73 | private let _EWOULDBLOCK = EWOULDBLOCK
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:72:22: error: cannot find 'ELOOP' in scope
70 | private let _ENOSYS = ENOSYS
71 | private let _ENOTEMPTY = ENOTEMPTY
72 | private let _ELOOP = ELOOP
| `- error: cannot find 'ELOOP' in scope
73 | private let _EWOULDBLOCK = EWOULDBLOCK
74 | private let _ENOTSUP = ENOTSUP
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:73:28: error: cannot find 'EWOULDBLOCK' in scope
71 | private let _ENOTEMPTY = ENOTEMPTY
72 | private let _ELOOP = ELOOP
73 | private let _EWOULDBLOCK = EWOULDBLOCK
| `- error: cannot find 'EWOULDBLOCK' in scope
74 | private let _ENOTSUP = ENOTSUP
75 | private let _EOPNOTSUPP = EOPNOTSUPP
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:74:24: error: cannot find 'ENOTSUP' in scope
72 | private let _ELOOP = ELOOP
73 | private let _EWOULDBLOCK = EWOULDBLOCK
74 | private let _ENOTSUP = ENOTSUP
| `- error: cannot find 'ENOTSUP' in scope
75 | private let _EOPNOTSUPP = EOPNOTSUPP
76 | private let _ETIMEDOUT = ETIMEDOUT
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:75:27: error: cannot find 'EOPNOTSUPP' in scope
73 | private let _EWOULDBLOCK = EWOULDBLOCK
74 | private let _ENOTSUP = ENOTSUP
75 | private let _EOPNOTSUPP = EOPNOTSUPP
| `- error: cannot find 'EOPNOTSUPP' in scope
76 | private let _ETIMEDOUT = ETIMEDOUT
77 | private let _EINPROGRESS = EINPROGRESS
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:76:26: error: cannot find 'ETIMEDOUT' in scope
74 | private let _ENOTSUP = ENOTSUP
75 | private let _EOPNOTSUPP = EOPNOTSUPP
76 | private let _ETIMEDOUT = ETIMEDOUT
| `- error: cannot find 'ETIMEDOUT' in scope
77 | private let _EINPROGRESS = EINPROGRESS
78 | private let _EALREADY = EALREADY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:77:28: error: cannot find 'EINPROGRESS' in scope
75 | private let _EOPNOTSUPP = EOPNOTSUPP
76 | private let _ETIMEDOUT = ETIMEDOUT
77 | private let _EINPROGRESS = EINPROGRESS
| `- error: cannot find 'EINPROGRESS' in scope
78 | private let _EALREADY = EALREADY
79 | private let _ECONNREFUSED = ECONNREFUSED
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:78:25: error: cannot find 'EALREADY' in scope
76 | private let _ETIMEDOUT = ETIMEDOUT
77 | private let _EINPROGRESS = EINPROGRESS
78 | private let _EALREADY = EALREADY
| `- error: cannot find 'EALREADY' in scope
79 | private let _ECONNREFUSED = ECONNREFUSED
80 | private let _ECONNRESET = ECONNRESET
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:79:29: error: cannot find 'ECONNREFUSED' in scope
77 | private let _EINPROGRESS = EINPROGRESS
78 | private let _EALREADY = EALREADY
79 | private let _ECONNREFUSED = ECONNREFUSED
| `- error: cannot find 'ECONNREFUSED' in scope
80 | private let _ECONNRESET = ECONNRESET
81 | private let _EADDRINUSE = EADDRINUSE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:80:27: error: cannot find 'ECONNRESET' in scope
78 | private let _EALREADY = EALREADY
79 | private let _ECONNREFUSED = ECONNREFUSED
80 | private let _ECONNRESET = ECONNRESET
| `- error: cannot find 'ECONNRESET' in scope
81 | private let _EADDRINUSE = EADDRINUSE
82 | private let _EOVERFLOW = EOVERFLOW
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:81:27: error: cannot find 'EADDRINUSE' in scope
79 | private let _ECONNREFUSED = ECONNREFUSED
80 | private let _ECONNRESET = ECONNRESET
81 | private let _EADDRINUSE = EADDRINUSE
| `- error: cannot find 'EADDRINUSE' in scope
82 | private let _EOVERFLOW = EOVERFLOW
83 | private let _EILSEQ = EILSEQ
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:82:26: error: cannot find 'EOVERFLOW' in scope
80 | private let _ECONNRESET = ECONNRESET
81 | private let _EADDRINUSE = EADDRINUSE
82 | private let _EOVERFLOW = EOVERFLOW
| `- error: cannot find 'EOVERFLOW' in scope
83 | private let _EILSEQ = EILSEQ
84 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:83:23: error: cannot find 'EILSEQ' in scope
81 | private let _EADDRINUSE = EADDRINUSE
82 | private let _EOVERFLOW = EOVERFLOW
83 | private let _EILSEQ = EILSEQ
| `- error: cannot find 'EILSEQ' in scope
84 |
85 | extension Errno {
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:19:21: error: cannot find 'errno' in scope
17 | /// The calling thread's current `errno` value.
18 | public static var current: Errno {
19 | get { Errno(errno) }
| `- error: cannot find 'errno' in scope
20 | set { errno = newValue.rawValue }
21 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:20:15: error: cannot find 'errno' in scope
18 | public static var current: Errno {
19 | get { Errno(errno) }
20 | set { errno = newValue.rawValue }
| `- error: cannot find 'errno' in scope
21 | }
22 | /// The result of `strerror(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:24:32: error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'Errno'
22 | /// The result of `strerror(3)`.
23 | public var description: String {
24 | guard let s = strerror(rawValue) else { return "Unknown error \(rawValue)" }
| `- error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'Errno'
25 | return String(cString: s)
26 | }
[21/21] Compiling POSIXGlobals Errno.swift
/host/spi-builder-workspace/Sources/POSIXGlobals/Dirent.swift:14:24: error: cannot find type 'CDirPointer' in scope
12 | /// "." and "..", like `readdir(3)`).
13 | public final class Dir: Sequence, IteratorProtocol {
14 | internal var dirp: CDirPointer?
| `- error: cannot find type 'CDirPointer' in scope
15 |
16 | /// identical to C's `opendir(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Dirent.swift:18:57: error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
16 | /// identical to C's `opendir(3)`.
17 | public init(_ path: String) throws {
18 | dirp = try path.withCString { try check(opendir($0)) }
| `- error: cannot convert value of type 'UnsafePointer<Int8>' to expected argument type 'String'
19 | }
20 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:34:22: error: cannot find 'EPERM' in scope
32 | // The E* constants, as `Errno.EPERM` etc.
33 | // (private top-level aliases pick up the libc value without self-reference)
34 | private let _EPERM = EPERM
| `- error: cannot find 'EPERM' in scope
35 | private let _ENOENT = ENOENT
36 | private let _ESRCH = ESRCH
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:35:23: error: cannot find 'ENOENT' in scope
33 | // (private top-level aliases pick up the libc value without self-reference)
34 | private let _EPERM = EPERM
35 | private let _ENOENT = ENOENT
| `- error: cannot find 'ENOENT' in scope
36 | private let _ESRCH = ESRCH
37 | private let _EINTR = EINTR
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:36:22: error: cannot find 'ESRCH' in scope
34 | private let _EPERM = EPERM
35 | private let _ENOENT = ENOENT
36 | private let _ESRCH = ESRCH
| `- error: cannot find 'ESRCH' in scope
37 | private let _EINTR = EINTR
38 | private let _EIO = EIO
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:37:22: error: cannot find 'EINTR' in scope
35 | private let _ENOENT = ENOENT
36 | private let _ESRCH = ESRCH
37 | private let _EINTR = EINTR
| `- error: cannot find 'EINTR' in scope
38 | private let _EIO = EIO
39 | private let _ENXIO = ENXIO
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:38:20: error: cannot find 'EIO' in scope
36 | private let _ESRCH = ESRCH
37 | private let _EINTR = EINTR
38 | private let _EIO = EIO
| `- error: cannot find 'EIO' in scope
39 | private let _ENXIO = ENXIO
40 | private let _E2BIG = E2BIG
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:39:22: error: cannot find 'ENXIO' in scope
37 | private let _EINTR = EINTR
38 | private let _EIO = EIO
39 | private let _ENXIO = ENXIO
| `- error: cannot find 'ENXIO' in scope
40 | private let _E2BIG = E2BIG
41 | private let _ENOEXEC = ENOEXEC
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:40:22: error: cannot find 'E2BIG' in scope
38 | private let _EIO = EIO
39 | private let _ENXIO = ENXIO
40 | private let _E2BIG = E2BIG
| `- error: cannot find 'E2BIG' in scope
41 | private let _ENOEXEC = ENOEXEC
42 | private let _EBADF = EBADF
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:41:24: error: cannot find 'ENOEXEC' in scope
39 | private let _ENXIO = ENXIO
40 | private let _E2BIG = E2BIG
41 | private let _ENOEXEC = ENOEXEC
| `- error: cannot find 'ENOEXEC' in scope
42 | private let _EBADF = EBADF
43 | private let _ECHILD = ECHILD
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:42:22: error: cannot find 'EBADF' in scope
40 | private let _E2BIG = E2BIG
41 | private let _ENOEXEC = ENOEXEC
42 | private let _EBADF = EBADF
| `- error: cannot find 'EBADF' in scope
43 | private let _ECHILD = ECHILD
44 | private let _EAGAIN = EAGAIN
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:43:23: error: cannot find 'ECHILD' in scope
41 | private let _ENOEXEC = ENOEXEC
42 | private let _EBADF = EBADF
43 | private let _ECHILD = ECHILD
| `- error: cannot find 'ECHILD' in scope
44 | private let _EAGAIN = EAGAIN
45 | private let _ENOMEM = ENOMEM
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:44:23: error: cannot find 'EAGAIN' in scope
42 | private let _EBADF = EBADF
43 | private let _ECHILD = ECHILD
44 | private let _EAGAIN = EAGAIN
| `- error: cannot find 'EAGAIN' in scope
45 | private let _ENOMEM = ENOMEM
46 | private let _EACCES = EACCES
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:45:23: error: cannot find 'ENOMEM' in scope
43 | private let _ECHILD = ECHILD
44 | private let _EAGAIN = EAGAIN
45 | private let _ENOMEM = ENOMEM
| `- error: cannot find 'ENOMEM' in scope
46 | private let _EACCES = EACCES
47 | private let _EFAULT = EFAULT
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:46:23: error: cannot find 'EACCES' in scope
44 | private let _EAGAIN = EAGAIN
45 | private let _ENOMEM = ENOMEM
46 | private let _EACCES = EACCES
| `- error: cannot find 'EACCES' in scope
47 | private let _EFAULT = EFAULT
48 | private let _EBUSY = EBUSY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:47:23: error: cannot find 'EFAULT' in scope
45 | private let _ENOMEM = ENOMEM
46 | private let _EACCES = EACCES
47 | private let _EFAULT = EFAULT
| `- error: cannot find 'EFAULT' in scope
48 | private let _EBUSY = EBUSY
49 | private let _EEXIST = EEXIST
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:48:22: error: cannot find 'EBUSY' in scope
46 | private let _EACCES = EACCES
47 | private let _EFAULT = EFAULT
48 | private let _EBUSY = EBUSY
| `- error: cannot find 'EBUSY' in scope
49 | private let _EEXIST = EEXIST
50 | private let _EXDEV = EXDEV
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:49:23: error: cannot find 'EEXIST' in scope
47 | private let _EFAULT = EFAULT
48 | private let _EBUSY = EBUSY
49 | private let _EEXIST = EEXIST
| `- error: cannot find 'EEXIST' in scope
50 | private let _EXDEV = EXDEV
51 | private let _ENODEV = ENODEV
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:50:22: error: cannot find 'EXDEV' in scope
48 | private let _EBUSY = EBUSY
49 | private let _EEXIST = EEXIST
50 | private let _EXDEV = EXDEV
| `- error: cannot find 'EXDEV' in scope
51 | private let _ENODEV = ENODEV
52 | private let _ENOTDIR = ENOTDIR
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:51:23: error: cannot find 'ENODEV' in scope
49 | private let _EEXIST = EEXIST
50 | private let _EXDEV = EXDEV
51 | private let _ENODEV = ENODEV
| `- error: cannot find 'ENODEV' in scope
52 | private let _ENOTDIR = ENOTDIR
53 | private let _EISDIR = EISDIR
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:52:24: error: cannot find 'ENOTDIR' in scope
50 | private let _EXDEV = EXDEV
51 | private let _ENODEV = ENODEV
52 | private let _ENOTDIR = ENOTDIR
| `- error: cannot find 'ENOTDIR' in scope
53 | private let _EISDIR = EISDIR
54 | private let _EINVAL = EINVAL
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:53:23: error: cannot find 'EISDIR' in scope
51 | private let _ENODEV = ENODEV
52 | private let _ENOTDIR = ENOTDIR
53 | private let _EISDIR = EISDIR
| `- error: cannot find 'EISDIR' in scope
54 | private let _EINVAL = EINVAL
55 | private let _ENFILE = ENFILE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:54:23: error: cannot find 'EINVAL' in scope
52 | private let _ENOTDIR = ENOTDIR
53 | private let _EISDIR = EISDIR
54 | private let _EINVAL = EINVAL
| `- error: cannot find 'EINVAL' in scope
55 | private let _ENFILE = ENFILE
56 | private let _EMFILE = EMFILE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:55:23: error: cannot find 'ENFILE' in scope
53 | private let _EISDIR = EISDIR
54 | private let _EINVAL = EINVAL
55 | private let _ENFILE = ENFILE
| `- error: cannot find 'ENFILE' in scope
56 | private let _EMFILE = EMFILE
57 | private let _ENOTTY = ENOTTY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:56:23: error: cannot find 'EMFILE' in scope
54 | private let _EINVAL = EINVAL
55 | private let _ENFILE = ENFILE
56 | private let _EMFILE = EMFILE
| `- error: cannot find 'EMFILE' in scope
57 | private let _ENOTTY = ENOTTY
58 | private let _ETXTBSY = ETXTBSY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:57:23: error: cannot find 'ENOTTY' in scope
55 | private let _ENFILE = ENFILE
56 | private let _EMFILE = EMFILE
57 | private let _ENOTTY = ENOTTY
| `- error: cannot find 'ENOTTY' in scope
58 | private let _ETXTBSY = ETXTBSY
59 | private let _EFBIG = EFBIG
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:58:24: error: cannot find 'ETXTBSY' in scope
56 | private let _EMFILE = EMFILE
57 | private let _ENOTTY = ENOTTY
58 | private let _ETXTBSY = ETXTBSY
| `- error: cannot find 'ETXTBSY' in scope
59 | private let _EFBIG = EFBIG
60 | private let _ENOSPC = ENOSPC
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:59:22: error: cannot find 'EFBIG' in scope
57 | private let _ENOTTY = ENOTTY
58 | private let _ETXTBSY = ETXTBSY
59 | private let _EFBIG = EFBIG
| `- error: cannot find 'EFBIG' in scope
60 | private let _ENOSPC = ENOSPC
61 | private let _ESPIPE = ESPIPE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:60:23: error: cannot find 'ENOSPC' in scope
58 | private let _ETXTBSY = ETXTBSY
59 | private let _EFBIG = EFBIG
60 | private let _ENOSPC = ENOSPC
| `- error: cannot find 'ENOSPC' in scope
61 | private let _ESPIPE = ESPIPE
62 | private let _EROFS = EROFS
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:61:23: error: cannot find 'ESPIPE' in scope
59 | private let _EFBIG = EFBIG
60 | private let _ENOSPC = ENOSPC
61 | private let _ESPIPE = ESPIPE
| `- error: cannot find 'ESPIPE' in scope
62 | private let _EROFS = EROFS
63 | private let _EMLINK = EMLINK
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:62:22: error: cannot find 'EROFS' in scope
60 | private let _ENOSPC = ENOSPC
61 | private let _ESPIPE = ESPIPE
62 | private let _EROFS = EROFS
| `- error: cannot find 'EROFS' in scope
63 | private let _EMLINK = EMLINK
64 | private let _EPIPE = EPIPE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:63:23: error: cannot find 'EMLINK' in scope
61 | private let _ESPIPE = ESPIPE
62 | private let _EROFS = EROFS
63 | private let _EMLINK = EMLINK
| `- error: cannot find 'EMLINK' in scope
64 | private let _EPIPE = EPIPE
65 | private let _EDOM = EDOM
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:64:22: error: cannot find 'EPIPE' in scope
62 | private let _EROFS = EROFS
63 | private let _EMLINK = EMLINK
64 | private let _EPIPE = EPIPE
| `- error: cannot find 'EPIPE' in scope
65 | private let _EDOM = EDOM
66 | private let _ERANGE = ERANGE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:65:21: error: cannot find 'EDOM' in scope
63 | private let _EMLINK = EMLINK
64 | private let _EPIPE = EPIPE
65 | private let _EDOM = EDOM
| `- error: cannot find 'EDOM' in scope
66 | private let _ERANGE = ERANGE
67 | private let _EDEADLK = EDEADLK
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:66:23: error: cannot find 'ERANGE' in scope
64 | private let _EPIPE = EPIPE
65 | private let _EDOM = EDOM
66 | private let _ERANGE = ERANGE
| `- error: cannot find 'ERANGE' in scope
67 | private let _EDEADLK = EDEADLK
68 | private let _ENAMETOOLONG = ENAMETOOLONG
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:67:24: error: cannot find 'EDEADLK' in scope
65 | private let _EDOM = EDOM
66 | private let _ERANGE = ERANGE
67 | private let _EDEADLK = EDEADLK
| `- error: cannot find 'EDEADLK' in scope
68 | private let _ENAMETOOLONG = ENAMETOOLONG
69 | private let _ENOLCK = ENOLCK
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:68:29: error: cannot find 'ENAMETOOLONG' in scope
66 | private let _ERANGE = ERANGE
67 | private let _EDEADLK = EDEADLK
68 | private let _ENAMETOOLONG = ENAMETOOLONG
| `- error: cannot find 'ENAMETOOLONG' in scope
69 | private let _ENOLCK = ENOLCK
70 | private let _ENOSYS = ENOSYS
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:69:23: error: cannot find 'ENOLCK' in scope
67 | private let _EDEADLK = EDEADLK
68 | private let _ENAMETOOLONG = ENAMETOOLONG
69 | private let _ENOLCK = ENOLCK
| `- error: cannot find 'ENOLCK' in scope
70 | private let _ENOSYS = ENOSYS
71 | private let _ENOTEMPTY = ENOTEMPTY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:70:23: error: cannot find 'ENOSYS' in scope
68 | private let _ENAMETOOLONG = ENAMETOOLONG
69 | private let _ENOLCK = ENOLCK
70 | private let _ENOSYS = ENOSYS
| `- error: cannot find 'ENOSYS' in scope
71 | private let _ENOTEMPTY = ENOTEMPTY
72 | private let _ELOOP = ELOOP
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:71:26: error: cannot find 'ENOTEMPTY' in scope
69 | private let _ENOLCK = ENOLCK
70 | private let _ENOSYS = ENOSYS
71 | private let _ENOTEMPTY = ENOTEMPTY
| `- error: cannot find 'ENOTEMPTY' in scope
72 | private let _ELOOP = ELOOP
73 | private let _EWOULDBLOCK = EWOULDBLOCK
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:72:22: error: cannot find 'ELOOP' in scope
70 | private let _ENOSYS = ENOSYS
71 | private let _ENOTEMPTY = ENOTEMPTY
72 | private let _ELOOP = ELOOP
| `- error: cannot find 'ELOOP' in scope
73 | private let _EWOULDBLOCK = EWOULDBLOCK
74 | private let _ENOTSUP = ENOTSUP
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:73:28: error: cannot find 'EWOULDBLOCK' in scope
71 | private let _ENOTEMPTY = ENOTEMPTY
72 | private let _ELOOP = ELOOP
73 | private let _EWOULDBLOCK = EWOULDBLOCK
| `- error: cannot find 'EWOULDBLOCK' in scope
74 | private let _ENOTSUP = ENOTSUP
75 | private let _EOPNOTSUPP = EOPNOTSUPP
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:74:24: error: cannot find 'ENOTSUP' in scope
72 | private let _ELOOP = ELOOP
73 | private let _EWOULDBLOCK = EWOULDBLOCK
74 | private let _ENOTSUP = ENOTSUP
| `- error: cannot find 'ENOTSUP' in scope
75 | private let _EOPNOTSUPP = EOPNOTSUPP
76 | private let _ETIMEDOUT = ETIMEDOUT
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:75:27: error: cannot find 'EOPNOTSUPP' in scope
73 | private let _EWOULDBLOCK = EWOULDBLOCK
74 | private let _ENOTSUP = ENOTSUP
75 | private let _EOPNOTSUPP = EOPNOTSUPP
| `- error: cannot find 'EOPNOTSUPP' in scope
76 | private let _ETIMEDOUT = ETIMEDOUT
77 | private let _EINPROGRESS = EINPROGRESS
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:76:26: error: cannot find 'ETIMEDOUT' in scope
74 | private let _ENOTSUP = ENOTSUP
75 | private let _EOPNOTSUPP = EOPNOTSUPP
76 | private let _ETIMEDOUT = ETIMEDOUT
| `- error: cannot find 'ETIMEDOUT' in scope
77 | private let _EINPROGRESS = EINPROGRESS
78 | private let _EALREADY = EALREADY
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:77:28: error: cannot find 'EINPROGRESS' in scope
75 | private let _EOPNOTSUPP = EOPNOTSUPP
76 | private let _ETIMEDOUT = ETIMEDOUT
77 | private let _EINPROGRESS = EINPROGRESS
| `- error: cannot find 'EINPROGRESS' in scope
78 | private let _EALREADY = EALREADY
79 | private let _ECONNREFUSED = ECONNREFUSED
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:78:25: error: cannot find 'EALREADY' in scope
76 | private let _ETIMEDOUT = ETIMEDOUT
77 | private let _EINPROGRESS = EINPROGRESS
78 | private let _EALREADY = EALREADY
| `- error: cannot find 'EALREADY' in scope
79 | private let _ECONNREFUSED = ECONNREFUSED
80 | private let _ECONNRESET = ECONNRESET
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:79:29: error: cannot find 'ECONNREFUSED' in scope
77 | private let _EINPROGRESS = EINPROGRESS
78 | private let _EALREADY = EALREADY
79 | private let _ECONNREFUSED = ECONNREFUSED
| `- error: cannot find 'ECONNREFUSED' in scope
80 | private let _ECONNRESET = ECONNRESET
81 | private let _EADDRINUSE = EADDRINUSE
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:80:27: error: cannot find 'ECONNRESET' in scope
78 | private let _EALREADY = EALREADY
79 | private let _ECONNREFUSED = ECONNREFUSED
80 | private let _ECONNRESET = ECONNRESET
| `- error: cannot find 'ECONNRESET' in scope
81 | private let _EADDRINUSE = EADDRINUSE
82 | private let _EOVERFLOW = EOVERFLOW
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:81:27: error: cannot find 'EADDRINUSE' in scope
79 | private let _ECONNREFUSED = ECONNREFUSED
80 | private let _ECONNRESET = ECONNRESET
81 | private let _EADDRINUSE = EADDRINUSE
| `- error: cannot find 'EADDRINUSE' in scope
82 | private let _EOVERFLOW = EOVERFLOW
83 | private let _EILSEQ = EILSEQ
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:82:26: error: cannot find 'EOVERFLOW' in scope
80 | private let _ECONNRESET = ECONNRESET
81 | private let _EADDRINUSE = EADDRINUSE
82 | private let _EOVERFLOW = EOVERFLOW
| `- error: cannot find 'EOVERFLOW' in scope
83 | private let _EILSEQ = EILSEQ
84 |
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:83:23: error: cannot find 'EILSEQ' in scope
81 | private let _EADDRINUSE = EADDRINUSE
82 | private let _EOVERFLOW = EOVERFLOW
83 | private let _EILSEQ = EILSEQ
| `- error: cannot find 'EILSEQ' in scope
84 |
85 | extension Errno {
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:19:21: error: cannot find 'errno' in scope
17 | /// The calling thread's current `errno` value.
18 | public static var current: Errno {
19 | get { Errno(errno) }
| `- error: cannot find 'errno' in scope
20 | set { errno = newValue.rawValue }
21 | }
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:20:15: error: cannot find 'errno' in scope
18 | public static var current: Errno {
19 | get { Errno(errno) }
20 | set { errno = newValue.rawValue }
| `- error: cannot find 'errno' in scope
21 | }
22 | /// The result of `strerror(3)`.
/host/spi-builder-workspace/Sources/POSIXGlobals/Errno.swift:24:32: error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'Errno'
22 | /// The result of `strerror(3)`.
23 | public var description: String {
24 | guard let s = strerror(rawValue) else { return "Unknown error \(rawValue)" }
| `- error: cannot convert value of type 'CInt' (aka 'Int32') to expected argument type 'Errno'
25 | return String(cString: s)
26 | }
BUILD FAILURE 6.1 android