[INFO] cloning repository https://github.com/tomc1998/rust-2d-game-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomc1998/rust-2d-game-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-2d-game-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-2d-game-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0546c06fa636da5a4dbe9ea3eb087c65f69c125e [INFO] checking tomc1998/rust-2d-game-engine against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-2d-game-engine" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomc1998/rust-2d-game-engine on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tomc1998/rust-2d-game-engine [INFO] finished tweaking git repo https://github.com/tomc1998/rust-2d-game-engine [INFO] tweaked toml for git repo https://github.com/tomc1998/rust-2d-game-engine written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/tomc1998/rust-2d-game-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcc v0.3.40 [INFO] [stderr] Downloaded gleam v0.2.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f90301efe11ee2be923f16a1a6e45ab345135847ba8f97178b53319ee56970a [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" "6f90301efe11ee2be923f16a1a6e45ab345135847ba8f97178b53319ee56970a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f90301efe11ee2be923f16a1a6e45ab345135847ba8f97178b53319ee56970a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f90301efe11ee2be923f16a1a6e45ab345135847ba8f97178b53319ee56970a", kill_on_drop: false }` [INFO] [stdout] 6f90301efe11ee2be923f16a1a6e45ab345135847ba8f97178b53319ee56970a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 421e1ffb5a37dde451ddf8dbdd29bdb501d1c5fa84e77e3a6275b0e7317d1ac3 [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" "421e1ffb5a37dde451ddf8dbdd29bdb501d1c5fa84e77e3a6275b0e7317d1ac3", kill_on_drop: false }` [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling serde v0.8.19 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling gcc v0.3.40 [INFO] [stderr] Checking rustc-demangle v0.1.3 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Checking backtrace v0.2.3 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Compiling serde_json v0.8.4 [INFO] [stderr] Compiling libloading v0.3.1 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.5.11 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking game_engine_1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | screen_stack: vec::Vec<&'a screen::Screen>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn screen::Screen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn swap_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn screen::Screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn screen::Screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a screen::Screen> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn screen::Screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | screen_stack: vec::Vec<&'a screen::Screen>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn screen::Screen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn swap_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn screen::Screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn screen::Screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/engine/mod.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a screen::Screen> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn screen::Screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/renderer/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn render(engine: engine::Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/screen/main_menu/mod.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | fn update(&self, engine: &mut engine::Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/screen/main_menu/mod.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn on_hide(&self, engine: &mut engine::Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/engine/renderer/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn render(engine: engine::Engine) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/engine/renderer/mod.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn render(engine: engine::Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SpriteAnimation` [INFO] [stdout] --> src/engine/resource/animation.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SpriteAnimation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/screen/main_menu/mod.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | fn update(&self, engine: &mut engine::Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `r` [INFO] [stdout] --> src/engine/common/color.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | r: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/screen/main_menu/mod.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn on_hide(&self, engine: &mut engine::Engine) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `g` [INFO] [stdout] --> src/engine/common/color.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | g: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/engine/common/color.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | b: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RGBAf32` [INFO] [stdout] --> src/engine/common/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RGBAf32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_component_animation_position` [INFO] [stdout] --> src/engine/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn add_component_animation_position(&mut self, c: core::ComponentAnimation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_curr_state` [INFO] [stdout] --> src/engine/mod.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_curr_state(&self) -> &state::State { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_screen` [INFO] [stdout] --> src/engine/mod.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_screen` [INFO] [stdout] --> src/engine/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a screen::Screen> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_state` [INFO] [stdout] --> src/engine/mod.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pop_state(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/engine/renderer/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn render(engine: engine::Engine) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SpriteAnimation` [INFO] [stdout] --> src/engine/resource/animation.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SpriteAnimation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `r` [INFO] [stdout] --> src/engine/common/color.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | r: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `g` [INFO] [stdout] --> src/engine/common/color.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | g: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/engine/common/color.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | b: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RGBAf32` [INFO] [stdout] --> src/engine/common/color.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RGBAf32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_component_animation_position` [INFO] [stdout] --> src/engine/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn add_component_animation_position(&mut self, c: core::ComponentAnimation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_curr_state` [INFO] [stdout] --> src/engine/mod.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_curr_state(&self) -> &state::State { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_screen` [INFO] [stdout] --> src/engine/mod.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_screen` [INFO] [stdout] --> src/engine/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a screen::Screen> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_state` [INFO] [stdout] --> src/engine/mod.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn pop_state(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.77s [INFO] running `Command { std: "docker" "inspect" "421e1ffb5a37dde451ddf8dbdd29bdb501d1c5fa84e77e3a6275b0e7317d1ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "421e1ffb5a37dde451ddf8dbdd29bdb501d1c5fa84e77e3a6275b0e7317d1ac3", kill_on_drop: false }` [INFO] [stdout] 421e1ffb5a37dde451ddf8dbdd29bdb501d1c5fa84e77e3a6275b0e7317d1ac3