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 swiftly, reference main (20ceb4), with Swift 6.1 for Linux on 13 Dec 2025 07:28:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/swiftlang/swiftly.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/swiftlang/swiftly
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 20ceb47 Ensure the macOS SDK exists at install time (#480)
Cloned https://github.com/swiftlang/swiftly.git
Revision (git rev-parse @):
20ceb4748fd55a7e0574cf426b70f978a2636418
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swiftly.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swiftlang/swiftly.git
https://github.com/swiftlang/swiftly.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "async-http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.24.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/async-http-client"
    },
    {
      "identity" : "swift-openapi-async-http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-openapi-async-http-client"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.80.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.7.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-openapi-generator",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-generator"
    },
    {
      "identity" : "swift-openapi-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-runtime"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-subprocess",
      "requirement" : {
        "exact" : [
          "0.2.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-subprocess"
    },
    {
      "identity" : "swiftformat",
      "requirement" : {
        "exact" : [
          "0.49.18"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat"
    }
  ],
  "manifest_display_name" : "swiftly",
  "name" : "swiftly",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "swiftly",
      "targets" : [
        "Swiftly"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "test-swiftly",
      "targets" : [
        "TestSwiftly"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "generate-docs-reference",
      "targets" : [
        "generate-docs-reference"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "generate-command-models",
      "targets" : [
        "generate-command-models"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "build-swiftly-release",
      "targets" : [
        "build-swiftly-release"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "generate_docs_reference",
      "module_type" : "SwiftTarget",
      "name" : "generate-docs-reference",
      "path" : "Tools/generate-docs-reference",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "generate-docs-reference"
      ],
      "sources" : [
        "Extensions/Process+SimpleAPI.swift",
        "GenerateDocsReference.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "generate_command_models",
      "module_type" : "SwiftTarget",
      "name" : "generate-command-models",
      "path" : "Tools/generate-command-models",
      "product_dependencies" : [
        "ArgumentParser",
        "SystemPackage"
      ],
      "product_memberships" : [
        "swiftly",
        "test-swiftly",
        "generate-command-models",
        "build-swiftly-release"
      ],
      "sources" : [
        "GenerateCommandModels.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "build_swiftly_release",
      "module_type" : "SwiftTarget",
      "name" : "build-swiftly-release",
      "path" : "Tools/build-swiftly-release",
      "product_dependencies" : [
        "ArgumentParser",
        "_NIOFileSystem"
      ],
      "product_memberships" : [
        "build-swiftly-release"
      ],
      "sources" : [
        "BuildSwiftlyRelease.swift"
      ],
      "target_dependencies" : [
        "SwiftlyCore",
        "LinuxPlatform",
        "MacOSPlatform"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "TestSwiftly",
      "module_type" : "SwiftTarget",
      "name" : "TestSwiftly",
      "path" : "Sources/TestSwiftly",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "test-swiftly"
      ],
      "sources" : [
        "TestSwiftly.swift"
      ],
      "target_dependencies" : [
        "SwiftlyCore",
        "LinuxPlatform",
        "MacOSPlatform"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftlyWebsiteAPI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftlyWebsiteAPI",
      "path" : "Sources/SwiftlyWebsiteAPI",
      "product_dependencies" : [
        "OpenAPIRuntime",
        "OpenAPIGenerator"
      ],
      "product_memberships" : [
        "swiftly",
        "test-swiftly",
        "build-swiftly-release"
      ],
      "sources" : [
        "Servers+Extensions.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftlyTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftlyTests",
      "path" : "Tests/SwiftlyTests",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SwiftlyTests/mock-signing-key-private.pgp",
          "rule" : {
            "embed_in_code" : {
            }
          }
        }
      ],
      "sources" : [
        "CommandLineTests.swift",
        "FileLockTests.swift",
        "HTTPClientTests.swift",
        "InitTests.swift",
        "InstallTests.swift",
        "JsonFileProgressReporterTests.swift",
        "LinkTests.swift",
        "ListTests.swift",
        "OutputSchemaTests.swift",
        "PlatformTests.swift",
        "RunTests.swift",
        "SelfUninstallTests.swift",
        "SelfUpdateTests.swift",
        "StringExtensionsTests.swift",
        "SubcommandParsingTests.swift",
        "SwiftlyCoreTests.swift",
        "SwiftlyTests.swift",
        "ToolchainSelectorTests.swift",
        "UninstallTests.swift",
        "UnlinkTests.swift",
        "UpdateTests.swift",
        "UseTests.swift"
      ],
      "target_dependencies" : [
        "Swiftly"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftlyDownloadAPI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftlyDownloadAPI",
      "path" : "Sources/SwiftlyDownloadAPI",
      "product_dependencies" : [
        "OpenAPIRuntime",
        "OpenAPIGenerator"
      ],
      "product_memberships" : [
        "swiftly",
        "test-swiftly",
        "build-swiftly-release"
      ],
      "sources" : [
        "Servers+Extensions.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftlyDocs",
      "module_type" : "SwiftTarget",
      "name" : "SwiftlyDocs",
      "path" : "Documentation",
      "sources" : [
        "EmptyFile.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftlyCore",
      "module_type" : "SwiftTarget",
      "name" : "SwiftlyCore",
      "path" : "Sources/SwiftlyCore",
      "product_dependencies" : [
        "AsyncHTTPClient",
        "NIOFoundationCompat",
        "OpenAPIRuntime",
        "OpenAPIAsyncHTTPClient",
        "SystemPackage",
        "Subprocess"
      ],
      "product_memberships" : [
        "swiftly",
        "test-swiftly",
        "build-swiftly-release"
      ],
      "sources" : [
        "Commands+Runnable+Output.swift",
        "Error.swift",
        "FileLock.swift",
        "FileManager+FilePath.swift",
        "HTTPClient.swift",
        "Messages.swift",
        "ModeledCommandLine.swift",
        "OutputFormatter.swift",
        "Platform+Process.swift",
        "Platform.swift",
        "ProcessInfo.swift",
        "StringExtensions.swift",
        "SwiftlyCore.swift",
        "SwiftlyVersion.swift",
        "Terminal.swift",
        "ToolchainVersion.swift"
      ],
      "target_dependencies" : [
        "SwiftlyDownloadAPI",
        "SwiftlyWebsiteAPI",
        "GenerateCommandModels"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Swiftly",
      "module_type" : "SwiftTarget",
      "name" : "Swiftly",
      "path" : "Sources/Swiftly",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftToolsSupport-auto",
        "SystemPackage"
      ],
      "product_memberships" : [
        "swiftly"
      ],
      "sources" : [
        "Config.swift",
        "Init.swift",
        "Install.swift",
        "Link.swift",
        "List.swift",
        "ListAvailable.swift",
        "OutputSchema.swift",
        "ProgressReporter.swift",
        "Proxy.swift",
        "Run.swift",
        "SelfUninstall.swift",
        "SelfUpdate.swift",
        "Swiftly.swift",
        "Uninstall.swift",
        "Unlink.swift",
        "Update.swift",
        "Use.swift"
      ],
      "target_dependencies" : [
        "SwiftlyCore",
        "LinuxPlatform",
        "MacOSPlatform"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MacOSPlatform",
      "module_type" : "SwiftTarget",
      "name" : "MacOSPlatform",
      "path" : "Sources/MacOSPlatform",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "swiftly",
        "test-swiftly",
        "build-swiftly-release"
      ],
      "sources" : [
        "MacOS.swift"
      ],
      "target_dependencies" : [
        "SwiftlyCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LinuxPlatform",
      "module_type" : "SwiftTarget",
      "name" : "LinuxPlatform",
      "path" : "Sources/LinuxPlatform",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "swiftly",
        "test-swiftly",
        "build-swiftly-release"
      ],
      "sources" : [
        "Extract.swift",
        "Linux.swift"
      ],
      "target_dependencies" : [
        "SwiftlyCore",
        "CLibArchive"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GenerateDocsReference",
      "module_type" : "PluginTarget",
      "name" : "GenerateDocsReference",
      "path" : "Plugins/GenerateDocsReference",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate a documentation reference for swiftly.",
          "type" : "custom",
          "verb" : "generate-docs-reference"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "This command generates documentation.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "sources" : [
        "GenerateDocsReference.swift",
        "GenerateDocsReferenceError.swift",
        "PackagePlugin+Helpers.swift"
      ],
      "target_dependencies" : [
        "generate-docs-reference"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "GenerateCommandModels",
      "module_type" : "PluginTarget",
      "name" : "GenerateCommandModels",
      "path" : "Plugins/GenerateCommandModels",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "swiftly",
        "test-swiftly",
        "build-swiftly-release"
      ],
      "sources" : [
        "plugin.swift"
      ],
      "target_dependencies" : [
        "generate-command-models"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "CLibArchive",
      "module_type" : "SystemLibraryTarget",
      "name" : "CLibArchive",
      "path" : "Sources/CLibArchive",
      "product_memberships" : [
        "swiftly",
        "test-swiftly",
        "build-swiftly-release"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "6.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:7a52ddccc7ba366c24bb516637054305dd0c5fa0b57dff9877b95decd3e21586
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-4609320-1":/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:7a52ddccc7ba366c24bb516637054305dd0c5fa0b57dff9877b95decd3e21586
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