[INFO] cloning repository https://github.com/azdcf/tcrt2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/azdcf/tcrt2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazdcf%2Ftcrt2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazdcf%2Ftcrt2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa15dcebf4fe046fbf4bd3881df909330a4b39da [INFO] checking azdcf/tcrt2020 against try#4e3d7541a523df82cea75064e44e60ae9a008bcb for pr-97427 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazdcf%2Ftcrt2020" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/azdcf/tcrt2020 on toolchain 4e3d7541a523df82cea75064e44e60ae9a008bcb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/azdcf/tcrt2020 [INFO] finished tweaking git repo https://github.com/azdcf/tcrt2020 [INFO] tweaked toml for git repo https://github.com/azdcf/tcrt2020 written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/azdcf/tcrt2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28f1f026bb41c42130b3cbc342a477a8607527d19faf6c67105cd0dbe81b9596 [INFO] running `Command { std: "docker" "start" "-a" "28f1f026bb41c42130b3cbc342a477a8607527d19faf6c67105cd0dbe81b9596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28f1f026bb41c42130b3cbc342a477a8607527d19faf6c67105cd0dbe81b9596", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f1f026bb41c42130b3cbc342a477a8607527d19faf6c67105cd0dbe81b9596", kill_on_drop: false }` [INFO] [stdout] 28f1f026bb41c42130b3cbc342a477a8607527d19faf6c67105cd0dbe81b9596 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d548b3f7fb6512496b6f96b72e5a0bea58d3b5094a6221c5c569f1630a40fb0e [INFO] running `Command { std: "docker" "start" "-a" "d548b3f7fb6512496b6f96b72e5a0bea58d3b5094a6221c5c569f1630a40fb0e", kill_on_drop: false }` [INFO] [stderr] Checking torchbearer v0.5.3 [INFO] [stderr] Checking bear-lib-terminal-sys v1.3.0 [INFO] [stderr] Checking bear-lib-terminal v2.0.0 [INFO] [stderr] Checking txgame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PathMap`, `astar_path_fourwaygrid` [INFO] [stdout] --> src/map.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use torchbearer::path::{astar_path_fourwaygrid, PathMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathMap`, `astar_path_fourwaygrid` [INFO] [stdout] --> src/map.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use torchbearer::path::{astar_path_fourwaygrid, PathMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | for i in 0..6 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_floor` [INFO] [stdout] --> src/main.rs:385:35 [INFO] [stdout] | [INFO] [stdout] 385 | let (glyph,fg,is_floor) = ROOM_LUT[mask]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_floor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `free_index` [INFO] [stdout] --> src/main.rs:340:25 [INFO] [stdout] | [INFO] [stdout] 340 | fn create_room_entities(free_index: usize, r: &Room, empty: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_free_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/main.rs:443:23 [INFO] [stdout] | [INFO] [stdout] 443 | fn new_floor(id: u32, from: u32) -> Floor { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/map.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_mem_map(&self, x: i32, y: i32, c: char) -> Option<&char> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/systems.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn walk_stairs(entity: &mut Entity, gs: &mut GameState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | let mut map = Map::new(80, 40); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mem_map` [INFO] [stdout] --> src/map.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_mem_map(&self, x: i32, y: i32, c: char) -> Option<&char> { [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: `erase_mem` [INFO] [stdout] --> src/map.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn erase_mem(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Item` [INFO] [stdout] --> src/entity.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | Item(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EntityID` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/entity.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | for i in 0..6 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_floor` [INFO] [stdout] --> src/main.rs:385:35 [INFO] [stdout] | [INFO] [stdout] 385 | let (glyph,fg,is_floor) = ROOM_LUT[mask]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_floor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `free_index` [INFO] [stdout] --> src/main.rs:340:25 [INFO] [stdout] | [INFO] [stdout] 340 | fn create_room_entities(free_index: usize, r: &Room, empty: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_free_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/main.rs:443:23 [INFO] [stdout] | [INFO] [stdout] 443 | fn new_floor(id: u32, from: u32) -> Floor { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/map.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_mem_map(&self, x: i32, y: i32, c: char) -> Option<&char> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/systems.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn walk_stairs(entity: &mut Entity, gs: &mut GameState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | let mut map = Map::new(80, 40); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mem_map` [INFO] [stdout] --> src/map.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_mem_map(&self, x: i32, y: i32, c: char) -> Option<&char> { [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: `erase_mem` [INFO] [stdout] --> src/map.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn erase_mem(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Item` [INFO] [stdout] --> src/entity.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | Item(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EntityID` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/entity.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.99s [INFO] running `Command { std: "docker" "inspect" "d548b3f7fb6512496b6f96b72e5a0bea58d3b5094a6221c5c569f1630a40fb0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d548b3f7fb6512496b6f96b72e5a0bea58d3b5094a6221c5c569f1630a40fb0e", kill_on_drop: false }` [INFO] [stdout] d548b3f7fb6512496b6f96b72e5a0bea58d3b5094a6221c5c569f1630a40fb0e