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 snap-dependencies, reference main (6bfb40), with Swift 6.1 for Linux on 28 Sep 2025 02:19:06 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/simonnickel/snap-dependencies.git
Reference: main
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/simonnickel/snap-dependencies
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6bfb40f Cleanup todo comments
Cloned https://github.com/simonnickel/snap-dependencies.git
Revision (git rev-parse @):
6bfb40f26cefd02bff9856c7e03fd7f29566447a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonnickel/snap-dependencies.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/simonnickel/snap-dependencies.git
https://github.com/simonnickel/snap-dependencies.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "snap-foundation",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/simonnickel/snap-foundation.git"
    }
  ],
  "manifest_display_name" : "snap-dependencies",
  "name" : "snap-dependencies",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SnapDependencies",
      "targets" : [
        "SnapDependencies"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SnapDependenciesTests",
      "module_type" : "SwiftTarget",
      "name" : "SnapDependenciesTests",
      "path" : "Sources/SnapDependenciesTests",
      "sources" : [
        "DependenciesTests.swift",
        "Setup/Dependencies+Setup.swift",
        "Setup/Service.swift",
        "Setup/ServiceWithServiceInInit.swift"
      ],
      "target_dependencies" : [
        "SnapDependencies"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnapDependencies",
      "module_type" : "SwiftTarget",
      "name" : "SnapDependencies",
      "path" : "Sources/SnapDependencies",
      "product_dependencies" : [
        "SnapFoundation"
      ],
      "product_memberships" : [
        "SnapDependencies"
      ],
      "sources" : [
        "Dependencies+Container.swift",
        "Dependencies+Context.swift",
        "Dependencies.swift",
        "Dependency+PropertyWrapper.swift",
        "DependencyForwardingFactory.swift",
        "Helper/Logger.swift"
      ],
      "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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
e1a89dea01a6: Already exists
0347e81243ca: Pulling fs layer
955ae20f829c: Pulling fs layer
2574e4b2ede5: Pulling fs layer
54e7191d172b: Pulling fs layer
de3fb6e72464: Pulling fs layer
74f28ef18f27: Pulling fs layer
d69029690cb3: Pulling fs layer
74f28ef18f27: Waiting
54e7191d172b: Waiting
de3fb6e72464: Waiting
d69029690cb3: Waiting
2574e4b2ede5: Verifying Checksum
2574e4b2ede5: Download complete
54e7191d172b: Verifying Checksum
54e7191d172b: Download complete
de3fb6e72464: Download complete
74f28ef18f27: Verifying Checksum
74f28ef18f27: Download complete
0347e81243ca: Verifying Checksum
0347e81243ca: Download complete
d69029690cb3: Verifying Checksum
d69029690cb3: Download complete
955ae20f829c: Download complete
0347e81243ca: Pull complete
955ae20f829c: Pull complete
2574e4b2ede5: Pull complete
54e7191d172b: Pull complete
de3fb6e72464: Pull complete
74f28ef18f27: Pull complete
d69029690cb3: Pull complete
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Downloaded newer image 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