nixbot

builds

failed harmonia-llvm-cov-3.2.0 checks.aarch64-darwin.tests · build #492 · raw

unpackPhase
1unpacking source archive /nix/store/4r3b4iq452v71qr71fz3kn9qkjbdbwc6-source2source root is source
patchPhase
3Executing configureCargoCommonVars4decompressing cargo artifacts from /nix/store/36s0m99j3smckdd8czf2bnicgwvcvwyn-harmonia-deps-3.2.0/target.tar.zst to target
configurePhase
5will append /nix/var/nix/builds/nix-61953-2114396403/source/.cargo-home/config.toml with contents of /nix/store/dpqyr8g1g3jwll4q9y8ld4gk5qch6mn9-vendor-cargo-deps/config.toml6default configurePhase, nothing to do
buildPhase
7+++ command cargo --version8cargo 1.97.0 (c980f4866 2026-06-30)9+++ command cargo build --workspace10 Compiling harmonia-utils-base-encoding v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-utils-base-encoding)11 Compiling harmonia-file-core v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-file-core)12 Compiling harmonia-protocol-derive v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-protocol-derive)13 Compiling harmonia-ssh-store v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-ssh-store)14 Compiling harmonia-client v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-client)15 Compiling harmonia-utils-test v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-utils-test)16 Compiling harmonia-utils-hash v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-utils-hash)17 Compiling harmonia-utils-signature v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-utils-signature)18 Compiling harmonia-store-path v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-path)19 Compiling harmonia-utils-io v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-utils-io)20 Compiling harmonia-store-content-address v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-content-address)21 Compiling harmonia-store-fs v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-fs)22 Compiling harmonia-store-ref-scan v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-ref-scan)23 Compiling harmonia-store-derivation v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-derivation)24 Compiling harmonia-store-path-info v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-path-info)25 Compiling harmonia-file-nar v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-file-nar)26 Compiling harmonia-store-nar-info v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-nar-info)27 Compiling harmonia-store-db v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-db)28 Compiling harmonia-store-aterm v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-aterm)29 Compiling harmonia-store-build-result v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-build-result)30 Compiling harmonia-store-gc v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-gc)31 Compiling harmonia-protocol v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-protocol)32 Compiling harmonia-cache v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-cache)33 Compiling harmonia-daemon v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-daemon)34 Compiling harmonia-store-remote v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-remote)35 Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.13s36+++ command cargo nextest run --workspace37 Compiling harmonia-utils-test v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-utils-test)38 Compiling harmonia-utils-hash v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-utils-hash)39 Compiling harmonia-utils-signature v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-utils-signature)40 Compiling harmonia-protocol-derive v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-protocol-derive)41 Compiling harmonia-utils-base-encoding v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-utils-base-encoding)42 Compiling harmonia-client v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-client)43 Compiling harmonia-ssh-store v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-ssh-store)44 Compiling harmonia-file-core v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-file-core)45 Compiling harmonia-store-path v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-path)46 Compiling harmonia-utils-io v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-utils-io)47 Compiling harmonia-store-content-address v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-content-address)48 Compiling harmonia-store-fs v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-fs)49 Compiling harmonia-store-ref-scan v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-ref-scan)50 Compiling harmonia-file-nar v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-file-nar)51 Compiling harmonia-store-derivation v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-derivation)52 Compiling harmonia-store-path-info v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-path-info)53 Compiling harmonia-store-nar-info v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-nar-info)54 Compiling harmonia-store-db v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-db)55 Compiling harmonia-store-aterm v0.0.0-alpha.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-aterm)56 Compiling harmonia-store-build-result v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-build-result)57 Compiling harmonia-protocol v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-protocol)58 Compiling harmonia-store-gc v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-store-gc)59 Compiling harmonia-cache v3.2.0 (/nix/var/nix/builds/nix-61953-2114396403/source/harmonia-cache)60warning: unused import: `Rng`61 --> harmonia-store-gc/src/gc_socket/stress_tests.rs:24:1262 |6324 | use rand::{Rng, SeedableRng};64 | ^^^65 |66 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default6768error[E0599]: no method named `random_bool` found for mutable reference `&mut StdRng` in the current scope69 --> harmonia-store-gc/src/gc_socket/stress_tests.rs:44:2070 |7144 | if rng.random_bool(0.25) {72 | ^^^^^^^^^^^73 |74 = help: items from traits can only be used if the trait is in scope75help: there is a method `random` with a similar name, but with different arguments76 --> /nix/store/dpqyr8g1g3jwll4q9y8ld4gk5qch6mn9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:93:577 |7893 | / fn random<T>(&mut self) -> T7994 | | where8095 | | StandardUniform: Distribution<T>,81 | |_________________________________________^82help: trait `RngExt` which provides `random_bool` is implemented but not in scope; perhaps you want to import it83 |8415 + use rand::RngExt;85 |8687error[E0599]: no method named `random_range` found for struct `StdRng` in the current scope88 --> harmonia-store-gc/src/gc_socket/stress_tests.rs:74:2389 |90 74 | .take(rng.random_range(1..=4))91 | ^^^^^^^^^^^^92 |93 ::: /nix/store/dpqyr8g1g3jwll4q9y8ld4gk5qch6mn9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:163:894 |95163 | fn random_range<T, R>(&mut self, range: R) -> T96 | ------------ the method is available for `StdRng` here97 |98 = help: items from traits can only be used if the trait is in scope99help: there is a method `random` with a similar name, but with different arguments100 --> /nix/store/dpqyr8g1g3jwll4q9y8ld4gk5qch6mn9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:93:5101 |102 93 | / fn random<T>(&mut self) -> T103 94 | | where104 95 | | StandardUniform: Distribution<T>,105 | |_________________________________________^106help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it107 |108 15 + use rand::RngExt;109 |110111error[E0599]: no method named `random_range` found for struct `StdRng` in the current scope112 --> harmonia-store-gc/src/gc_socket/stress_tests.rs:119:28113 |114119 | let root = all[rng.random_range(0..all.len())];115 | ^^^^^^^^^^^^116 |117 ::: /nix/store/dpqyr8g1g3jwll4q9y8ld4gk5qch6mn9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:163:8118 |119163 | fn random_range<T, R>(&mut self, range: R) -> T120 | ------------ the method is available for `StdRng` here121 |122 = help: items from traits can only be used if the trait is in scope123help: there is a method `random` with a similar name, but with different arguments124 --> /nix/store/dpqyr8g1g3jwll4q9y8ld4gk5qch6mn9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:93:5125 |126 93 | / fn random<T>(&mut self) -> T127 94 | | where128 95 | | StandardUniform: Distribution<T>,129 | |_________________________________________^130help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it131 |132 15 + use rand::RngExt;133 |134135error[E0599]: no method named `random_range` found for struct `StdRng` in the current scope136 --> harmonia-store-gc/src/gc_socket/stress_tests.rs:140:17137 |138140 | let n = rng.random_range(4..44);139 | ^^^^^^^^^^^^140 |141 ::: /nix/store/dpqyr8g1g3jwll4q9y8ld4gk5qch6mn9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:163:8142 |143163 | fn random_range<T, R>(&mut self, range: R) -> T144 | ------------ the method is available for `StdRng` here145 |146 = help: items from traits can only be used if the trait is in scope147help: there is a method `random` with a similar name, but with different arguments148 --> /nix/store/dpqyr8g1g3jwll4q9y8ld4gk5qch6mn9-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/rand-0.10.2/src/rng.rs:93:5149 |150 93 | / fn random<T>(&mut self) -> T151 94 | | where152 95 | | StandardUniform: Distribution<T>,153 | |_________________________________________^154help: trait `RngExt` which provides `random_range` is implemented but not in scope; perhaps you want to import it155 |156 15 + use rand::RngExt;157 |158159For more information about this error, try `rustc --explain E0599`.160warning: `harmonia-store-gc` (lib test) generated 1 warning161error: could not compile `harmonia-store-gc` (lib test) due to 4 previous errors; 1 warning emitted162warning: build failed, waiting for other jobs to finish...163error: command `/nix/store/xnf2hlnjmmi59r6c1nzy018759xlp5pk-cargo-1.97.1/bin/cargo test --no-run --message-format json-render-diagnostics --workspace` exited with code 101