[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] checking tamamu/rsplot against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftamamu%2Frsplot" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tamamu/rsplot on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cairo-sys-rs v0.7.0 [INFO] [stderr] Downloaded glib v0.6.1 [INFO] [stderr] Downloaded cairo-rs v0.5.0 [INFO] [stderr] Downloaded png v0.13.2 [INFO] [stderr] Downloaded gobject-sys v0.7.0 [INFO] [stderr] Downloaded glib-sys v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e426ffe8f61d26ec8052c232f8826a63c669206fc5016fedc7a603b2ab2fb8ac [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e426ffe8f61d26ec8052c232f8826a63c669206fc5016fedc7a603b2ab2fb8ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e426ffe8f61d26ec8052c232f8826a63c669206fc5016fedc7a603b2ab2fb8ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e426ffe8f61d26ec8052c232f8826a63c669206fc5016fedc7a603b2ab2fb8ac", kill_on_drop: false }` [INFO] [stdout] e426ffe8f61d26ec8052c232f8826a63c669206fc5016fedc7a603b2ab2fb8ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cbe3cac73db944f1f0dae56b4169d40be3d536e790474c61e47a8b239602865 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0cbe3cac73db944f1f0dae56b4169d40be3d536e790474c61e47a8b239602865", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cairo-rs v0.5.0 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking inflate v0.4.4 [INFO] [stderr] Checking 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] Checking glib v0.6.1 [INFO] [stderr] Checking png v0.13.2 [INFO] [stderr] Checking 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`, `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] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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`, `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] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: static is never used: `ROUNDING_ERROR` [INFO] [stdout] --> src/unit.rs:10:1 [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 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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: static is never used: `ROUNDING_ERROR` [INFO] [stdout] --> src/unit.rs:10:1 [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [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: `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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.41s [INFO] running `Command { std: "docker" "inspect" "0cbe3cac73db944f1f0dae56b4169d40be3d536e790474c61e47a8b239602865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cbe3cac73db944f1f0dae56b4169d40be3d536e790474c61e47a8b239602865", kill_on_drop: false }` [INFO] [stdout] 0cbe3cac73db944f1f0dae56b4169d40be3d536e790474c61e47a8b239602865