[INFO] cloning repository https://github.com/GMTitou/Rust_Exploration_Robot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GMTitou/Rust_Exploration_Robot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGMTitou%2FRust_Exploration_Robot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGMTitou%2FRust_Exploration_Robot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2354333a3e915a7be69525a02d4c8a0c2b1d1471 [INFO] checking GMTitou/Rust_Exploration_Robot against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGMTitou%2FRust_Exploration_Robot" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GMTitou/Rust_Exploration_Robot [INFO] finished tweaking git repo https://github.com/GMTitou/Rust_Exploration_Robot [INFO] tweaked toml for git repo https://github.com/GMTitou/Rust_Exploration_Robot written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GMTitou/Rust_Exploration_Robot on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/GMTitou/Rust_Exploration_Robot 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e72ca87fe52b9eea55fc686519f55cc2886478fd7c35d75351d09cc9b2cccc0 [INFO] running `Command { std: "docker" "start" "-a" "6e72ca87fe52b9eea55fc686519f55cc2886478fd7c35d75351d09cc9b2cccc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e72ca87fe52b9eea55fc686519f55cc2886478fd7c35d75351d09cc9b2cccc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e72ca87fe52b9eea55fc686519f55cc2886478fd7c35d75351d09cc9b2cccc0", kill_on_drop: false }` [INFO] [stdout] 6e72ca87fe52b9eea55fc686519f55cc2886478fd7c35d75351d09cc9b2cccc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dinherent-method-on-receiver" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fd36ad0d357f15616a78b2e85b75fcb3ef0ff0f59fd0d847d73e9819d922a32 [INFO] running `Command { std: "docker" "start" "-a" "8fd36ad0d357f15616a78b2e85b75fcb3ef0ff0f59fd0d847d73e9819d922a32", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking final_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `terrain::*` [INFO] [stdout] --> src/map/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use terrain::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `terrain::*` [INFO] [stdout] --> src/map/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use terrain::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `modules::*` [INFO] [stdout] --> src/robot/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use modules::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Seedable` [INFO] [stdout] --> src/utils/noise.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use noise::{NoiseFn, Perlin, Seedable}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `modules::*` [INFO] [stdout] --> src/robot/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use modules::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Seedable` [INFO] [stdout] --> src/utils/noise.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use noise::{NoiseFn, Perlin, Seedable}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `terrain_symbol` is never used [INFO] [stdout] --> src/map/terrain.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn terrain_symbol(terrain: &final_project::TerrainType) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `movement_cost` is never used [INFO] [stdout] --> src/map/terrain.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn movement_cost(terrain: &final_project::TerrainType) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `communication_range` is never read [INFO] [stdout] --> src/robot/robot.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Robot { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub communication_range: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Robot` 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: variant `Communicate` is never constructed [INFO] [stdout] --> src/robot/behavior.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum RobotAction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Communicate(Vec), // IDs des robots à contacter [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RobotAction` 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: function `module_energy_cost` is never used [INFO] [stdout] --> src/robot/modules.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn module_energy_cost(module: &final_project::RobotModule) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_description` is never used [INFO] [stdout] --> src/robot/modules.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn module_description(module: &final_project::RobotModule) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_efficiency` is never used [INFO] [stdout] --> src/robot/modules.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn module_efficiency(module: &final_project::RobotModule) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_range` is never used [INFO] [stdout] --> src/robot/modules.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn module_range(module: &final_project::RobotModule) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display_current_state` is never used [INFO] [stdout] --> src/simulation/engine.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl SimulationEngine { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | fn display_current_state(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_elevation` and `get_resource_density` are never used [INFO] [stdout] --> src/utils/noise.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl NoiseGenerator { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_elevation(&self, x: f64, y: f64) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_resource_density(&self, x: f64, y: f64) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayeredNoise` is never constructed [INFO] [stdout] --> src/utils/noise.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct LayeredNoise { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_combined_noise`, and `get_complex_terrain` are never used [INFO] [stdout] --> src/utils/noise.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl LayeredNoise { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 53 | pub fn new(seed: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_combined_noise(&self, x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_complex_terrain(&self, x: f64, y: f64) -> TerrainType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProceduralUtils` is never constructed [INFO] [stdout] --> src/utils/noise.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct ProceduralUtils; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `lerp`, `smooth_step`, `hash_position`, `distance`, and `generate_points_of_interest` are never used [INFO] [stdout] --> src/utils/noise.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl ProceduralUtils { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 92 | /// Interpole linéairement entre deux valeurs [INFO] [stdout] 93 | pub fn lerp(a: f64, b: f64, t: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn smooth_step(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn hash_position(x: i32, y: i32, seed: u32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn distance(x1: f64, y1: f64, x2: f64, y2: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn generate_points_of_interest( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/gui.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct GuiEngine { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_energy_bar` is never used [INFO] [stdout] --> src/gui.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl GuiEngine { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | fn create_energy_bar(&self, energy: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `terrain_symbol` is never used [INFO] [stdout] --> src/map/terrain.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn terrain_symbol(terrain: &final_project::TerrainType) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `movement_cost` is never used [INFO] [stdout] --> src/map/terrain.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn movement_cost(terrain: &final_project::TerrainType) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `communication_range` is never read [INFO] [stdout] --> src/robot/robot.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Robot { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub communication_range: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Robot` 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: variant `Communicate` is never constructed [INFO] [stdout] --> src/robot/behavior.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum RobotAction { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Communicate(Vec), // IDs des robots à contacter [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RobotAction` 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: function `module_energy_cost` is never used [INFO] [stdout] --> src/robot/modules.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn module_energy_cost(module: &final_project::RobotModule) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.55s [INFO] [stdout] warning: function `module_description` is never used [INFO] [stdout] --> src/robot/modules.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn module_description(module: &final_project::RobotModule) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_efficiency` is never used [INFO] [stdout] --> src/robot/modules.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn module_efficiency(module: &final_project::RobotModule) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module_range` is never used [INFO] [stdout] --> src/robot/modules.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn module_range(module: &final_project::RobotModule) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display_current_state` is never used [INFO] [stdout] --> src/simulation/engine.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl SimulationEngine { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | fn display_current_state(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_elevation` and `get_resource_density` are never used [INFO] [stdout] --> src/utils/noise.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl NoiseGenerator { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_elevation(&self, x: f64, y: f64) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_resource_density(&self, x: f64, y: f64) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayeredNoise` is never constructed [INFO] [stdout] --> src/utils/noise.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct LayeredNoise { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_combined_noise`, and `get_complex_terrain` are never used [INFO] [stdout] --> src/utils/noise.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl LayeredNoise { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 53 | pub fn new(seed: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_combined_noise(&self, x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_complex_terrain(&self, x: f64, y: f64) -> TerrainType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProceduralUtils` is never constructed [INFO] [stdout] --> src/utils/noise.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct ProceduralUtils; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `lerp`, `smooth_step`, `hash_position`, `distance`, and `generate_points_of_interest` are never used [INFO] [stdout] --> src/utils/noise.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl ProceduralUtils { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 92 | /// Interpole linéairement entre deux valeurs [INFO] [stdout] 93 | pub fn lerp(a: f64, b: f64, t: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn smooth_step(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn hash_position(x: i32, y: i32, seed: u32) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn distance(x1: f64, y1: f64, x2: f64, y2: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn generate_points_of_interest( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/gui.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct GuiEngine { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_energy_bar` is never used [INFO] [stdout] --> src/gui.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl GuiEngine { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | fn create_energy_bar(&self, energy: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8fd36ad0d357f15616a78b2e85b75fcb3ef0ff0f59fd0d847d73e9819d922a32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd36ad0d357f15616a78b2e85b75fcb3ef0ff0f59fd0d847d73e9819d922a32", kill_on_drop: false }` [INFO] [stdout] 8fd36ad0d357f15616a78b2e85b75fcb3ef0ff0f59fd0d847d73e9819d922a32