[INFO] fetching crate embedded-plots 0.2.0... [INFO] testing embedded-plots-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate embedded-plots 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate embedded-plots 0.2.0 [INFO] finished tweaking crates.io crate embedded-plots 0.2.0 [INFO] tweaked toml for crates.io crate embedded-plots 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-plots 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate embedded-plots 0.2.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin v0.9.3 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded volatile-register v0.2.1 [INFO] [stderr] Downloaded num v0.1.42 [INFO] [stderr] Downloaded atomic-polyfill v0.1.8 [INFO] [stderr] Downloaded critical-section v0.2.7 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded embedded-graphics-core v0.3.3 [INFO] [stderr] Downloaded az v1.2.0 [INFO] [stderr] Downloaded embedded-graphics-simulator v0.3.0 [INFO] [stderr] Downloaded weezl v0.1.6 [INFO] [stderr] Downloaded heapless v0.7.14 [INFO] [stderr] Downloaded cortex-m v0.7.5 [INFO] [stderr] Downloaded riscv v0.7.0 [INFO] [stderr] Downloaded sdl2 v0.32.2 [INFO] [stderr] Downloaded micromath v1.1.1 [INFO] [stderr] Downloaded sdl2-sys v0.32.6 [INFO] [stderr] Downloaded embedded-graphics v0.7.1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 083957fec47a8da6e942ab8c5fa5ff152dc5cbd315855afc0823303e11c65282 [INFO] running `Command { std: "docker" "start" "-a" "083957fec47a8da6e942ab8c5fa5ff152dc5cbd315855afc0823303e11c65282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "083957fec47a8da6e942ab8c5fa5ff152dc5cbd315855afc0823303e11c65282", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "083957fec47a8da6e942ab8c5fa5ff152dc5cbd315855afc0823303e11c65282", kill_on_drop: false }` [INFO] [stdout] 083957fec47a8da6e942ab8c5fa5ff152dc5cbd315855afc0823303e11c65282 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 839149ceaa9b37ed609345cf6b9bd81253ecbec0e84a5b448ffc89b7649baaad [INFO] running `Command { std: "docker" "start" "-a" "839149ceaa9b37ed609345cf6b9bd81253ecbec0e84a5b448ffc89b7649baaad", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling micromath v1.1.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling spin v0.9.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling heapless v0.7.14 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling embedded-graphics-core v0.3.3 [INFO] [stderr] Compiling embedded-graphics v0.7.1 [INFO] [stderr] Compiling embedded-plots v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/curve.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | let x_range = match points.iter().map(|p| (p.x)).minmax() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - let x_range = match points.iter().map(|p| (p.x)).minmax() { [INFO] [stdout] 38 + let x_range = match points.iter().map(|p| p.x).minmax() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/curve.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | let y_range = match points.iter().map(|p| (p.y)).minmax() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - let y_range = match points.iter().map(|p| (p.y)).minmax() { [INFO] [stdout] 44 + let y_range = match points.iter().map(|p| p.y).minmax() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/curve.rs:28:86 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(points: &'a [PlotPoint], x_range: Range, y_range: Range) -> Curve { [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is hidden 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(points: &'a [PlotPoint], x_range: Range, y_range: Range) -> Curve<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/curve.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_data(points: &'a [PlotPoint]) -> Curve { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_data(points: &'a [PlotPoint]) -> Curve<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/single_plot.rs:19:73 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(curve: &'a Curve<'a>, x_scale: Scale, y_scale: Scale) -> SinglePlot { [INFO] [stdout] | -- -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(curve: &'a Curve<'a>, x_scale: Scale, y_scale: Scale) -> SinglePlot<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.99s [INFO] running `Command { std: "docker" "inspect" "839149ceaa9b37ed609345cf6b9bd81253ecbec0e84a5b448ffc89b7649baaad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "839149ceaa9b37ed609345cf6b9bd81253ecbec0e84a5b448ffc89b7649baaad", kill_on_drop: false }` [INFO] [stdout] 839149ceaa9b37ed609345cf6b9bd81253ecbec0e84a5b448ffc89b7649baaad [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8a7b7e3ed97a7b3d7df5836ae81c9848f2c47a9209561b16edd8ba667f0b488 [INFO] running `Command { std: "docker" "start" "-a" "d8a7b7e3ed97a7b3d7df5836ae81c9848f2c47a9209561b16edd8ba667f0b488", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.6 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling test-case v1.2.3 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/curve.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | let x_range = match points.iter().map(|p| (p.x)).minmax() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - let x_range = match points.iter().map(|p| (p.x)).minmax() { [INFO] [stdout] 38 + let x_range = match points.iter().map(|p| p.x).minmax() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/curve.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | let y_range = match points.iter().map(|p| (p.y)).minmax() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - let y_range = match points.iter().map(|p| (p.y)).minmax() { [INFO] [stdout] 44 + let y_range = match points.iter().map(|p| p.y).minmax() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/curve.rs:28:86 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(points: &'a [PlotPoint], x_range: Range, y_range: Range) -> Curve { [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is hidden 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(points: &'a [PlotPoint], x_range: Range, y_range: Range) -> Curve<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/curve.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_data(points: &'a [PlotPoint]) -> Curve { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_data(points: &'a [PlotPoint]) -> Curve<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/single_plot.rs:19:73 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(curve: &'a Curve<'a>, x_scale: Scale, y_scale: Scale) -> SinglePlot { [INFO] [stdout] | -- -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(curve: &'a Curve<'a>, x_scale: Scale, y_scale: Scale) -> SinglePlot<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling embedded-graphics-simulator v0.3.0 [INFO] [stderr] Compiling embedded-plots v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/curve.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | let x_range = match points.iter().map(|p| (p.x)).minmax() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - let x_range = match points.iter().map(|p| (p.x)).minmax() { [INFO] [stdout] 38 + let x_range = match points.iter().map(|p| p.x).minmax() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/curve.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | let y_range = match points.iter().map(|p| (p.y)).minmax() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - let y_range = match points.iter().map(|p| (p.y)).minmax() { [INFO] [stdout] 44 + let y_range = match points.iter().map(|p| p.y).minmax() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/curve.rs:28:86 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(points: &'a [PlotPoint], x_range: Range, y_range: Range) -> Curve { [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is hidden 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(points: &'a [PlotPoint], x_range: Range, y_range: Range) -> Curve<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/curve.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_data(points: &'a [PlotPoint]) -> Curve { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 37 | pub fn from_data(points: &'a [PlotPoint]) -> Curve<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/single_plot.rs:19:73 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(curve: &'a Curve<'a>, x_scale: Scale, y_scale: Scale) -> SinglePlot { [INFO] [stdout] | -- -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(curve: &'a Curve<'a>, x_scale: Scale, y_scale: Scale) -> SinglePlot<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.17s [INFO] running `Command { std: "docker" "inspect" "d8a7b7e3ed97a7b3d7df5836ae81c9848f2c47a9209561b16edd8ba667f0b488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8a7b7e3ed97a7b3d7df5836ae81c9848f2c47a9209561b16edd8ba667f0b488", kill_on_drop: false }` [INFO] [stdout] d8a7b7e3ed97a7b3d7df5836ae81c9848f2c47a9209561b16edd8ba667f0b488 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d852c176dd52a8707b32e720ab2ed9c8bd7c289261bae7f80645e456ae58c2c [INFO] running `Command { std: "docker" "start" "-a" "6d852c176dd52a8707b32e720ab2ed9c8bd7c289261bae7f80645e456ae58c2c", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/curve.rs:38:51 [INFO] [stderr] | [INFO] [stderr] 38 | let x_range = match points.iter().map(|p| (p.x)).minmax() { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 38 - let x_range = match points.iter().map(|p| (p.x)).minmax() { [INFO] [stderr] 38 + let x_range = match points.iter().map(|p| p.x).minmax() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/curve.rs:44:51 [INFO] [stderr] | [INFO] [stderr] 44 | let y_range = match points.iter().map(|p| (p.y)).minmax() { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 44 - let y_range = match points.iter().map(|p| (p.y)).minmax() { [INFO] [stderr] 44 + let y_range = match points.iter().map(|p| p.y).minmax() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/curve.rs:28:86 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn new(points: &'a [PlotPoint], x_range: Range, y_range: Range) -> Curve { [INFO] [stderr] | -- the lifetime is named here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 28 | pub fn new(points: &'a [PlotPoint], x_range: Range, y_range: Range) -> Curve<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/curve.rs:37:50 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn from_data(points: &'a [PlotPoint]) -> Curve { [INFO] [stderr] | -- ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 37 | pub fn from_data(points: &'a [PlotPoint]) -> Curve<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/single_plot.rs:19:73 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn new(curve: &'a Curve<'a>, x_scale: Scale, y_scale: Scale) -> SinglePlot { [INFO] [stderr] | -- -- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 19 | pub fn new(curve: &'a Curve<'a>, x_scale: Scale, y_scale: Scale) -> SinglePlot<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `embedded-plots` (lib) generated 5 warnings (run `cargo fix --lib -p embedded-plots` to apply 5 suggestions) [INFO] [stderr] warning: `embedded-plots` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/embedded_plots-6c85997a205c88de) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test range_conv::tests::convert::negative_input_range ... ok [INFO] [stdout] test range_conv::tests::convert::half ... ok [INFO] [stdout] test range_conv::tests::convert::negative_output_range ... ok [INFO] [stdout] test range_conv::tests::convert::equal_ranges ... ok [INFO] [stdout] test range_conv::tests::convert::reversing_negative_range ... ok [INFO] [stderr] Doc-tests embedded_plots [INFO] [stdout] test range_conv::tests::convert::double ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/curve.rs:38:51 [INFO] [stderr] | [INFO] [stderr] 38 | let x_range = match points.iter().map(|p| (p.x)).minmax() { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 38 - let x_range = match points.iter().map(|p| (p.x)).minmax() { [INFO] [stderr] 38 + let x_range = match points.iter().map(|p| p.x).minmax() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/curve.rs:44:51 [INFO] [stderr] | [INFO] [stderr] 44 | let y_range = match points.iter().map(|p| (p.y)).minmax() { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 44 - let y_range = match points.iter().map(|p| (p.y)).minmax() { [INFO] [stderr] 44 + let y_range = match points.iter().map(|p| p.y).minmax() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 24) ... ok [INFO] [stdout] test src/lib.rs - (line 61) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.72s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6d852c176dd52a8707b32e720ab2ed9c8bd7c289261bae7f80645e456ae58c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d852c176dd52a8707b32e720ab2ed9c8bd7c289261bae7f80645e456ae58c2c", kill_on_drop: false }` [INFO] [stdout] 6d852c176dd52a8707b32e720ab2ed9c8bd7c289261bae7f80645e456ae58c2c