The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Termios with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ponyboy47/Termios.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/ponyboy47/Termios
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2204850 Correct the example code
Cloned https://github.com/ponyboy47/Termios.git
Revision (git rev-parse @):
220485037f5a5932dfaf1aaba621cb53ce26a44c
SUCCESS checkout https://github.com/ponyboy47/Termios.git at master
Fetching https://github.com/Ponyboy47/ErrNo.git from cache
Fetched https://github.com/Ponyboy47/ErrNo.git (0.21s)
Computing version for https://github.com/Ponyboy47/ErrNo.git
Computed https://github.com/Ponyboy47/ErrNo.git at 0.5.2 (0.02s)
Creating working copy for https://github.com/Ponyboy47/ErrNo.git
Working copy of https://github.com/Ponyboy47/ErrNo.git resolved at 0.5.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "termios",
      "name": "Termios",
      "url": "https://github.com/ponyboy47/Termios.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Termios",
      "dependencies": [
        {
          "identity": "errno",
          "name": "ErrNo",
          "url": "https://github.com/Ponyboy47/ErrNo.git",
          "version": "0.5.2",
          "path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ErrNo",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ponyboy47/Termios.git
[1/290] Fetching termios
Fetched https://github.com/ponyboy47/Termios.git (0.26s)
Fetching https://github.com/Ponyboy47/ErrNo.git from cache
Fetched https://github.com/Ponyboy47/ErrNo.git (0.17s)
Computing version for https://github.com/Ponyboy47/ErrNo.git
Computed https://github.com/Ponyboy47/ErrNo.git at 0.5.2 (0.02s)
Creating working copy for https://github.com/ponyboy47/Termios.git
Working copy of https://github.com/ponyboy47/Termios.git resolved at master
Creating working copy for https://github.com/Ponyboy47/ErrNo.git
Working copy of https://github.com/Ponyboy47/ErrNo.git resolved at 0.5.2
warning: '.resolve-product-dependencies': dependency 'termios' is not used by any target
Found 1 product dependencies
  - ErrNo
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/4] Compiling ErrNo ErrNo+Darwin.swift
[2/4] Compiling ErrNo ErrNo.swift
[3/4] Compiling ErrNo ErrNo+Glibc.swift
[4/4] Emitting module ErrNo
[5/10] Compiling Termios LocalFlags.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:46:42: error: cannot find 'XCASE' in scope
    public static let xCase = LocalFlags(XCASE)
                                         ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:84:45: error: cannot find 'DEFECHO' in scope
    public static let deafEcho = LocalFlags(DEFECHO)
                                            ^~~~~~~
[6/10] Compiling Termios InputFlags.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:78:47: error: cannot find 'IUCLC' in scope
    public static let lowercased = InputFlags(IUCLC)
                                              ^~~~~
[7/10] Compiling Termios OutputFlags.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:39:48: error: cannot find 'OLCUC' in scope
    public static let uppercased = OutputFlags(OLCUC)
                                               ^~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/10] Emitting module Termios
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:36:43: error: cannot find 'CBAUD' in scope
    public static let baud = ControlFlags(CBAUD)
                                          ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:39:48: error: cannot find 'CBAUDEX' in scope
    public static let baudExtra = ControlFlags(CBAUDEX)
                                               ^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:72:44: error: cannot find 'LOBLK' in scope
    public static let block = ControlFlags(LOBLK)
                                           ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:79:48: error: cannot find 'CIBAUD' in scope
    public static let inputBaud = ControlFlags(CIBAUD)
                                               ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:86:48: error: cannot find 'CMSPAR' in scope
    public static let cmsParity = ControlFlags(CMSPAR)
                                               ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:78:47: error: cannot find 'IUCLC' in scope
    public static let lowercased = InputFlags(IUCLC)
                                              ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:46:42: error: cannot find 'XCASE' in scope
    public static let xCase = LocalFlags(XCASE)
                                         ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:84:45: error: cannot find 'DEFECHO' in scope
    public static let deafEcho = LocalFlags(DEFECHO)
                                            ^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:39:48: error: cannot find 'OLCUC' in scope
    public static let uppercased = OutputFlags(OLCUC)
                                               ^~~~~
[9/10] Compiling Termios ControlFlags.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:36:43: error: cannot find 'CBAUD' in scope
    public static let baud = ControlFlags(CBAUD)
                                          ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:39:48: error: cannot find 'CBAUDEX' in scope
    public static let baudExtra = ControlFlags(CBAUDEX)
                                               ^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:72:44: error: cannot find 'LOBLK' in scope
    public static let block = ControlFlags(LOBLK)
                                           ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:79:48: error: cannot find 'CIBAUD' in scope
    public static let inputBaud = ControlFlags(CIBAUD)
                                               ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:86:48: error: cannot find 'CMSPAR' in scope
    public static let cmsParity = ControlFlags(CMSPAR)
                                               ^~~~~~
