The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftLlama, reference v0.4.0 (469310), with Swift 6.1 for Linux on 30 Jul 2025 09:28:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/SwiftLlama.git
Reference: v0.4.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/ShenghaiWang/SwiftLlama
 * tag               v0.4.0     -> FETCH_HEAD
HEAD is now at 4693100 Use precompiled framework
Cloned https://github.com/ShenghaiWang/SwiftLlama.git
Revision (git rev-parse @):
469310012506c307f3f6800d9c5f31e670ff068d
SUCCESS checkout https://github.com/ShenghaiWang/SwiftLlama.git at v0.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ShenghaiWang/SwiftLlama.git
https://github.com/ShenghaiWang/SwiftLlama.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "llama.cpp",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ggerganov/llama.cpp.git"
    }
  ],
  "manifest_display_name" : "SwiftLlama",
  "name" : "SwiftLlama",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "18.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftLlama",
      "targets" : [
        "SwiftLlama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftLlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLlamaTests",
      "path" : "Tests/SwiftLlamaTests",
      "sources" : [
        "SwiftLlamaTests.swift"
      ],
      "target_dependencies" : [
        "SwiftLlama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftLlama",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLlama",
      "path" : "Sources/SwiftLlama",
      "product_memberships" : [
        "SwiftLlama"
      ],
      "sources" : [
        "LlamaModel.swift",
        "Models/Batch.swift",
        "Models/Chat.swift",
        "Models/Configuration.swift",
        "Models/Prompt.swift",
        "Models/Session.swift",
        "Models/StopToken.swift",
        "Models/SwiftLlamaError.swift",
        "Models/TypeAlias.swift",
        "Swiftllama.swift",
        "SwiftllamaActor.swift"
      ],
      "target_dependencies" : [
        "LlamaFramework"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LlamaFramework",
      "module_type" : "BinaryTarget",
      "name" : "LlamaFramework",
      "path" : "remote/archive/llama-b5046-xcframework.zip",
      "product_memberships" : [
        "SwiftLlama"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/ggerganov/llama.cpp.git
[1/204354] Fetching llama.cpp
Fetched https://github.com/ggerganov/llama.cpp.git from cache (55.69s)
error: the package manifest at '/Package.swift' cannot be accessed (/Package.swift doesn't exist in file system) in https://github.com/ggerganov/llama.cpp.git
error: 'spi-builder-workspace': binary target 'LlamaFramework' could not be mapped to an artifact with expected name 'LlamaFramework'
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Updating https://github.com/ggerganov/llama.cpp.git
Updated https://github.com/ggerganov/llama.cpp.git (0.69s)
error: the package manifest at '/Package.swift' cannot be accessed (/Package.swift doesn't exist in file system) in https://github.com/ggerganov/llama.cpp.git
error: 'spi-builder-workspace': binary target 'LlamaFramework' could not be mapped to an artifact with expected name 'LlamaFramework'
BUILD FAILURE 6.1 linux