[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] building tomc1998/rust-2d-game-engine against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomc1998%2Frust-2d-game-engine" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomc1998/rust-2d-game-engine on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "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-3-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19543bb59791569848f6c3139ba19a237ffcf9c2f016685aa727b790092faa4a [INFO] running `Command { std: "docker" "start" "-a" "19543bb59791569848f6c3139ba19a237ffcf9c2f016685aa727b790092faa4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19543bb59791569848f6c3139ba19a237ffcf9c2f016685aa727b790092faa4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19543bb59791569848f6c3139ba19a237ffcf9c2f016685aa727b790092faa4a", kill_on_drop: false }` [INFO] [stdout] 19543bb59791569848f6c3139ba19a237ffcf9c2f016685aa727b790092faa4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 181d861eea196fd4c5920341c7a28818381a98600ff897adb8377563a807891c [INFO] running `Command { std: "docker" "start" "-a" "181d861eea196fd4c5920341c7a28818381a98600ff897adb8377563a807891c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling serde v0.8.19 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling lazy_static v0.2.2 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling gcc v0.3.40 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling x11-dl v2.11.0 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Compiling shared_library v0.1.5 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.3 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling smallvec v0.1.8 [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] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.5.11 [INFO] [stderr] Compiling wayland-kbd v0.3.6 [INFO] [stderr] Compiling wayland-window v0.2.3 [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | screen_stack: vec::Vec<&'a dyn screen::Screen>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn swap_screen(&mut self, screen: &'a dyn screen::Screen) { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a dyn screen::Screen) { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a dyn screen::Screen> { [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: field `renderer` is never read [INFO] [stdout] --> src/engine/mod.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Engine<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub renderer : renderer::Renderer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_component_animation_position`, `get_curr_state`, `push_screen`, `pop_screen`, and `pop_state` are never used [INFO] [stdout] --> src/engine/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> Engine<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn add_component_animation_position(&mut self, c: core::ComponentAnimation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_curr_state(&self) -> &state::State { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a screen::Screen> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn pop_state(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Renderable` is never used [INFO] [stdout] --> src/engine/renderer/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Renderable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `render` is never used [INFO] [stdout] --> src/engine/renderer/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl Renderer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn render(engine: engine::Engine) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_id`, `x`, and `y` are never read [INFO] [stdout] --> src/engine/entity/core.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ComponentPosition { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 6 | pub entity_id: entity::EntityID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub y: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/engine/entity/core.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ComponentAnimation { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 16 | pub entity_id: entity::EntityID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub animation_handle: engine::resource::animation::AnimationHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub does_render: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | [INFO] [stdout] 22 | pub x_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | pub y_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_id`, `x_offset`, `y_offset`, `width`, `height`, and `color` are never read [INFO] [stdout] --> src/engine/entity/core.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ComponentDebugDraw { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 38 | pub entity_id: entity::EntityID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | pub x_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub y_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 41 | pub width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | pub height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub color: engine::common::color::RGBf32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/resource/animation.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct AnimationHandle (u16); [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpriteAnimation` is never constructed [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: method `update` is never used [INFO] [stdout] --> src/engine/screen.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Screen { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn update(&self, engine: &mut Engine); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r`, `g`, and `b` are never read [INFO] [stdout] --> src/engine/common/color.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RGBf32 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | r: f32, [INFO] [stdout] | ^ [INFO] [stdout] 3 | g: f32, [INFO] [stdout] | ^ [INFO] [stdout] 4 | b: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RGBAf32` is never constructed [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: field `component_animation_list` is never read [INFO] [stdout] --> src/engine/state.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub component_animation_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "181d861eea196fd4c5920341c7a28818381a98600ff897adb8377563a807891c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "181d861eea196fd4c5920341c7a28818381a98600ff897adb8377563a807891c", kill_on_drop: false }` [INFO] [stdout] 181d861eea196fd4c5920341c7a28818381a98600ff897adb8377563a807891c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbbf336ff13208da46601b2c94e7ad39aef143805bb10bc3971db2530ac6edc9 [INFO] running `Command { std: "docker" "start" "-a" "cbbf336ff13208da46601b2c94e7ad39aef143805bb10bc3971db2530ac6edc9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | screen_stack: vec::Vec<&'a dyn screen::Screen>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | pub fn swap_screen(&mut self, screen: &'a dyn screen::Screen) { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a dyn screen::Screen) { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a dyn screen::Screen> { [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: field `renderer` is never read [INFO] [stdout] --> src/engine/mod.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Engine<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub renderer : renderer::Renderer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_component_animation_position`, `get_curr_state`, `push_screen`, `pop_screen`, and `pop_state` are never used [INFO] [stdout] --> src/engine/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> Engine<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn add_component_animation_position(&mut self, c: core::ComponentAnimation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_curr_state(&self) -> &state::State { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn push_screen(&mut self, screen: &'a screen::Screen) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn pop_screen(&mut self) -> Option<&'a screen::Screen> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn pop_state(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Renderable` is never used [INFO] [stdout] --> src/engine/renderer/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Renderable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `render` is never used [INFO] [stdout] --> src/engine/renderer/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl Renderer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn render(engine: engine::Engine) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_id`, `x`, and `y` are never read [INFO] [stdout] --> src/engine/entity/core.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ComponentPosition { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 6 | pub entity_id: entity::EntityID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub y: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/engine/entity/core.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ComponentAnimation { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 16 | pub entity_id: entity::EntityID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub animation_handle: engine::resource::animation::AnimationHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub does_render: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | [INFO] [stdout] 22 | pub x_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | pub y_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_id`, `x_offset`, `y_offset`, `width`, `height`, and `color` are never read [INFO] [stdout] --> src/engine/entity/core.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ComponentDebugDraw { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 38 | pub entity_id: entity::EntityID, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | pub x_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub y_offset: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 41 | pub width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | pub height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub color: engine::common::color::RGBf32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/resource/animation.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct AnimationHandle (u16); [INFO] [stdout] | --------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpriteAnimation` is never constructed [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: method `update` is never used [INFO] [stdout] --> src/engine/screen.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Screen { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn update(&self, engine: &mut Engine); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r`, `g`, and `b` are never read [INFO] [stdout] --> src/engine/common/color.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RGBf32 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | r: f32, [INFO] [stdout] | ^ [INFO] [stdout] 3 | g: f32, [INFO] [stdout] | ^ [INFO] [stdout] 4 | b: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RGBAf32` is never constructed [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: field `component_animation_list` is never read [INFO] [stdout] --> src/engine/state.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub component_animation_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "cbbf336ff13208da46601b2c94e7ad39aef143805bb10bc3971db2530ac6edc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbbf336ff13208da46601b2c94e7ad39aef143805bb10bc3971db2530ac6edc9", kill_on_drop: false }` [INFO] [stdout] cbbf336ff13208da46601b2c94e7ad39aef143805bb10bc3971db2530ac6edc9