The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Console, reference 0.14.1 (9f4946), with Swift 5.8 for Linux on 14 Jul 2024 15:14:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.46.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/luizzak/console.git
Reference: 0.14.1
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/luizzak/console
 * tag               0.14.1     -> FETCH_HEAD
HEAD is now at 9f49469 Fixes to NO_COLOR detection and adding StandardErrorTextStream/NullOutputStream
Cloned https://github.com/luizzak/console.git
Revision (git rev-parse @):
9f4946929b7aac54ecc642c3ef15ec4fc05618a0
SUCCESS checkout https://github.com/luizzak/console.git at 0.14.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/luizzak/console.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:25ae52e20f56ffaca5cfeeca46731079b0ef67b7dcd7f3dc3e93dc588d498392
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Building for debugging...
[1/14] Compiling Console LinuxSupport.swift
[2/15] Compiling Console FileHandle+Ext.swift
[3/15] Compiling Console ConsoleType.swift
[4/15] Compiling Console ConsoleColor.swift
[5/15] Compiling Console ConsoleFormat.swift
[6/15] Compiling Console String+ConsoleFormatting.swift
[7/15] Compiling Console ConsoleDataProvider.swift
[8/15] Compiling Console ConsoleMenuController.swift
[9/15] Compiling Console ConsoleOutputStream.swift
[10/15] Compiling Console ConsoleString.swift
[11/15] Emitting module Console
[12/15] Compiling Console Console+Command.swift
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:99:26: warning: string literal is unused
            case .toEnd: "0"
                         ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:100:32: warning: string literal is unused
            case .toBeginning: "1"
                               ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:101:24: warning: string literal is unused
            case .all: "2"
                       ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:102:37: warning: string literal is unused
            case .allAndScrollback: "3"
                                    ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:122:24: warning: string literal is unused
            case .all: "2"
                       ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:123:32: warning: string literal is unused
            case .toBeginning: "1"
                               ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:124:26: warning: string literal is unused
            case .toEnd: "0"
                         ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:104:9: error: missing return in getter expected to return 'String'
        }
        ^
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:126:9: error: missing return in getter expected to return 'String'
        }
        ^
[13/15] Compiling Console Console+Paging.swift
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:99:26: warning: string literal is unused
            case .toEnd: "0"
                         ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:100:32: warning: string literal is unused
            case .toBeginning: "1"
                               ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:101:24: warning: string literal is unused
            case .all: "2"
                       ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:102:37: warning: string literal is unused
            case .allAndScrollback: "3"
                                    ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:122:24: warning: string literal is unused
            case .all: "2"
                       ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:123:32: warning: string literal is unused
            case .toBeginning: "1"
                               ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:124:26: warning: string literal is unused
            case .toEnd: "0"
                         ^~~
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:104:9: error: missing return in getter expected to return 'String'
        }
        ^
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:126:9: error: missing return in getter expected to return 'String'
        }
        ^
[14/15] Compiling Console Console+Static.swift
/host/spi-builder-workspace/Sources/Console/Console.swift:69:33: error: extraneous argument label 'formatted:' in call
                    printLine("\(formatted: row)\(formatted: separator)\(spaces)", terminator: "")
                                ^~~~~~~~~~~~

/host/spi-builder-workspace/Sources/Console/Console.swift:69:50: error: extraneous argument label 'formatted:' in call
                    printLine("\(formatted: row)\(formatted: separator)\(spaces)", terminator: "")
                                                 ^~~~~~~~~~~~

[15/15] Compiling Console Console.swift
/host/spi-builder-workspace/Sources/Console/Console.swift:69:33: error: extraneous argument label 'formatted:' in call
                    printLine("\(formatted: row)\(formatted: separator)\(spaces)", terminator: "")
                                ^~~~~~~~~~~~

/host/spi-builder-workspace/Sources/Console/Console.swift:69:50: error: extraneous argument label 'formatted:' in call
                    printLine("\(formatted: row)\(formatted: separator)\(spaces)", terminator: "")
                                                 ^~~~~~~~~~~~

BUILD FAILURE 5.8 linux