[INFO] cloning repository https://github.com/deniauma/neutrino-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deniauma/neutrino-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeniauma%2Fneutrino-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeniauma%2Fneutrino-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40391e64571c22594964a4a7966c1d73dfa7a756 [INFO] checking deniauma/neutrino-engine against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeniauma%2Fneutrino-engine" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/deniauma/neutrino-engine [INFO] finished tweaking git repo https://github.com/deniauma/neutrino-engine [INFO] tweaked toml for git repo https://github.com/deniauma/neutrino-engine written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/deniauma/neutrino-engine on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/deniauma/neutrino-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" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ce9a52b2e55ff93838066792c5e194e7ceed12f9edd7949fb6062caa2561102 [INFO] running `Command { std: "docker" "start" "-a" "4ce9a52b2e55ff93838066792c5e194e7ceed12f9edd7949fb6062caa2561102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ce9a52b2e55ff93838066792c5e194e7ceed12f9edd7949fb6062caa2561102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ce9a52b2e55ff93838066792c5e194e7ceed12f9edd7949fb6062caa2561102", kill_on_drop: false }` [INFO] [stdout] 4ce9a52b2e55ff93838066792c5e194e7ceed12f9edd7949fb6062caa2561102 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4f4861222be62ef54c14fe41382ad84b825f4960c314b63bc3083e75fe9a59f [INFO] running `Command { std: "docker" "start" "-a" "c4f4861222be62ef54c14fe41382ad84b825f4960c314b63bc3083e75fe9a59f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Checking smallvec v0.6.8 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking inflate v0.4.4 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking stb_truetype v0.2.5 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking math v0.1.0 (/opt/rustwide/workdir/math) [INFO] [stderr] Checking approx v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.21.11 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rand_os v0.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rusttype v0.7.3 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking andrew v0.1.5 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking wayland-sys v0.21.11 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling gl v0.12.0 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking wayland-commons v0.21.11 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.1 [INFO] [stderr] Checking noise v0.5.1 [INFO] [stderr] Checking smithay-client-toolkit v0.4.4 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking neutrino-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MouseScrollDelta` [INFO] [stdout] --> src/graphics/inputs.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use glutin::{KeyboardInput, ElementState, MouseScrollDelta}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/states.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | states_manager: HashMap> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | states_manager: HashMap> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | update_manager: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 48 | update_manager: HashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:106:56 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_update(&self, id: Index) -> Result<&Box, String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 106 | pub fn get_update(&self, id: Index) -> Result<&Box, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:268:57 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn add_update(&mut self, id: Index, update: Box) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 268 | pub fn add_update(&mut self, id: Index, update: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:288:49 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn get_update(&self, id: Index) -> &Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 288 | pub fn get_update(&self, id: Index) -> &Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/graphics/transform.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | local_transform: Matrix4::one(), [INFO] [stdout] | ^^^ multiple `one` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `cgmath::One` for the type `Matrix4` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `cgmath::Transform` for the type `Matrix4` [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 21 - local_transform: Matrix4::one(), [INFO] [stdout] 21 + local_transform: as cgmath::One>::one(), [INFO] [stdout] | [INFO] [stdout] 21 - local_transform: Matrix4::one(), [INFO] [stdout] 21 + local_transform: as cgmath::Transform>::one(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/graphics/transform.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | local_transform: Matrix4::one(), [INFO] [stdout] | ^^^ multiple `one` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `cgmath::One` for the type `Matrix4` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `cgmath::Transform` for the type `Matrix4` [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 30 - local_transform: Matrix4::one(), [INFO] [stdout] 30 + local_transform: as cgmath::One>::one(), [INFO] [stdout] | [INFO] [stdout] 30 - local_transform: Matrix4::one(), [INFO] [stdout] 30 + local_transform: as cgmath::Transform>::one(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/graphics/scene.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | for (id, trans) in storage.transform_manager.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trans` [INFO] [stdout] --> src/graphics/scene.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | for (id, trans) in storage.transform_manager.iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseScrollDelta` [INFO] [stdout] --> src/graphics/inputs.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use glutin::{KeyboardInput, ElementState, MouseScrollDelta}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/states.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | states_manager: HashMap> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | states_manager: HashMap> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | update_manager: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 48 | update_manager: HashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/graphics/mod.rs:211:51 [INFO] [stdout] | [INFO] [stdout] 211 | glutin::WindowEvent::MouseWheel { delta, ..} => (), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `delta: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | fn on_create(&mut self, data: &mut graphics::ComponentStorageManager){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/main.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | fn on_update(&mut self, data: GameData, delta: f32){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | let (id, storage, input) = data; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | fn on_delete(&mut self, data: &mut graphics::ComponentStorageManager){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | fn on_create(&mut self, data: &mut graphics::ComponentStorageManager){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | let (id, storage, input) = data; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | fn on_delete(&mut self, data: &mut graphics::ComponentStorageManager){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane` [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let plane = EntityBuilder::new().with_mesh(PrimitiveBuilder::plane(Color::new(14.0/255.0, 50.0/255.0, 214.0/255.0))).with_trans... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:106:56 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_update(&self, id: Index) -> Result<&Box, String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 106 | pub fn get_update(&self, id: Index) -> Result<&Box, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:268:57 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn add_update(&mut self, id: Index, update: Box) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 268 | pub fn add_update(&mut self, id: Index, update: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/mod.rs:288:49 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn get_update(&self, id: Index) -> &Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 288 | pub fn get_update(&self, id: Index) -> &Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `neutrino-engine` (bin "neutrino-engine") due to 2 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/graphics/transform.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | local_transform: Matrix4::one(), [INFO] [stdout] | ^^^ multiple `one` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `cgmath::One` for the type `Matrix4` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `cgmath::Transform` for the type `Matrix4` [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 21 - local_transform: Matrix4::one(), [INFO] [stdout] 21 + local_transform: as cgmath::One>::one(), [INFO] [stdout] | [INFO] [stdout] 21 - local_transform: Matrix4::one(), [INFO] [stdout] 21 + local_transform: as cgmath::Transform>::one(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/graphics/transform.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | local_transform: Matrix4::one(), [INFO] [stdout] | ^^^ multiple `one` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `cgmath::One` for the type `Matrix4` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `cgmath::Transform` for the type `Matrix4` [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 30 - local_transform: Matrix4::one(), [INFO] [stdout] 30 + local_transform: as cgmath::One>::one(), [INFO] [stdout] | [INFO] [stdout] 30 - local_transform: Matrix4::one(), [INFO] [stdout] 30 + local_transform: as cgmath::Transform>::one(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/graphics/scene.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | for (id, trans) in storage.transform_manager.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trans` [INFO] [stdout] --> src/graphics/scene.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | for (id, trans) in storage.transform_manager.iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/graphics/mod.rs:211:51 [INFO] [stdout] | [INFO] [stdout] 211 | glutin::WindowEvent::MouseWheel { delta, ..} => (), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `delta: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | fn on_create(&mut self, data: &mut graphics::ComponentStorageManager){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/main.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | fn on_update(&mut self, data: GameData, delta: f32){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | let (id, storage, input) = data; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | fn on_delete(&mut self, data: &mut graphics::ComponentStorageManager){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | fn on_create(&mut self, data: &mut graphics::ComponentStorageManager){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | let (id, storage, input) = data; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | fn on_delete(&mut self, data: &mut graphics::ComponentStorageManager){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane` [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let plane = EntityBuilder::new().with_mesh(PrimitiveBuilder::plane(Color::new(14.0/255.0, 50.0/255.0, 214.0/255.0))).with_trans... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `neutrino-engine` (bin "neutrino-engine" test) due to 2 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c4f4861222be62ef54c14fe41382ad84b825f4960c314b63bc3083e75fe9a59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4f4861222be62ef54c14fe41382ad84b825f4960c314b63bc3083e75fe9a59f", kill_on_drop: false }` [INFO] [stdout] c4f4861222be62ef54c14fe41382ad84b825f4960c314b63bc3083e75fe9a59f