The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of LLamaSwift, reference 0.1.3 (887a13), with Swift 6.0 for Linux on 15 Oct 2024 17:22:17 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/srgtuszy/llama-cpp-swift.git
Reference: 0.1.3
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/srgtuszy/llama-cpp-swift
 * tag               0.1.3      -> FETCH_HEAD
HEAD is now at 887a132 Removed custom derived data path from `xcodebuild` invocations
Cloned https://github.com/srgtuszy/llama-cpp-swift.git
Revision (git rev-parse @):
887a132c8746ae650e0c547d4a8efab0b5a3e010
SUCCESS checkout https://github.com/srgtuszy/llama-cpp-swift.git at 0.1.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/srgtuszy/llama-cpp-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/ggerganov/llama.cpp
[1/120359] Fetching llama.cpp
Fetched https://github.com/ggerganov/llama.cpp from cache (20.29s)
Fetching https://github.com/apple/swift-log.git
[1/3623] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.30s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.37s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/ggerganov/llama.cpp
Working copy of https://github.com/ggerganov/llama.cpp resolved at master (a89f75e)
Building for debugging...
[0/14] Compiling ggml-alloc.c
[1/14] Compiling ggml-aarch64.c
[2/14] Compiling ggml-backend.cpp
[3/14] Compiling unicode-data.cpp
[4/14] Compiling llama-sampling.cpp
[5/14] Write sources
[7/14] Compiling llama-vocab.cpp
[8/14] Compiling llama-grammar.cpp
[9/14] Write swift-version-24593BA9C3E375BF.txt
[10/14] Compiling ggml-quants.c
[11/19] Compiling unicode.cpp
[13/19] Compiling Logging MetadataProvider.swift
[14/19] Compiling Logging Locks.swift
[15/19] Compiling Logging LogHandler.swift
[16/19] Emitting module Logging
[17/19] Compiling Logging Logging.swift
[18/20] Compiling ggml.c
[19/20] Compiling llama.cpp
[21/26] Compiling LLamaSwift Model.swift
[22/26] Compiling LLamaSwift Logger+LLama.swift
[23/26] Emitting module LLamaSwift
[24/26] Compiling LLamaSwift InitializationError.swift
[25/26] Compiling LLamaSwift LLama.swift
[26/26] Compiling LLamaSwift InferError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/llama.cpp/spm-headers/llama.h"
  |          `- note: in file included from <module-includes>:1:
2 |
Build complete! (58.48s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "llama.cpp",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ggerganov/llama.cpp"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "LLamaSwift",
  "name" : "LLamaSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "LLamaSwift",
      "targets" : [
        "LLamaSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "llama_cpp_swiftTests",
      "module_type" : "SwiftTarget",
      "name" : "llama-cpp-swiftTests",
      "path" : "Tests/llama-cpp-swiftTests",
      "sources" : [
        "llama_cpp_swiftTests.swift"
      ],
      "target_dependencies" : [
        "LLamaSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LLamaSwift",
      "module_type" : "SwiftTarget",
      "name" : "LLamaSwift",
      "path" : "Sources",
      "product_dependencies" : [
        "llama",
        "Logging"
      ],
      "product_memberships" : [
        "LLamaSwift"
      ],
      "sources" : [
        "llama-cpp-swift/InferError.swift",
        "llama-cpp-swift/InitializationError.swift",
        "llama-cpp-swift/LLama.swift",
        "llama-cpp-swift/Logger+LLama.swift",
        "llama-cpp-swift/Model.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:b1f5b321a5d74ef5eaf6f5f3afbfebaaa54c7954de6f859009c18a90e0e1c3b4
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.