[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 master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-2d-game-engine" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomc1998/rust-2d-game-engine on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-6/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63cf2f54e9f3d176f7f8ef2ecd33d3d54097df7419ac1f781bf528a019307da8 [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" "63cf2f54e9f3d176f7f8ef2ecd33d3d54097df7419ac1f781bf528a019307da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63cf2f54e9f3d176f7f8ef2ecd33d3d54097df7419ac1f781bf528a019307da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63cf2f54e9f3d176f7f8ef2ecd33d3d54097df7419ac1f781bf528a019307da8", kill_on_drop: false }` [INFO] [stdout] 63cf2f54e9f3d176f7f8ef2ecd33d3d54097df7419ac1f781bf528a019307da8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76f8282ff633891eb34804dc5b73769673495409fd121e9a34b48e21489d83ce [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" "76f8282ff633891eb34804dc5b73769673495409fd121e9a34b48e21489d83ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling serde v0.8.19 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling gcc v0.3.40 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Checking crossbeam v0.2.10 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [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 serde_json v0.8.4 [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 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: 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: 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: 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 52.77s [INFO] running `Command { std: "docker" "inspect" "76f8282ff633891eb34804dc5b73769673495409fd121e9a34b48e21489d83ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76f8282ff633891eb34804dc5b73769673495409fd121e9a34b48e21489d83ce", kill_on_drop: false }` [INFO] [stdout] 76f8282ff633891eb34804dc5b73769673495409fd121e9a34b48e21489d83ce