[INFO] cloning repository https://github.com/DanielHeath/rustymaze [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielHeath/rustymaze" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielHeath%2Frustymaze", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielHeath%2Frustymaze'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 223343578de0824b76c3cb07d442f6f157866567 [INFO] checking DanielHeath/rustymaze against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielHeath%2Frustymaze" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielHeath/rustymaze on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanielHeath/rustymaze [INFO] finished tweaking git repo https://github.com/DanielHeath/rustymaze [INFO] tweaked toml for git repo https://github.com/DanielHeath/rustymaze written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/DanielHeath/rustymaze already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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 debug_print v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c131e36dafdfc4aabe39aa0211c835e219d6e2e855f4df30ab19f285d5035c7b [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" "c131e36dafdfc4aabe39aa0211c835e219d6e2e855f4df30ab19f285d5035c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c131e36dafdfc4aabe39aa0211c835e219d6e2e855f4df30ab19f285d5035c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c131e36dafdfc4aabe39aa0211c835e219d6e2e855f4df30ab19f285d5035c7b", kill_on_drop: false }` [INFO] [stdout] c131e36dafdfc4aabe39aa0211c835e219d6e2e855f4df30ab19f285d5035c7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6589c3a003faf0c2b05cc113524768f222c235c5635427ba66f6168b395e7199 [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" "6589c3a003faf0c2b05cc113524768f222c235c5635427ba66f6168b395e7199", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking debug_print v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking memoffset v0.5.5 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking rayon-core v1.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rayon v1.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.9 [INFO] [stderr] Checking rustymaze v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RgbImage` [INFO] [stdout] --> src/main.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{ImageBuffer, RgbImage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Sub` [INFO] [stdout] --> src/rustymaze/mod.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_print::debug_println` [INFO] [stdout] --> src/rustymaze/prim.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use debug_print::debug_println; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/rustymaze/prim.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 295 | if (cell_x_over > maze.min_passage_width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/rustymaze/prim.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 303 | if (cell_y_over > maze.min_passage_width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RgbImage` [INFO] [stdout] --> src/main.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{ImageBuffer, RgbImage}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Sub` [INFO] [stdout] --> src/rustymaze/mod.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, Sub}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_print::debug_println` [INFO] [stdout] --> src/rustymaze/prim.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use debug_print::debug_println; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/rustymaze/prim.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 295 | if (cell_x_over > maze.min_passage_width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/rustymaze/prim.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 303 | if (cell_y_over > maze.min_passage_width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/rustymaze/prim.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | entry: super::Region, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exit` [INFO] [stdout] --> src/rustymaze/prim.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | exit: super::Region, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `xy` [INFO] [stdout] --> src/rustymaze/prim.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn xy(&self, cellsx: usize) -> (usize, usize, usize, usize) { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shrink` [INFO] [stdout] --> src/rustymaze/mod.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn shrink(&self, point: Point) -> Region { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rustymaze/prim.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 232 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 233 | | "Invalid neighbor index exceeds {:?} (width {:?}): {:?}", [INFO] [stdout] 234 | | cell_count, cellsx, neighbor [INFO] [stdout] 235 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 232 | panic!( [INFO] [stdout] 233 | "Invalid neighbor index exceeds {:?} (width {:?}): {:?}", [INFO] [stdout] 234 | cell_count, cellsx, neighbor [INFO] [stdout] 235 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `neighborsProcessed` should have a snake case name [INFO] [stdout] --> src/rustymaze/prim.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | let mut neighborsProcessed = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `neighbors_processed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/rustymaze/prim.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | entry: super::Region, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exit` [INFO] [stdout] --> src/rustymaze/prim.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | exit: super::Region, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `xy` [INFO] [stdout] --> src/rustymaze/prim.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn xy(&self, cellsx: usize) -> (usize, usize, usize, usize) { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shrink` [INFO] [stdout] --> src/rustymaze/mod.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn shrink(&self, point: Point) -> Region { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/rustymaze/prim.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 232 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 233 | | "Invalid neighbor index exceeds {:?} (width {:?}): {:?}", [INFO] [stdout] 234 | | cell_count, cellsx, neighbor [INFO] [stdout] 235 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 232 | panic!( [INFO] [stdout] 233 | "Invalid neighbor index exceeds {:?} (width {:?}): {:?}", [INFO] [stdout] 234 | cell_count, cellsx, neighbor [INFO] [stdout] 235 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `neighborsProcessed` should have a snake case name [INFO] [stdout] --> src/rustymaze/prim.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | let mut neighborsProcessed = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `neighbors_processed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.78s [INFO] running `Command { std: "docker" "inspect" "6589c3a003faf0c2b05cc113524768f222c235c5635427ba66f6168b395e7199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6589c3a003faf0c2b05cc113524768f222c235c5635427ba66f6168b395e7199", kill_on_drop: false }` [INFO] [stdout] 6589c3a003faf0c2b05cc113524768f222c235c5635427ba66f6168b395e7199