[10/10] Compiling Termios Termios.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:38:37: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
        get { return InputFlags(raw.c_iflag) }
                                    ^
                                UInt32(    )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:39:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
        set { raw.c_iflag = newValue.rawValue }
                            ~~~~~~~~~^~~~~~~~
                            tcflag_t(        )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:44:38: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
        get { return OutputFlags(raw.c_oflag) }
                                     ^
                                 UInt32(    )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:45:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
        set { raw.c_oflag = newValue.rawValue }
                            ~~~~~~~~~^~~~~~~~
                            tcflag_t(        )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:50:39: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
        get { return ControlFlags(raw.c_cflag) }
                                      ^
                                  UInt32(    )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:51:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
        set { raw.c_cflag = newValue.rawValue }
                            ~~~~~~~~~^~~~~~~~
                            tcflag_t(        )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:56:37: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
        get { return LocalFlags(raw.c_lflag) }
                                    ^
                                UInt32(    )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:57:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
        set { raw.c_lflag = newValue.rawValue }
                            ~~~~~~~~~^~~~~~~~
                            tcflag_t(        )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:81:33: error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
        guard cfsetispeed(&raw, baud) == 0 else {
                                ^
                                speed_t( )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:88:33: error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
        guard cfsetospeed(&raw, baud) == 0 else {
                                ^
                                speed_t( )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:95:32: error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
        guard cfsetspeed(&raw, baud) == 0 else {
                               ^
                               speed_t( )
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/6] Emitting module Termios
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:36:43: error: cannot find 'CBAUD' in scope
    public static let baud = ControlFlags(CBAUD)
                                          ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:39:48: error: cannot find 'CBAUDEX' in scope
    public static let baudExtra = ControlFlags(CBAUDEX)
                                               ^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:72:44: error: cannot find 'LOBLK' in scope
    public static let block = ControlFlags(LOBLK)
                                           ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:79:48: error: cannot find 'CIBAUD' in scope
    public static let inputBaud = ControlFlags(CIBAUD)
                                               ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:86:48: error: cannot find 'CMSPAR' in scope
    public static let cmsParity = ControlFlags(CMSPAR)
                                               ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:78:47: error: cannot find 'IUCLC' in scope
    public static let lowercased = InputFlags(IUCLC)
                                              ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:46:42: error: cannot find 'XCASE' in scope
    public static let xCase = LocalFlags(XCASE)
                                         ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:84:45: error: cannot find 'DEFECHO' in scope
    public static let deafEcho = LocalFlags(DEFECHO)
                                            ^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:39:48: error: cannot find 'OLCUC' in scope
    public static let uppercased = OutputFlags(OLCUC)
                                               ^~~~~
[2/6] Compiling Termios InputFlags.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/InputFlags.swift:78:47: error: cannot find 'IUCLC' in scope
    public static let lowercased = InputFlags(IUCLC)
                                              ^~~~~
[3/6] Compiling Termios LocalFlags.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:46:42: error: cannot find 'XCASE' in scope
    public static let xCase = LocalFlags(XCASE)
                                         ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/LocalFlags.swift:84:45: error: cannot find 'DEFECHO' in scope
    public static let deafEcho = LocalFlags(DEFECHO)
                                            ^~~~~~~
[4/6] Compiling Termios Termios.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:38:37: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
        get { return InputFlags(raw.c_iflag) }
                                    ^
                                UInt32(    )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:39:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
        set { raw.c_iflag = newValue.rawValue }
                            ~~~~~~~~~^~~~~~~~
                            tcflag_t(        )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:44:38: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
        get { return OutputFlags(raw.c_oflag) }
                                     ^
                                 UInt32(    )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:45:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
        set { raw.c_oflag = newValue.rawValue }
                            ~~~~~~~~~^~~~~~~~
                            tcflag_t(        )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:50:39: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
        get { return ControlFlags(raw.c_cflag) }
                                      ^
                                  UInt32(    )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:51:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
        set { raw.c_cflag = newValue.rawValue }
                            ~~~~~~~~~^~~~~~~~
                            tcflag_t(        )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:56:37: error: cannot convert value of type 'tcflag_t' (aka 'UInt') to expected argument type 'UInt32'
        get { return LocalFlags(raw.c_lflag) }
                                    ^
                                UInt32(    )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:57:38: error: cannot assign value of type 'UInt32' to type 'tcflag_t' (aka 'UInt')
        set { raw.c_lflag = newValue.rawValue }
                            ~~~~~~~~~^~~~~~~~
                            tcflag_t(        )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:81:33: error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
        guard cfsetispeed(&raw, baud) == 0 else {
                                ^
                                speed_t( )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:88:33: error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
        guard cfsetospeed(&raw, baud) == 0 else {
                                ^
                                speed_t( )
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/Termios.swift:95:32: error: cannot convert value of type 'UInt32' to expected argument type 'speed_t' (aka 'UInt')
        guard cfsetspeed(&raw, baud) == 0 else {
                               ^
                               speed_t( )
[5/6] Compiling Termios ControlFlags.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:36:43: error: cannot find 'CBAUD' in scope
    public static let baud = ControlFlags(CBAUD)
                                          ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:39:48: error: cannot find 'CBAUDEX' in scope
    public static let baudExtra = ControlFlags(CBAUDEX)
                                               ^~~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:72:44: error: cannot find 'LOBLK' in scope
    public static let block = ControlFlags(LOBLK)
                                           ^~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:79:48: error: cannot find 'CIBAUD' in scope
    public static let inputBaud = ControlFlags(CIBAUD)
                                               ^~~~~~
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/ControlFlags.swift:86:48: error: cannot find 'CMSPAR' in scope
    public static let cmsParity = ControlFlags(CMSPAR)
                                               ^~~~~~
[6/6] Compiling Termios OutputFlags.swift
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Termios/OutputFlags.swift:39:48: error: cannot find 'OLCUC' in scope
    public static let uppercased = OutputFlags(OLCUC)
                                               ^~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm