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 VimTerminalKit, reference v1.0.2 (100d23), with Swift 5.9 for Linux on 31 Oct 2024 13:41:40 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marcusziade/VimTerminalKit.git
Reference: v1.0.2
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/marcusziade/VimTerminalKit
 * tag               v1.0.2     -> FETCH_HEAD
HEAD is now at 100d235 Update README.md
Cloned https://github.com/marcusziade/VimTerminalKit.git
Revision (git rev-parse @):
100d235f6d3dde84efc90a46849f6e0268a689a7
SUCCESS checkout https://github.com/marcusziade/VimTerminalKit.git at v1.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/marcusziade/VimTerminalKit.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:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/11] Compiling VimTerminalKit Terminal.swift
/host/spi-builder-workspace/Sources/VimTerminalKit/Terminal.swift:42:32: error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
                raw.c_lflag &= ~UInt(ECHO | ICANON)
                               ^
                               UInt32(             )
/host/spi-builder-workspace/Sources/VimTerminalKit/Terminal.swift:42:33: error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
                raw.c_lflag &= ~UInt(ECHO | ICANON)
                                ^
                                UInt32(            )
/host/spi-builder-workspace/Sources/VimTerminalKit/Terminal.swift:51:32: error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
                raw.c_lflag |= UInt(ECHO | ICANON)
                               ^
                               UInt32(            )
[2/12] Compiling VimTerminalKit InputReader.swift
[3/12] Emitting module VimTerminalKit
[4/12] Compiling VimTerminalKit Direction.swift
[5/12] Compiling VimTerminalKit InputType.swift
[6/12] Compiling VimTerminalKit Navigator.swift
[7/12] Compiling VimTerminalKit LoadingAnimation.swift
[8/12] Compiling VimTerminalKit StateManager.swift
[9/12] Compiling VimTerminalKit VimTerminalKit.swift
error: fatalError
BUILD FAILURE 5.9 linux