[INFO] cloning repository https://github.com/aszecsei/impact [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aszecsei/impact" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faszecsei%2Fimpact", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faszecsei%2Fimpact'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 256cd2c2b39731c1902cc553eb2bdd9f8c7eff89 [INFO] testing aszecsei/impact against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faszecsei%2Fimpact" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aszecsei/impact [INFO] finished tweaking git repo https://github.com/aszecsei/impact [INFO] tweaked toml for git repo https://github.com/aszecsei/impact written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aszecsei/impact on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aszecsei/impact 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing aszecsei/impact against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faszecsei%2Fimpact" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aszecsei/impact [INFO] finished tweaking git repo https://github.com/aszecsei/impact [INFO] tweaked toml for git repo https://github.com/aszecsei/impact written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aszecsei/impact on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aszecsei/impact 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.164 [INFO] [stderr] Downloaded weezl v0.1.7 [INFO] [stderr] Downloaded serde_json v1.0.97 [INFO] [stderr] Downloaded metrohash v1.0.6 [INFO] [stderr] Downloaded simd-adler32 v0.3.5 [INFO] [stderr] Downloaded nanorand v0.7.0 [INFO] [stderr] Downloaded bytemuck v1.13.1 [INFO] [stderr] Downloaded half v2.2.1 [INFO] [stderr] Downloaded flate2 v1.0.26 [INFO] [stderr] Downloaded png v0.17.9 [INFO] [stderr] Downloaded rayon-core v1.11.0 [INFO] [stderr] Downloaded xml-rs v0.8.14 [INFO] [stderr] Downloaded rayon v1.7.0 [INFO] [stderr] Downloaded exr v1.6.4 [INFO] [stderr] Downloaded image v0.24.6 [INFO] [stderr] Downloaded fern v0.6.2 [INFO] [stderr] Downloaded jpeg-decoder v0.3.0 [INFO] [stderr] Downloaded tiff v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cdcf2dfc1d5243c87033505a6bf35a7f6dc4a9781b729cdc2939001d0be8d09 [INFO] running `Command { std: "docker" "start" "-a" "7cdcf2dfc1d5243c87033505a6bf35a7f6dc4a9781b729cdc2939001d0be8d09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cdcf2dfc1d5243c87033505a6bf35a7f6dc4a9781b729cdc2939001d0be8d09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cdcf2dfc1d5243c87033505a6bf35a7f6dc4a9781b729cdc2939001d0be8d09", kill_on_drop: false }` [INFO] [stdout] 7cdcf2dfc1d5243c87033505a6bf35a7f6dc4a9781b729cdc2939001d0be8d09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3601848554b99bfa9efc6f02a8555eb11dc060275fe821ae5aff07c0ff0ec37f [INFO] running `Command { std: "docker" "start" "-a" "3601848554b99bfa9efc6f02a8555eb11dc060275fe821ae5aff07c0ff0ec37f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling simd-adler32 v0.3.5 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling path-slash v0.2.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling metrohash v1.0.6 [INFO] [stderr] Compiling xml-rs v0.8.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling fern v0.6.2 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling png v0.17.9 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling pin-project v1.1.0 [INFO] [stderr] Compiling tiff v0.8.1 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling exr v1.6.4 [INFO] [stderr] Compiling image v0.24.6 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling impact v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: useless assignment of variable of type `i32` to itself [INFO] [stdout] --> src/bin_packs/max_rects.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | best_long_side_fit = best_long_side_fit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `i32` to itself [INFO] [stdout] --> src/bin_packs/max_rects.rs:326:21 [INFO] [stdout] | [INFO] [stdout] 326 | best_long_side_fit = best_long_side_fit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `i32` to itself [INFO] [stdout] --> src/bin_packs/max_rects.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | best_long_side_fit = best_long_side_fit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `i32` to itself [INFO] [stdout] --> src/bin_packs/max_rects.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | best_long_side_fit = best_long_side_fit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_list`, `occupancy`, and `score_rect` are never used [INFO] [stdout] --> src/bin_packs/max_rects.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl MaxRectsBinPack { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn insert_list( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn occupancy(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn score_rect( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rglob_with` and `rglob` are never used [INFO] [stdout] --> src/path_glob.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Glob { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn rglob_with(&self, pattern: &str, options: MatchOptions) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn rglob(&self, pattern: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RectSize` is never constructed [INFO] [stdout] --> src/rect.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RectSize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `compare_rect_short_side` and `node_sort_cmp` are never used [INFO] [stdout] --> src/rect.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Rect { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 16 | /// Performs a lexicographic compare on (rect short side, rect long side). [INFO] [stdout] 17 | pub fn compare_rect_short_side(&self, b: &Rect) -> std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn node_sort_cmp(a: &Rect, b: &Rect) -> std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisjointRectCollection` is never constructed [INFO] [stdout] --> src/rect.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct DisjointRectCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `clear`, and `disjoint` are never used [INFO] [stdout] --> src/rect.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl DisjointRectCollection { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 56 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn add(&mut self, r: &Rect) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn disjoint(&self, r: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disjoint` is never used [INFO] [stdout] --> src/rect.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn disjoint(a: &Rect, b: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | let img = image::open(path.as_ref().clone())?.to_rgba8(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 175 - let img = image::open(path.as_ref().clone())?.to_rgba8(); [INFO] [stdout] 175 + let img = image::open(path.as_ref())?.to_rgba8(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.88s [INFO] running `Command { std: "docker" "inspect" "3601848554b99bfa9efc6f02a8555eb11dc060275fe821ae5aff07c0ff0ec37f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3601848554b99bfa9efc6f02a8555eb11dc060275fe821ae5aff07c0ff0ec37f", kill_on_drop: false }` [INFO] [stdout] 3601848554b99bfa9efc6f02a8555eb11dc060275fe821ae5aff07c0ff0ec37f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebbbfe85dc85000deb6816f72c5c2b484736225e2614e651944506631ec7fce0 [INFO] running `Command { std: "docker" "start" "-a" "ebbbfe85dc85000deb6816f72c5c2b484736225e2614e651944506631ec7fce0", kill_on_drop: false }` [INFO] [stderr] Compiling impact v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: useless assignment of variable of type `i32` to itself [INFO] [stdout] --> src/bin_packs/max_rects.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | best_long_side_fit = best_long_side_fit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `i32` to itself [INFO] [stdout] --> src/bin_packs/max_rects.rs:326:21 [INFO] [stdout] | [INFO] [stdout] 326 | best_long_side_fit = best_long_side_fit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `i32` to itself [INFO] [stdout] --> src/bin_packs/max_rects.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | best_long_side_fit = best_long_side_fit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of variable of type `i32` to itself [INFO] [stdout] --> src/bin_packs/max_rects.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | best_long_side_fit = best_long_side_fit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_list`, `occupancy`, and `score_rect` are never used [INFO] [stdout] --> src/bin_packs/max_rects.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl MaxRectsBinPack { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn insert_list( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn occupancy(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn score_rect( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rglob_with` and `rglob` are never used [INFO] [stdout] --> src/path_glob.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Glob { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn rglob_with(&self, pattern: &str, options: MatchOptions) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn rglob(&self, pattern: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RectSize` is never constructed [INFO] [stdout] --> src/rect.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RectSize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `compare_rect_short_side` and `node_sort_cmp` are never used [INFO] [stdout] --> src/rect.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Rect { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 16 | /// Performs a lexicographic compare on (rect short side, rect long side). [INFO] [stdout] 17 | pub fn compare_rect_short_side(&self, b: &Rect) -> std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn node_sort_cmp(a: &Rect, b: &Rect) -> std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisjointRectCollection` is never constructed [INFO] [stdout] --> src/rect.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct DisjointRectCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `clear`, and `disjoint` are never used [INFO] [stdout] --> src/rect.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl DisjointRectCollection { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 56 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn add(&mut self, r: &Rect) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn disjoint(&self, r: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `disjoint` is never used [INFO] [stdout] --> src/rect.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn disjoint(a: &Rect, b: &Rect) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | let img = image::open(path.as_ref().clone())?.to_rgba8(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 175 - let img = image::open(path.as_ref().clone())?.to_rgba8(); [INFO] [stdout] 175 + let img = image::open(path.as_ref())?.to_rgba8(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "ebbbfe85dc85000deb6816f72c5c2b484736225e2614e651944506631ec7fce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebbbfe85dc85000deb6816f72c5c2b484736225e2614e651944506631ec7fce0", kill_on_drop: false }` [INFO] [stdout] ebbbfe85dc85000deb6816f72c5c2b484736225e2614e651944506631ec7fce0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 07f23c80a7f4eefd7d1f8dd8f897cbdd032d14383fdd5a0b7593290eddeefc60 [INFO] running `Command { std: "docker" "start" "-a" "07f23c80a7f4eefd7d1f8dd8f897cbdd032d14383fdd5a0b7593290eddeefc60", kill_on_drop: false }` [INFO] [stderr] warning: useless assignment of variable of type `i32` to itself [INFO] [stderr] --> src/bin_packs/max_rects.rs:310:21 [INFO] [stderr] | [INFO] [stderr] 310 | best_long_side_fit = best_long_side_fit; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: useless assignment of variable of type `i32` to itself [INFO] [stderr] --> src/bin_packs/max_rects.rs:326:21 [INFO] [stderr] | [INFO] [stderr] 326 | best_long_side_fit = best_long_side_fit; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: useless assignment of variable of type `i32` to itself [INFO] [stderr] --> src/bin_packs/max_rects.rs:261:21 [INFO] [stderr] | [INFO] [stderr] 261 | best_long_side_fit = best_long_side_fit; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: useless assignment of variable of type `i32` to itself [INFO] [stderr] --> src/bin_packs/max_rects.rs:277:21 [INFO] [stderr] | [INFO] [stderr] 277 | best_long_side_fit = best_long_side_fit; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `insert_list`, `occupancy`, and `score_rect` are never used [INFO] [stderr] --> src/bin_packs/max_rects.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl MaxRectsBinPack { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn insert_list( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 113 | pub fn occupancy(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | fn score_rect( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `rglob_with` and `rglob` are never used [INFO] [stderr] --> src/path_glob.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub trait Glob { [INFO] [stderr] | ---- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 15 | fn rglob_with(&self, pattern: &str, options: MatchOptions) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | fn rglob(&self, pattern: &str) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RectSize` is never constructed [INFO] [stderr] --> src/rect.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct RectSize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `compare_rect_short_side` and `node_sort_cmp` are never used [INFO] [stderr] --> src/rect.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl Rect { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 16 | /// Performs a lexicographic compare on (rect short side, rect long side). [INFO] [stderr] 17 | pub fn compare_rect_short_side(&self, b: &Rect) -> std::cmp::Ordering { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn node_sort_cmp(a: &Rect, b: &Rect) -> std::cmp::Ordering { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DisjointRectCollection` is never constructed [INFO] [stderr] --> src/rect.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | pub struct DisjointRectCollection { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `add`, `clear`, and `disjoint` are never used [INFO] [stderr] --> src/rect.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 55 | impl DisjointRectCollection { [INFO] [stderr] | --------------------------- associated items in this implementation [INFO] [stderr] 56 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn add(&mut self, r: &Rect) -> bool { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn disjoint(&self, r: &Rect) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `disjoint` is never used [INFO] [stderr] --> src/rect.rs:94:4 [INFO] [stderr] | [INFO] [stderr] 94 | fn disjoint(a: &Rect, b: &Rect) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:175:44 [INFO] [stderr] | [INFO] [stderr] 175 | let img = image::open(path.as_ref().clone())?.to_rgba8(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 175 - let img = image::open(path.as_ref().clone())?.to_rgba8(); [INFO] [stderr] 175 + let img = image::open(path.as_ref())?.to_rgba8(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `impact` (bin "impact" test) generated 12 warnings (run `cargo fix --bin "impact" -p impact --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/impact-45a3744a93c04975) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "07f23c80a7f4eefd7d1f8dd8f897cbdd032d14383fdd5a0b7593290eddeefc60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f23c80a7f4eefd7d1f8dd8f897cbdd032d14383fdd5a0b7593290eddeefc60", kill_on_drop: false }` [INFO] [stdout] 07f23c80a7f4eefd7d1f8dd8f897cbdd032d14383fdd5a0b7593290eddeefc60