[INFO] cloning repository https://github.com/MaoHuPi/rust-rl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaoHuPi/rust-rl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaoHuPi%2Frust-rl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaoHuPi%2Frust-rl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f769db5ca5e72ba6610c29f0d8c22d1d6da0e48b [INFO] checking MaoHuPi/rust-rl/f769db5ca5e72ba6610c29f0d8c22d1d6da0e48b against master#249595384b4589c71a00d622c4253f62c7f5ddbd for pr-127054 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaoHuPi%2Frust-rl" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaoHuPi/rust-rl on toolchain 249595384b4589c71a00d622c4253f62c7f5ddbd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MaoHuPi/rust-rl [INFO] finished tweaking git repo https://github.com/MaoHuPi/rust-rl [INFO] tweaked toml for git repo https://github.com/MaoHuPi/rust-rl written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MaoHuPi/rust-rl 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" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6c3d17bf843fad52dd35ccb91ea46bdbaa40ebd98fa1747012f5ceee605d633 [INFO] running `Command { std: "docker" "start" "-a" "f6c3d17bf843fad52dd35ccb91ea46bdbaa40ebd98fa1747012f5ceee605d633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6c3d17bf843fad52dd35ccb91ea46bdbaa40ebd98fa1747012f5ceee605d633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6c3d17bf843fad52dd35ccb91ea46bdbaa40ebd98fa1747012f5ceee605d633", kill_on_drop: false }` [INFO] [stdout] f6c3d17bf843fad52dd35ccb91ea46bdbaa40ebd98fa1747012f5ceee605d633 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+249595384b4589c71a00d622c4253f62c7f5ddbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42d8fc78b67bf2582f930c42926e10f5f794c9a2239e67af5e83f02166382973 [INFO] running `Command { std: "docker" "start" "-a" "42d8fc78b67bf2582f930c42926e10f5f794c9a2239e67af5e83f02166382973", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Compiling syn v2.0.42 [INFO] [stderr] Checking getch v0.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking rust-rl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `getch::Getch` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use getch::Getch; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::btree_set` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::btree_set; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/maze_game/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/maze_game/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `until_ok` [INFO] [stdout] --> src/main.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | macro_rules! until_ok { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `getch::Getch` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use getch::Getch; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::btree_set` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::btree_set; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/maze_game/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/maze_game/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `until_ok` [INFO] [stdout] --> src/main.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | macro_rules! until_ok { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anticipated_data` [INFO] [stdout] --> src/multi_seg_network/mod.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | fn fitting(self: &mut Self, anticipated_data: Vec, rate: f64) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anticipated_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rate` [INFO] [stdout] --> src/multi_seg_network/mod.rs:27:61 [INFO] [stdout] | [INFO] [stdout] 27 | fn fitting(self: &mut Self, anticipated_data: Vec, rate: f64) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rate` [INFO] [stdout] --> src/multi_seg_network/mod.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | fn inverse(self: &mut Self, data: Vec, rate: f64) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anticipated_data` [INFO] [stdout] --> src/multi_seg_network/mod.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | fn fitting(self: &mut Self, anticipated_data: Vec, rate: f64) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anticipated_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rate` [INFO] [stdout] --> src/multi_seg_network/mod.rs:27:61 [INFO] [stdout] | [INFO] [stdout] 27 | fn fitting(self: &mut Self, anticipated_data: Vec, rate: f64) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rate` [INFO] [stdout] --> src/multi_seg_network/mod.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | fn inverse(self: &mut Self, data: Vec, rate: f64) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/multi_seg_network/flexible_network.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | fn do_nothing_derivative(x: f64) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/multi_seg_network/flexible_network.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | fn do_nothing_derivative(x: f64) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/multi_seg_network/flexible_network.rs:409:59 [INFO] [stdout] | [INFO] [stdout] 409 | node.input_value = node.input_id.iter().map(|&x| 0.0).collect::>(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/multi_seg_network/flexible_network.rs:409:59 [INFO] [stdout] | [INFO] [stdout] 409 | node.input_value = node.input_id.iter().map(|&x| 0.0).collect::>(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/multi_seg_network/function_segment.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut data = FunctionSegmentData { [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/multi_seg_network/function_segment.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut data = FunctionSegmentData { [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: unused variable: `net_data` [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut net_data: String; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_net_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flexible_net_id` is never read [INFO] [stdout] --> src/main.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | let mut flexible_net_id: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `action` is never read [INFO] [stdout] --> src/main.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | let mut action: GameAction = GameAction::Hold; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_value` [INFO] [stdout] --> src/main.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | let mut last_value: f64 = -100.0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:233:23 [INFO] [stdout] | [INFO] [stdout] 233 | .map(|n| flexible_net.new_layer(5, 0.0, ActivationFunctionEnum::ReLU)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | let mut last_value: f64 = -100.0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_fitting`, `can_inverse`, and `inverse` are never used [INFO] [stdout] --> src/multi_seg_network/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Segment { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn can_fitting(self: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn can_inverse(self: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn inverse(self: &mut Self, data: Vec, rate: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_ian` is never used [INFO] [stdout] --> src/multi_seg_network/flexible_network.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn check_ian(x: f64, message: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/multi_seg_network/flexible_network.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 333 | impl FlexibleNetworkData { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 334 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net_data` [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut net_data: String; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_net_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flexible_net_id` is never read [INFO] [stdout] --> src/main.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | let mut flexible_net_id: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `action` is never read [INFO] [stdout] --> src/main.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | let mut action: GameAction = GameAction::Hold; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_value` [INFO] [stdout] --> src/main.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | let mut last_value: f64 = -100.0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:233:23 [INFO] [stdout] | [INFO] [stdout] 233 | .map(|n| flexible_net.new_layer(5, 0.0, ActivationFunctionEnum::ReLU)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | let mut last_value: f64 = -100.0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_fitting`, `can_inverse`, and `inverse` are never used [INFO] [stdout] --> src/multi_seg_network/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Segment { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn can_fitting(self: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn can_inverse(self: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn inverse(self: &mut Self, data: Vec, rate: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_ian` is never used [INFO] [stdout] --> src/multi_seg_network/flexible_network.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn check_ian(x: f64, message: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/multi_seg_network/flexible_network.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 333 | impl FlexibleNetworkData { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 334 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.63s [INFO] running `Command { std: "docker" "inspect" "42d8fc78b67bf2582f930c42926e10f5f794c9a2239e67af5e83f02166382973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42d8fc78b67bf2582f930c42926e10f5f794c9a2239e67af5e83f02166382973", kill_on_drop: false }` [INFO] [stdout] 42d8fc78b67bf2582f930c42926e10f5f794c9a2239e67af5e83f02166382973