[INFO] fetching crate lognplot 0.1.0... [INFO] checking lognplot-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate lognplot 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate lognplot 0.1.0 [INFO] finished tweaking crates.io crate lognplot 0.1.0 [INFO] tweaked toml for crates.io crate lognplot 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lognplot 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lognplot 0.1.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cace727d3e06eb84d631c086019eabad6414fbaa91316f0452d0269a7b732294 [INFO] running `Command { std: "docker" "start" "-a" "cace727d3e06eb84d631c086019eabad6414fbaa91316f0452d0269a7b732294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cace727d3e06eb84d631c086019eabad6414fbaa91316f0452d0269a7b732294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cace727d3e06eb84d631c086019eabad6414fbaa91316f0452d0269a7b732294", kill_on_drop: false }` [INFO] [stdout] cace727d3e06eb84d631c086019eabad6414fbaa91316f0452d0269a7b732294 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b151949c23cb1107e86bfce9e26a18db897a775016188d1eef8626818b029471 [INFO] running `Command { std: "docker" "start" "-a" "b151949c23cb1107e86bfce9e26a18db897a775016188d1eef8626818b029471", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking colored v1.9.0 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking simple_logger v1.3.0 [INFO] [stderr] Checking lognplot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/chart/axis.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | .min_by_key(|x| (((*x - approx).abs() * 1_000_000.0) as i64)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - .min_by_key(|x| (((*x - approx).abs() * 1_000_000.0) as i64)) [INFO] [stdout] 48 + .min_by_key(|x| ((*x - approx).abs() * 1_000_000.0) as i64) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/chart/axis.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | .min_by_key(|x| (((*x - approx).abs() * 1_000_000.0) as i64)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - .min_by_key(|x| (((*x - approx).abs() * 1_000_000.0) as i64)) [INFO] [stdout] 48 + .min_by_key(|x| ((*x - approx).abs() * 1_000_000.0) as i64) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `legend` is never read [INFO] [stdout] --> src/chart/curve.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Curve { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | legend: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Curve` 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: fields `x`, `y`, `width`, and `height` are never read [INFO] [stdout] --> src/geometry/rectangle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Rect { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 4 | y: f64, [INFO] [stdout] | ^ [INFO] [stdout] 5 | width: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | height: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Duration` is never constructed [INFO] [stdout] --> src/time/duration.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Duration { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Connection` is never used [INFO] [stdout] --> src/tsdb/connection.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogMetrics` is never constructed [INFO] [stdout] --> src/tsdb/logrecords.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct LogMetrics { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tsdb/btree.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | fn select_all(&self) -> RangeSelectionResult { [INFO] [stdout] | ^^^^^ -------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | fn select_all(&self) -> RangeSelectionResult<'_, V, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tsdb/btree.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | fn select_range(&self, timespan: &TimeSpan) -> RangeSelectionResult { [INFO] [stdout] | ^^^^^ -------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 212 | fn select_range(&self, timespan: &TimeSpan) -> RangeSelectionResult<'_, V, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `legend` is never read [INFO] [stdout] --> src/chart/curve.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Curve { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | legend: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Curve` 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: fields `x`, `y`, `width`, and `height` are never read [INFO] [stdout] --> src/geometry/rectangle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Rect { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 4 | y: f64, [INFO] [stdout] | ^ [INFO] [stdout] 5 | width: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | height: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Duration` is never constructed [INFO] [stdout] --> src/time/duration.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Duration { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LogMetrics` is never constructed [INFO] [stdout] --> src/tsdb/logrecords.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct LogMetrics { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tsdb/btree.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | fn select_all(&self) -> RangeSelectionResult { [INFO] [stdout] | ^^^^^ -------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | fn select_all(&self) -> RangeSelectionResult<'_, V, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tsdb/btree.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | fn select_range(&self, timespan: &TimeSpan) -> RangeSelectionResult { [INFO] [stdout] | ^^^^^ -------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 212 | fn select_range(&self, timespan: &TimeSpan) -> RangeSelectionResult<'_, V, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.37s [INFO] running `Command { std: "docker" "inspect" "b151949c23cb1107e86bfce9e26a18db897a775016188d1eef8626818b029471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b151949c23cb1107e86bfce9e26a18db897a775016188d1eef8626818b029471", kill_on_drop: false }` [INFO] [stdout] b151949c23cb1107e86bfce9e26a18db897a775016188d1eef8626818b029471