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-foundation, reference main (75dfea), with Swift 6.1 for Linux on 27 Sep 2025 22:29:13 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-foundation.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-foundation
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 75dfea4 Cleanup todo comments
Cloned https://github.com/simonnickel/snap-foundation.git
Revision (git rev-parse @):
75dfea465bf7f7e58c528d74650b2f401308203b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonnickel/snap-foundation.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/simonnickel/snap-foundation.git
https://github.com/simonnickel/snap-foundation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "snap-foundation",
  "name" : "snap-foundation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SnapFoundation",
      "targets" : [
        "SnapFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SnapFoundationTests",
      "module_type" : "SwiftTarget",
      "name" : "SnapFoundationTests",
      "path" : "Sources/SnapFoundationTests",
      "sources" : [
        "CGRectInsetsTests.swift",
        "CGSizeAdjustedTests.swift",
        "EdgeInsetsHelperTests.swift"
      ],
      "target_dependencies" : [
        "SnapFoundation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnapFoundation",
      "module_type" : "SwiftTarget",
      "name" : "SnapFoundation",
      "path" : "Sources/SnapFoundation",
      "product_memberships" : [
        "SnapFoundation"
      ],
      "sources" : [
        "CoreFoundation/CGSize+Adjusted.swift",
        "OSLog+Logger.swift",
        "ProcessInfo+isPreview.swift",
        "SwiftUI+UIKit/AnyInsettableShape.swift",
        "SwiftUI+UIKit/CGRect+Inset.swift",
        "SwiftUI+UIKit/EdgeInsets+Helper.swift",
        "SwiftUI+UIKit/Font.Design+UIFont.Design.swift",
        "SwiftUI+UIKit/Font.Weight+UIFont.Weight.swift",
        "SwiftUI+UIKit/Font.Width+UIFont.Width.swift",
        "SwiftUI+UIKit/FontDesign+CaseIterable.swift",
        "SwiftUI+UIKit/FontDesign+Description.swift",
        "SwiftUI+UIKit/FontWidth+CaseIterable.swift",
        "SwiftUI+UIKit/FontWidth+Description.swift",
        "SwiftUI+UIKit/View+ColorScheme.swift",
        "SwiftUI+UIKit/ViewModifierConditional.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
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