[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielHeath%2Frustymaze" "/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/DanielHeath/rustymaze 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/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-5-tc1/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: 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 rayon v1.4.0 [INFO] [stderr] Downloaded debug_print v1.0.0 [INFO] [stderr] Downloaded image v0.23.9 [INFO] [stderr] Downloaded rayon-core v1.8.0 [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] ff8437cf2f16d010c2677ec20f16cb6c51efd8c25d76e009ca3b7f274e62f470 [INFO] running `Command { std: "docker" "start" "-a" "ff8437cf2f16d010c2677ec20f16cb6c51efd8c25d76e009ca3b7f274e62f470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff8437cf2f16d010c2677ec20f16cb6c51efd8c25d76e009ca3b7f274e62f470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff8437cf2f16d010c2677ec20f16cb6c51efd8c25d76e009ca3b7f274e62f470", kill_on_drop: false }` [INFO] [stdout] ff8437cf2f16d010c2677ec20f16cb6c51efd8c25d76e009ca3b7f274e62f470 [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] 5825e3c2d5dc8e6043a9bf4f90149203dfda641087a4f3ba1e716eb61fdb4c39 [INFO] running `Command { std: "docker" "start" "-a" "5825e3c2d5dc8e6043a9bf4f90149203dfda641087a4f3ba1e716eb61fdb4c39", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking debug_print v1.0.0 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [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: 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 295 - if (cell_x_over > maze.min_passage_width) { [INFO] [stdout] 295 + if cell_x_over > maze.min_passage_width { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 303 - if (cell_y_over > maze.min_passage_width) { [INFO] [stdout] 303 + if cell_y_over > maze.min_passage_width { [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 295 - if (cell_x_over > maze.min_passage_width) { [INFO] [stdout] 295 + if cell_x_over > maze.min_passage_width { [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 303 - if (cell_y_over > maze.min_passage_width) { [INFO] [stdout] 303 + if cell_y_over > maze.min_passage_width { [INFO] [stdout] | [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: method `shrink` is never used [INFO] [stdout] --> src/rustymaze/mod.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 81 | impl Region { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn shrink(&self, point: Point) -> Region { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrimMaze` is never constructed [INFO] [stdout] --> src/rustymaze/prim.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct PrimMaze { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xy` is never used [INFO] [stdout] --> src/rustymaze/prim.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Cell { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 37 | fn xy(&self, cellsx: usize) -> (usize, usize, usize, usize) { [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: 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: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shrink` is never used [INFO] [stdout] --> src/rustymaze/mod.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 81 | impl Region { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn shrink(&self, point: Point) -> Region { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrimMaze` is never constructed [INFO] [stdout] --> src/rustymaze/prim.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct PrimMaze { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `xy` is never used [INFO] [stdout] --> src/rustymaze/prim.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Cell { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 37 | fn xy(&self, cellsx: usize) -> (usize, usize, usize, usize) { [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: 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: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.06s [INFO] running `Command { std: "docker" "inspect" "5825e3c2d5dc8e6043a9bf4f90149203dfda641087a4f3ba1e716eb61fdb4c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5825e3c2d5dc8e6043a9bf4f90149203dfda641087a4f3ba1e716eb61fdb4c39", kill_on_drop: false }` [INFO] [stdout] 5825e3c2d5dc8e6043a9bf4f90149203dfda641087a4f3ba1e716eb61fdb4c39