[INFO] cloning repository https://github.com/EldarionDev/BarbariaClient [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EldarionDev/BarbariaClient" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEldarionDev%2FBarbariaClient", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEldarionDev%2FBarbariaClient'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1a8b89e31f4005f8fc763c98edcd8689ba386eb [INFO] checking EldarionDev/BarbariaClient against master#6526e5c772f2da07db745c94ca6bb0a591a39ba4 for pr-80920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEldarionDev%2FBarbariaClient" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EldarionDev/BarbariaClient on toolchain 6526e5c772f2da07db745c94ca6bb0a591a39ba4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EldarionDev/BarbariaClient [INFO] finished tweaking git repo https://github.com/EldarionDev/BarbariaClient [INFO] tweaked toml for git repo https://github.com/EldarionDev/BarbariaClient written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/EldarionDev/BarbariaClient already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce930317ec434d8198012cd868ace8d5d1aaf634b8b667856772bac42b3ffe59 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ce930317ec434d8198012cd868ace8d5d1aaf634b8b667856772bac42b3ffe59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce930317ec434d8198012cd868ace8d5d1aaf634b8b667856772bac42b3ffe59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce930317ec434d8198012cd868ace8d5d1aaf634b8b667856772bac42b3ffe59", kill_on_drop: false }` [INFO] [stdout] ce930317ec434d8198012cd868ace8d5d1aaf634b8b667856772bac42b3ffe59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aceef448612fb286488e46de045a1e550f161a7d918779a1b5c4a6179932fc6d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aceef448612fb286488e46de045a1e550f161a7d918779a1b5c4a6179932fc6d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.1 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking glfw v0.41.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking barbaria_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clone` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{clone, env}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::PathBuf` [INFO] [stdout] --> src/resource_manager.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/resource_manager.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> src/game/faction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `hash::Hash` [INFO] [stdout] --> src/engine.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::size_of` [INFO] [stdout] --> src/engine/graphic/model.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::c_void, fs::File, io::{BufRead, BufReader}, mem::size_of, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::maths::Vec3` [INFO] [stdout] --> src/engine/graphic/model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::maths::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clone` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{clone, env}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::PathBuf` [INFO] [stdout] --> src/resource_manager.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/resource_manager.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> src/game/faction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `hash::Hash` [INFO] [stdout] --> src/engine.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::size_of` [INFO] [stdout] --> src/engine/graphic/model.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::c_void, fs::File, io::{BufRead, BufReader}, mem::size_of, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::maths::Vec3` [INFO] [stdout] --> src/engine/graphic/model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::maths::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_args` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let cmd_args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `faction` [INFO] [stdout] --> src/game.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let faction: faction::Faction = serde_json::from_str(faction_file_content).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_faction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `random_title_screen` [INFO] [stdout] --> src/engine.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let random_title_screen = &title_screen_files[random_title_screen]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_random_title_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/graphic.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | for (i, x) in paths.resource_manager.get_assets("animations").iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/graphic.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | for (i, x) in paths.resource_manager.get_assets("cameras").iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/graphic.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | for (i, x) in paths.resource_manager.get_assets("models").iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/graphic.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | for (i, x) in paths.resource_manager.get_assets("projections").iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/graphic.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | for (i, x) in paths.resource_manager.get_assets("shaders").iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/graphic.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | for (i, x) in paths.resource_manager.get_assets("textures").iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/engine/graphic/animation.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(path: &str) -> Animation{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/engine/graphic/camera.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(path: &str) -> Camera{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shader` [INFO] [stdout] --> src/engine/graphic/camera.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn bind(&self, shader: &Shader) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/engine/graphic/model.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | for (index, line) in reader.lines().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/engine/graphic/projection.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(path: &str) -> Projection{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shader` [INFO] [stdout] --> src/engine/graphic/projection.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn bind(&self, shader: &Shader) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/engine/window.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut window, events) = glfw.create_window(1920, 1080, "Third Age Reforged", glfw::WindowMode::Windowed) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_args` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let cmd_args: Vec = env::args().collect(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `faction` [INFO] [stdout] --> src/game.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let faction: faction::Faction = serde_json::from_str(faction_file_content).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_faction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `random_title_screen` [INFO] [stdout] --> src/engine.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let random_title_screen = &title_screen_files[random_title_screen]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_random_title_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/graphic.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | for (i, x) in paths.resource_manager.get_assets("animations").iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/graphic.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | for (i, x) in paths.resource_manager.get_assets("cameras").iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/graphic.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | for (i, x) in paths.resource_manager.get_assets("models").iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/graphic.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | for (i, x) in paths.resource_manager.get_assets("projections").iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/graphic.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | for (i, x) in paths.resource_manager.get_assets("shaders").iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/graphic.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | for (i, x) in paths.resource_manager.get_assets("textures").iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/engine/graphic/animation.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(path: &str) -> Animation{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/engine/graphic/camera.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(path: &str) -> Camera{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shader` [INFO] [stdout] --> src/engine/graphic/camera.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn bind(&self, shader: &Shader) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/engine/graphic/model.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | for (index, line) in reader.lines().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/engine/graphic/projection.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(path: &str) -> Projection{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shader` [INFO] [stdout] --> src/engine/graphic/projection.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn bind(&self, shader: &Shader) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/engine/window.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | let (mut window, events) = glfw.create_window(1920, 1080, "Third Age Reforged", glfw::WindowMode::Windowed) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let mut splitted_string = x.split('/'); [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/engine/graphic.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let mut splitted_string = splitted_string.last().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let mut splitted_string = x.split('/'); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut splitted_string = splitted_string.last().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut splitted_string = x.split('/'); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut splitted_string = splitted_string.last().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut splitted_string = x.split('/'); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut splitted_string = splitted_string.last().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut splitted_string = x.split('/'); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut splitted_string = splitted_string.last().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let mut splitted_string = x.split('/'); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let mut splitted_string = splitted_string.last().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut texture_name = name.to_string() + ".tga"; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn draw(mut self, obj: Object) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic/shader.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut infoLog: Vec = Vec::with_capacity(512); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic/shader.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut success_ptr: *mut i32 = &mut success as *mut i32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic/shader.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut infoLog: Vec = Vec::with_capacity(512); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic/shader.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut success_ptr: *mut i32 = &mut success as *mut i32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_map` [INFO] [stdout] --> src/resource_manager.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_map(&self) -> String { [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: `get_data` [INFO] [stdout] --> src/resource_manager.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_data(&self, data_name: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/faction/army/unit.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/faction/army.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/faction/settlement/building.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/faction/settlement.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/map/landscape.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/map/region.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/engine/graphic/model.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | x: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/engine/graphic/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | y: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `z` [INFO] [stdout] --> src/engine/graphic/model.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | z: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `normalX` [INFO] [stdout] --> src/engine/graphic/model.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | normalX: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `normalY` [INFO] [stdout] --> src/engine/graphic/model.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | normalY: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `normalZ` [INFO] [stdout] --> src/engine/graphic/model.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | normalZ: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `textureX` [INFO] [stdout] --> src/engine/graphic/model.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | textureX: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `textureY` [INFO] [stdout] --> src/engine/graphic/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | textureY: f64 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Settlement` [INFO] [stdout] --> src/engine/graphic.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Settlement, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Army` [INFO] [stdout] --> src/engine/graphic.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Army, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Lake` [INFO] [stdout] --> src/engine/graphic.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Lake, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Terrain` [INFO] [stdout] --> src/engine/graphic.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Terrain, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dimension3` [INFO] [stdout] --> src/engine/graphic.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Dimension3 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vec3` [INFO] [stdout] --> src/maths.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let mut splitted_string = x.split('/'); [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/engine/graphic.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let mut splitted_string = splitted_string.last().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let mut splitted_string = x.split('/'); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut splitted_string = splitted_string.last().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut splitted_string = x.split('/'); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut splitted_string = splitted_string.last().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | let mut splitted_string = x.split('/'); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut splitted_string = splitted_string.last().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut splitted_string = x.split('/'); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut splitted_string = splitted_string.last().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let mut splitted_string = x.split('/'); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let mut splitted_string = splitted_string.last().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut texture_name = name.to_string() + ".tga"; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn draw(mut self, obj: Object) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic/shader.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut infoLog: Vec = Vec::with_capacity(512); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic/shader.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut success_ptr: *mut i32 = &mut success as *mut i32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic/shader.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut infoLog: Vec = Vec::with_capacity(512); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/graphic/shader.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut success_ptr: *mut i32 = &mut success as *mut i32; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_map` [INFO] [stdout] --> src/resource_manager.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_map(&self) -> String { [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: `get_data` [INFO] [stdout] --> src/resource_manager.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_data(&self, data_name: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/faction/army/unit.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/faction/army.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/faction/settlement/building.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/faction/settlement.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/map/landscape.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/map/region.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/engine/graphic/model.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | x: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/engine/graphic/model.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | y: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `z` [INFO] [stdout] --> src/engine/graphic/model.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | z: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `normalX` [INFO] [stdout] --> src/engine/graphic/model.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | normalX: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `normalY` [INFO] [stdout] --> src/engine/graphic/model.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | normalY: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `normalZ` [INFO] [stdout] --> src/engine/graphic/model.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | normalZ: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `textureX` [INFO] [stdout] --> src/engine/graphic/model.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | textureX: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `textureY` [INFO] [stdout] --> src/engine/graphic/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | textureY: f64 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Settlement` [INFO] [stdout] --> src/engine/graphic.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Settlement, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Army` [INFO] [stdout] --> src/engine/graphic.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Army, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Lake` [INFO] [stdout] --> src/engine/graphic.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Lake, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Terrain` [INFO] [stdout] --> src/engine/graphic.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Terrain, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dimension3` [INFO] [stdout] --> src/engine/graphic.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Dimension3 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vec3` [INFO] [stdout] --> src/maths.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/game.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | file.unwrap().write_all(json_data.unwrap().as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `normalX` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | normalX: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `normal_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `normalY` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | normalY: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `normal_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `normalZ` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | normalZ: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `normal_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `textureX` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | textureX: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `texture_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `textureY` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | textureY: f64 [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `texture_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `normalX` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | let normalX: f64 = split_string.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `normal_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `normalY` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let normalY: f64 = split_string.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `normal_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `normalZ` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | let normalZ: f64 = split_string.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `normal_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textureX` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | let textureX: f64 = split_string.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `texture_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textureY` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | let textureY: f64 = split_string.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `texture_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `infoLog` should have a snake case name [INFO] [stdout] --> src/engine/graphic/shader.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let mut infoLog: Vec = Vec::with_capacity(512); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `info_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `infoLog` should have a snake case name [INFO] [stdout] --> src/engine/graphic/shader.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut infoLog: Vec = Vec::with_capacity(512); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `info_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/game.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | file.unwrap().write_all(json_data.unwrap().as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `normalX` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | normalX: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `normal_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `normalY` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | normalY: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `normal_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `normalZ` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | normalZ: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `normal_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `textureX` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | textureX: f64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `texture_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `textureY` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | textureY: f64 [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `texture_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `normalX` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | let normalX: f64 = split_string.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `normal_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `normalY` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let normalY: f64 = split_string.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `normal_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `normalZ` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | let normalZ: f64 = split_string.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `normal_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textureX` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | let textureX: f64 = split_string.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `texture_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textureY` should have a snake case name [INFO] [stdout] --> src/engine/graphic/model.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | let textureY: f64 = split_string.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `texture_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `infoLog` should have a snake case name [INFO] [stdout] --> src/engine/graphic/shader.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let mut infoLog: Vec = Vec::with_capacity(512); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `info_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `infoLog` should have a snake case name [INFO] [stdout] --> src/engine/graphic/shader.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut infoLog: Vec = Vec::with_capacity(512); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `info_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "aceef448612fb286488e46de045a1e550f161a7d918779a1b5c4a6179932fc6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aceef448612fb286488e46de045a1e550f161a7d918779a1b5c4a6179932fc6d", kill_on_drop: false }` [INFO] [stdout] aceef448612fb286488e46de045a1e550f161a7d918779a1b5c4a6179932fc6d