[INFO] cloning repository https://github.com/eigenform/dendrite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eigenform/dendrite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feigenform%2Fdendrite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feigenform%2Fdendrite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f4ea52ae60e737ea6672022fc1e0da263232121 [INFO] building eigenform/dendrite/8f4ea52ae60e737ea6672022fc1e0da263232121 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feigenform%2Fdendrite" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eigenform/dendrite on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eigenform/dendrite [INFO] finished tweaking git repo https://github.com/eigenform/dendrite [INFO] tweaked toml for git repo https://github.com/eigenform/dendrite written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/eigenform/dendrite 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c88955c1a5f1fe8b7e55a37aaa51fb7d6b8d3fa087b984f7480e7895e633bc98 [INFO] running `Command { std: "docker" "start" "-a" "c88955c1a5f1fe8b7e55a37aaa51fb7d6b8d3fa087b984f7480e7895e633bc98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c88955c1a5f1fe8b7e55a37aaa51fb7d6b8d3fa087b984f7480e7895e633bc98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c88955c1a5f1fe8b7e55a37aaa51fb7d6b8d3fa087b984f7480e7895e633bc98", kill_on_drop: false }` [INFO] [stdout] c88955c1a5f1fe8b7e55a37aaa51fb7d6b8d3fa087b984f7480e7895e633bc98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63d5d3e0bebbed962d64211cc4b9b4b82a547181469becca85c3a8af90f04588 [INFO] running `Command { std: "docker" "start" "-a" "63d5d3e0bebbed962d64211cc4b9b4b82a547181469becca85c3a8af90f04588", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dendrite v0.1.0 (/opt/rustwide/workdir/dendrite) [INFO] [stdout] warning: unused variable: `clk` [INFO] [stdout] --> dendrite/src/predictor/tage/component.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn invalidate(&mut self, clk: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_clk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dendrite::stats::*` [INFO] [stdout] --> dendrite/src/bin/evaluate-tage.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dendrite::stats::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> dendrite/src/bin/evaluate-tage.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | let eff_tag_mask = ((1 << component.cfg.tag_bits) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - let eff_tag_mask = ((1 << component.cfg.tag_bits) - 1); [INFO] [stdout] 43 + let eff_tag_mask = (1 << component.cfg.tag_bits) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dendrite::stats::*` [INFO] [stdout] --> dendrite/src/bin/evaluate-local-pht.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dendrite::stats::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitvec::prelude` [INFO] [stdout] --> dendrite/src/bin/evaluate-tage.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bitvec::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools` [INFO] [stdout] --> dendrite/src/bin/evaluate-tage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component` [INFO] [stdout] --> dendrite/src/bin/evaluate-tage.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | index_strat: IndexStrategy::FromPc(|component, pc| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component` [INFO] [stdout] --> dendrite/src/bin/evaluate-tage.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | index_strat: IndexStrategy::FromPc(|component, pc| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::*` [INFO] [stdout] --> dendrite/src/bin/read-trace.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> dendrite/src/bin/read-trace.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pht` [INFO] [stdout] --> dendrite/src/bin/evaluate-local-pht.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | fn index_direct(pht: &SimplePHT, pc: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pht` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dendrite::stats::*` [INFO] [stdout] --> dendrite/src/bin/evaluate-simple.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dendrite::stats::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dendrite::stats::*` [INFO] [stdout] --> dendrite/src/bin/evaluate-ras.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dendrite::stats::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dendrite::predictor::simple` [INFO] [stdout] --> dendrite/src/bin/evaluate-ras.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dendrite::predictor::simple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> dendrite/src/bin/compression.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::*` [INFO] [stdout] --> dendrite/src/bin/compression.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> dendrite/src/bin/compression.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | for chunk_len in (2..(window.len() / 2)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 - for chunk_len in (2..(window.len() / 2)) { [INFO] [stdout] 158 + for chunk_len in 2..(window.len() / 2) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stat` [INFO] [stdout] --> dendrite/src/bin/evaluate-ras.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut stat = TraceStats::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> dendrite/src/bin/evaluate-ras.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut stat = TraceStats::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stack` is never read [INFO] [stdout] --> dendrite/src/bin/evaluate-ras.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SimpleRAS { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 8 | stack: VecDeque, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `predict` are never used [INFO] [stdout] --> dendrite/src/bin/evaluate-ras.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl SimpleRAS { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 11 | fn push(&mut self, return_addr: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn predict(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitvec::prelude` [INFO] [stdout] --> dendrite/src/bin/compression.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bitvec::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> dendrite/src/bin/compression.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut res = Vec::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.82s [INFO] running `Command { std: "docker" "inspect" "63d5d3e0bebbed962d64211cc4b9b4b82a547181469becca85c3a8af90f04588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63d5d3e0bebbed962d64211cc4b9b4b82a547181469becca85c3a8af90f04588", kill_on_drop: false }` [INFO] [stdout] 63d5d3e0bebbed962d64211cc4b9b4b82a547181469becca85c3a8af90f04588 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34498a811e33b20bb1069f4ad946216ff4428e276ac4794e6b2b96bdb725a30e [INFO] running `Command { std: "docker" "start" "-a" "34498a811e33b20bb1069f4ad946216ff4428e276ac4794e6b2b96bdb725a30e", kill_on_drop: false }` [INFO] [stderr] Compiling dendrite v0.1.0 (/opt/rustwide/workdir/dendrite) [INFO] [stdout] warning: unused variable: `clk` [INFO] [stdout] --> dendrite/src/predictor/tage/component.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn invalidate(&mut self, clk: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_clk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::*` [INFO] [stdout] --> dendrite/src/bin/read-trace.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> dendrite/src/bin/read-trace.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dendrite::stats::*` [INFO] [stdout] --> dendrite/src/bin/evaluate-simple.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dendrite::stats::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> dendrite/src/bin/compression.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::*` [INFO] [stdout] --> dendrite/src/bin/compression.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> dendrite/src/bin/compression.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | for chunk_len in (2..(window.len() / 2)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 - for chunk_len in (2..(window.len() / 2)) { [INFO] [stdout] 158 + for chunk_len in 2..(window.len() / 2) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dendrite::stats::*` [INFO] [stdout] --> dendrite/src/bin/evaluate-ras.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dendrite::stats::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dendrite::predictor::simple` [INFO] [stdout] --> dendrite/src/bin/evaluate-ras.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dendrite::predictor::simple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dendrite::stats::*` [INFO] [stdout] --> dendrite/src/bin/evaluate-local-pht.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dendrite::stats::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dendrite::stats::*` [INFO] [stdout] --> dendrite/src/bin/evaluate-tage.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dendrite::stats::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> dendrite/src/bin/evaluate-tage.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | let eff_tag_mask = ((1 << component.cfg.tag_bits) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - let eff_tag_mask = ((1 << component.cfg.tag_bits) - 1); [INFO] [stdout] 43 + let eff_tag_mask = (1 << component.cfg.tag_bits) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stat` [INFO] [stdout] --> dendrite/src/bin/evaluate-ras.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut stat = TraceStats::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stat` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pht` [INFO] [stdout] --> dendrite/src/bin/evaluate-local-pht.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | fn index_direct(pht: &SimplePHT, pc: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pht` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> dendrite/src/bin/evaluate-ras.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut stat = TraceStats::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stack` is never read [INFO] [stdout] --> dendrite/src/bin/evaluate-ras.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SimpleRAS { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 8 | stack: VecDeque, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `predict` are never used [INFO] [stdout] --> dendrite/src/bin/evaluate-ras.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl SimpleRAS { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 11 | fn push(&mut self, return_addr: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn predict(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitvec::prelude` [INFO] [stdout] --> dendrite/src/bin/compression.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bitvec::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitvec::prelude` [INFO] [stdout] --> dendrite/src/bin/evaluate-tage.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bitvec::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools` [INFO] [stdout] --> dendrite/src/bin/evaluate-tage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use itertools::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component` [INFO] [stdout] --> dendrite/src/bin/evaluate-tage.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | index_strat: IndexStrategy::FromPc(|component, pc| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `component` [INFO] [stdout] --> dendrite/src/bin/evaluate-tage.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | index_strat: IndexStrategy::FromPc(|component, pc| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> dendrite/src/bin/compression.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut res = Vec::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clk` [INFO] [stdout] --> dendrite/src/predictor/tage/component.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn invalidate(&mut self, clk: usize) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_clk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "34498a811e33b20bb1069f4ad946216ff4428e276ac4794e6b2b96bdb725a30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34498a811e33b20bb1069f4ad946216ff4428e276ac4794e6b2b96bdb725a30e", kill_on_drop: false }` [INFO] [stdout] 34498a811e33b20bb1069f4ad946216ff4428e276ac4794e6b2b96bdb725a30e