First of all, I installed protobuf-compiler (dnf install protobuf-compiler) that was the first error, second error is that somehow it is missing those proto files when I try to install:
$ cargo install all-smi
Updating crates.io index
Installing all-smi v0.17.5
Updating crates.io index
Locking 439 packages to latest compatible versions
error: failed to run custom build command for `all-smi v0.17.5`
Caused by:
process didn't exit successfully: `/tmp/cargo-installIOx35H/release/build/all-smi-45f9361fab2fc8d7/build-script-build` (exit status: 1)
--- stderr
Error: Custom { kind: Other, error: "protoc failed: google/protobuf/timestamp.proto: File not found.\ntpu_metric_service.proto:19:1: Import \"google/protobuf/timestamp.proto\" was not found or had errors.\ntpu_metric_service.proto:29:3: \"google.protobuf.Timestamp\" is not defined.\ntpu_metric_service.proto:147:3: \"google.protobuf.Timestamp\" is not defined.\ntpu_metric_service.proto:148:3: \"google.protobuf.Timestamp\" is not defined.\n" }
warning: build failed, waiting for other jobs to finish...
error: failed to compile `all-smi v0.17.5`, intermediate artifacts can be found at `/tmp/cargo-installIOx35H`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
$ rustup check
stable-x86_64-unknown-linux-gnu - up to date: 1.94.1 (e408947bf 2026-03-25)
nightly-x86_64-unknown-linux-gnu - up to date: 1.96.0-nightly (e0e95a718 2026-04-04)
rustup - up to date : 1.29.0
First of all, I installed protobuf-compiler (
dnf install protobuf-compiler) that was the first error, second error is that somehow it is missing those proto files when I try to install:$ cargo install all-smi Updating crates.io index Installing all-smi v0.17.5 Updating crates.io index Locking 439 packages to latest compatible versions error: failed to run custom build command for `all-smi v0.17.5` Caused by: process didn't exit successfully: `/tmp/cargo-installIOx35H/release/build/all-smi-45f9361fab2fc8d7/build-script-build` (exit status: 1) --- stderr Error: Custom { kind: Other, error: "protoc failed: google/protobuf/timestamp.proto: File not found.\ntpu_metric_service.proto:19:1: Import \"google/protobuf/timestamp.proto\" was not found or had errors.\ntpu_metric_service.proto:29:3: \"google.protobuf.Timestamp\" is not defined.\ntpu_metric_service.proto:147:3: \"google.protobuf.Timestamp\" is not defined.\ntpu_metric_service.proto:148:3: \"google.protobuf.Timestamp\" is not defined.\n" } warning: build failed, waiting for other jobs to finish... error: failed to compile `all-smi v0.17.5`, intermediate artifacts can be found at `/tmp/cargo-installIOx35H`. To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path. $ rustup check stable-x86_64-unknown-linux-gnu - up to date: 1.94.1 (e408947bf 2026-03-25) nightly-x86_64-unknown-linux-gnu - up to date: 1.96.0-nightly (e0e95a718 2026-04-04) rustup - up to date : 1.29.0