[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] building deniauma/neutrino-engine against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeniauma%2Fneutrino-engine" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/deniauma/neutrino-engine on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded andrew v0.1.5 [INFO] [stderr] Downloaded stb_truetype v0.2.5 [INFO] [stderr] Downloaded rusttype v0.7.3 [INFO] [stderr] Downloaded gl v0.12.0 [INFO] [stderr] Downloaded ordered-float v1.0.1 [INFO] [stderr] Downloaded inflate v0.4.4 [INFO] [stderr] Downloaded smithay-client-toolkit v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 805d0747214c8f93139a68d9971ee97c40628927b47d6c691108e500711697ac [INFO] running `Command { std: "docker" "start" "-a" "805d0747214c8f93139a68d9971ee97c40628927b47d6c691108e500711697ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "805d0747214c8f93139a68d9971ee97c40628927b47d6c691108e500711697ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805d0747214c8f93139a68d9971ee97c40628927b47d6c691108e500711697ac", kill_on_drop: false }` [INFO] [stdout] 805d0747214c8f93139a68d9971ee97c40628927b47d6c691108e500711697ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac28f84c5c0b98b2a25d2d34b296054388e90f58317042034d52b87857a93cec [INFO] running `Command { std: "docker" "start" "-a" "ac28f84c5c0b98b2a25d2d34b296054388e90f58317042034d52b87857a93cec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling 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 log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling stb_truetype v0.2.5 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling approx v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.21.11 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling ordered-float v1.0.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling wayland-sys v0.21.11 [INFO] [stderr] Compiling rusttype v0.7.3 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling andrew v0.1.5 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling gl v0.12.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling inflate v0.4.4 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling math v0.1.0 (/opt/rustwide/workdir/math) [INFO] [stderr] Compiling png v0.14.0 [INFO] [stderr] Compiling wayland-commons v0.21.11 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.1 [INFO] [stderr] Compiling noise v0.5.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.4 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling 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)]` 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)]` 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] 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)]` 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] | ^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [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: `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: `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: `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_transform(T... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example1` is never used [INFO] [stdout] --> src/main.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn example1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example3` is never used [INFO] [stdout] --> src/main.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn example3() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `title` are never read [INFO] [stdout] --> src/graphics/mod.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 293 | struct Window { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 294 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 295 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 296 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_title` is never used [INFO] [stdout] --> src/graphics/mod.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 301 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 336 | fn set_title(&mut self, title: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_vertex` is never used [INFO] [stdout] --> src/graphics/mesh.rs:276:8 [INFO] [stdout] | [INFO] [stdout] 247 | impl Mesh { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | fn build_vertex(&self, index: usize) -> Vertice { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SceneManager` is never constructed [INFO] [stdout] --> src/graphics/scene.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct SceneManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_transforms` is never used [INFO] [stdout] --> src/graphics/scene.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl SceneManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 11 | pub fn update_transforms(&mut self, storage: &ComponentStorageManager) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keys`, `mouse_button_left`, `mouse_button_right`, `mouse_button_middle`, `mouse_motion_delta_x`, and `mouse_motion_delta_y` are never read [INFO] [stdout] --> src/graphics/inputs.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Input<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 31 | keys: &'a HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | mouse_button_left: ButtonState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | mouse_button_right: ButtonState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | mouse_button_middle: ButtonState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | mouse_motion_delta_x: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | mouse_motion_delta_y: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `depth`, and `vertex_size` are never read [INFO] [stdout] --> src/procedural/terrain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Terrain { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 2 | width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | depth: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | vertex_size: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graphics/inputs.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_input(&self) -> Input { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_input(&self) -> Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.88s [INFO] running `Command { std: "docker" "inspect" "ac28f84c5c0b98b2a25d2d34b296054388e90f58317042034d52b87857a93cec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac28f84c5c0b98b2a25d2d34b296054388e90f58317042034d52b87857a93cec", kill_on_drop: false }` [INFO] [stdout] ac28f84c5c0b98b2a25d2d34b296054388e90f58317042034d52b87857a93cec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebd06e4094cf045d05218481394b2e574bc75babed08420b42345f2e45922985 [INFO] running `Command { std: "docker" "start" "-a" "ebd06e4094cf045d05218481394b2e574bc75babed08420b42345f2e45922985", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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)]` 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] 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)]` 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] | ^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [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: `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: `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: `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_transform(T... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example1` is never used [INFO] [stdout] --> src/main.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn example1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example3` is never used [INFO] [stdout] --> src/main.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn example3() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `title` are never read [INFO] [stdout] --> src/graphics/mod.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 293 | struct Window { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 294 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 295 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 296 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_title` is never used [INFO] [stdout] --> src/graphics/mod.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 301 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 336 | fn set_title(&mut self, title: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_vertex` is never used [INFO] [stdout] --> src/graphics/mesh.rs:276:8 [INFO] [stdout] | [INFO] [stdout] 247 | impl Mesh { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | fn build_vertex(&self, index: usize) -> Vertice { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SceneManager` is never constructed [INFO] [stdout] --> src/graphics/scene.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct SceneManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_transforms` is never used [INFO] [stdout] --> src/graphics/scene.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl SceneManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 11 | pub fn update_transforms(&mut self, storage: &ComponentStorageManager) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keys`, `mouse_button_left`, `mouse_button_right`, `mouse_button_middle`, `mouse_motion_delta_x`, and `mouse_motion_delta_y` are never read [INFO] [stdout] --> src/graphics/inputs.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Input<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 31 | keys: &'a HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | mouse_button_left: ButtonState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | mouse_button_right: ButtonState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | mouse_button_middle: ButtonState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | mouse_motion_delta_x: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | mouse_motion_delta_y: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `depth`, and `vertex_size` are never read [INFO] [stdout] --> src/procedural/terrain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Terrain { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 2 | width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | depth: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | vertex_size: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graphics/inputs.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_input(&self) -> Input { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_input(&self) -> Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "ebd06e4094cf045d05218481394b2e574bc75babed08420b42345f2e45922985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd06e4094cf045d05218481394b2e574bc75babed08420b42345f2e45922985", kill_on_drop: false }` [INFO] [stdout] ebd06e4094cf045d05218481394b2e574bc75babed08420b42345f2e45922985