Build Information
Successful build of LLamaSwift, reference 0.1.3 (887a13
), with Swift 6.0 for Linux on 6 Nov 2024 16:17:39 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.56.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-4606859-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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
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/124566] Fetching llama.cpp
Fetched https://github.com/ggerganov/llama.cpp from cache (27.51s)
Fetching https://github.com/apple/swift-log.git
[1/3671] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.35s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.41s)
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 (b11f9ba)
Building for debugging...
[0/15] Compiling ggml-alloc.c
[1/15] Compiling ggml-backend.cpp
[2/15] Compiling unicode-data.cpp
[3/15] Compiling llama-vocab.cpp
[4/15] Compiling llama-sampling.cpp
[5/15] Compiling llama-grammar.cpp
[6/15] Write sources
[8/15] Compiling ggml-aarch64.c
[9/15] Compiling ggml.c
[10/15] Compiling ggml-quants.c
[10/15] Write swift-version-24593BA9C3E375BF.txt
[13/20] Emitting module Logging
[13/20] Compiling unicode.cpp
[14/20] Compiling ggml-cpu.c
[16/20] Compiling Logging Logging.swift
[17/20] Compiling Logging LogHandler.swift
[18/20] Compiling Logging MetadataProvider.swift
[19/20] Compiling Logging Locks.swift
[20/21] Compiling llama.cpp
[22/27] 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 |
[23/27] Emitting module LLamaSwift
/host/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:23:44: warning: 'llama_sampler_init_softmax()' is deprecated: will be removed in the future (see https://github.com/ggerganov/llama.cpp/pull/9896#discussion_r1800920915)
21 | self.sampling = llama_sampler_chain_init(sparams)
22 | llama_sampler_chain_add(self.sampling, llama_sampler_init_temp(0.8))
23 | llama_sampler_chain_add(self.sampling, llama_sampler_init_softmax())
| `- warning: 'llama_sampler_init_softmax()' is deprecated: will be removed in the future (see https://github.com/ggerganov/llama.cpp/pull/9896#discussion_r1800920915)
24 | llama_sampler_chain_add(self.sampling, llama_sampler_init_dist(1234))
25 | }
[24/27] Compiling LLamaSwift Model.swift
[25/27] Compiling LLamaSwift InitializationError.swift
[26/27] Compiling LLamaSwift LLama.swift
/host/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:23:44: warning: 'llama_sampler_init_softmax()' is deprecated: will be removed in the future (see https://github.com/ggerganov/llama.cpp/pull/9896#discussion_r1800920915)
21 | self.sampling = llama_sampler_chain_init(sparams)
22 | llama_sampler_chain_add(self.sampling, llama_sampler_init_temp(0.8))
23 | llama_sampler_chain_add(self.sampling, llama_sampler_init_softmax())
| `- warning: 'llama_sampler_init_softmax()' is deprecated: will be removed in the future (see https://github.com/ggerganov/llama.cpp/pull/9896#discussion_r1800920915)
24 | llama_sampler_chain_add(self.sampling, llama_sampler_init_dist(1234))
25 | }
[27/27] Compiling LLamaSwift Logger+LLama.swift
Build complete! (83.27s)
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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.