[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] checking aszecsei/impact against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faszecsei%2Fimpact" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aszecsei/impact on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded metrohash v1.0.6 [INFO] [stderr] Downloaded xml-rs v0.8.14 [INFO] [stderr] Downloaded exr v1.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc2a470b23566a2437c57b6ce5b98526ae1485bfa3cbf0e9eff5d9f31e52c1eb [INFO] running `Command { std: "docker" "start" "-a" "bc2a470b23566a2437c57b6ce5b98526ae1485bfa3cbf0e9eff5d9f31e52c1eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc2a470b23566a2437c57b6ce5b98526ae1485bfa3cbf0e9eff5d9f31e52c1eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc2a470b23566a2437c57b6ce5b98526ae1485bfa3cbf0e9eff5d9f31e52c1eb", kill_on_drop: false }` [INFO] [stdout] bc2a470b23566a2437c57b6ce5b98526ae1485bfa3cbf0e9eff5d9f31e52c1eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 974a4a4a913ac79ea6185b8a0e751153adac983fcc288477716bc5320538bf59 [INFO] running `Command { std: "docker" "start" "-a" "974a4a4a913ac79ea6185b8a0e751153adac983fcc288477716bc5320538bf59", 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 crossbeam-epoch v0.9.15 [INFO] [stderr] Checking simd-adler32 v0.3.5 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking path-slash v0.2.1 [INFO] [stderr] Checking xml-rs v0.8.14 [INFO] [stderr] Checking metrohash v1.0.6 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking tiff v0.8.1 [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] Checking structopt v0.3.26 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.6.4 [INFO] [stderr] Checking image v0.24.6 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking impact v0.2.1 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` on by default [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] = note: `RectSize` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] [stdout] warning: 8 warnings emitted [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] = note: `#[warn(dead_code)]` on by default [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] = note: `RectSize` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.23s [INFO] running `Command { std: "docker" "inspect" "974a4a4a913ac79ea6185b8a0e751153adac983fcc288477716bc5320538bf59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "974a4a4a913ac79ea6185b8a0e751153adac983fcc288477716bc5320538bf59", kill_on_drop: false }` [INFO] [stdout] 974a4a4a913ac79ea6185b8a0e751153adac983fcc288477716bc5320538bf59 [INFO] checking aszecsei/impact against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faszecsei%2Fimpact" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aszecsei/impact on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6065d5a11f40277377c60ece0d0788ce5ca18b6f1242a30a5a4573ae10da73b9 [INFO] running `Command { std: "docker" "start" "-a" "6065d5a11f40277377c60ece0d0788ce5ca18b6f1242a30a5a4573ae10da73b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6065d5a11f40277377c60ece0d0788ce5ca18b6f1242a30a5a4573ae10da73b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6065d5a11f40277377c60ece0d0788ce5ca18b6f1242a30a5a4573ae10da73b9", kill_on_drop: false }` [INFO] [stdout] 6065d5a11f40277377c60ece0d0788ce5ca18b6f1242a30a5a4573ae10da73b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b0420e9ec20c4dd263ee626b80d89ac4c67cf84825def3736b3536f3a20c0a4 [INFO] running `Command { std: "docker" "start" "-a" "8b0420e9ec20c4dd263ee626b80d89ac4c67cf84825def3736b3536f3a20c0a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking simd-adler32 v0.3.5 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking path-slash v0.2.1 [INFO] [stderr] Checking xml-rs v0.8.14 [INFO] [stderr] Checking metrohash v1.0.6 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tiff v0.8.1 [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] Checking structopt v0.3.26 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.6.4 [INFO] [stderr] Checking image v0.24.6 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking impact v0.2.1 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` on by default [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] = note: `RectSize` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] [stdout] warning: 8 warnings emitted [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] = note: `#[warn(dead_code)]` on by default [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] = note: `RectSize` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.43s [INFO] running `Command { std: "docker" "inspect" "8b0420e9ec20c4dd263ee626b80d89ac4c67cf84825def3736b3536f3a20c0a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b0420e9ec20c4dd263ee626b80d89ac4c67cf84825def3736b3536f3a20c0a4", kill_on_drop: false }` [INFO] [stdout] 8b0420e9ec20c4dd263ee626b80d89ac4c67cf84825def3736b3536f3a20c0a4