[INFO] cloning repository https://github.com/glebpom/squeezer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/glebpom/squeezer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglebpom%2Fsqueezer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglebpom%2Fsqueezer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 408ef1407a2b26857dde85eee0464c5ea54d7a56 [INFO] checking glebpom/squeezer against master#fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglebpom%2Fsqueezer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/glebpom/squeezer on toolchain fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/glebpom/squeezer [INFO] finished tweaking git repo https://github.com/glebpom/squeezer [INFO] tweaked toml for git repo https://github.com/glebpom/squeezer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/glebpom/squeezer 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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded median v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49d22b7eb70bceab35e87cffee317306971ec3fd5c7007c6673f46a8baff5754 [INFO] running `Command { std: "docker" "start" "-a" "49d22b7eb70bceab35e87cffee317306971ec3fd5c7007c6673f46a8baff5754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49d22b7eb70bceab35e87cffee317306971ec3fd5c7007c6673f46a8baff5754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49d22b7eb70bceab35e87cffee317306971ec3fd5c7007c6673f46a8baff5754", kill_on_drop: false }` [INFO] [stdout] 49d22b7eb70bceab35e87cffee317306971ec3fd5c7007c6673f46a8baff5754 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53d4ca493eada2a4fbc7d6571ac2fddf78bc4080fdd7005a07441956e6497f75 [INFO] running `Command { std: "docker" "start" "-a" "53d4ca493eada2a4fbc7d6571ac2fddf78bc4080fdd7005a07441956e6497f75", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking histogram v0.6.9 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.23.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking median v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking squeezer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::plan::Plan` [INFO] [stdout] --> src/collector.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::plan::Plan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::plan::Plan` [INFO] [stdout] --> src/collector.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::plan::Plan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/executor.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | for (k, v) in &self.results { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/executor.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | for (k, v) in &self.results { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/executor.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | for (k, v) in &self.results { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/executor.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | for (k, v) in &self.results { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load` is never used [INFO] [stdout] --> src/executor.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 105 | / impl ExecutorStats [INFO] [stdout] 106 | | where [INFO] [stdout] 107 | | O: Hash + Eq + Send + Clone + 'static, [INFO] [stdout] | |______________________________________________- method in this implementation [INFO] [stdout] 108 | { [INFO] [stdout] 109 | pub fn load(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Executor` is never constructed [INFO] [stdout] --> src/executor.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Executor [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `stats`, and `run` are never used [INFO] [stdout] --> src/executor.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 143 | / impl Executor [INFO] [stdout] 144 | | where [INFO] [stdout] 145 | | P: Plan, [INFO] [stdout] 146 | | O: Hash + Eq + Send + Clone + 'static, [INFO] [stdout] 147 | | F: 'static + Future + Send, [INFO] [stdout] 148 | | Fn: 'static + FnMut() -> F + Send, [INFO] [stdout] | |__________________________________________- associated items in this implementation [INFO] [stdout] 149 | { [INFO] [stdout] 150 | pub fn new(plan: P, func: Fn, max_concurrency: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn stats(&self) -> ExecutorStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub async fn run(self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Generator` is never constructed [INFO] [stdout] --> src/gen.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Generator

{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start` are never used [INFO] [stdout] --> src/gen.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Generator

{ [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(plan: P) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn start(self) -> GeneratorStream

{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `New` is never constructed [INFO] [stdout] --> src/gen.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum GeneratorStreamState { [INFO] [stdout] | -------------------- variant in this enum [INFO] [stdout] 27 | New, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/gen.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl GeneratorStream

{ [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 45 | fn new(plan: P) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> src/measure.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PerSecondMeasurementState { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 18 | time: Instant, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PerSecondMeasurementState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_in_window` is never used [INFO] [stdout] --> src/measure.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl PerSecondMeasurementState { [INFO] [stdout] | ------------------------------------------------------------------- method in this implementation [INFO] [stdout] 24 | pub fn current_in_window(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/measure.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct QpsMeasure { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 66 | state: Arc>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_metric`, `current`, `current_in_window`, and `state` are never used [INFO] [stdout] --> src/measure.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl QpsMeasure { [INFO] [stdout] | ---------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn push_metric(&self, metric: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn current(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn current_in_window(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn state(&self) -> PerSecondMeasurementState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plan/constant.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Constant { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(val: f64, period: Duration) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BadInputParams` is never constructed [INFO] [stdout] --> src/plan/linear.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum LinearError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 25 | #[error("bad input parameters")] [INFO] [stdout] 26 | BadInputParams, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinearError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plan/linear.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Linear { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 30 | pub fn new(from: f64, to: f64, period: Duration) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Collector` is never constructed [INFO] [stdout] --> src/collector.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Collector [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `spawn`, and `data_view` are never used [INFO] [stdout] --> src/collector.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 30 | / impl Collector [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | O: Hash + Eq + Send + Clone + 'static, [INFO] [stdout] | |______________________________________________- associated items in this implementation [INFO] [stdout] 33 | { [INFO] [stdout] 34 | pub fn new(statistics: ExecutorStats) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn spawn(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn data_view(&self) -> MutexGuard<'_, RawMutex, Collections> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> src/measure.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct PerSecondMeasurementState { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 18 | time: Instant, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PerSecondMeasurementState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current` is never used [INFO] [stdout] --> src/measure.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl QpsMeasure { [INFO] [stdout] | ---------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn current(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.22s [INFO] running `Command { std: "docker" "inspect" "53d4ca493eada2a4fbc7d6571ac2fddf78bc4080fdd7005a07441956e6497f75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53d4ca493eada2a4fbc7d6571ac2fddf78bc4080fdd7005a07441956e6497f75", kill_on_drop: false }` [INFO] [stdout] 53d4ca493eada2a4fbc7d6571ac2fddf78bc4080fdd7005a07441956e6497f75