[INFO] cloning repository https://github.com/tamamu/rsplot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tamamu/rsplot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamamu%2Frsplot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamamu%2Frsplot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac1d648bcb6c19af04a2de26f3d73087cc85994d [INFO] building tamamu/rsplot 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%2Ftamamu%2Frsplot" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tamamu/rsplot 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/tamamu/rsplot [INFO] finished tweaking git repo https://github.com/tamamu/rsplot [INFO] tweaked toml for git repo https://github.com/tamamu/rsplot written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tamamu/rsplot 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] Downloading crates ... [INFO] [stderr] Downloaded png v0.13.2 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 386350f7da3a7b096dfa4da79d189dc1fb0ff97dc722a7fa936e5cd08681be4b [INFO] running `Command { std: "docker" "start" "-a" "386350f7da3a7b096dfa4da79d189dc1fb0ff97dc722a7fa936e5cd08681be4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "386350f7da3a7b096dfa4da79d189dc1fb0ff97dc722a7fa936e5cd08681be4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "386350f7da3a7b096dfa4da79d189dc1fb0ff97dc722a7fa936e5cd08681be4b", kill_on_drop: false }` [INFO] [stdout] 386350f7da3a7b096dfa4da79d189dc1fb0ff97dc722a7fa936e5cd08681be4b [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 -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] 13c4b5fa3c1a3daf9341c0f1f037f4ddfeabb9a1efc5b950d5d03ed5bededeaf [INFO] running `Command { std: "docker" "start" "-a" "13c4b5fa3c1a3daf9341c0f1f037f4ddfeabb9a1efc5b950d5d03ed5bededeaf", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling cairo-rs v0.5.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling inflate v0.4.4 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling glib-sys v0.7.0 [INFO] [stderr] Compiling gobject-sys v0.7.0 [INFO] [stderr] Compiling cairo-sys-rs v0.7.0 [INFO] [stderr] Compiling glib v0.6.1 [INFO] [stderr] Compiling png v0.13.2 [INFO] [stderr] Compiling rsplot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/unit.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/unit.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Format` and `ImageSurface` [INFO] [stdout] --> src/unit.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use cairo::{ImageSurface, Format, Context}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/unit.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | if (count >= 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - if (count >= 2) { [INFO] [stdout] 219 + if count >= 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_x` [INFO] [stdout] --> src/unit.rs:147:36 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn new(data: Vec, unit_x: PlotUnit, unit_y: PlotUnit) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_y` [INFO] [stdout] --> src/unit.rs:147:54 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn new(data: Vec, unit_x: PlotUnit, unit_y: PlotUnit) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/unit.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | fn draw(&self, ctx: &Context, width: f64, height: f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/unit.rs:167:35 [INFO] [stdout] | [INFO] [stdout] 167 | fn draw(&self, ctx: &Context, width: f64, height: f64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/unit.rs:167:47 [INFO] [stdout] | [INFO] [stdout] 167 | fn draw(&self, ctx: &Context, width: f64, height: f64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ROUNDING_ERROR` is never used [INFO] [stdout] --> src/unit.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | static ROUNDING_ERROR: PlotUnit = 100.; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix` [INFO] [stdout] --> src/main.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use cairo::{ImageSurface, Format, Context, Matrix}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.29s [INFO] running `Command { std: "docker" "inspect" "13c4b5fa3c1a3daf9341c0f1f037f4ddfeabb9a1efc5b950d5d03ed5bededeaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c4b5fa3c1a3daf9341c0f1f037f4ddfeabb9a1efc5b950d5d03ed5bededeaf", kill_on_drop: false }` [INFO] [stdout] 13c4b5fa3c1a3daf9341c0f1f037f4ddfeabb9a1efc5b950d5d03ed5bededeaf [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 -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] a333151588b2f485e404b0b90f2e25c7448311a3a0024cc14d49c3804a8e8122 [INFO] running `Command { std: "docker" "start" "-a" "a333151588b2f485e404b0b90f2e25c7448311a3a0024cc14d49c3804a8e8122", kill_on_drop: false }` [INFO] [stderr] Compiling rsplot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/unit.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/unit.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Format` and `ImageSurface` [INFO] [stdout] --> src/unit.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use cairo::{ImageSurface, Format, Context}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/unit.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | if (count >= 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - if (count >= 2) { [INFO] [stdout] 219 + if count >= 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_x` [INFO] [stdout] --> src/unit.rs:147:36 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn new(data: Vec, unit_x: PlotUnit, unit_y: PlotUnit) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_y` [INFO] [stdout] --> src/unit.rs:147:54 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn new(data: Vec, unit_x: PlotUnit, unit_y: PlotUnit) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/unit.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | fn draw(&self, ctx: &Context, width: f64, height: f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/unit.rs:167:35 [INFO] [stdout] | [INFO] [stdout] 167 | fn draw(&self, ctx: &Context, width: f64, height: f64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/unit.rs:167:47 [INFO] [stdout] | [INFO] [stdout] 167 | fn draw(&self, ctx: &Context, width: f64, height: f64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ROUNDING_ERROR` is never used [INFO] [stdout] --> src/unit.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | static ROUNDING_ERROR: PlotUnit = 100.; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix` [INFO] [stdout] --> src/main.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use cairo::{ImageSurface, Format, Context, Matrix}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/unit.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/unit.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Format` and `ImageSurface` [INFO] [stdout] --> src/unit.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use cairo::{ImageSurface, Format, Context}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/unit.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | if (count >= 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - if (count >= 2) { [INFO] [stdout] 219 + if count >= 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_x` [INFO] [stdout] --> src/unit.rs:147:36 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn new(data: Vec, unit_x: PlotUnit, unit_y: PlotUnit) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_y` [INFO] [stdout] --> src/unit.rs:147:54 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn new(data: Vec, unit_x: PlotUnit, unit_y: PlotUnit) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unit_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/unit.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | fn draw(&self, ctx: &Context, width: f64, height: f64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/unit.rs:167:35 [INFO] [stdout] | [INFO] [stdout] 167 | fn draw(&self, ctx: &Context, width: f64, height: f64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/unit.rs:167:47 [INFO] [stdout] | [INFO] [stdout] 167 | fn draw(&self, ctx: &Context, width: f64, height: f64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ROUNDING_ERROR` is never used [INFO] [stdout] --> src/unit.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | static ROUNDING_ERROR: PlotUnit = 100.; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "a333151588b2f485e404b0b90f2e25c7448311a3a0024cc14d49c3804a8e8122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a333151588b2f485e404b0b90f2e25c7448311a3a0024cc14d49c3804a8e8122", kill_on_drop: false }` [INFO] [stdout] a333151588b2f485e404b0b90f2e25c7448311a3a0024cc14d49c3804a8e8122