[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhvorov45%2Fthiefgame" "/workspace/builds/worker-84/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-84/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/khvorov45/thiefgame on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-84/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gethostname v0.2.1 [INFO] [stderr] Downloaded wide v0.5.5 [INFO] [stderr] Downloaded wayland-protocols v0.28.5 [INFO] [stderr] Downloaded gfx-backend-dx12 v0.7.1 [INFO] [stderr] Downloaded wayland-scanner v0.28.5 [INFO] [stderr] Downloaded winapi-wsapoll v0.1.1 [INFO] [stderr] Downloaded wayland-client v0.28.5 [INFO] [stderr] Downloaded pixels v0.3.0 [INFO] [stderr] Downloaded wayland-sys v0.28.5 [INFO] [stderr] Downloaded wayland-commons v0.28.5 [INFO] [stderr] Downloaded windows_macros v0.8.0 [INFO] [stderr] Downloaded safe_arch v0.5.2 [INFO] [stderr] Downloaded ultraviolet v0.7.5 [INFO] [stderr] Downloaded x11rb v0.8.1 [INFO] [stderr] Downloaded windows v0.8.0 [INFO] [stderr] Downloaded mio-misc v1.0.0 [INFO] [stderr] Downloaded windows_gen v0.8.0 [INFO] [stderr] Downloaded wayland-cursor v0.28.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 310c6eca7158028a7c34c57ae63474c2ade063396a72ff21cdcb1295505b88dc [INFO] running `Command { std: "docker" "start" "-a" "310c6eca7158028a7c34c57ae63474c2ade063396a72ff21cdcb1295505b88dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "310c6eca7158028a7c34c57ae63474c2ade063396a72ff21cdcb1295505b88dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "310c6eca7158028a7c34c57ae63474c2ade063396a72ff21cdcb1295505b88dc", kill_on_drop: false }` [INFO] [stdout] 310c6eca7158028a7c34c57ae63474c2ade063396a72ff21cdcb1295505b88dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fedb5bebbdf153ca9e9a9910ea556f789d8aeb77c63d9868d3e8a3925395b704 [INFO] running `Command { std: "docker" "start" "-a" "fedb5bebbdf153ca9e9a9910ea556f789d8aeb77c63d9868d3e8a3925395b704", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling handmade-rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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] [stderr] error: could not compile `handmade-rust` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "fedb5bebbdf153ca9e9a9910ea556f789d8aeb77c63d9868d3e8a3925395b704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fedb5bebbdf153ca9e9a9910ea556f789d8aeb77c63d9868d3e8a3925395b704", kill_on_drop: false }` [INFO] [stdout] fedb5bebbdf153ca9e9a9910ea556f789d8aeb77c63d9868d3e8a3925395b704