The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCurses with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Jomy10/SwiftCurses.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Jomy10/SwiftCurses
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e60acf3 added missing brackets
Cloned https://github.com/Jomy10/SwiftCurses.git
Revision (git rev-parse @):
e60acf30770fd3d5fef49c5f353c8bfb13981eff
SPI manifest file found: $PWD/checkout/.spi.yml
SUCCESS checkout https://github.com/Jomy10/SwiftCurses.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
https://github.com/Jomy10/SwiftCurses.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/19] Emitting module SwiftCurses
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:72:24: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattron(self.window, attrs.combine())
                                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:77:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattrset(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:87:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattroff(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:101:26: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wstandend(self.window)
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:112:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wchgat(self.window, n, attr_t(attrs.combine()), pair, opts)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:14:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, UInt32(vertCh.asciiValue!), UInt32(horCh.asciiValue!))
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:20:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, vertCh, horCh)
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:18:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.werase(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:23:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wclear(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:32:31: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                if ncurses.wclrtoeol(self.window) == ERR {
                                                          ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:36:28: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                ncurses.wclrtobot(self.window)
                                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+controls.swift:14:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                if ncurses.wmove(self.window, row, col) == ERR {
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+controls.swift:42:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wrefresh(self.window)
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+dump.swift:15:26: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>') to expected argument type 'OpaquePointer'
                return WinType(ncurses.getwin(filePtr))
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+dump.swift:23:26: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                if ncurses.putwin(self.window, filePtr) == ERR {
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:30:36: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                return ncurses.wmouse_trafo(self.window, &y, &x, kind.rawValue)
                                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:35:33: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        if ncurses.waddstr(self.window, str) == ERR {
                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:96:33: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    settings.forEach { $0.apply(win) }
                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:98:12: error: cannot convert return expression of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to return type 'OpaquePointer'
    return win
           ^~~
[2/19] Compiling SwiftCurses Window+attributes.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:72:24: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattron(self.window, attrs.combine())
                                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:77:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattrset(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:87:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattroff(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:101:26: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wstandend(self.window)
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:112:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wchgat(self.window, n, attr_t(attrs.combine()), pair, opts)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:14:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, UInt32(vertCh.asciiValue!), UInt32(horCh.asciiValue!))
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:20:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, vertCh, horCh)
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:64:24: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wborder(self.window, ls, rs, ts, bs, tl, tr, bl, br)
                                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:91:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.whline(self.window, ch, n)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:111:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wvline(self.window, ch, n)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:18:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.werase(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:23:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wclear(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:32:31: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                if ncurses.wclrtoeol(self.window) == ERR {
                                                          ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:36:28: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                ncurses.wclrtobot(self.window)
                                                       ^
[3/19] Compiling SwiftCurses Window+border.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:72:24: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattron(self.window, attrs.combine())
                                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:77:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattrset(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:87:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattroff(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:101:26: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wstandend(self.window)
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:112:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wchgat(self.window, n, attr_t(attrs.combine()), pair, opts)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:14:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, UInt32(vertCh.asciiValue!), UInt32(horCh.asciiValue!))
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:20:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, vertCh, horCh)
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:64:24: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wborder(self.window, ls, rs, ts, bs, tl, tr, bl, br)
                                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:91:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.whline(self.window, ch, n)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:111:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wvline(self.window, ch, n)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:18:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.werase(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:23:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wclear(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:32:31: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                if ncurses.wclrtoeol(self.window) == ERR {
                                                          ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:36:28: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                ncurses.wclrtobot(self.window)
                                                       ^
[4/19] Compiling SwiftCurses Window+clear.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:72:24: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattron(self.window, attrs.combine())
                                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:77:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattrset(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:87:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattroff(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:101:26: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wstandend(self.window)
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:112:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wchgat(self.window, n, attr_t(attrs.combine()), pair, opts)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:14:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, UInt32(vertCh.asciiValue!), UInt32(horCh.asciiValue!))
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:20:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, vertCh, horCh)
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:64:24: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wborder(self.window, ls, rs, ts, bs, tl, tr, bl, br)
                                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:91:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.whline(self.window, ch, n)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:111:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wvline(self.window, ch, n)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:18:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.werase(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:23:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wclear(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:32:31: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                if ncurses.wclrtoeol(self.window) == ERR {
                                                          ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:36:28: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                ncurses.wclrtobot(self.window)
                                                       ^
[5/21] Compiling SwiftCurses mouseEvent.swift
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:82:56: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .intrflush(let bf): ncurses.intrflush(win, bf)
                                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:83:50: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .keypad(let bf): ncurses.keypad(win, bf)
                                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:84:46: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .meta(let bf): ncurses.meta(win, bf)
                                             ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:85:52: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .nodelay(let bf): ncurses.nodelay(win, bf)
                                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:86:56: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .notimeout(let bf): ncurses.notimeout(win, bf)
                                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:87:56: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .timeout(let delay): ncurses.wtimeout(win, delay)
                                                       ^
[6/21] Compiling SwiftCurses settings.swift
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:82:56: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .intrflush(let bf): ncurses.intrflush(win, bf)
                                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:83:50: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .keypad(let bf): ncurses.keypad(win, bf)
                                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:84:46: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .meta(let bf): ncurses.meta(win, bf)
                                             ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:85:52: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .nodelay(let bf): ncurses.nodelay(win, bf)
                                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:86:56: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .notimeout(let bf): ncurses.notimeout(win, bf)
                                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:87:56: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .timeout(let delay): ncurses.wtimeout(win, delay)
                                                       ^
[7/21] Compiling SwiftCurses Window+input.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:44:58: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            let returnCode = ncurses.swift_wget_wch(self.window, ptr)
                                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:59:37: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        let c = ncurses.wgetch(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:81:45: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.vwscanw(self.window, mutFormatPtr, valist)
                                            ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:98:42: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        let errno = ncurses.wgetstr(self.window, c)
                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:30:36: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                return ncurses.wmouse_trafo(self.window, &y, &x, kind.rawValue)
                                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:44:37: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                let b = ncurses.wmouse_trafo(self.window, &ly, &lx, kind.rawValue)
                                                  ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:50:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                ncurses.wenclose(self.window, y, x)
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:44:58: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            let returnCode = ncurses.swift_wget_wch(self.window, ptr)
                                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:80:36: error: generic parameter 'Pointee' could not be inferred
                let mutFormatPtr = UnsafeMutablePointer(mutating: formatPtr)
                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:80:36: note: explicitly specify the generic arguments to fix this issue
                let mutFormatPtr = UnsafeMutablePointer(mutating: formatPtr)
                                   ^
                                                       <Any>
[8/21] Compiling SwiftCurses Window+mouse.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:44:58: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            let returnCode = ncurses.swift_wget_wch(self.window, ptr)
                                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:59:37: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        let c = ncurses.wgetch(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:81:45: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.vwscanw(self.window, mutFormatPtr, valist)
                                            ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:98:42: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        let errno = ncurses.wgetstr(self.window, c)
                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:30:36: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                return ncurses.wmouse_trafo(self.window, &y, &x, kind.rawValue)
                                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:44:37: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                let b = ncurses.wmouse_trafo(self.window, &ly, &lx, kind.rawValue)
                                                  ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:50:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                ncurses.wenclose(self.window, y, x)
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:44:58: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            let returnCode = ncurses.swift_wget_wch(self.window, ptr)
                                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:80:36: error: generic parameter 'Pointee' could not be inferred
                let mutFormatPtr = UnsafeMutablePointer(mutating: formatPtr)
                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:80:36: note: explicitly specify the generic arguments to fix this issue
                let mutFormatPtr = UnsafeMutablePointer(mutating: formatPtr)
                                   ^
                                                       <Any>
[9/21] Compiling SwiftCurses kernel.swift
[10/21] Compiling SwiftCurses keycode.swift
[11/21] Compiling SwiftCurses Window+controls.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+controls.swift:14:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                if ncurses.wmove(self.window, row, col) == ERR {
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+controls.swift:42:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wrefresh(self.window)
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+dump.swift:15:26: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>') to expected argument type 'OpaquePointer'
                return WinType(ncurses.getwin(filePtr))
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+dump.swift:23:26: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                if ncurses.putwin(self.window, filePtr) == ERR {
                                       ^
[12/21] Compiling SwiftCurses Window+dump.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+controls.swift:14:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                if ncurses.wmove(self.window, row, col) == ERR {
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+controls.swift:42:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wrefresh(self.window)
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+dump.swift:15:26: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>') to expected argument type 'OpaquePointer'
                return WinType(ncurses.getwin(filePtr))
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+dump.swift:23:26: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                if ncurses.putwin(self.window, filePtr) == ERR {
                                       ^
[13/21] Compiling SwiftCurses Window+output.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:35:33: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        if ncurses.waddstr(self.window, str) == ERR {
                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:58:18: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            self.window,
                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:61:42: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
            if !ncurses.is_scrollok(self.window) {
                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:15:38: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.swift_getbegyx(self.window)
                                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:20:38: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.swift_getmaxyx(self.window)
                                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:25:35: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.swift_getyx(self.window)
                                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:31:58: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                let yx: ncurses.swift_YX = ncurses.swift_getparyx(self.window)
                                                                       ^
[14/21] Compiling SwiftCurses Window+util.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:35:33: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        if ncurses.waddstr(self.window, str) == ERR {
                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:58:18: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            self.window,
                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:61:42: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
            if !ncurses.is_scrollok(self.window) {
                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:15:38: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.swift_getbegyx(self.window)
                                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:20:38: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.swift_getmaxyx(self.window)
                                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:25:35: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.swift_getyx(self.window)
                                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:31:58: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                let yx: ncurses.swift_YX = ncurses.swift_getparyx(self.window)
                                                                       ^
[15/21] Compiling SwiftCurses Window.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:70:29: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        ncurses.delwin(self.window)
                            ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:96:33: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    settings.forEach { $0.apply(win) }
                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:98:12: error: cannot convert return expression of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to return type 'OpaquePointer'
    return win
           ^~~
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:112:12: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
    delwin(win)
           ^
[16/21] Compiling SwiftCurses color.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:70:29: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        ncurses.delwin(self.window)
                            ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:96:33: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    settings.forEach { $0.apply(win) }
                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:98:12: error: cannot convert return expression of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to return type 'OpaquePointer'
    return win
           ^~~
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:112:12: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
    delwin(win)
           ^
[17/21] Compiling SwiftCurses error.swift
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:13:23: error: cannot find 'LC_ALL' in scope
    ncurses.setlocale(LC_ALL, "") // support for wide chars
                      ^~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:13:5: error: module 'ncurses' has no member named 'setlocale'
    ncurses.setlocale(LC_ALL, "") // support for wide chars
    ^~~~~~~ ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:23:39: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    windowSettings.forEach { $0.apply(_scr) }
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:25:22: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    var scr = Window(_scr)
                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:42:23: error: cannot find 'LC_ALL' in scope
    ncurses.setlocale(LC_ALL, "") // support for wide chars
                      ^~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:42:5: error: module 'ncurses' has no member named 'setlocale'
    ncurses.setlocale(LC_ALL, "") // support for wide chars
    ^~~~~~~ ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:52:39: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    windowSettings.forEach { $0.apply(_scr) }
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:54:22: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    var scr = Window(_scr)
                     ^
[18/21] Compiling SwiftCurses initScreen.swift
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:13:23: error: cannot find 'LC_ALL' in scope
    ncurses.setlocale(LC_ALL, "") // support for wide chars
                      ^~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:13:5: error: module 'ncurses' has no member named 'setlocale'
    ncurses.setlocale(LC_ALL, "") // support for wide chars
    ^~~~~~~ ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:23:39: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    windowSettings.forEach { $0.apply(_scr) }
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:25:22: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    var scr = Window(_scr)
                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:42:23: error: cannot find 'LC_ALL' in scope
    ncurses.setlocale(LC_ALL, "") // support for wide chars
                      ^~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:42:5: error: module 'ncurses' has no member named 'setlocale'
    ncurses.setlocale(LC_ALL, "") // support for wide chars
    ^~~~~~~ ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:52:39: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    windowSettings.forEach { $0.apply(_scr) }
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:54:22: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    var scr = Window(_scr)
                     ^
[0/1] Planning build
Building for debugging...
[1/18] Compiling SwiftCurses initScreen.swift
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:13:23: error: cannot find 'LC_ALL' in scope
    ncurses.setlocale(LC_ALL, "") // support for wide chars
                      ^~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:13:5: error: module 'ncurses' has no member named 'setlocale'
    ncurses.setlocale(LC_ALL, "") // support for wide chars
    ^~~~~~~ ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:23:39: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    windowSettings.forEach { $0.apply(_scr) }
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:25:22: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    var scr = Window(_scr)
                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:42:23: error: cannot find 'LC_ALL' in scope
    ncurses.setlocale(LC_ALL, "") // support for wide chars
                      ^~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:42:5: error: module 'ncurses' has no member named 'setlocale'
    ncurses.setlocale(LC_ALL, "") // support for wide chars
    ^~~~~~~ ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:52:39: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    windowSettings.forEach { $0.apply(_scr) }
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:54:22: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    var scr = Window(_scr)
                     ^
[2/18] Compiling SwiftCurses mouseEvent.swift
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:13:23: error: cannot find 'LC_ALL' in scope
    ncurses.setlocale(LC_ALL, "") // support for wide chars
                      ^~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:13:5: error: module 'ncurses' has no member named 'setlocale'
    ncurses.setlocale(LC_ALL, "") // support for wide chars
    ^~~~~~~ ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:23:39: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    windowSettings.forEach { $0.apply(_scr) }
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:25:22: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    var scr = Window(_scr)
                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:42:23: error: cannot find 'LC_ALL' in scope
    ncurses.setlocale(LC_ALL, "") // support for wide chars
                      ^~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:42:5: error: module 'ncurses' has no member named 'setlocale'
    ncurses.setlocale(LC_ALL, "") // support for wide chars
    ^~~~~~~ ~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:52:39: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    windowSettings.forEach { $0.apply(_scr) }
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/initScreen.swift:54:22: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    var scr = Window(_scr)
                     ^
[3/19] Compiling SwiftCurses settings.swift
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:82:56: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .intrflush(let bf): ncurses.intrflush(win, bf)
                                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:83:50: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .keypad(let bf): ncurses.keypad(win, bf)
                                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:84:46: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .meta(let bf): ncurses.meta(win, bf)
                                             ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:85:52: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .nodelay(let bf): ncurses.nodelay(win, bf)
                                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:86:56: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .notimeout(let bf): ncurses.notimeout(win, bf)
                                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/settings.swift:87:56: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            case .timeout(let delay): ncurses.wtimeout(win, delay)
                                                       ^
[4/19] Compiling SwiftCurses color.swift
[5/19] Compiling SwiftCurses error.swift
[6/19] Compiling SwiftCurses Window+util.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:15:38: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.swift_getbegyx(self.window)
                                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:20:38: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.swift_getmaxyx(self.window)
                                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:25:35: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.swift_getyx(self.window)
                                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:31:58: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                let yx: ncurses.swift_YX = ncurses.swift_getparyx(self.window)
                                                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:70:29: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        ncurses.delwin(self.window)
                            ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:96:33: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    settings.forEach { $0.apply(win) }
                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:98:12: error: cannot convert return expression of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to return type 'OpaquePointer'
    return win
           ^~~
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:112:12: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
    delwin(win)
           ^
[7/19] Compiling SwiftCurses Window.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:15:38: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.swift_getbegyx(self.window)
                                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:20:38: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.swift_getmaxyx(self.window)
                                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:25:35: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.swift_getyx(self.window)
                                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:31:58: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                let yx: ncurses.swift_YX = ncurses.swift_getparyx(self.window)
                                                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:70:29: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        ncurses.delwin(self.window)
                            ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:96:33: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    settings.forEach { $0.apply(win) }
                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:98:12: error: cannot convert return expression of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to return type 'OpaquePointer'
    return win
           ^~~
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:112:12: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
    delwin(win)
           ^
[8/19] Compiling SwiftCurses Window+mouse.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:30:36: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                return ncurses.wmouse_trafo(self.window, &y, &x, kind.rawValue)
                                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:44:37: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                let b = ncurses.wmouse_trafo(self.window, &ly, &lx, kind.rawValue)
                                                  ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:50:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                ncurses.wenclose(self.window, y, x)
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:35:33: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        if ncurses.waddstr(self.window, str) == ERR {
                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:58:18: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            self.window,
                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:61:42: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
            if !ncurses.is_scrollok(self.window) {
                                         ^
[9/19] Compiling SwiftCurses Window+output.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:30:36: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                return ncurses.wmouse_trafo(self.window, &y, &x, kind.rawValue)
                                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:44:37: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                let b = ncurses.wmouse_trafo(self.window, &ly, &lx, kind.rawValue)
                                                  ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:50:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                ncurses.wenclose(self.window, y, x)
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:35:33: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        if ncurses.waddstr(self.window, str) == ERR {
                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:58:18: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            self.window,
                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:61:42: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
            if !ncurses.is_scrollok(self.window) {
                                         ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/19] Emitting module SwiftCurses
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:72:24: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattron(self.window, attrs.combine())
                                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:77:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattrset(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:87:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattroff(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:101:26: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wstandend(self.window)
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:112:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wchgat(self.window, n, attr_t(attrs.combine()), pair, opts)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:14:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, UInt32(vertCh.asciiValue!), UInt32(horCh.asciiValue!))
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:20:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, vertCh, horCh)
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:18:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.werase(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:23:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wclear(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:32:31: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                if ncurses.wclrtoeol(self.window) == ERR {
                                                          ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:36:28: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                ncurses.wclrtobot(self.window)
                                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+controls.swift:14:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                if ncurses.wmove(self.window, row, col) == ERR {
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+controls.swift:42:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wrefresh(self.window)
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+dump.swift:15:26: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>') to expected argument type 'OpaquePointer'
                return WinType(ncurses.getwin(filePtr))
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+dump.swift:23:26: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                if ncurses.putwin(self.window, filePtr) == ERR {
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+mouse.swift:30:36: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafePointer<WINDOW>?' (aka 'Optional<UnsafePointer<_win_st>>')
                return ncurses.wmouse_trafo(self.window, &y, &x, kind.rawValue)
                                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+output.swift:35:33: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        if ncurses.waddstr(self.window, str) == ERR {
                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:96:33: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to expected argument type 'OpaquePointer'
    settings.forEach { $0.apply(win) }
                                ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window.swift:98:12: error: cannot convert return expression of type 'UnsafeMutablePointer<WINDOW>' (aka 'UnsafeMutablePointer<_win_st>') to return type 'OpaquePointer'
    return win
           ^~~
[11/19] Compiling SwiftCurses Window+clear.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:18:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.werase(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:23:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wclear(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:32:31: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                if ncurses.wclrtoeol(self.window) == ERR {
                                                          ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:36:28: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                ncurses.wclrtobot(self.window)
                                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+controls.swift:14:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                if ncurses.wmove(self.window, row, col) == ERR {
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+controls.swift:42:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wrefresh(self.window)
                                      ^
[12/19] Compiling SwiftCurses Window+controls.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:18:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.werase(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:23:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wclear(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:32:31: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                if ncurses.wclrtoeol(self.window) == ERR {
                                                          ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+clear.swift:36:28: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                                ncurses.wclrtobot(self.window)
                                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+controls.swift:14:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                if ncurses.wmove(self.window, row, col) == ERR {
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+controls.swift:42:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wrefresh(self.window)
                                      ^
[13/19] Compiling SwiftCurses Window+attributes.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:72:24: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattron(self.window, attrs.combine())
                                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:77:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattrset(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:87:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattroff(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:101:26: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wstandend(self.window)
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:112:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wchgat(self.window, n, attr_t(attrs.combine()), pair, opts)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:14:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, UInt32(vertCh.asciiValue!), UInt32(horCh.asciiValue!))
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:20:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, vertCh, horCh)
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:64:24: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wborder(self.window, ls, rs, ts, bs, tl, tr, bl, br)
                                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:91:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.whline(self.window, ch, n)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:111:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wvline(self.window, ch, n)
                                    ^
[14/19] Compiling SwiftCurses Window+border.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:72:24: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattron(self.window, attrs.combine())
                                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:77:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattrset(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:87:25: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wattroff(self.window, attrs.combine())
                                      ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:101:26: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wstandend(self.window)
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+attributes.swift:112:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wchgat(self.window, n, attr_t(attrs.combine()), pair, opts)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:14:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, UInt32(vertCh.asciiValue!), UInt32(horCh.asciiValue!))
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:20:20: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.box(self.window, vertCh, horCh)
                                 ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:64:24: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wborder(self.window, ls, rs, ts, bs, tl, tr, bl, br)
                                     ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:91:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.whline(self.window, ch, n)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+border.swift:111:23: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                ncurses.wvline(self.window, ch, n)
                                    ^
[15/19] Compiling SwiftCurses Window+dump.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+dump.swift:15:26: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>') to expected argument type 'OpaquePointer'
                return WinType(ncurses.getwin(filePtr))
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+dump.swift:23:26: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                if ncurses.putwin(self.window, filePtr) == ERR {
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:44:58: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            let returnCode = ncurses.swift_wget_wch(self.window, ptr)
                                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:59:37: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        let c = ncurses.wgetch(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:81:45: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.vwscanw(self.window, mutFormatPtr, valist)
                                            ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:98:42: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        let errno = ncurses.wgetstr(self.window, c)
                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:44:58: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            let returnCode = ncurses.swift_wget_wch(self.window, ptr)
                                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:80:36: error: generic parameter 'Pointee' could not be inferred
                let mutFormatPtr = UnsafeMutablePointer(mutating: formatPtr)
                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:80:36: note: explicitly specify the generic arguments to fix this issue
                let mutFormatPtr = UnsafeMutablePointer(mutating: formatPtr)
                                   ^
                                                       <Any>
[16/19] Compiling SwiftCurses Window+input.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+dump.swift:15:26: error: cannot convert value of type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>') to expected argument type 'OpaquePointer'
                return WinType(ncurses.getwin(filePtr))
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+dump.swift:23:26: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                if ncurses.putwin(self.window, filePtr) == ERR {
                                       ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:44:58: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            let returnCode = ncurses.swift_wget_wch(self.window, ptr)
                                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:59:37: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        let c = ncurses.wgetch(self.window)
                                    ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:81:45: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
                return ncurses.vwscanw(self.window, mutFormatPtr, valist)
                                            ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:98:42: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
        let errno = ncurses.wgetstr(self.window, c)
                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:44:58: error: cannot convert value of type 'OpaquePointer' to expected argument type 'UnsafeMutablePointer<WINDOW>?' (aka 'Optional<UnsafeMutablePointer<_win_st>>')
            let returnCode = ncurses.swift_wget_wch(self.window, ptr)
                                                         ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:80:36: error: generic parameter 'Pointee' could not be inferred
                let mutFormatPtr = UnsafeMutablePointer(mutating: formatPtr)
                                   ^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:80:36: note: explicitly specify the generic arguments to fix this issue
                let mutFormatPtr = UnsafeMutablePointer(mutating: formatPtr)
                                   ^
                                                       <Any>
BUILD FAILURE 5.8 linux

Build Machine: Linux 1