Build Information
Failed to build Termios, reference master (42aca2), with Swift 6.2 for macOS (SPM) on 30 Sep 2026 07:30:58 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ponyboy47/Termios.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ponyboy47/Termios
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 42aca28 Read and update terminal size.
Cloned https://github.com/ponyboy47/Termios.git
Revision (git rev-parse @):
42aca280efd16355f27f5bbe33b724f0df0f3df2
SUCCESS checkout https://github.com/ponyboy47/Termios.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ponyboy47/Termios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--3CB7CFEC50E0D141.txt
[4/7] Compiling ErrNo ErrNo.swift
[5/7] Compiling ErrNo ErrNo+Glibc.swift
[6/7] Emitting module ErrNo
[7/7] Compiling ErrNo ErrNo+Darwin.swift
[8/13] Compiling Termios Termios.swift
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:39:37: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
37 | /// Input flags
38 | public var inputFlags: InputFlags {
39 | get { return InputFlags(raw.c_iflag) }
| `- error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
40 | set { raw.c_iflag = newValue.rawValue }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:40:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
38 | public var inputFlags: InputFlags {
39 | get { return InputFlags(raw.c_iflag) }
40 | set { raw.c_iflag = newValue.rawValue }
| `- error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:45:38: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
43 | /// Output flags
44 | public var outputFlags: OutputFlags {
45 | get { return OutputFlags(raw.c_oflag) }
| `- error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
46 | set { raw.c_oflag = newValue.rawValue }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:46:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
44 | public var outputFlags: OutputFlags {
45 | get { return OutputFlags(raw.c_oflag) }
46 | set { raw.c_oflag = newValue.rawValue }
| `- error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:51:39: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
49 | /// Control flags
50 | public var controlFlags: ControlFlags {
51 | get { return ControlFlags(raw.c_cflag) }
| `- error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
52 | set { raw.c_cflag = newValue.rawValue }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:52:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
50 | public var controlFlags: ControlFlags {
51 | get { return ControlFlags(raw.c_cflag) }
52 | set { raw.c_cflag = newValue.rawValue }
| `- error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:57:37: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
55 | /// Local flags
56 | public var localFlags: LocalFlags {
57 | get { return LocalFlags(raw.c_lflag) }
| `- error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
58 | set { raw.c_lflag = newValue.rawValue }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:58:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
56 | public var localFlags: LocalFlags {
57 | get { return LocalFlags(raw.c_lflag) }
58 | set { raw.c_lflag = newValue.rawValue }
| `- error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:89:33: error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
87 | /// Set the input speed.
88 | public mutating func setInputSpeed(baud: UInt32) throws {
89 | guard cfsetispeed(&raw, baud) == 0 else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
90 | throw ErrNo.lastError
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:96:33: error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
94 | /// Set the output speed.
95 | public mutating func setOutputSpeed(baud: UInt32) throws {
96 | guard cfsetospeed(&raw, baud) == 0 else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
97 | throw ErrNo.lastError
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termios/Termios.swift:103:32: error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
101 | /// Set both input and output speed.
102 | public mutating func setSpeed(baud: UInt32) throws {
103 | guard cfsetspeed(&raw, baud) == 0 else {
| `- error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
104 | throw ErrNo.lastError
105 | }
[9/13] Compiling Termios ControlFlags.swift
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:36:43: error: cannot find 'CBAUD' in scope
34 |
35 | /// (not in POSIX) Baud speed mask (4+1 bits). [requires _BSD_SOURCE or _SVID_SOURCE]
36 | public static let baud = ControlFlags(CBAUD)
| `- error: cannot find 'CBAUD' in scope
37 |
38 | /// (not in POSIX) Extra baud speed mask (1 bit), included in baud. [requires _BSD_SOURCE or _SVID_SOURCE]
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:39:48: error: cannot find 'CBAUDEX' in scope
37 |
38 | /// (not in POSIX) Extra baud speed mask (1 bit), included in baud. [requires _BSD_SOURCE or _SVID_SOURCE]
39 | public static let baudExtra = ControlFlags(CBAUDEX)
| `- error: cannot find 'CBAUDEX' in scope
40 |
41 | /// Character size mask. Values are s5, s6, s7, or s8.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:72:44: error: cannot find 'LOBLK' in scope
70 | #if os(macOS)
71 | /// (not in POSIX) Block output from a noncurrent shell layer. For use by shl (shell layers).
72 | public static let block = ControlFlags(LOBLK)
| `- error: cannot find 'LOBLK' in scope
73 | #endif
74 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:79:48: error: cannot find 'CIBAUD' in scope
77 | bits, shifted left IBSHIFT bits. [requires _BSD_SOURCE or _SVID_SOURCE] (Not implemented on Linux.)
78 | */
79 | public static let inputBaud = ControlFlags(CIBAUD)
| `- error: cannot find 'CIBAUD' in scope
80 |
81 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:86:48: error: cannot find 'CMSPAR' in scope
84 | _SVID_SOURCE]
85 | */
86 | public static let cmsParity = ControlFlags(CMSPAR)
| `- error: cannot find 'CMSPAR' in scope
87 |
88 | /// (not in POSIX) Enable RTS/CTS (hardware) flow control. [requires _BSD_SOURCE or _SVID_SOURCE]
[10/13] Compiling Termios LocalFlags.swift
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:46:42: error: cannot find 'XCASE' in scope
44 | characters are converted to uppercase. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
45 | */
46 | public static let xCase = LocalFlags(XCASE)
| `- error: cannot find 'XCASE' in scope
47 |
48 | /// Echo input characters
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:84:45: error: cannot find 'DEFECHO' in scope
82 | #if os(macOS)
83 | /// (not in POSIX) Echo only when a process is reading. (Not implemented on Linux.)
84 | public static let deafEcho = LocalFlags(DEFECHO)
| `- error: cannot find 'DEFECHO' in scope
85 | #endif
86 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/13] Compiling Termios InputFlags.swift
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:78:47: error: cannot find 'IUCLC' in scope
76 |
77 | /// (not in POSIX) Map uppercase characters to lowercase on input.
78 | public static let lowercased = InputFlags(IUCLC)
| `- error: cannot find 'IUCLC' in scope
79 |
80 | /// Enable XON/XOFF flow control on output.
[12/13] Compiling Termios OutputFlags.swift
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:39:48: error: cannot find 'OLCUC' in scope
37 |
38 | /// (not in POSIX) Map lowercase characters to uppercase on output.
39 | public static let uppercased = OutputFlags(OLCUC)
| `- error: cannot find 'OLCUC' in scope
40 |
41 | /// (XSI) Map NL to CR-NL on output.
[13/13] Emitting module Termios
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:36:43: error: cannot find 'CBAUD' in scope
34 |
35 | /// (not in POSIX) Baud speed mask (4+1 bits). [requires _BSD_SOURCE or _SVID_SOURCE]
36 | public static let baud = ControlFlags(CBAUD)
| `- error: cannot find 'CBAUD' in scope
37 |
38 | /// (not in POSIX) Extra baud speed mask (1 bit), included in baud. [requires _BSD_SOURCE or _SVID_SOURCE]
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:39:48: error: cannot find 'CBAUDEX' in scope
37 |
38 | /// (not in POSIX) Extra baud speed mask (1 bit), included in baud. [requires _BSD_SOURCE or _SVID_SOURCE]
39 | public static let baudExtra = ControlFlags(CBAUDEX)
| `- error: cannot find 'CBAUDEX' in scope
40 |
41 | /// Character size mask. Values are s5, s6, s7, or s8.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:72:44: error: cannot find 'LOBLK' in scope
70 | #if os(macOS)
71 | /// (not in POSIX) Block output from a noncurrent shell layer. For use by shl (shell layers).
72 | public static let block = ControlFlags(LOBLK)
| `- error: cannot find 'LOBLK' in scope
73 | #endif
74 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:79:48: error: cannot find 'CIBAUD' in scope
77 | bits, shifted left IBSHIFT bits. [requires _BSD_SOURCE or _SVID_SOURCE] (Not implemented on Linux.)
78 | */
79 | public static let inputBaud = ControlFlags(CIBAUD)
| `- error: cannot find 'CIBAUD' in scope
80 |
81 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:86:48: error: cannot find 'CMSPAR' in scope
84 | _SVID_SOURCE]
85 | */
86 | public static let cmsParity = ControlFlags(CMSPAR)
| `- error: cannot find 'CMSPAR' in scope
87 |
88 | /// (not in POSIX) Enable RTS/CTS (hardware) flow control. [requires _BSD_SOURCE or _SVID_SOURCE]
/Users/admin/builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:78:47: error: cannot find 'IUCLC' in scope
76 |
77 | /// (not in POSIX) Map uppercase characters to lowercase on input.
78 | public static let lowercased = InputFlags(IUCLC)
| `- error: cannot find 'IUCLC' in scope
79 |
80 | /// Enable XON/XOFF flow control on output.
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:46:42: error: cannot find 'XCASE' in scope
44 | characters are converted to uppercase. [requires _BSD_SOURCE, _SVID_SOURCE, or _XOPEN_SOURCE]
45 | */
46 | public static let xCase = LocalFlags(XCASE)
| `- error: cannot find 'XCASE' in scope
47 |
48 | /// Echo input characters
/Users/admin/builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:84:45: error: cannot find 'DEFECHO' in scope
82 | #if os(macOS)
83 | /// (not in POSIX) Echo only when a process is reading. (Not implemented on Linux.)
84 | public static let deafEcho = LocalFlags(DEFECHO)
| `- error: cannot find 'DEFECHO' in scope
85 | #endif
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:39:48: error: cannot find 'OLCUC' in scope
37 |
38 | /// (not in POSIX) Map lowercase characters to uppercase on output.
39 | public static let uppercased = OutputFlags(OLCUC)
| `- error: cannot find 'OLCUC' in scope
40 |
41 | /// (XSI) Map NL to CR-NL on output.
Fetching https://github.com/Ponyboy47/ErrNo.git
[1/294] Fetching errno
Fetched https://github.com/Ponyboy47/ErrNo.git from cache (1.08s)
Computing version for https://github.com/Ponyboy47/ErrNo.git
Computed https://github.com/Ponyboy47/ErrNo.git at 0.5.2 (1.75s)
Creating working copy for https://github.com/Ponyboy47/ErrNo.git
Working copy of https://github.com/Ponyboy47/ErrNo.git resolved at 0.5.2
BUILD FAILURE 6.2 macosSpm