[INFO] cloning repository https://github.com/vangroan/scripting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vangroan/scripting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvangroan%2Fscripting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvangroan%2Fscripting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8fb1b40da103e1c6a53d7d10bdd125f1aa53667a [INFO] checking vangroan/scripting against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvangroan%2Fscripting" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vangroan/scripting on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vangroan/scripting [INFO] finished tweaking git repo https://github.com/vangroan/scripting [INFO] tweaked toml for git repo https://github.com/vangroan/scripting written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/vangroan/scripting already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded image v0.23.4 [INFO] [stderr] Downloaded rlua v0.17.0 [INFO] [stderr] Downloaded gfx_window_glutin v0.31.0 [INFO] [stderr] Downloaded paste v0.1.16 [INFO] [stderr] Downloaded paste-impl v0.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 225ed0f362dfe62490bb241639cadad2b9e3ce9104e4e407776805c1c9613df9 [INFO] running `Command { std: "docker" "start" "-a" "225ed0f362dfe62490bb241639cadad2b9e3ce9104e4e407776805c1c9613df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "225ed0f362dfe62490bb241639cadad2b9e3ce9104e4e407776805c1c9613df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "225ed0f362dfe62490bb241639cadad2b9e3ce9104e4e407776805c1c9613df9", kill_on_drop: false }` [INFO] [stdout] 225ed0f362dfe62490bb241639cadad2b9e3ce9104e4e407776805c1c9613df9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ad4aae738342584a134ac29b6e9e88939d3cdd7f65c7563e4e8b4805ec40cb6 [INFO] running `Command { std: "docker" "start" "-a" "1ad4aae738342584a134ac29b6e9e88939d3cdd7f65c7563e4e8b4805ec40cb6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking memchr v2.3.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking png v0.16.4 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling rlua v0.17.0 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking tynm v0.1.4 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Compiling paste-impl v0.1.16 [INFO] [stderr] Compiling shred-derive v0.6.2 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Checking image v0.23.4 [INFO] [stderr] Checking paste v0.1.16 [INFO] [stderr] Checking simba v0.1.5 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Checking nalgebra v0.21.1 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking gfx_window_glutin v0.31.0 [INFO] [stderr] Checking scripting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UserDataMethods`, `UserData` [INFO] [stdout] --> src/input.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rlua::{UserData, UserDataMethods}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UserDataMethods`, `UserData` [INFO] [stdout] --> src/input.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rlua::{UserData, UserDataMethods}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::prelude` [INFO] [stdout] --> src/modding.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | io::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/modding.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let file = fs::File::open(path).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua_ctx` [INFO] [stdout] --> src/scriptable.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 225 | methods.add_method("read", |lua_ctx, data, ()| Ok(())); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lua_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/scriptable.rs:225:46 [INFO] [stdout] | [INFO] [stdout] 225 | methods.add_method("read", |lua_ctx, data, ()| Ok(())); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua_ctx` [INFO] [stdout] --> src/scriptable.rs:227:42 [INFO] [stdout] | [INFO] [stdout] 227 | methods.add_method_mut("write", |lua_ctx, data, ()| Ok(())); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lua_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/scriptable.rs:227:51 [INFO] [stdout] | [INFO] [stdout] 227 | methods.add_method_mut("write", |lua_ctx, data, ()| Ok(())); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::prelude` [INFO] [stdout] --> src/modding.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | io::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/modding.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let file = fs::File::open(path).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua_ctx` [INFO] [stdout] --> src/scriptable.rs:225:37 [INFO] [stdout] | [INFO] [stdout] 225 | methods.add_method("read", |lua_ctx, data, ()| Ok(())); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lua_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/scriptable.rs:225:46 [INFO] [stdout] | [INFO] [stdout] 225 | methods.add_method("read", |lua_ctx, data, ()| Ok(())); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua_ctx` [INFO] [stdout] --> src/scriptable.rs:227:42 [INFO] [stdout] | [INFO] [stdout] 227 | methods.add_method_mut("write", |lua_ctx, data, ()| Ok(())); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lua_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/scriptable.rs:227:51 [INFO] [stdout] | [INFO] [stdout] 227 | methods.add_method_mut("write", |lua_ctx, data, ()| Ok(())); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | let mut lua = rlua::Lua::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | let mut lua = rlua::Lua::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/colors.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(red: f32, green: f32, blue: f32, alpha: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `duration` [INFO] [stdout] --> src/delta_time.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn duration(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `delta_time` [INFO] [stdout] --> src/ecs.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | delta_time: ReadExpect<'a, delta_time::DeltaTime>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `squares` [INFO] [stdout] --> src/ecs.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | squares: WriteStorage<'a, shape::Square>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `virtual_key_code_from_string` [INFO] [stdout] --> src/input.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn virtual_key_code_from_string(code: S) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mods` [INFO] [stdout] --> src/modding.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mods: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_mod` [INFO] [stdout] --> src/modding.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn load_mod

(&mut self, path: P) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ModMeta` [INFO] [stdout] --> src/modding.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ModMeta { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `priority` [INFO] [stdout] --> src/modding.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | priority: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ResourceTable` [INFO] [stdout] --> src/scriptable.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ResourceTable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/scriptable.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register` [INFO] [stdout] --> src/scriptable.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn register(&mut self, name: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/scriptable.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get(&self, name: &str) -> ResourceId { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reads` [INFO] [stdout] --> src/scriptable.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | reads: Vec<&'a dyn Reflection>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `writes` [INFO] [stdout] --> src/scriptable.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | writes: Vec<&'a mut dyn Reflection>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture` [INFO] [stdout] --> src/shape.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/colors.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(red: f32, green: f32, blue: f32, alpha: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `duration` [INFO] [stdout] --> src/delta_time.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn duration(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `delta_time` [INFO] [stdout] --> src/ecs.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | delta_time: ReadExpect<'a, delta_time::DeltaTime>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `squares` [INFO] [stdout] --> src/ecs.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | squares: WriteStorage<'a, shape::Square>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `virtual_key_code_from_string` [INFO] [stdout] --> src/input.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn virtual_key_code_from_string(code: S) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mods` [INFO] [stdout] --> src/modding.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mods: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_mod` [INFO] [stdout] --> src/modding.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn load_mod

(&mut self, path: P) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ModMeta` [INFO] [stdout] --> src/modding.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ModMeta { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `priority` [INFO] [stdout] --> src/modding.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | priority: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ResourceTable` [INFO] [stdout] --> src/scriptable.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ResourceTable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/scriptable.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register` [INFO] [stdout] --> src/scriptable.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn register(&mut self, name: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/scriptable.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get(&self, name: &str) -> ResourceId { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reads` [INFO] [stdout] --> src/scriptable.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | reads: Vec<&'a dyn Reflection>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `writes` [INFO] [stdout] --> src/scriptable.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | writes: Vec<&'a mut dyn Reflection>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture` [INFO] [stdout] --> src/shape.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.44s [INFO] running `Command { std: "docker" "inspect" "1ad4aae738342584a134ac29b6e9e88939d3cdd7f65c7563e4e8b4805ec40cb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ad4aae738342584a134ac29b6e9e88939d3cdd7f65c7563e4e8b4805ec40cb6", kill_on_drop: false }` [INFO] [stdout] 1ad4aae738342584a134ac29b6e9e88939d3cdd7f65c7563e4e8b4805ec40cb6