Build Information
Failed to build SwiftCurses, reference 1.1.0 (bdaa97
), with Swift 5.9 for Linux on 29 Dec 2024 14:52:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Jomy10/SwiftCurses.git
Reference: 1.1.0
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
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at bdaa972 handle sigint to cleanup ncurses
Cloned https://github.com/Jomy10/SwiftCurses.git
Revision (git rev-parse @):
bdaa97277f6b16d510e543c8a3669f0cc8352ac9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Jomy10/SwiftCurses.git at 1.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/Jomy10/SwiftCurses.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/Genaro-Chris/SignalHandler.git
[1/1433] Fetching signalhandler
Fetched https://github.com/Genaro-Chris/SignalHandler.git (0.48s)
Creating working copy for https://github.com/Genaro-Chris/SignalHandler.git
Working copy of https://github.com/Genaro-Chris/SignalHandler.git resolved at main
warning: prohibited flag(s): -D_DEFAULT_SOURCE, -D_XOPEN_SOURCE=600
warning: prohibited flag(s): -D_DEFAULT_SOURCE, -D_XOPEN_SOURCE=600
Building for debugging...
/host/spi-builder-workspace/Sources/C_ncursesBinds/C_ncursesBinds.c:16:24: warning: passing 'wchar_t *' (aka 'int *') to parameter of type 'wint_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
return wget_wch(win, ch);
^~
/host/spi-builder-workspace/Sources/C_ncursesBinds/C_ncursesBinds.c:8:35: note: passing argument to parameter 'ch' here
int wget_wch(WINDOW *win, wint_t *ch);
^
1 warning generated.
[0/5] Compiling C_ncursesBinds C_ncursesBinds.c
[2/10] Compiling SignalHandler Signals.swift
[3/10] Compiling SignalHandler SignalHandler.swift
[4/10] Emitting module SignalHandler
[5/10] Compiling SignalHandler SourceSequence.swift
[6/10] Compiling SignalHandler extensions.swift
[8/12] Wrapping AST for SignalHandler for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/29] Emitting module SwiftCurses
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:11:21: error: unknown attribute 'retroactive'
extension swift_YX: @retroactive Equatable, @retroactive Hashable {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:11:1: error: inheritance from non-protocol type 'any Equatable'
extension swift_YX: @retroactive Equatable, @retroactive Hashable {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:11:45: error: unknown attribute 'retroactive'
extension swift_YX: @retroactive Equatable, @retroactive Hashable {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:11:1: error: inheritance from non-protocol type 'any Hashable'
extension swift_YX: @retroactive Equatable, @retroactive Hashable {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:22:21: error: unknown attribute 'retroactive'
extension swift_YX: @retroactive CustomStringConvertible {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:22:1: error: inheritance from non-protocol type 'any CustomStringConvertible'
extension swift_YX: @retroactive CustomStringConvertible {
^
[11/31] Compiling SwiftCurses kernel.swift
[12/31] Compiling SwiftCurses keycode.swift
[13/31] Compiling SwiftCurses Window.swift
/host/spi-builder-workspace/Sources/SwiftCurses/color.swift:1:17: remark: '@preconcurrency' attribute on module 'ncurses' is unused
@preconcurrency import ncurses // NOTE: preconcurrency --> we are importing constants from C, but they are imported as vars, they are concurrency safe, but the swift compiler has no way of knowing this
~~~~~~~~~~~~~~~~^
[14/31] Compiling SwiftCurses color.swift
/host/spi-builder-workspace/Sources/SwiftCurses/color.swift:1:17: remark: '@preconcurrency' attribute on module 'ncurses' is unused
@preconcurrency import ncurses // NOTE: preconcurrency --> we are importing constants from C, but they are imported as vars, they are concurrency safe, but the swift compiler has no way of knowing this
~~~~~~~~~~~~~~~~^
[15/31] Compiling SwiftCurses Window+input.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:83:32: warning: 'vwscanw' is deprecated
return ncurses.vwscanw(self.window, mutFormatPtr, valist)
^
[16/31] Compiling SwiftCurses Window+mouse.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+input.swift:83:32: warning: 'vwscanw' is deprecated
return ncurses.vwscanw(self.window, mutFormatPtr, valist)
^
[17/31] Compiling SwiftCurses error.swift
[18/31] Compiling SwiftCurses initScreen.swift
[19/31] Compiling SwiftCurses Window+clear.swift
[20/31] Compiling SwiftCurses Window+controls.swift
[21/31] Compiling SwiftCurses Window+dump.swift
[22/31] Compiling SwiftCurses LinuxCompatibility.swift
[23/31] Compiling SwiftCurses Window+attributes.swift
[24/31] Compiling SwiftCurses Window+border.swift
[25/31] Compiling SwiftCurses Window+output.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:11:21: error: unknown attribute 'retroactive'
extension swift_YX: @retroactive Equatable, @retroactive Hashable {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:11:1: error: inheritance from non-protocol type 'any Equatable'
extension swift_YX: @retroactive Equatable, @retroactive Hashable {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:11:45: error: unknown attribute 'retroactive'
extension swift_YX: @retroactive Equatable, @retroactive Hashable {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:11:1: error: inheritance from non-protocol type 'any Hashable'
extension swift_YX: @retroactive Equatable, @retroactive Hashable {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:22:21: error: unknown attribute 'retroactive'
extension swift_YX: @retroactive CustomStringConvertible {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:22:1: error: inheritance from non-protocol type 'any CustomStringConvertible'
extension swift_YX: @retroactive CustomStringConvertible {
^
[26/31] Compiling SwiftCurses Window+util.swift
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:11:21: error: unknown attribute 'retroactive'
extension swift_YX: @retroactive Equatable, @retroactive Hashable {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:11:1: error: inheritance from non-protocol type 'any Equatable'
extension swift_YX: @retroactive Equatable, @retroactive Hashable {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:11:45: error: unknown attribute 'retroactive'
extension swift_YX: @retroactive Equatable, @retroactive Hashable {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:11:1: error: inheritance from non-protocol type 'any Hashable'
extension swift_YX: @retroactive Equatable, @retroactive Hashable {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:22:21: error: unknown attribute 'retroactive'
extension swift_YX: @retroactive CustomStringConvertible {
^
/host/spi-builder-workspace/Sources/SwiftCurses/Window+util.swift:22:1: error: inheritance from non-protocol type 'any CustomStringConvertible'
extension swift_YX: @retroactive CustomStringConvertible {
^
[27/31] Compiling SwiftCurses mouseEvent.swift
[28/31] Compiling SwiftCurses settings.swift
error: fatalError
BUILD FAILURE 5.9 linux