[INFO] cloning repository https://github.com/jawline/mdp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jawline/mdp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawline%2Fmdp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawline%2Fmdp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cf4618d31e21c93e57bfc8082970147d3ef1f769
[INFO] checking jawline/mdp against master#ab26b175979ee7b2cb3302dce204b99df96f7efb for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjawline%2Fmdp" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jawline/mdp
[INFO] finished tweaking git repo https://github.com/jawline/mdp
[INFO] tweaked toml for git repo https://github.com/jawline/mdp written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jawline/mdp on toolchain ab26b175979ee7b2cb3302dce204b99df96f7efb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jawline/mdp 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" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `markov` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rand v0.5.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7ed48b89a40e150baf8380ba4a2b82ed95e1f692a9ce8349d858fcce752e9536
[INFO] running `Command { std: "docker" "start" "7ed48b89a40e150baf8380ba4a2b82ed95e1f692a9ce8349d858fcce752e9536", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ed48b89a40e150baf8380ba4a2b82ed95e1f692a9ce8349d858fcce752e9536" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ed48b89a40e150baf8380ba4a2b82ed95e1f692a9ce8349d858fcce752e9536", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ed48b89a40e150baf8380ba4a2b82ed95e1f692a9ce8349d858fcce752e9536" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `markov` (manifest) generated 1 warning
[INFO] [stderr]     Checking rand_core v0.2.1
[INFO] [stderr]     Checking libc v0.2.42
[INFO] [stderr]     Checking rand v0.5.4
[INFO] [stderr]     Checking markov v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self::dense::DenseMatrix`
[INFO] [stdout]   --> src/matrix/mod.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub use self::dense::DenseMatrix;
[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: `GreedyAgent`
[INFO] [stdout]   --> src/main.rs:11:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | use strategies::greedy::{ GreedyAgent };
[INFO] [stdout]    |                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MarkovChainAgent`
[INFO] [stdout]   --> src/main.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use strategies::markov::{ MarkovChainAgent };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix/mod.rs:13:46
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn print_matrix<T: Copy + Display>(mat: &Matrix<T>) {
[INFO] [stdout]    |                                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn print_matrix<T: Copy + Display>(mat: &dyn Matrix<T>) {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::dense::DenseMatrix`
[INFO] [stdout]   --> src/matrix/mod.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub use self::dense::DenseMatrix;
[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: `GreedyAgent`
[INFO] [stdout]   --> src/main.rs:11:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | use strategies::greedy::{ GreedyAgent };
[INFO] [stdout]    |                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MarkovChainAgent`
[INFO] [stdout]   --> src/main.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use strategies::markov::{ MarkovChainAgent };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/strategies/greedy.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn select_transfer(&self, from: usize, possible: &Vec<(usize, f32, f32)>) -> Option<usize> {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/strategies/greedy.rs:26:72
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn select_reward(&self, process: &Process<T>, from: usize, to: usize, success: bool) -> f32 {
[INFO] [stdout]    |                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `process`
[INFO] [stdout]   --> src/strategies/greedy.rs:32:30
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/strategies/greedy.rs:32:52
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix/mod.rs:13:46
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn print_matrix<T: Copy + Display>(mat: &Matrix<T>) {
[INFO] [stdout]    |                                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn print_matrix<T: Copy + Display>(mat: &dyn Matrix<T>) {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/strategies/greedy.rs:32:67
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/strategies/greedy.rs:32:80
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                                   ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reward`
[INFO] [stdout]   --> src/strategies/greedy.rs:32:91
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/strategies/greedy.rs:32:104
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/strategies/markov.rs:16:28
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn select_transfer(&self, from: usize, possible: &Vec<(usize, f32, f32)>) -> Option<usize> {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/strategies/markov.rs:36:72
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn select_reward(&self, process: &Process<T>, from: usize, to: usize, success: bool) -> f32 {
[INFO] [stdout]    |                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `process`
[INFO] [stdout]   --> src/strategies/markov.rs:42:30
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/strategies/markov.rs:42:52
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/strategies/markov.rs:42:67
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/strategies/markov.rs:42:80
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                                   ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reward`
[INFO] [stdout]   --> src/strategies/markov.rs:42:91
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/strategies/markov.rs:42:104
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `process`
[INFO] [stdout]   --> src/strategies/reinforcement/naive.rs:11:25
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn try_transfer(&self, process: &Process<T>, from: usize, to: usize) -> bool {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/strategies/reinforcement/naive.rs:11:47
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn try_transfer(&self, process: &Process<T>, from: usize, to: usize) -> bool {
[INFO] [stdout]    |                                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/strategies/reinforcement/naive.rs:11:60
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn try_transfer(&self, process: &Process<T>, from: usize, to: usize) -> bool {
[INFO] [stdout]    |                                                               ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/strategies/reinforcement/naive.rs:54:72
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn select_reward(&self, process: &Process<T>, from: usize, to: usize, success: bool) -> f32 {
[INFO] [stdout]    |                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `process`
[INFO] [stdout]   --> src/strategies/reinforcement/naive.rs:58:30
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/strategies/reinforcement/naive.rs:58:104
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {
[INFO] [stdout]    |                                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DenseMatrix` is never constructed
[INFO] [stdout]  --> src/matrix/dense.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct DenseMatrix<T: Copy> {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matrix/dense.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<T: Copy> DenseMatrix<T> {
[INFO] [stdout]    | ---------------------------- associated function in this implementation
[INFO] [stdout] 10 |
[INFO] [stdout] 11 |     pub fn new(default: T, width: usize, height: usize) -> DenseMatrix<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GreedyAgent` is never constructed
[INFO] [stdout]  --> src/strategies/greedy.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct GreedyAgent {}
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarkovChainAgent` is never constructed
[INFO] [stdout]  --> src/strategies/markov.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct MarkovChainAgent {}
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/strategies/greedy.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn select_transfer(&self, from: usize, possible: &Vec<(usize, f32, f32)>) -> Option<usize> {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/strategies/greedy.rs:26:72
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn select_reward(&self, process: &Process<T>, from: usize, to: usize, success: bool) -> f32 {
[INFO] [stdout]    |                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `process`
[INFO] [stdout]   --> src/strategies/greedy.rs:32:30
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/strategies/greedy.rs:32:52
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/strategies/greedy.rs:32:67
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/strategies/greedy.rs:32:80
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                                   ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reward`
[INFO] [stdout]   --> src/strategies/greedy.rs:32:91
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/strategies/greedy.rs:32:104
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/strategies/markov.rs:16:28
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn select_transfer(&self, from: usize, possible: &Vec<(usize, f32, f32)>) -> Option<usize> {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/strategies/markov.rs:36:72
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn select_reward(&self, process: &Process<T>, from: usize, to: usize, success: bool) -> f32 {
[INFO] [stdout]    |                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `process`
[INFO] [stdout]   --> src/strategies/markov.rs:42:30
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/strategies/markov.rs:42:52
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/strategies/markov.rs:42:67
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/strategies/markov.rs:42:80
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                                   ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reward`
[INFO] [stdout]   --> src/strategies/markov.rs:42:91
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/strategies/markov.rs:42:104
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {}
[INFO] [stdout]    |                                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `process`
[INFO] [stdout]   --> src/strategies/reinforcement/naive.rs:11:25
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn try_transfer(&self, process: &Process<T>, from: usize, to: usize) -> bool {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]   --> src/strategies/reinforcement/naive.rs:11:47
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn try_transfer(&self, process: &Process<T>, from: usize, to: usize) -> bool {
[INFO] [stdout]    |                                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/strategies/reinforcement/naive.rs:11:60
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn try_transfer(&self, process: &Process<T>, from: usize, to: usize) -> bool {
[INFO] [stdout]    |                                                               ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/strategies/reinforcement/naive.rs:54:72
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn select_reward(&self, process: &Process<T>, from: usize, to: usize, success: bool) -> f32 {
[INFO] [stdout]    |                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `process`
[INFO] [stdout]   --> src/strategies/reinforcement/naive.rs:58:30
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {
[INFO] [stdout]    |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/strategies/reinforcement/naive.rs:58:104
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn punish_action(&mut self, process: &Process<T>, state: &State, from: usize, to: usize, reward: f32, success: bool) {
[INFO] [stdout]    |                                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DenseMatrix` is never constructed
[INFO] [stdout]  --> src/matrix/dense.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct DenseMatrix<T: Copy> {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matrix/dense.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl<T: Copy> DenseMatrix<T> {
[INFO] [stdout]    | ---------------------------- associated function in this implementation
[INFO] [stdout] 10 |
[INFO] [stdout] 11 |     pub fn new(default: T, width: usize, height: usize) -> DenseMatrix<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GreedyAgent` is never constructed
[INFO] [stdout]  --> src/strategies/greedy.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct GreedyAgent {}
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarkovChainAgent` is never constructed
[INFO] [stdout]  --> src/strategies/markov.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct MarkovChainAgent {}
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.36s
[INFO] running `Command { std: "docker" "inspect" "7ed48b89a40e150baf8380ba4a2b82ed95e1f692a9ce8349d858fcce752e9536", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ed48b89a40e150baf8380ba4a2b82ed95e1f692a9ce8349d858fcce752e9536", kill_on_drop: false }`
[INFO] [stdout] 7ed48b89a40e150baf8380ba4a2b82ed95e1f692a9ce8349d858fcce752e9536
