tribuchet: building on eliza Running phase: unpackPhase unpacking source archive /nix/store/4r3b4iq452v71qr71fz3kn9qkjbdbwc6-source source root is source Running phase: patchPhase Executing configureCargoCommonVars decompressing cargo artifacts from /nix/store/n15lyl7bsiiv4vkjp5jri46d8gvnc791-harmonia-deps-3.2.0/target.tar.zst to target Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase will append /build/source/.cargo-home/config.toml with contents of /nix/store/3a8wcgir2044ik5d7q5wzjdn48wwwhq9-vendor-cargo-deps/config.toml default configurePhase, nothing to do Running phase: buildPhase +++ command cargo --version cargo 1.97.0 (c980f4866 2026-06-30) +++ command cargo clippy --release --locked --all-targets --all-features -- -D warnings Checking harmonia-utils-base-encoding v0.0.0-alpha.0 (/build/source/harmonia-utils-base-encoding) Checking harmonia-file-core v3.2.0 (/build/source/harmonia-file-core) Checking harmonia-utils-test v0.0.0-alpha.0 (/build/source/harmonia-utils-test) Compiling harmonia-protocol-derive v3.2.0 (/build/source/harmonia-protocol-derive) Checking harmonia-client v3.2.0 (/build/source/harmonia-client) Checking harmonia-ssh-store v3.2.0 (/build/source/harmonia-ssh-store) Checking harmonia-utils-hash v0.0.0-alpha.0 (/build/source/harmonia-utils-hash) Checking harmonia-utils-signature v3.2.0 (/build/source/harmonia-utils-signature) Checking harmonia-store-path v3.2.0 (/build/source/harmonia-store-path) Checking harmonia-utils-io v0.0.0-alpha.0 (/build/source/harmonia-utils-io) Checking harmonia-store-content-address v3.2.0 (/build/source/harmonia-store-content-address) Checking harmonia-store-fs v3.2.0 (/build/source/harmonia-store-fs) Checking harmonia-store-ref-scan v0.0.0-alpha.0 (/build/source/harmonia-store-ref-scan) Checking harmonia-bench v3.2.0 (/build/source/harmonia-bench) Checking harmonia-file-nar v3.2.0 (/build/source/harmonia-file-nar) Checking harmonia-store-derivation v0.0.0-alpha.0 (/build/source/harmonia-store-derivation) Checking harmonia-store-path-info v3.2.0 (/build/source/harmonia-store-path-info) Checking harmonia-store-nar-info v3.2.0 (/build/source/harmonia-store-nar-info) Checking harmonia-store-db v3.2.0 (/build/source/harmonia-store-db) Checking harmonia-store-aterm v0.0.0-alpha.0 (/build/source/harmonia-store-aterm) Checking harmonia-store-build-result v3.2.0 (/build/source/harmonia-store-build-result) Checking harmonia-store-gc v3.2.0 (/build/source/harmonia-store-gc) Checking harmonia-protocol v3.2.0 (/build/source/harmonia-protocol) Checking harmonia-cache v3.2.0 (/build/source/harmonia-cache) error: unused import: `Rng` --> harmonia-store-gc/src/gc_socket/stress_tests.rs:24:12 | 24 | use rand::{Rng, SeedableRng}; | ^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]` error[E0599]: no method named `random_bool` found for mutable reference `&mut rand::prelude::StdRng` in the current scope --> harmonia-store-gc/src/gc_socket/stress_tests.rs:44:20 | 44 | if rng.random_bool(0.25) { | ^^^^^^^^^^^ | = help: items from traits can only be used if the trait is in scope help: there is a method `random` with a similar name, but with different arguments --> /nix/store/3a8wcgir2044ik5d7q5wzjdn48wwwhq9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:93:5 | 93 | / fn random(&mut self) -> T 94 | | where 95 | | StandardUniform: Distribution, | |_________________________________________^ help: trait `RngExt` which provides `random_bool` is implemented but not in scope; perhaps you want to import it | 15 + use rand::RngExt; | error[E0599]: no method named `random_range` found for struct `rand::prelude::StdRng` in the current scope --> harmonia-store-gc/src/gc_socket/stress_tests.rs:74:23 | 74 | .take(rng.random_range(1..=4)) | ^^^^^^^^^^^^ | ::: /nix/store/3a8wcgir2044ik5d7q5wzjdn48wwwhq9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:163:8 | 163 | fn random_range(&mut self, range: R) -> T | ------------ the method is available for `rand::prelude::StdRng` here | = help: items from traits can only be used if the trait is in scope help: there is a method `random` with a similar name, but with different arguments --> /nix/store/3a8wcgir2044ik5d7q5wzjdn48wwwhq9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:93:5 | 93 | / fn random(&mut self) -> T 94 | | where 95 | | StandardUniform: Distribution, | |_________________________________________^ help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it | 15 + use rand::RngExt; | error[E0599]: no method named `random_range` found for struct `rand::prelude::StdRng` in the current scope --> harmonia-store-gc/src/gc_socket/stress_tests.rs:119:28 | 119 | let root = all[rng.random_range(0..all.len())]; | ^^^^^^^^^^^^ | ::: /nix/store/3a8wcgir2044ik5d7q5wzjdn48wwwhq9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:163:8 | 163 | fn random_range(&mut self, range: R) -> T | ------------ the method is available for `rand::prelude::StdRng` here | = help: items from traits can only be used if the trait is in scope help: there is a method `random` with a similar name, but with different arguments --> /nix/store/3a8wcgir2044ik5d7q5wzjdn48wwwhq9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:93:5 | 93 | / fn random(&mut self) -> T 94 | | where 95 | | StandardUniform: Distribution, | |_________________________________________^ help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it | 15 + use rand::RngExt; | error[E0599]: no method named `random_range` found for struct `rand::prelude::StdRng` in the current scope --> harmonia-store-gc/src/gc_socket/stress_tests.rs:140:17 | 140 | let n = rng.random_range(4..44); | ^^^^^^^^^^^^ | ::: /nix/store/3a8wcgir2044ik5d7q5wzjdn48wwwhq9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:163:8 | 163 | fn random_range(&mut self, range: R) -> T | ------------ the method is available for `rand::prelude::StdRng` here | = help: items from traits can only be used if the trait is in scope help: there is a method `random` with a similar name, but with different arguments --> /nix/store/3a8wcgir2044ik5d7q5wzjdn48wwwhq9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:93:5 | 93 | / fn random(&mut self) -> T 94 | | where 95 | | StandardUniform: Distribution, | |_________________________________________^ help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it | 15 + use rand::RngExt; | For more information about this error, try `rustc --explain E0599`. error: could not compile `harmonia-store-gc` (lib test) due to 5 previous errors warning: build failed, waiting for other jobs to finish...