[INFO] cloning repository https://github.com/Raycoms/TreeCalc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Raycoms/TreeCalc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaycoms%2FTreeCalc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaycoms%2FTreeCalc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 243cad5931a5941d03239aab33adcbafb68a3a94 [INFO] checking Raycoms/TreeCalc against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaycoms%2FTreeCalc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Raycoms/TreeCalc [INFO] finished tweaking git repo https://github.com/Raycoms/TreeCalc [INFO] tweaked toml for git repo https://github.com/Raycoms/TreeCalc written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Raycoms/TreeCalc on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Raycoms/TreeCalc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded c_linked_list v1.1.1 [INFO] [stderr] Downloaded get_if_addrs v0.5.3 [INFO] [stderr] Downloaded get_if_addrs-sys v0.1.1 [INFO] [stderr] Downloaded statrs v0.18.0 [INFO] [stderr] Downloaded blst v0.3.14 [INFO] [stderr] Downloaded randomkit v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bfb162cce481c120ee806473db5f0cfa82171dd2602e164f3093dba33c03169 [INFO] running `Command { std: "docker" "start" "-a" "9bfb162cce481c120ee806473db5f0cfa82171dd2602e164f3093dba33c03169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bfb162cce481c120ee806473db5f0cfa82171dd2602e164f3093dba33c03169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bfb162cce481c120ee806473db5f0cfa82171dd2602e164f3093dba33c03169", kill_on_drop: false }` [INFO] [stdout] 9bfb162cce481c120ee806473db5f0cfa82171dd2602e164f3093dba33c03169 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d4e112f92f89dc5c5148f61b0a67f3a6f88e20aa2dc4bc15c0db833960e30d5 [INFO] running `Command { std: "docker" "start" "-a" "1d4e112f92f89dc5c5148f61b0a67f3a6f88e20aa2dc4bc15c0db833960e30d5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Compiling randomkit v0.1.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling blst v0.3.14 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking statrs v0.18.0 [INFO] [stderr] Checking tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HmacSha256` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::simulation::main::{HmacSha256, DST, RUN_POOL}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HmacSha256` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::simulation::main::{HmacSha256, DST, RUN_POOL}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/leaf_aggregator.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | let (mut signature_sender, mut signature_receiver) = async_channel::bounded(self.m); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/leaf_aggregator.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | let (mut signature_sender, mut signature_receiver) = async_channel::bounded(self.m); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/leaf_aggregator.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | let (mut final_agg_sender, mut final_agg_receiver) = mpsc::channel(100); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/leaf_aggregator.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut rx2 = rx.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/leaf_aggregator.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let mut final_agg_sender_copy = final_agg_sender.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/leaf_aggregator.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | let (mut signature_sender, mut signature_receiver) = async_channel::bounded(self.m); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/leaf_aggregator.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | let (mut signature_sender, mut signature_receiver) = async_channel::bounded(self.m); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/leaf_aggregator.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | let (mut final_agg_sender, mut final_agg_receiver) = mpsc::channel(100); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/leaf_aggregator.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut rx2 = rx.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/leaf_aggregator.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let mut final_agg_sender_copy = final_agg_sender.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/simulator.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | let mut stream = TcpStream::connect(&addr).await.unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/simulator.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | let mut stream = TcpStream::connect(&addr).await.unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | for mut dep_based in depth_based_internal_aggregator_vec.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/main.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | for mut dep_based in depth_based_internal_aggregator_vec.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | for mut dep_based in depth_based_internal_aggregator_vec.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/main.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | for mut dep_based in depth_based_internal_aggregator_vec.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/first_internal_aggregator.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut local_sender = sender.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | for mut dep_based in depth_based_internal_aggregator_vec.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/main.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | for mut dep_based in depth_based_internal_aggregator_vec.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | for mut dep_based in depth_based_internal_aggregator_vec.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/main.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | for mut dep_based in depth_based_internal_aggregator_vec.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut total_count_time = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | let mut local_sender = sender.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/first_internal_aggregator.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut local_sender = sender.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut total_count_time = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | let mut local_sender = sender.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hmac::Mac` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use hmac::Mac; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/calculation/tree_calc.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | for i in 1..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/calculation/tree_calc.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | for i in 1..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/calculation/tree_calc.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | for i in 1..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/calculation/distributions.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let x = Binomial::new(1.0/8.0, 128).unwrap().pmf(16); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_key` [INFO] [stdout] --> src/simulation/simulator.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | for (pub_key, sig, bit_vec) in agg_map.get(&(agg_map.len()-1)).unwrap().iter() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit_vec` [INFO] [stdout] --> src/simulation/simulator.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | for (pub_key, sig, bit_vec) in agg_map.get(&(agg_map.len()-1)).unwrap().iter() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/simulation/simulator.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | Ok((mut socket, addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/simulation/simulator.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | Ok((socket, addr)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/simulation/simulator.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | Ok((socket, addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/simulation/simulator.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | let mut stream = TcpStream::connect(&addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_key` [INFO] [stdout] --> src/simulation/simulator.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | let (pub_key, agg_sig, bit_vec) = sub_copy.unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_key` [INFO] [stdout] --> src/simulation/simulator.rs:373:18 [INFO] [stdout] | [INFO] [stdout] 373 | let (pub_key, agg_sig, bit_vec) = sub_copy.unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leader_divider` [INFO] [stdout] --> src/simulation/simulator.rs:351:116 [INFO] [stdout] | [INFO] [stdout] 351 | pub async fn setup_depth_children_connections(simulator: &Simulator, base_port: usize, range: usize, depth: usize, leader_divider: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_divider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipv4` [INFO] [stdout] --> src/simulation/main.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | if let std::net::IpAddr::V4(ipv4) = iface.ip() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ipv4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port_string` [INFO] [stdout] --> src/simulation/first_internal_aggregator.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let port_string = port.to_string(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_port_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:351:47 [INFO] [stdout] | [INFO] [stdout] 351 | ... for (local_index, available) in bit_vec.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:367:47 [INFO] [stdout] | [INFO] [stdout] 367 | ... for (local_index, available) in bit_vec2.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port_string` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | let port_string = port.to_string(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_port_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/simulation/leaf_node.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | Ok((mut socket, addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/simulation/leaf_node.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | Ok((mut socket, addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/simulation/first_internal_aggregator.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | for (idx, vec) in random_map.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/simulation/first_internal_aggregator.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | for (idx, (bit_vec, sig, pub_key)) in biggest_result_map.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_copy` [INFO] [stdout] --> src/simulation/first_internal_aggregator.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let proposal_copy = self.proposal.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_copy2` [INFO] [stdout] --> src/simulation/first_internal_aggregator.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let proposal_copy2 = self.proposal.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_copy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | for (idx, vec) in random_map.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | for (idx, (bit_vec, sig, pub_key, ones)) in biggest_result_map.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit_vec` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | for (idx, (bit_vec, sig, pub_key, ones)) in biggest_result_map.iter() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ones` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:166:47 [INFO] [stdout] | [INFO] [stdout] 166 | for (idx, (bit_vec, sig, pub_key, ones)) in biggest_result_map.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ones` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_bit_vec` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some((local_bit_vec, local_sig, local_pub_key, local_bit_vec_ones)) = biggest_result_map.get(&idx) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_bit_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_sig` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:129:41 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some((local_bit_vec, local_sig, local_pub_key, local_bit_vec_ones)) = biggest_result_map.get(&idx) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_pub_key` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:129:52 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some((local_bit_vec, local_sig, local_pub_key, local_bit_vec_ones)) = biggest_result_map.get(&idx) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_now` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let time_now = Instant::now(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_copy` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let proposal_copy = self.proposal.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_copy2` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let proposal_copy2 = self.proposal.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_copy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | for (idx, (mut bit_vec, sig, pub_key, ones)) in biggest_result_map.into_iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:210:33 [INFO] [stdout] | [INFO] [stdout] 210 | for (idx, (mut bit_vec, sig, pub_key, ones)) in biggest_result_map.into_iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_key` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:210:38 [INFO] [stdout] | [INFO] [stdout] 210 | for (idx, (mut bit_vec, sig, pub_key, ones)) in biggest_result_map.into_iter() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ones` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:210:47 [INFO] [stdout] | [INFO] [stdout] 210 | for (idx, (mut bit_vec, sig, pub_key, ones)) in biggest_result_map.into_iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ones` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `public_key` is never read [INFO] [stdout] --> src/simulation/leaf_aggregator.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct LeafAggregator { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub public_key: PublicKey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HmacSha256` is never used [INFO] [stdout] --> src/simulation/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type HmacSha256 = Hmac; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hmac::Mac` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use hmac::Mac; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/calculation/tree_calc.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | for i in 1..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/calculation/tree_calc.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | for i in 1..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/calculation/tree_calc.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | for i in 1..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/calculation/distributions.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let x = Binomial::new(1.0/8.0, 128).unwrap().pmf(16); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_key` [INFO] [stdout] --> src/simulation/simulator.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | for (pub_key, sig, bit_vec) in agg_map.get(&(agg_map.len()-1)).unwrap().iter() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit_vec` [INFO] [stdout] --> src/simulation/simulator.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | for (pub_key, sig, bit_vec) in agg_map.get(&(agg_map.len()-1)).unwrap().iter() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/simulation/simulator.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | Ok((mut socket, addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/simulation/simulator.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | Ok((socket, addr)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/simulation/simulator.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | Ok((socket, addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/simulation/simulator.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | let mut stream = TcpStream::connect(&addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_key` [INFO] [stdout] --> src/simulation/simulator.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | let (pub_key, agg_sig, bit_vec) = sub_copy.unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_key` [INFO] [stdout] --> src/simulation/simulator.rs:373:18 [INFO] [stdout] | [INFO] [stdout] 373 | let (pub_key, agg_sig, bit_vec) = sub_copy.unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leader_divider` [INFO] [stdout] --> src/simulation/simulator.rs:351:116 [INFO] [stdout] | [INFO] [stdout] 351 | pub async fn setup_depth_children_connections(simulator: &Simulator, base_port: usize, range: usize, depth: usize, leader_divider: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_divider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipv4` [INFO] [stdout] --> src/simulation/main.rs:58:41 [INFO] [stdout] | [INFO] [stdout] 58 | if let std::net::IpAddr::V4(ipv4) = iface.ip() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ipv4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port_string` [INFO] [stdout] --> src/simulation/first_internal_aggregator.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let port_string = port.to_string(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_port_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:351:47 [INFO] [stdout] | [INFO] [stdout] 351 | ... for (local_index, available) in bit_vec.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:367:47 [INFO] [stdout] | [INFO] [stdout] 367 | ... for (local_index, available) in bit_vec2.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port_string` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | let port_string = port.to_string(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_port_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/simulation/leaf_node.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | Ok((mut socket, addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/simulation/leaf_node.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | Ok((mut socket, addr)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/simulation/first_internal_aggregator.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | for (idx, vec) in random_map.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/simulation/first_internal_aggregator.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | for (idx, (bit_vec, sig, pub_key)) in biggest_result_map.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_copy` [INFO] [stdout] --> src/simulation/first_internal_aggregator.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let proposal_copy = self.proposal.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_copy2` [INFO] [stdout] --> src/simulation/first_internal_aggregator.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let proposal_copy2 = self.proposal.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_copy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | for (idx, vec) in random_map.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | for (idx, (bit_vec, sig, pub_key, ones)) in biggest_result_map.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit_vec` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | for (idx, (bit_vec, sig, pub_key, ones)) in biggest_result_map.iter() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ones` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:166:47 [INFO] [stdout] | [INFO] [stdout] 166 | for (idx, (bit_vec, sig, pub_key, ones)) in biggest_result_map.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ones` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_bit_vec` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some((local_bit_vec, local_sig, local_pub_key, local_bit_vec_ones)) = biggest_result_map.get(&idx) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_bit_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_sig` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:129:41 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some((local_bit_vec, local_sig, local_pub_key, local_bit_vec_ones)) = biggest_result_map.get(&idx) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_pub_key` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:129:52 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some((local_bit_vec, local_sig, local_pub_key, local_bit_vec_ones)) = biggest_result_map.get(&idx) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_now` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let time_now = Instant::now(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_copy` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let proposal_copy = self.proposal.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_copy2` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let proposal_copy2 = self.proposal.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_copy2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | for (idx, (mut bit_vec, sig, pub_key, ones)) in biggest_result_map.into_iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:210:33 [INFO] [stdout] | [INFO] [stdout] 210 | for (idx, (mut bit_vec, sig, pub_key, ones)) in biggest_result_map.into_iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_key` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:210:38 [INFO] [stdout] | [INFO] [stdout] 210 | for (idx, (mut bit_vec, sig, pub_key, ones)) in biggest_result_map.into_iter() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ones` [INFO] [stdout] --> src/simulation/depth_based_internal_aggregator.rs:210:47 [INFO] [stdout] | [INFO] [stdout] 210 | for (idx, (mut bit_vec, sig, pub_key, ones)) in biggest_result_map.into_iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ones` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `public_key` is never read [INFO] [stdout] --> src/simulation/leaf_aggregator.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct LeafAggregator { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub public_key: PublicKey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HmacSha256` is never used [INFO] [stdout] --> src/simulation/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type HmacSha256 = Hmac; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.41s [INFO] running `Command { std: "docker" "inspect" "1d4e112f92f89dc5c5148f61b0a67f3a6f88e20aa2dc4bc15c0db833960e30d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d4e112f92f89dc5c5148f61b0a67f3a6f88e20aa2dc4bc15c0db833960e30d5", kill_on_drop: false }` [INFO] [stdout] 1d4e112f92f89dc5c5148f61b0a67f3a6f88e20aa2dc4bc15c0db833960e30d5