[INFO] cloning repository https://github.com/khvorov45/thiefgame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/khvorov45/thiefgame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhvorov45%2Fthiefgame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhvorov45%2Fthiefgame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e2fe34f0f3249d3d05c2e98967f4cff7e7db485 [INFO] checking khvorov45/thiefgame against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhvorov45%2Fthiefgame" "/workspace/builds/worker-108/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-108/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/khvorov45/thiefgame on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/khvorov45/thiefgame [INFO] finished tweaking git repo https://github.com/khvorov45/thiefgame [INFO] tweaked toml for git repo https://github.com/khvorov45/thiefgame written to /workspace/builds/worker-108/source/Cargo.toml [INFO] crate git repo https://github.com/khvorov45/thiefgame already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cd4bc437534b1739e7c326c5e4ea4e96e819b16bb71c2bb74822121f94f4815 [INFO] running `Command { std: "docker" "start" "-a" "5cd4bc437534b1739e7c326c5e4ea4e96e819b16bb71c2bb74822121f94f4815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cd4bc437534b1739e7c326c5e4ea4e96e819b16bb71c2bb74822121f94f4815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cd4bc437534b1739e7c326c5e4ea4e96e819b16bb71c2bb74822121f94f4815", kill_on_drop: false }` [INFO] [stdout] 5cd4bc437534b1739e7c326c5e4ea4e96e819b16bb71c2bb74822121f94f4815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41d6eeb8a7fe86c8fa2d9b5a16b79e5daecb20c685a642fee031842b9e7059c0 [INFO] running `Command { std: "docker" "start" "-a" "41d6eeb8a7fe86c8fa2d9b5a16b79e5daecb20c685a642fee031842b9e7059c0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling handmade-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `draw_rectangle` [INFO] [stdout] --> src/game/graphics.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn draw_rectangle( [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: `is_recording` [INFO] [stdout] --> src/game/looping.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn is_recording(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_playing` [INFO] [stdout] --> src/game/looping.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn is_playing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_start_of_loop` [INFO] [stdout] --> src/game/looping.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn is_start_of_loop(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `toggle` [INFO] [stdout] --> src/game/looping.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn toggle(&mut self, state: &game::State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_init_state` [INFO] [stdout] --> src/game/looping.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_init_state(&self) -> &game::State { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_next_input` [INFO] [stdout] --> src/game/looping.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_next_input(&mut self) -> &game::input::Controller { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_recording` [INFO] [stdout] --> src/game/looping.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn start_recording(&mut self, state: &game::State) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_input` [INFO] [stdout] --> src/game/looping.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn push_input(&mut self, input: &game::input::Controller) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop_recording` [INFO] [stdout] --> src/game/looping.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn stop_recording(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_playing` [INFO] [stdout] --> src/game/looping.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn start_playing(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop_playing` [INFO] [stdout] --> src/game/looping.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn stop_playing(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `simulate` [INFO] [stdout] --> src/game/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn simulate(&mut self, input: &input::Controller) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_and_render` [INFO] [stdout] --> src/game/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn update_and_render( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_rectangle` [INFO] [stdout] --> src/game/graphics.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn draw_rectangle( [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: `is_recording` [INFO] [stdout] --> src/game/looping.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn is_recording(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_playing` [INFO] [stdout] --> src/game/looping.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn is_playing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_start_of_loop` [INFO] [stdout] --> src/game/looping.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn is_start_of_loop(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `toggle` [INFO] [stdout] --> src/game/looping.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn toggle(&mut self, state: &game::State) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_init_state` [INFO] [stdout] --> src/game/looping.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_init_state(&self) -> &game::State { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_next_input` [INFO] [stdout] --> src/game/looping.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_next_input(&mut self) -> &game::input::Controller { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_recording` [INFO] [stdout] --> src/game/looping.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn start_recording(&mut self, state: &game::State) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_input` [INFO] [stdout] --> src/game/looping.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn push_input(&mut self, input: &game::input::Controller) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop_recording` [INFO] [stdout] --> src/game/looping.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn stop_recording(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_playing` [INFO] [stdout] --> src/game/looping.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn start_playing(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stop_playing` [INFO] [stdout] --> src/game/looping.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn stop_playing(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `simulate` [INFO] [stdout] --> src/game/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn simulate(&mut self, input: &input::Controller) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_and_render` [INFO] [stdout] --> src/game/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn update_and_render( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: enable either feature cross-platform or native [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | compile_error!("enable either feature cross-platform or native"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: enable either feature cross-platform or native [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | compile_error!("enable either feature cross-platform or native"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `handmade-rust` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "41d6eeb8a7fe86c8fa2d9b5a16b79e5daecb20c685a642fee031842b9e7059c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41d6eeb8a7fe86c8fa2d9b5a16b79e5daecb20c685a642fee031842b9e7059c0", kill_on_drop: false }` [INFO] [stdout] 41d6eeb8a7fe86c8fa2d9b5a16b79e5daecb20c685a642fee031842b9e7059c0