Hello, your package looks very promising compared to Go-Polars.
I'm trying to build it from source inside a docker container based on debian:12.11, but I encounter the following error during the first build step:
bazel build //rust:all
Starting local Bazel server (8.4.2) and connecting to it...
INFO: Invocation ID: 2208d89b-4d2c-4536-ac25-7b5a4472b9d4
WARNING: For repository 'rules_cc', the root module requires module version rules_cc@0.0.9, but got rules_cc@0.1.1 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'platforms', the root module requires module version platforms@0.0.8, but got platforms@0.0.11 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
ERROR: Traceback (most recent call last):
File "/workspaces/LogView-UI/src/backend/firn/rust/BUILD.bazel", line 28, column 16, in <toplevel>
srcs = glob([
Error in glob: glob pattern 'Cargo.lock' didn't match anything, but allow_empty is set to False (the default value of allow_empty can be set with --incompatible_disallow_empty_glob).
ERROR: package contains errors: rust: Traceback (most recent call last):
File "/workspaces/LogView-UI/src/backend/firn/rust/BUILD.bazel", line 28, column 16, in <toplevel>
srcs = glob([
Error in glob: glob pattern 'Cargo.lock' didn't match anything, but allow_empty is set to False (the default value of allow_empty can be set with --incompatible_disallow_empty_glob).
WARNING: Target pattern parsing failed.
ERROR: Skipping '//rust:all': Error evaluating '//rust:all': error loading package 'rust': Package 'rust' contains errors
ERROR: Error evaluating '//rust:all': error loading package 'rust': Package 'rust' contains errors
INFO: Elapsed time: 6.326s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
I installed bazel using the following commands:
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor | tee /usr/share/keyrings/bazel-archive-keyring.gpg > /dev/null
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
apt-get update && apt-get install -y bazel
Then I installed Rust with the standard setup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
and set the toolchain to nightly:
rustup toolchain install nightly
rustup override set nightly
I’m new to Rust and Bazel, so I’d really appreciate any guidance on how to properly configure the environment and build this package for use in Go.
If you need any additional information about my build environment, I’ll be happy to provide it.
Hello, your package looks very promising compared to Go-Polars.
I'm trying to build it from source inside a docker container based on
debian:12.11, but I encounter the following error during the first build step:I installed bazel using the following commands:
Then I installed Rust with the standard setup:
and set the toolchain to nightly:
rustup toolchain install nightly rustup override set nightlyI’m new to Rust and Bazel, so I’d really appreciate any guidance on how to properly configure the environment and build this package for use in Go.
If you need any additional information about my build environment, I’ll be happy to provide it.