[INFO] cloning repository https://github.com/DerArzt515/rusty_dun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DerArzt515/rusty_dun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerArzt515%2Frusty_dun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerArzt515%2Frusty_dun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc2e21efe5b01a00d59294760f61f1eff0be2e10 [INFO] checking DerArzt515/rusty_dun/dc2e21efe5b01a00d59294760f61f1eff0be2e10 against master#a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerArzt515%2Frusty_dun" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DerArzt515/rusty_dun [INFO] finished tweaking git repo https://github.com/DerArzt515/rusty_dun [INFO] tweaked toml for git repo https://github.com/DerArzt515/rusty_dun written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DerArzt515/rusty_dun on toolchain a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DerArzt515/rusty_dun 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" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 333269ae898ecadf8d63a6554bf9b427bb5d7c1b48f176ffee91b3c85914bc54 [INFO] running `Command { std: "docker" "start" "-a" "333269ae898ecadf8d63a6554bf9b427bb5d7c1b48f176ffee91b3c85914bc54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "333269ae898ecadf8d63a6554bf9b427bb5d7c1b48f176ffee91b3c85914bc54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "333269ae898ecadf8d63a6554bf9b427bb5d7c1b48f176ffee91b3c85914bc54", kill_on_drop: false }` [INFO] [stdout] 333269ae898ecadf8d63a6554bf9b427bb5d7c1b48f176ffee91b3c85914bc54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a6acf0f07f0ed1c12e26dc0db3b9bf1d0504a0bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 029d858b5ebe6dfa3e1ee3d36be1694f72e29d89b38da9281a950b524cf61644 [INFO] running `Command { std: "docker" "start" "-a" "029d858b5ebe6dfa3e1ee3d36be1694f72e29d89b38da9281a950b524cf61644", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking dun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::models::Tile` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::Tile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Frame` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::Frame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Tile` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::Tile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Frame` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::Frame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ui.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | HALL => '.', [INFO] [stdout] | ---- matches any value [INFO] [stdout] 11 | ROOM => '#', [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ui.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | HALL => '.', [INFO] [stdout] | ---- matches any value [INFO] [stdout] 11 | ROOM => '#', [INFO] [stdout] 12 | _ => ' ' [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `HALL` [INFO] [stdout] --> src/ui.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | HALL => '.', [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_HALL` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ROOM` [INFO] [stdout] --> src/ui.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ROOM => '#', [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ROOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/models.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for r in 0usize..height { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/models.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | for c in 0usize..width { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ui.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | HALL => '.', [INFO] [stdout] | ---- matches any value [INFO] [stdout] 11 | ROOM => '#', [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_hardness` [INFO] [stdout] --> src/models.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn make_wall(max_hardness: u16, gen: &dyn Fn() -> u16 ) -> Tile { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_hardness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ui.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | HALL => '.', [INFO] [stdout] | ---- matches any value [INFO] [stdout] 11 | ROOM => '#', [INFO] [stdout] 12 | _ => ' ' [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `HALL` [INFO] [stdout] --> src/ui.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | HALL => '.', [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_HALL` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ROOM` [INFO] [stdout] --> src/ui.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ROOM => '#', [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ROOM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Thing` is never constructed [INFO] [stdout] --> src/ui.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Thing { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `get_num_rows`, `get_num_cols`, and `location_in_frame` are never used [INFO] [stdout] --> src/models.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Frame { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 6 | pub fn get(&self, row: usize, col: usize) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_num_rows(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_num_cols(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn location_in_frame(&self, row: usize, col: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hardness` is never read [INFO] [stdout] --> src/models.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | HALL{ hardness: u16 }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WALL` and `ROOM` are never constructed [INFO] [stdout] --> src/models.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum Tile { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 44 | WALL { hardness: u16 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | HALL{ hardness: u16 }, [INFO] [stdout] 46 | ROOM{ hardness: u16 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_wall` is never used [INFO] [stdout] --> src/models.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn make_wall(max_hardness: u16, gen: &dyn Fn() -> u16 ) -> Tile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `height` and `width` are never read [INFO] [stdout] --> src/models.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Dungeon { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 59 | pub map: Frame, [INFO] [stdout] 60 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HALL` should have a snake case name [INFO] [stdout] --> src/ui.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | HALL => '.', [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hall` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ROOM` should have a snake case name [INFO] [stdout] --> src/ui.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ROOM => '#', [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `room` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/models.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for r in 0usize..height { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/models.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | for c in 0usize..width { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_hardness` [INFO] [stdout] --> src/models.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn make_wall(max_hardness: u16, gen: &dyn Fn() -> u16 ) -> Tile { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_hardness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Thing` is never constructed [INFO] [stdout] --> src/ui.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Thing { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `get_num_rows`, `get_num_cols`, and `location_in_frame` are never used [INFO] [stdout] --> src/models.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Frame { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 6 | pub fn get(&self, row: usize, col: usize) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_num_rows(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn get_num_cols(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn location_in_frame(&self, row: usize, col: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hardness` is never read [INFO] [stdout] --> src/models.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | HALL{ hardness: u16 }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WALL` and `ROOM` are never constructed [INFO] [stdout] --> src/models.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum Tile { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 44 | WALL { hardness: u16 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | HALL{ hardness: u16 }, [INFO] [stdout] 46 | ROOM{ hardness: u16 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_wall` is never used [INFO] [stdout] --> src/models.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn make_wall(max_hardness: u16, gen: &dyn Fn() -> u16 ) -> Tile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `height` and `width` are never read [INFO] [stdout] --> src/models.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Dungeon { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 59 | pub map: Frame, [INFO] [stdout] 60 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HALL` should have a snake case name [INFO] [stdout] --> src/ui.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | HALL => '.', [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hall` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ROOM` should have a snake case name [INFO] [stdout] --> src/ui.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ROOM => '#', [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `room` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.49s [INFO] running `Command { std: "docker" "inspect" "029d858b5ebe6dfa3e1ee3d36be1694f72e29d89b38da9281a950b524cf61644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "029d858b5ebe6dfa3e1ee3d36be1694f72e29d89b38da9281a950b524cf61644", kill_on_drop: false }` [INFO] [stdout] 029d858b5ebe6dfa3e1ee3d36be1694f72e29d89b38da9281a950b524cf61644