[INFO] cloning repository https://github.com/kpinter3-14/phone-game-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kpinter3-14/phone-game-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpinter3-14%2Fphone-game-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpinter3-14%2Fphone-game-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6e08bf4de6035cb03012ee488a368fcd5ee1470 [INFO] checking kpinter3-14/phone-game-rust against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpinter3-14%2Fphone-game-rust" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kpinter3-14/phone-game-rust on toolchain 4a23c45c7893f1416456144e3883cc48ea91722e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-11/source/.cargo/config [INFO] started tweaking git repo https://github.com/kpinter3-14/phone-game-rust [INFO] finished tweaking git repo https://github.com/kpinter3-14/phone-game-rust [INFO] tweaked toml for git repo https://github.com/kpinter3-14/phone-game-rust written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/kpinter3-14/phone-game-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded emscripten_main_loop v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9395c37d8a2312a53bac8af4abba26e3b7c76d96b9d75f38436282aaa1dc3393 [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" "9395c37d8a2312a53bac8af4abba26e3b7c76d96b9d75f38436282aaa1dc3393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9395c37d8a2312a53bac8af4abba26e3b7c76d96b9d75f38436282aaa1dc3393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9395c37d8a2312a53bac8af4abba26e3b7c76d96b9d75f38436282aaa1dc3393", kill_on_drop: false }` [INFO] [stdout] 9395c37d8a2312a53bac8af4abba26e3b7c76d96b9d75f38436282aaa1dc3393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 764a191cfc4649ecd94c3364810d3458aeb71d7c4bc7dba4ce9c3077bf9b664d [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" "764a191cfc4649ecd94c3364810d3458aeb71d7c4bc7dba4ce9c3077bf9b664d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking emscripten_main_loop v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking game-lib v0.1.0 (/opt/rustwide/workdir/game-lib) [INFO] [stderr] Checking cherry-ball v0.1.0 (/opt/rustwide/workdir/cherry-ball) [INFO] [stderr] Checking cherry-4x v0.1.0 (/opt/rustwide/workdir/cherry-4x) [INFO] [stderr] Checking cherry-rogue v0.1.0 (/opt/rustwide/workdir/cherry-rogue) [INFO] [stdout] warning: unused import: `game_lib::incmap::*` [INFO] [stdout] --> cherry-4x/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use game_lib::incmap::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_lib::types::*` [INFO] [stdout] --> cherry-4x/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use game_lib::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> cherry-4x/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gcontext` [INFO] [stdout] --> cherry-4x/src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | fn init(gcontext: &mut GContext) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gcontext` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> cherry-4x/src/main.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | fn update(state: &mut State, key_status: &KeyStatus, game_tick_counter: u32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_status` [INFO] [stdout] --> cherry-4x/src/main.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | fn update(state: &mut State, key_status: &KeyStatus, game_tick_counter: u32) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_tick_counter` [INFO] [stdout] --> cherry-4x/src/main.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | fn update(state: &mut State, key_status: &KeyStatus, game_tick_counter: u32) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_tick_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> cherry-4x/src/main.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | fn render(gcontext: &mut GContext, state: &State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> cherry-4x/src/main.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | fn handle_keypress(state: &mut State, keycode: Keycode) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keycode` [INFO] [stdout] --> cherry-4x/src/main.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | fn handle_keypress(state: &mut State, keycode: Keycode) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keycode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cherry-4x/src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let mut state = State::new(); [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: unused import: `game_lib::incmap::*` [INFO] [stdout] --> cherry-4x/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use game_lib::incmap::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_lib::types::*` [INFO] [stdout] --> cherry-4x/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use game_lib::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> cherry-4x/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gcontext` [INFO] [stdout] --> cherry-4x/src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | fn init(gcontext: &mut GContext) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gcontext` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> cherry-4x/src/main.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | fn update(state: &mut State, key_status: &KeyStatus, game_tick_counter: u32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_status` [INFO] [stdout] --> cherry-4x/src/main.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | fn update(state: &mut State, key_status: &KeyStatus, game_tick_counter: u32) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_tick_counter` [INFO] [stdout] --> cherry-4x/src/main.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | fn update(state: &mut State, key_status: &KeyStatus, game_tick_counter: u32) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_tick_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> cherry-4x/src/main.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | fn render(gcontext: &mut GContext, state: &State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> cherry-4x/src/main.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | fn handle_keypress(state: &mut State, keycode: Keycode) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keycode` [INFO] [stdout] --> cherry-4x/src/main.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | fn handle_keypress(state: &mut State, keycode: Keycode) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keycode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cherry-4x/src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let mut state = State::new(); [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> cherry-rogue/src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | for i in 0..d_x { [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: `i` [INFO] [stdout] --> cherry-rogue/src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | for i in 0..d_y { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> cherry-rogue/src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | for i in 0..d_x { [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: `i` [INFO] [stdout] --> cherry-rogue/src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | for i in 0..d_y { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Door` [INFO] [stdout] --> cherry-rogue/src/main.rs:295:3 [INFO] [stdout] | [INFO] [stdout] 295 | Door, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Corridors` [INFO] [stdout] --> cherry-rogue/src/main.rs:302:3 [INFO] [stdout] | [INFO] [stdout] 302 | Corridors, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Door` [INFO] [stdout] --> cherry-rogue/src/main.rs:295:3 [INFO] [stdout] | [INFO] [stdout] 295 | Door, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Corridors` [INFO] [stdout] --> cherry-rogue/src/main.rs:302:3 [INFO] [stdout] | [INFO] [stdout] 302 | Corridors, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.24s [INFO] running `Command { std: "docker" "inspect" "764a191cfc4649ecd94c3364810d3458aeb71d7c4bc7dba4ce9c3077bf9b664d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "764a191cfc4649ecd94c3364810d3458aeb71d7c4bc7dba4ce9c3077bf9b664d", kill_on_drop: false }` [INFO] [stdout] 764a191cfc4649ecd94c3364810d3458aeb71d7c4bc7dba4ce9c3077bf9b664d