[INFO] cloning repository https://github.com/Etenil/roguerust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Etenil/roguerust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEtenil%2Froguerust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEtenil%2Froguerust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be6d4f86a5902b15e5464f6c596a4989017dea0b [INFO] checking Etenil/roguerust against try#b946edaa85de45f124065f52b1bc55ba2fb4f9fb for pr-157562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEtenil%2Froguerust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Etenil/roguerust [INFO] finished tweaking git repo https://github.com/Etenil/roguerust [INFO] tweaked toml for git repo https://github.com/Etenil/roguerust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Etenil/roguerust on toolchain b946edaa85de45f124065f52b1bc55ba2fb4f9fb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Etenil/roguerust 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" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 87510a7096f2dc476bd777b61169c5b5ddcfc1454294f664c3a90320214e3977 [INFO] running `Command { std: "docker" "start" "87510a7096f2dc476bd777b61169c5b5ddcfc1454294f664c3a90320214e3977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "87510a7096f2dc476bd777b61169c5b5ddcfc1454294f664c3a90320214e3977" "/opt/rustwide/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87510a7096f2dc476bd777b61169c5b5ddcfc1454294f664c3a90320214e3977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "87510a7096f2dc476bd777b61169c5b5ddcfc1454294f664c3a90320214e3977" "/opt/rustwide/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking spin v0.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking ignore-result v0.2.0 [INFO] [stderr] Checking text_io v0.1.7 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking crossterm v0.13.3 [INFO] [stderr] Checking simplelog v0.7.4 [INFO] [stderr] Checking roguelike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `info`, `move_to`, and `clean` are never used [INFO] [stdout] --> src/entities.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Entity { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 7 | /// Get information about the entity [INFO] [stdout] 8 | fn info(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn move_to(&mut self, location: Point); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn clean(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/entities.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Character { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub level: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Character` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_tile` is never used [INFO] [stdout] --> src/entities.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait Enemy { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 57 | fn set_tile(&mut self, tile: Tile); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `damage`, `heal`, `attack`, and `dodge` are never used [INFO] [stdout] --> src/entities.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub trait Player { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 61 | fn new(name: String, class: String, health: i32, attack: i32, dodge: i32, luck: i32) -> Self; [INFO] [stdout] 62 | fn damage(&mut self, damage_amount: i32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | fn heal(&mut self, heal_amount: i32); [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | fn attack(&self) -> i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | fn dodge(&self) -> i32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Help` is never constructed [INFO] [stdout] --> src/events.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ViewportEvent { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 5 | Quit, [INFO] [stdout] 6 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ViewportEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opaque` is never read [INFO] [stdout] --> src/tiling.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Tile { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | opaque: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_opaque`, `opacity`, `open`, and `clos` are never used [INFO] [stdout] --> src/tiling.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Tile { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn is_opaque(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn opacity(&mut self, opaque: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn open(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn clos(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raw` and `start` are never read [INFO] [stdout] --> src/viewport.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CrossTermViewPort { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | raw: RawScreen, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | input: TerminalInput, [INFO] [stdout] 26 | start: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `xsize` and `ysize` are never used [INFO] [stdout] --> src/world.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 257 | impl Dungeon { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn xsize(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn ysize(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `info`, `move_to`, and `clean` are never used [INFO] [stdout] --> src/entities.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Entity { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 7 | /// Get information about the entity [INFO] [stdout] 8 | fn info(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn move_to(&mut self, location: Point); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn clean(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/entities.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Character { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub level: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Character` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_tile` is never used [INFO] [stdout] --> src/entities.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait Enemy { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 57 | fn set_tile(&mut self, tile: Tile); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `damage`, `heal`, `attack`, and `dodge` are never used [INFO] [stdout] --> src/entities.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub trait Player { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 61 | fn new(name: String, class: String, health: i32, attack: i32, dodge: i32, luck: i32) -> Self; [INFO] [stdout] 62 | fn damage(&mut self, damage_amount: i32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | fn heal(&mut self, heal_amount: i32); [INFO] [stdout] | ^^^^ [INFO] [stdout] 64 | fn attack(&self) -> i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | fn dodge(&self) -> i32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Help` is never constructed [INFO] [stdout] --> src/events.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ViewportEvent { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 5 | Quit, [INFO] [stdout] 6 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ViewportEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opaque` is never read [INFO] [stdout] --> src/tiling.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Tile { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | opaque: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_opaque`, `opacity`, `open`, and `clos` are never used [INFO] [stdout] --> src/tiling.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Tile { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn is_opaque(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn opacity(&mut self, opaque: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn open(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn clos(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tile_at` is never used [INFO] [stdout] --> src/tiling.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl TileGrid { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn tile_at(&self, x: usize, y: usize) -> &Tile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raw` and `start` are never read [INFO] [stdout] --> src/viewport.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CrossTermViewPort { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | raw: RawScreen, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | input: TerminalInput, [INFO] [stdout] 26 | start: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `xsize` and `ysize` are never used [INFO] [stdout] --> src/world.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 257 | impl Dungeon { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn xsize(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn ysize(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.55s [INFO] running `Command { std: "docker" "inspect" "87510a7096f2dc476bd777b61169c5b5ddcfc1454294f664c3a90320214e3977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87510a7096f2dc476bd777b61169c5b5ddcfc1454294f664c3a90320214e3977", kill_on_drop: false }` [INFO] [stdout] 87510a7096f2dc476bd777b61169c5b5ddcfc1454294f664c3a90320214e3977