[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#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhvorov45%2Fthiefgame" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/khvorov45/thiefgame on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "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-4/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows_macros v0.8.0 [INFO] [stderr] Downloaded pollster v0.2.4 [INFO] [stderr] Downloaded pixels v0.3.0 [INFO] [stderr] Downloaded mio-misc v1.0.0 [INFO] [stderr] Downloaded x11rb v0.8.1 [INFO] [stderr] Downloaded safe_arch v0.5.2 [INFO] [stderr] Downloaded smithay-client-toolkit v0.12.3 [INFO] [stderr] Downloaded wayland-cursor v0.28.5 [INFO] [stderr] Downloaded wide v0.5.5 [INFO] [stderr] Downloaded gfx-backend-dx12 v0.7.1 [INFO] [stderr] Downloaded const-sha1 v0.2.0 [INFO] [stderr] Downloaded wayland-scanner v0.28.5 [INFO] [stderr] Downloaded winit v0.25.0 [INFO] [stderr] Downloaded wayland-client v0.28.5 [INFO] [stderr] Downloaded windows v0.8.0 [INFO] [stderr] Downloaded ultraviolet v0.7.5 [INFO] [stderr] Downloaded wayland-protocols v0.28.5 [INFO] [stderr] Downloaded windows_gen v0.8.0 [INFO] [stderr] Downloaded wayland-sys v0.28.5 [INFO] [stderr] Downloaded wayland-commons v0.28.5 [INFO] [stderr] Downloaded dlib v0.5.0 [INFO] [stderr] Downloaded winapi-wsapoll v0.1.1 [INFO] [stderr] Downloaded gethostname v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0738fb90a4be46f5dd663eefe4df7011ad6a2fa3864d169196d9168d1cf44cdf [INFO] running `Command { std: "docker" "start" "-a" "0738fb90a4be46f5dd663eefe4df7011ad6a2fa3864d169196d9168d1cf44cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0738fb90a4be46f5dd663eefe4df7011ad6a2fa3864d169196d9168d1cf44cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0738fb90a4be46f5dd663eefe4df7011ad6a2fa3864d169196d9168d1cf44cdf", kill_on_drop: false }` [INFO] [stdout] 0738fb90a4be46f5dd663eefe4df7011ad6a2fa3864d169196d9168d1cf44cdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b95a684439ee9608adb23d4204cdef26769db7eb7e7eea222defdcafd76f0b5 [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" "5b95a684439ee9608adb23d4204cdef26769db7eb7e7eea222defdcafd76f0b5", kill_on_drop: false }` [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `handmade-rust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "5b95a684439ee9608adb23d4204cdef26769db7eb7e7eea222defdcafd76f0b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b95a684439ee9608adb23d4204cdef26769db7eb7e7eea222defdcafd76f0b5", kill_on_drop: false }` [INFO] [stdout] 5b95a684439ee9608adb23d4204cdef26769db7eb7e7eea222defdcafd76f0b5