nixbot

builds

failed harmonia-llvm-cov-3.2.0 checks.x86_64-linux.tests · build #492 · raw

1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/4r3b4iq452v71qr71fz3kn9qkjbdbwc6-source3source root is source
patchPhase
4Executing configureCargoCommonVars5decompressing cargo artifacts from /nix/store/rsa3j3f2fa9hb0f13m1zx99bl5c3qmy1-harmonia-deps-3.2.0/target.tar.zst to target
configurePhase
6will append /build/source/.cargo-home/config.toml with contents of /nix/store/x1nl23z0f1hz2nh9s12nhw9s99ni132r-vendor-cargo-deps/config.toml7default configurePhase, nothing to do
buildPhase
8+++ command cargo --version9cargo 1.97.0 (c980f4866 2026-06-30)10+++ command cargo build --workspace11 Compiling harmonia-utils-base-encoding v0.0.0-alpha.0 (/build/source/harmonia-utils-base-encoding)12 Compiling harmonia-file-core v3.2.0 (/build/source/harmonia-file-core)13 Compiling harmonia-protocol-derive v3.2.0 (/build/source/harmonia-protocol-derive)14 Compiling harmonia-client v3.2.0 (/build/source/harmonia-client)15 Compiling harmonia-ssh-store v3.2.0 (/build/source/harmonia-ssh-store)16 Compiling harmonia-utils-test v0.0.0-alpha.0 (/build/source/harmonia-utils-test)17 Compiling harmonia-utils-hash v0.0.0-alpha.0 (/build/source/harmonia-utils-hash)18 Compiling harmonia-utils-signature v3.2.0 (/build/source/harmonia-utils-signature)19 Compiling harmonia-store-path v3.2.0 (/build/source/harmonia-store-path)20 Compiling harmonia-utils-io v0.0.0-alpha.0 (/build/source/harmonia-utils-io)21 Compiling harmonia-store-content-address v3.2.0 (/build/source/harmonia-store-content-address)22 Compiling harmonia-store-fs v3.2.0 (/build/source/harmonia-store-fs)23 Compiling harmonia-store-ref-scan v0.0.0-alpha.0 (/build/source/harmonia-store-ref-scan)24 Compiling harmonia-file-nar v3.2.0 (/build/source/harmonia-file-nar)25 Compiling harmonia-store-derivation v0.0.0-alpha.0 (/build/source/harmonia-store-derivation)26 Compiling harmonia-store-path-info v3.2.0 (/build/source/harmonia-store-path-info)27 Compiling harmonia-store-nar-info v3.2.0 (/build/source/harmonia-store-nar-info)28 Compiling harmonia-store-db v3.2.0 (/build/source/harmonia-store-db)29 Compiling harmonia-store-aterm v0.0.0-alpha.0 (/build/source/harmonia-store-aterm)30 Compiling harmonia-store-build-result v3.2.0 (/build/source/harmonia-store-build-result)31 Compiling harmonia-protocol v3.2.0 (/build/source/harmonia-protocol)32 Compiling harmonia-store-gc v3.2.0 (/build/source/harmonia-store-gc)33 Compiling harmonia-cache v3.2.0 (/build/source/harmonia-cache)34 Compiling harmonia-daemon v3.2.0 (/build/source/harmonia-daemon)35 Compiling harmonia-store-remote v3.2.0 (/build/source/harmonia-store-remote)36 Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.40s37+++ command cargo nextest run --workspace38 Compiling harmonia-utils-hash v0.0.0-alpha.0 (/build/source/harmonia-utils-hash)39 Compiling harmonia-utils-test v0.0.0-alpha.0 (/build/source/harmonia-utils-test)40 Compiling harmonia-utils-signature v3.2.0 (/build/source/harmonia-utils-signature)41 Compiling harmonia-protocol-derive v3.2.0 (/build/source/harmonia-protocol-derive)42 Compiling harmonia-utils-base-encoding v0.0.0-alpha.0 (/build/source/harmonia-utils-base-encoding)43 Compiling harmonia-client v3.2.0 (/build/source/harmonia-client)44 Compiling harmonia-ssh-store v3.2.0 (/build/source/harmonia-ssh-store)45 Compiling harmonia-file-core v3.2.0 (/build/source/harmonia-file-core)46 Compiling harmonia-store-path v3.2.0 (/build/source/harmonia-store-path)47 Compiling harmonia-utils-io v0.0.0-alpha.0 (/build/source/harmonia-utils-io)48 Compiling harmonia-store-content-address v3.2.0 (/build/source/harmonia-store-content-address)49 Compiling harmonia-store-fs v3.2.0 (/build/source/harmonia-store-fs)50 Compiling harmonia-store-ref-scan v0.0.0-alpha.0 (/build/source/harmonia-store-ref-scan)51 Compiling harmonia-file-nar v3.2.0 (/build/source/harmonia-file-nar)52 Compiling harmonia-store-derivation v0.0.0-alpha.0 (/build/source/harmonia-store-derivation)53 Compiling harmonia-store-path-info v3.2.0 (/build/source/harmonia-store-path-info)54 Compiling harmonia-store-nar-info v3.2.0 (/build/source/harmonia-store-nar-info)55 Compiling harmonia-store-db v3.2.0 (/build/source/harmonia-store-db)56 Compiling harmonia-store-aterm v0.0.0-alpha.0 (/build/source/harmonia-store-aterm)57 Compiling harmonia-store-build-result v3.2.0 (/build/source/harmonia-store-build-result)58 Compiling harmonia-protocol v3.2.0 (/build/source/harmonia-protocol)59 Compiling harmonia-store-gc v3.2.0 (/build/source/harmonia-store-gc)60 Compiling harmonia-cache v3.2.0 (/build/source/harmonia-cache)61warning: unused import: `Rng`62 --> harmonia-store-gc/src/gc_socket/stress_tests.rs:24:1263 |6424 | use rand::{Rng, SeedableRng};65 | ^^^66 |67 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default6869error[E0599]: no method named `random_bool` found for mutable reference `&mut StdRng` in the current scope70 --> harmonia-store-gc/src/gc_socket/stress_tests.rs:44:2071 |7244 | if rng.random_bool(0.25) {73 | ^^^^^^^^^^^74 |75 = help: items from traits can only be used if the trait is in scope76help: there is a method `random` with a similar name, but with different arguments77 --> /nix/store/x1nl23z0f1hz2nh9s12nhw9s99ni132r-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:93:578 |7993 | / fn random<T>(&mut self) -> T8094 | | where8195 | | StandardUniform: Distribution<T>,82 | |_________________________________________^83help: trait `RngExt` which provides `random_bool` is implemented but not in scope; perhaps you want to import it84 |8515 + use rand::RngExt;86 |8788error[E0599]: no method named `random_range` found for struct `StdRng` in the current scope89 --> harmonia-store-gc/src/gc_socket/stress_tests.rs:74:2390 |91 74 | .take(rng.random_range(1..=4))92 | ^^^^^^^^^^^^93 |94 ::: /nix/store/x1nl23z0f1hz2nh9s12nhw9s99ni132r-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:163:895 |96163 | fn random_range<T, R>(&mut self, range: R) -> T97 | ------------ the method is available for `StdRng` here98 |99 = help: items from traits can only be used if the trait is in scope100help: there is a method `random` with a similar name, but with different arguments101 --> /nix/store/x1nl23z0f1hz2nh9s12nhw9s99ni132r-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:93:5102 |103 93 | / fn random<T>(&mut self) -> T104 94 | | where105 95 | | StandardUniform: Distribution<T>,106 | |_________________________________________^107help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it108 |109 15 + use rand::RngExt;110 |111112error[E0599]: no method named `random_range` found for struct `StdRng` in the current scope113 --> harmonia-store-gc/src/gc_socket/stress_tests.rs:119:28114 |115119 | let root = all[rng.random_range(0..all.len())];116 | ^^^^^^^^^^^^117 |118 ::: /nix/store/x1nl23z0f1hz2nh9s12nhw9s99ni132r-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:163:8119 |120163 | fn random_range<T, R>(&mut self, range: R) -> T121 | ------------ the method is available for `StdRng` here122 |123 = help: items from traits can only be used if the trait is in scope124help: there is a method `random` with a similar name, but with different arguments125 --> /nix/store/x1nl23z0f1hz2nh9s12nhw9s99ni132r-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:93:5126 |127 93 | / fn random<T>(&mut self) -> T128 94 | | where129 95 | | StandardUniform: Distribution<T>,130 | |_________________________________________^131help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it132 |133 15 + use rand::RngExt;134 |135136error[E0599]: no method named `random_range` found for struct `StdRng` in the current scope137 --> harmonia-store-gc/src/gc_socket/stress_tests.rs:140:17138 |139140 | let n = rng.random_range(4..44);140 | ^^^^^^^^^^^^141 |142 ::: /nix/store/x1nl23z0f1hz2nh9s12nhw9s99ni132r-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:163:8143 |144163 | fn random_range<T, R>(&mut self, range: R) -> T145 | ------------ the method is available for `StdRng` here146 |147 = help: items from traits can only be used if the trait is in scope148help: there is a method `random` with a similar name, but with different arguments149 --> /nix/store/x1nl23z0f1hz2nh9s12nhw9s99ni132r-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:93:5150 |151 93 | / fn random<T>(&mut self) -> T152 94 | | where153 95 | | StandardUniform: Distribution<T>,154 | |_________________________________________^155help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it156 |157 15 + use rand::RngExt;158 |159160For more information about this error, try `rustc --explain E0599`.161warning: `harmonia-store-gc` (lib test) generated 1 warning162error: could not compile `harmonia-store-gc` (lib test) due to 4 previous errors; 1 warning emitted163warning: build failed, waiting for other jobs to finish...164error: command `/nix/store/cavxgwfb7l7akyvvqvnl39d6nw0wckgh-cargo-1.97.1/bin/cargo test --no-run --message-format json-render-diagnostics --workspace` exited with code 101