Debian 13 trixie
installed Rust no errors
cargo 1.96.0 (30a34c682 2026-05-25)
rustc 1.96.0 (ac68faa20 2026-05-25)
then
cargo install --git The Tor Project / Core / oniux · GitLab
Got:
Compiling oniux v0.11.0 (/home/rab/.cargo/git/checkouts/oniux-a37b67fa6132af61/f98d8f5)
error[E0308]: mismatched types
→ src/main.rs:202:17
|
201 | tasks.spawn(arti::proxy::run_proxy_with_listeners(
| ------------------------------------- arguments to this function are incorrect
202 | tunnel.get_tor_client(),
| ^^^^^^^^^^^^^^^^^^^^^^^ expectedArc<TorClient<_>>, foundTorClient<...>
|
= note: expected structArc<arti_client::client::TorClient<_>>
found structTorClient<CompoundRuntime<..., ..., ..., ..., ..., ..., ...>>
note: function defined here
→ /home/rab/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arti-2.4.0/src/proxy.rs:479:21
|
479 | pub(crate) async fn run_proxy_with_listeners<R: Runtime>(
| ^^^^^^^^^^^^^^^^^^^^^^^^
= note: the full name for the type has been written to ‘/tmp/cargo-installq0q0w2/release/deps/oniux-f83deca14bdd0d46.long-type-15514964516267219815.txt’
= note: consider using--verboseto print the full type name to the consoleFor more information about this error, try
rustc --explain E0308.
error: could not compileoniux(bin “oniux”) due to 1 previous error
error: failed to compileoniux v0.11.0 (The Tor Project / Core / oniux · GitLab), intermediate artifacts can be found at/tmp/cargo-installq0q0w2.
To reuse those artifacts with a future compilation, set the environment variableCARGO_BUILD_BUILD_DIRto that path.
sorry not a programmer, but seems a variable was expecting something and got something else.