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 terminal-ansi, reference 0.3.0 (4a56c0), with Swift 6.1 for Linux on 25 Oct 2025 17:32:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/juri/terminal-ansi.git
Reference: 0.3.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/juri/terminal-ansi
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 4a56c05 Backtick string literals in a doc comment
Cloned https://github.com/juri/terminal-ansi.git
Revision (git rev-parse @):
4a56c05d18cd7cb0ad85fcc0bd1b616f45c8a067
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/juri/terminal-ansi.git at 0.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/juri/terminal-ansi.git
https://github.com/juri/terminal-ansi.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    }
  ],
  "manifest_display_name" : "terminal-ansi",
  "name" : "terminal-ansi",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "run-terminal-ansi",
      "targets" : [
        "RunTerminalANSI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "TerminalANSI",
      "targets" : [
        "TerminalANSI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TerminalANSITests",
      "module_type" : "SwiftTarget",
      "name" : "TerminalANSITests",
      "path" : "Tests/TerminalANSITests",
      "product_dependencies" : [
        "Numerics"
      ],
      "sources" : [
        "ColorModeGuessTests.swift",
        "ColorParsingTests.swift",
        "ColorTests.swift"
      ],
      "target_dependencies" : [
        "TerminalANSI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TerminalANSI",
      "module_type" : "SwiftTarget",
      "name" : "TerminalANSI",
      "path" : "Sources/TerminalANSI",
      "product_memberships" : [
        "run-terminal-ansi",
        "TerminalANSI"
      ],
      "sources" : [
        "ANSIControlCode.swift",
        "Color.swift",
        "ColorMode.swift",
        "EnvironmentColorMode.swift",
        "Inspect.swift",
        "Size.swift",
        "Terminal.swift"
      ],
      "target_dependencies" : [
        "CSelect"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RunTerminalANSI",
      "module_type" : "SwiftTarget",
      "name" : "RunTerminalANSI",
      "path" : "Sources/RunTerminalANSI",
      "product_memberships" : [
        "run-terminal-ansi"
      ],
      "sources" : [
        "Runner.swift"
      ],
      "target_dependencies" : [
        "TerminalANSI"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CSelect",
      "module_type" : "ClangTarget",
      "name" : "CSelect",
      "path" : "Sources/CSelect",
      "product_memberships" : [
        "run-terminal-ansi",
        "TerminalANSI"
      ],
      "sources" : [
        "select.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.1
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.1
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.1
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.1
BUILD FAILURE 6.1 linux