The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build VimTerminalKit, reference v1.0.2 (100d23), with Swift 6.1 for Linux on 29 Apr 2025 19:11:41 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
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:             6.1
Building package at path:  $PWD
https://github.com/marcusziade/VimTerminalKit.git
https://github.com/marcusziade/VimTerminalKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "VimTerminalKit",
  "name" : "VimTerminalKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "VimTerminalKit",
      "targets" : [
        "VimTerminalKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FileExplorer",
      "targets" : [
        "FileExplorer"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VimTerminalKitTests",
      "module_type" : "SwiftTarget",
      "name" : "VimTerminalKitTests",
      "path" : "Tests/VimTerminalKitTests",
      "sources" : [
        "LoadingAnimatorTests.swift",
        "NavigatorTests.swift",
        "StateManagerTests.swift",
        "TerminalControlTests.swift"
      ],
      "target_dependencies" : [
        "VimTerminalKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VimTerminalKit",
      "module_type" : "SwiftTarget",
      "name" : "VimTerminalKit",
      "path" : "Sources/VimTerminalKit",
      "product_memberships" : [
        "VimTerminalKit",
        "FileExplorer"
      ],
      "sources" : [
        "Direction.swift",
        "InputReader.swift",
        "InputType.swift",
        "LoadingAnimation.swift",
        "Navigator.swift",
        "StateManager.swift",
        "Terminal.swift",
        "VimTerminalKit.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FileExplorer",
      "module_type" : "SwiftTarget",
      "name" : "FileExplorer",
      "path" : "Sources/FileExplorer",
      "product_memberships" : [
        "FileExplorer"
      ],
      "sources" : [
        "FileExplorer.swift"
      ],
      "target_dependencies" : [
        "VimTerminalKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/15] Compiling VimTerminalKit Terminal.swift
/host/spi-builder-workspace/Sources/VimTerminalKit/Terminal.swift:42:33: error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
40 |                 var raw = termios()
41 |                 tcgetattr(STDIN_FILENO, &raw)
42 |                 raw.c_lflag &= ~UInt(ECHO | ICANON)
   |                                 `- error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
43 |                 tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
44 |                 print(Control.hideCursor)
/host/spi-builder-workspace/Sources/VimTerminalKit/Terminal.swift:42:32: error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
40 |                 var raw = termios()
41 |                 tcgetattr(STDIN_FILENO, &raw)
42 |                 raw.c_lflag &= ~UInt(ECHO | ICANON)
   |                                `- error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
43 |                 tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
44 |                 print(Control.hideCursor)
/host/spi-builder-workspace/Sources/VimTerminalKit/Terminal.swift:51:32: error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
49 |                 var raw = termios()
50 |                 tcgetattr(STDIN_FILENO, &raw)
51 |                 raw.c_lflag |= UInt(ECHO | ICANON)
   |                                `- error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
52 |                 tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
53 |                 print(Control.showCursor)
[5/16] Compiling VimTerminalKit StateManager.swift
[6/16] Emitting module VimTerminalKit
[7/16] Compiling VimTerminalKit Navigator.swift
[8/16] Compiling VimTerminalKit VimTerminalKit.swift
[9/16] Compiling VimTerminalKit InputType.swift
[10/16] Compiling VimTerminalKit Direction.swift
[11/16] Compiling VimTerminalKit LoadingAnimation.swift
/host/spi-builder-workspace/Sources/VimTerminalKit/LoadingAnimation.swift:74:34: warning: capture of 'self' with non-sendable type 'VimTerminalKit.LoadingAnimator?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 |     /// animator.stop()
31 |     /// ```
32 |     final class LoadingAnimator {
   |                 `- note: class 'LoadingAnimator' does not conform to the 'Sendable' protocol
33 |         /// The collection of animation frames to cycle through.
34 |         private let frames: [String]
   :
72 |             animationQueue = DispatchQueue(label: "com.vimterminalkit.loading")
73 |             animationQueue?.async { [weak self] in
74 |                 guard let self = self else { return }
   |                                  `- warning: capture of 'self' with non-sendable type 'VimTerminalKit.LoadingAnimator?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |                 while self.isRunning {
76 |                     let newMessage = "\(self.initialMessage) \(self.frames[self.animationFrame])"
[12/16] Compiling VimTerminalKit InputReader.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling VimTerminalKit InputReader.swift
[3/14] Compiling VimTerminalKit InputType.swift
[4/14] Compiling VimTerminalKit LoadingAnimation.swift
[5/14] Emitting module VimTerminalKit
[6/14] Compiling VimTerminalKit Direction.swift
[7/14] Compiling VimTerminalKit VimTerminalKit.swift
[8/14] Compiling VimTerminalKit Navigator.swift
[9/14] Compiling VimTerminalKit StateManager.swift
[10/14] Compiling VimTerminalKit Terminal.swift
/host/spi-builder-workspace/Sources/VimTerminalKit/Terminal.swift:42:33: error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
40 |                 var raw = termios()
41 |                 tcgetattr(STDIN_FILENO, &raw)
42 |                 raw.c_lflag &= ~UInt(ECHO | ICANON)
   |                                 `- error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
43 |                 tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
44 |                 print(Control.hideCursor)
/host/spi-builder-workspace/Sources/VimTerminalKit/Terminal.swift:42:32: error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
40 |                 var raw = termios()
41 |                 tcgetattr(STDIN_FILENO, &raw)
42 |                 raw.c_lflag &= ~UInt(ECHO | ICANON)
   |                                `- error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
43 |                 tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
44 |                 print(Control.hideCursor)
/host/spi-builder-workspace/Sources/VimTerminalKit/Terminal.swift:51:32: error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
49 |                 var raw = termios()
50 |                 tcgetattr(STDIN_FILENO, &raw)
51 |                 raw.c_lflag |= UInt(ECHO | ICANON)
   |                                `- error: cannot convert value of type 'UInt' to expected argument type 'UInt32'
52 |                 tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
53 |                 print(Control.showCursor)
BUILD FAILURE 6.1 linux