[INFO] cloning repository https://github.com/clementdevarieux/reinforcementlearning4A [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/clementdevarieux/reinforcementlearning4A" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclementdevarieux%2Freinforcementlearning4A", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclementdevarieux%2Freinforcementlearning4A'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc85519f604cdceb4834332fecd4f1bb4ef3e57a [INFO] checking clementdevarieux/reinforcementlearning4A against try#69cf48176da7795067be67cef76e41a8aac9b134 for pr-146013-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclementdevarieux%2Freinforcementlearning4A" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/clementdevarieux/reinforcementlearning4A [INFO] finished tweaking git repo https://github.com/clementdevarieux/reinforcementlearning4A [INFO] tweaked toml for git repo https://github.com/clementdevarieux/reinforcementlearning4A written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/clementdevarieux/reinforcementlearning4A on toolchain 69cf48176da7795067be67cef76e41a8aac9b134 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69cf48176da7795067be67cef76e41a8aac9b134" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/clementdevarieux/reinforcementlearning4A 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" "+69cf48176da7795067be67cef76e41a8aac9b134" "fetch" "--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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+69cf48176da7795067be67cef76e41a8aac9b134" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a869ab731f1fea29192986d962f1e7e0e8bb3315b54e60358ac1dfa3a82cee16 [INFO] running `Command { std: "docker" "start" "-a" "a869ab731f1fea29192986d962f1e7e0e8bb3315b54e60358ac1dfa3a82cee16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a869ab731f1fea29192986d962f1e7e0e8bb3315b54e60358ac1dfa3a82cee16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a869ab731f1fea29192986d962f1e7e0e8bb3315b54e60358ac1dfa3a82cee16", kill_on_drop: false }` [INFO] [stdout] a869ab731f1fea29192986d962f1e7e0e8bb3315b54e60358ac1dfa3a82cee16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+69cf48176da7795067be67cef76e41a8aac9b134" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b4ed85b2a1860980af23f300c8c962b96460c63851d7691fa20a61a38653bd4 [INFO] running `Command { std: "docker" "start" "-a" "5b4ed85b2a1860980af23f300c8c962b96460c63851d7691fa20a61a38653bd4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking libloading v0.8.4 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking reinforcementlearning4A v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/LineWorld.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 418 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 418 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/LineWorld.rs:506:17 [INFO] [stdout] | [INFO] [stdout] 506 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 506 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 506 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/LineWorld.rs:642:17 [INFO] [stdout] | [INFO] [stdout] 642 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 642 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 642 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/Env/GridWorld.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/GridWorld.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 554 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 554 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/GridWorld.rs:646:17 [INFO] [stdout] | [INFO] [stdout] 646 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 646 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 646 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/GridWorld.rs:782:17 [INFO] [stdout] | [INFO] [stdout] 782 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 782 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 782 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/Env/Shifumi.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/Env/Shifumi.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/Shifumi.rs:708:17 [INFO] [stdout] | [INFO] [stdout] 708 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 708 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 708 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/Shifumi.rs:797:17 [INFO] [stdout] | [INFO] [stdout] 797 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 797 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 797 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/Shifumi.rs:933:17 [INFO] [stdout] | [INFO] [stdout] 933 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 933 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 933 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | let secret_env_0_new: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:25:76 [INFO] [stdout] | [INFO] [stdout] 25 | let secret_env_0_transition_probability: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | let secret_env_0_num_states: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | let secret_env_0_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | let secret_env_0_num_actions: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:59:71 [INFO] [stdout] | [INFO] [stdout] 59 | let secret_env_0_available_actions: libloading::Symbol *const usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:69:75 [INFO] [stdout] | [INFO] [stdout] 69 | let secret_env_0_available_actions_len: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:77:66 [INFO] [stdout] | [INFO] [stdout] 77 | let secret_env_0_is_forbidden: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:95:65 [INFO] [stdout] | [INFO] [stdout] 95 | let secret_env_0_num_rewards: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | let secret_env_0_reward: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:111:66 [INFO] [stdout] | [INFO] [stdout] 111 | let secret_env_0_is_game_over: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | let secret_env_0_display: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:127:71 [INFO] [stdout] | [INFO] [stdout] 127 | let secret_env_0_from_random_state: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:135:59 [INFO] [stdout] | [INFO] [stdout] 135 | let secret_env_0_score: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:143:58 [INFO] [stdout] | [INFO] [stdout] 143 | let secret_env_0_step: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:150:59 [INFO] [stdout] | [INFO] [stdout] 150 | let secret_env_0_reset: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:158:62 [INFO] [stdout] | [INFO] [stdout] 158 | let secret_env_0_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv0.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 464 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 464 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv0.rs:553:17 [INFO] [stdout] | [INFO] [stdout] 553 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 553 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 553 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv0.rs:687:17 [INFO] [stdout] | [INFO] [stdout] 687 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 687 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 687 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/MontyHall.rs:605:17 [INFO] [stdout] | [INFO] [stdout] 605 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 605 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 605 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/MontyHall.rs:693:17 [INFO] [stdout] | [INFO] [stdout] 693 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 693 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 693 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/MontyHall.rs:831:17 [INFO] [stdout] | [INFO] [stdout] 831 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 831 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 831 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | let secret_env_1_new: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:25:76 [INFO] [stdout] | [INFO] [stdout] 25 | let secret_env_1_transition_probability: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | let secret_env_1_num_states: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | let secret_env_1_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | let secret_env_1_num_actions: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:59:71 [INFO] [stdout] | [INFO] [stdout] 59 | let secret_env_1_available_actions: libloading::Symbol *const usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:69:75 [INFO] [stdout] | [INFO] [stdout] 69 | let secret_env_1_available_actions_len: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:77:66 [INFO] [stdout] | [INFO] [stdout] 77 | let secret_env_1_is_forbidden: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:95:65 [INFO] [stdout] | [INFO] [stdout] 95 | let secret_env_1_num_rewards: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | let secret_env_1_reward: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:111:66 [INFO] [stdout] | [INFO] [stdout] 111 | let secret_env_1_is_game_over: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | let secret_env_1_display: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:127:71 [INFO] [stdout] | [INFO] [stdout] 127 | let secret_env_1_from_random_state: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:135:59 [INFO] [stdout] | [INFO] [stdout] 135 | let secret_env_1_score: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:143:58 [INFO] [stdout] | [INFO] [stdout] 143 | let secret_env_1_step: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:150:59 [INFO] [stdout] | [INFO] [stdout] 150 | let secret_env_1_reset: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:158:62 [INFO] [stdout] | [INFO] [stdout] 158 | let secret_env_1_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv1.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 455 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 455 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv1.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 544 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 544 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv1.rs:678:17 [INFO] [stdout] | [INFO] [stdout] 678 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 678 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 678 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | let secret_env_2_new: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:25:76 [INFO] [stdout] | [INFO] [stdout] 25 | let secret_env_2_transition_probability: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | let secret_env_2_num_states: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | let secret_env_2_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | let secret_env_2_num_actions: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:59:71 [INFO] [stdout] | [INFO] [stdout] 59 | let secret_env_2_available_actions: libloading::Symbol *const usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:69:75 [INFO] [stdout] | [INFO] [stdout] 69 | let secret_env_2_available_actions_len: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:77:66 [INFO] [stdout] | [INFO] [stdout] 77 | let secret_env_2_is_forbidden: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:95:65 [INFO] [stdout] | [INFO] [stdout] 95 | let secret_env_2_num_rewards: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | let secret_env_2_reward: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:111:66 [INFO] [stdout] | [INFO] [stdout] 111 | let secret_env_2_is_game_over: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | let secret_env_2_display: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:127:71 [INFO] [stdout] | [INFO] [stdout] 127 | let secret_env_2_from_random_state: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:135:59 [INFO] [stdout] | [INFO] [stdout] 135 | let secret_env_2_score: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:143:58 [INFO] [stdout] | [INFO] [stdout] 143 | let secret_env_2_step: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:150:59 [INFO] [stdout] | [INFO] [stdout] 150 | let secret_env_2_reset: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:158:62 [INFO] [stdout] | [INFO] [stdout] 158 | let secret_env_2_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv2.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 462 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 462 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv2.rs:551:17 [INFO] [stdout] | [INFO] [stdout] 551 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 551 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 551 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv2.rs:685:17 [INFO] [stdout] | [INFO] [stdout] 685 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 685 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 685 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | let secret_env_3_new: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:25:76 [INFO] [stdout] | [INFO] [stdout] 25 | let secret_env_3_transition_probability: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | let secret_env_3_num_states: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | let secret_env_3_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | let secret_env_3_num_actions: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:59:71 [INFO] [stdout] | [INFO] [stdout] 59 | let secret_env_3_available_actions: libloading::Symbol *const usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:69:75 [INFO] [stdout] | [INFO] [stdout] 69 | let secret_env_3_available_actions_len: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:77:66 [INFO] [stdout] | [INFO] [stdout] 77 | let secret_env_3_is_forbidden: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:95:65 [INFO] [stdout] | [INFO] [stdout] 95 | let secret_env_3_num_rewards: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | let secret_env_3_reward: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:111:66 [INFO] [stdout] | [INFO] [stdout] 111 | let secret_env_3_is_game_over: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | let secret_env_3_display: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:127:71 [INFO] [stdout] | [INFO] [stdout] 127 | let secret_env_3_from_random_state: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:135:59 [INFO] [stdout] | [INFO] [stdout] 135 | let secret_env_3_score: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:143:58 [INFO] [stdout] | [INFO] [stdout] 143 | let secret_env_3_step: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:150:59 [INFO] [stdout] | [INFO] [stdout] 150 | let secret_env_3_reset: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:158:62 [INFO] [stdout] | [INFO] [stdout] 158 | let secret_env_3_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv3.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 462 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 462 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv3.rs:551:17 [INFO] [stdout] | [INFO] [stdout] 551 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 551 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 551 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv3.rs:685:17 [INFO] [stdout] | [INFO] [stdout] 685 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 685 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 685 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/run_all_and_save.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::IntoIterator` [INFO] [stdout] --> src/run_all_and_save.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/run_all_and_save.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/run_all_and_save.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Env::GridWorld::GridWorld` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Env::GridWorld::GridWorld; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/LineWorld.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 418 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 418 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/LineWorld.rs:506:17 [INFO] [stdout] | [INFO] [stdout] 506 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 506 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 506 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/LineWorld.rs:642:17 [INFO] [stdout] | [INFO] [stdout] 642 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 642 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 642 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/Env/GridWorld.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/GridWorld.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 554 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 554 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/GridWorld.rs:646:17 [INFO] [stdout] | [INFO] [stdout] 646 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 646 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 646 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/GridWorld.rs:782:17 [INFO] [stdout] | [INFO] [stdout] 782 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 782 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 782 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/Env/Shifumi.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/Env/Shifumi.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/Shifumi.rs:708:17 [INFO] [stdout] | [INFO] [stdout] 708 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 708 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 708 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/Shifumi.rs:797:17 [INFO] [stdout] | [INFO] [stdout] 797 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 797 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 797 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/Shifumi.rs:933:17 [INFO] [stdout] | [INFO] [stdout] 933 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 933 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 933 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | let secret_env_0_new: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:25:76 [INFO] [stdout] | [INFO] [stdout] 25 | let secret_env_0_transition_probability: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | let secret_env_0_num_states: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | let secret_env_0_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | let secret_env_0_num_actions: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:59:71 [INFO] [stdout] | [INFO] [stdout] 59 | let secret_env_0_available_actions: libloading::Symbol *const usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:69:75 [INFO] [stdout] | [INFO] [stdout] 69 | let secret_env_0_available_actions_len: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:77:66 [INFO] [stdout] | [INFO] [stdout] 77 | let secret_env_0_is_forbidden: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:95:65 [INFO] [stdout] | [INFO] [stdout] 95 | let secret_env_0_num_rewards: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | let secret_env_0_reward: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:111:66 [INFO] [stdout] | [INFO] [stdout] 111 | let secret_env_0_is_game_over: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | let secret_env_0_display: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:127:71 [INFO] [stdout] | [INFO] [stdout] 127 | let secret_env_0_from_random_state: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:135:59 [INFO] [stdout] | [INFO] [stdout] 135 | let secret_env_0_score: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:143:58 [INFO] [stdout] | [INFO] [stdout] 143 | let secret_env_0_step: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:150:59 [INFO] [stdout] | [INFO] [stdout] 150 | let secret_env_0_reset: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv0.rs:158:62 [INFO] [stdout] | [INFO] [stdout] 158 | let secret_env_0_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv0.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 464 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 464 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv0.rs:553:17 [INFO] [stdout] | [INFO] [stdout] 553 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 553 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 553 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv0.rs:687:17 [INFO] [stdout] | [INFO] [stdout] 687 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 687 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 687 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/MontyHall.rs:605:17 [INFO] [stdout] | [INFO] [stdout] 605 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 605 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 605 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/MontyHall.rs:693:17 [INFO] [stdout] | [INFO] [stdout] 693 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 693 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 693 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/MontyHall.rs:831:17 [INFO] [stdout] | [INFO] [stdout] 831 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 831 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 831 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | let secret_env_1_new: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:25:76 [INFO] [stdout] | [INFO] [stdout] 25 | let secret_env_1_transition_probability: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | let secret_env_1_num_states: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | let secret_env_1_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | let secret_env_1_num_actions: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:59:71 [INFO] [stdout] | [INFO] [stdout] 59 | let secret_env_1_available_actions: libloading::Symbol *const usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:69:75 [INFO] [stdout] | [INFO] [stdout] 69 | let secret_env_1_available_actions_len: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:77:66 [INFO] [stdout] | [INFO] [stdout] 77 | let secret_env_1_is_forbidden: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:95:65 [INFO] [stdout] | [INFO] [stdout] 95 | let secret_env_1_num_rewards: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | let secret_env_1_reward: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:111:66 [INFO] [stdout] | [INFO] [stdout] 111 | let secret_env_1_is_game_over: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | let secret_env_1_display: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:127:71 [INFO] [stdout] | [INFO] [stdout] 127 | let secret_env_1_from_random_state: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:135:59 [INFO] [stdout] | [INFO] [stdout] 135 | let secret_env_1_score: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:143:58 [INFO] [stdout] | [INFO] [stdout] 143 | let secret_env_1_step: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:150:59 [INFO] [stdout] | [INFO] [stdout] 150 | let secret_env_1_reset: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv1.rs:158:62 [INFO] [stdout] | [INFO] [stdout] 158 | let secret_env_1_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv1.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 455 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 455 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv1.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 544 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 544 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv1.rs:678:17 [INFO] [stdout] | [INFO] [stdout] 678 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 678 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 678 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | let secret_env_2_new: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:25:76 [INFO] [stdout] | [INFO] [stdout] 25 | let secret_env_2_transition_probability: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | let secret_env_2_num_states: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | let secret_env_2_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | let secret_env_2_num_actions: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:59:71 [INFO] [stdout] | [INFO] [stdout] 59 | let secret_env_2_available_actions: libloading::Symbol *const usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:69:75 [INFO] [stdout] | [INFO] [stdout] 69 | let secret_env_2_available_actions_len: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:77:66 [INFO] [stdout] | [INFO] [stdout] 77 | let secret_env_2_is_forbidden: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:95:65 [INFO] [stdout] | [INFO] [stdout] 95 | let secret_env_2_num_rewards: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | let secret_env_2_reward: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:111:66 [INFO] [stdout] | [INFO] [stdout] 111 | let secret_env_2_is_game_over: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | let secret_env_2_display: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:127:71 [INFO] [stdout] | [INFO] [stdout] 127 | let secret_env_2_from_random_state: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:135:59 [INFO] [stdout] | [INFO] [stdout] 135 | let secret_env_2_score: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:143:58 [INFO] [stdout] | [INFO] [stdout] 143 | let secret_env_2_step: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:150:59 [INFO] [stdout] | [INFO] [stdout] 150 | let secret_env_2_reset: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv2.rs:158:62 [INFO] [stdout] | [INFO] [stdout] 158 | let secret_env_2_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv2.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 462 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 462 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv2.rs:551:17 [INFO] [stdout] | [INFO] [stdout] 551 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 551 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 551 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv2.rs:685:17 [INFO] [stdout] | [INFO] [stdout] 685 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 685 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 685 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | let secret_env_3_new: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:25:76 [INFO] [stdout] | [INFO] [stdout] 25 | let secret_env_3_transition_probability: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | let secret_env_3_num_states: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | let secret_env_3_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | let secret_env_3_num_actions: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:59:71 [INFO] [stdout] | [INFO] [stdout] 59 | let secret_env_3_available_actions: libloading::Symbol *const usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:69:75 [INFO] [stdout] | [INFO] [stdout] 69 | let secret_env_3_available_actions_len: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:77:66 [INFO] [stdout] | [INFO] [stdout] 77 | let secret_env_3_is_forbidden: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:95:65 [INFO] [stdout] | [INFO] [stdout] 95 | let secret_env_3_num_rewards: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | let secret_env_3_reward: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:111:66 [INFO] [stdout] | [INFO] [stdout] 111 | let secret_env_3_is_game_over: libloading::Symbol bool> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | let secret_env_3_display: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:127:71 [INFO] [stdout] | [INFO] [stdout] 127 | let secret_env_3_from_random_state: libloading::Symbol *mut c_void> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:135:59 [INFO] [stdout] | [INFO] [stdout] 135 | let secret_env_3_score: libloading::Symbol f32> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:143:58 [INFO] [stdout] | [INFO] [stdout] 143 | let secret_env_3_step: libloading::Symbol = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:150:59 [INFO] [stdout] | [INFO] [stdout] 150 | let secret_env_3_reset: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/Env/SecretEnv3.rs:158:62 [INFO] [stdout] | [INFO] [stdout] 158 | let secret_env_3_state_id: libloading::Symbol usize> = [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv3.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 462 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 462 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv3.rs:551:17 [INFO] [stdout] | [INFO] [stdout] 551 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 551 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 551 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/Env/SecretEnv3.rs:685:17 [INFO] [stdout] | [INFO] [stdout] 685 | for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 685 - for ((s, a, r, aa)) in trajectory.iter().rev() { [INFO] [stdout] 685 + for (s, a, r, aa) in trajectory.iter().rev() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/run_all_and_save.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::IntoIterator` [INFO] [stdout] --> src/run_all_and_save.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/run_all_and_save.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/run_all_and_save.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Env::GridWorld::GridWorld` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Env::GridWorld::GridWorld; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/Env/LineWorld.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 204 | if let p = Pi.get(&self.agent_pos).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/LineWorld.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | let mut v = V[s]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/LineWorld.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/Env/LineWorld.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 204 | if let p = Pi.get(&self.agent_pos).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/LineWorld.rs:424:36 [INFO] [stdout] | [INFO] [stdout] 424 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/LineWorld.rs:424:41 [INFO] [stdout] | [INFO] [stdout] 424 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/LineWorld.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | let mut v = V[s]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/LineWorld.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/LineWorld.rs:512:36 [INFO] [stdout] | [INFO] [stdout] 512 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/LineWorld.rs:512:41 [INFO] [stdout] | [INFO] [stdout] 512 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/LineWorld.rs:424:36 [INFO] [stdout] | [INFO] [stdout] 424 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/LineWorld.rs:424:41 [INFO] [stdout] | [INFO] [stdout] 424 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/LineWorld.rs:512:36 [INFO] [stdout] | [INFO] [stdout] 512 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/LineWorld.rs:512:41 [INFO] [stdout] | [INFO] [stdout] 512 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/LineWorld.rs:706:21 [INFO] [stdout] | [INFO] [stdout] 706 | let mut a ; [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/Env/LineWorld.rs:706:21 [INFO] [stdout] | [INFO] [stdout] 706 | let mut a ; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/Env/GridWorld.rs:337:16 [INFO] [stdout] | [INFO] [stdout] 337 | if let p = Pi.get(&self.agent_pos).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/GridWorld.rs:374:25 [INFO] [stdout] | [INFO] [stdout] 374 | let mut v = V[s]; [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/Env/GridWorld.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/GridWorld.rs:560:36 [INFO] [stdout] | [INFO] [stdout] 560 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/GridWorld.rs:560:41 [INFO] [stdout] | [INFO] [stdout] 560 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/GridWorld.rs:652:36 [INFO] [stdout] | [INFO] [stdout] 652 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/GridWorld.rs:652:41 [INFO] [stdout] | [INFO] [stdout] 652 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/Env/GridWorld.rs:337:16 [INFO] [stdout] | [INFO] [stdout] 337 | if let p = Pi.get(&self.agent_pos).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/GridWorld.rs:374:25 [INFO] [stdout] | [INFO] [stdout] 374 | let mut v = V[s]; [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/Env/GridWorld.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/GridWorld.rs:560:36 [INFO] [stdout] | [INFO] [stdout] 560 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/GridWorld.rs:560:41 [INFO] [stdout] | [INFO] [stdout] 560 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/GridWorld.rs:846:21 [INFO] [stdout] | [INFO] [stdout] 846 | let mut a ; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/GridWorld.rs:652:36 [INFO] [stdout] | [INFO] [stdout] 652 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/GridWorld.rs:652:41 [INFO] [stdout] | [INFO] [stdout] 652 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/GridWorld.rs:846:21 [INFO] [stdout] | [INFO] [stdout] 846 | let mut a ; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/Env/Shifumi.rs:491:16 [INFO] [stdout] | [INFO] [stdout] 491 | if let p = Pi.get(&self.agent_pos).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/Shifumi.rs:529:25 [INFO] [stdout] | [INFO] [stdout] 529 | let mut v = V[s]; [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/Env/Shifumi.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/Shifumi.rs:714:36 [INFO] [stdout] | [INFO] [stdout] 714 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/Shifumi.rs:714:41 [INFO] [stdout] | [INFO] [stdout] 714 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/Shifumi.rs:803:36 [INFO] [stdout] | [INFO] [stdout] 803 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/Shifumi.rs:803:41 [INFO] [stdout] | [INFO] [stdout] 803 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/Env/Shifumi.rs:491:16 [INFO] [stdout] | [INFO] [stdout] 491 | if let p = Pi.get(&self.agent_pos).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/Shifumi.rs:529:25 [INFO] [stdout] | [INFO] [stdout] 529 | let mut v = V[s]; [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/Env/Shifumi.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/Shifumi.rs:714:36 [INFO] [stdout] | [INFO] [stdout] 714 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/Shifumi.rs:714:41 [INFO] [stdout] | [INFO] [stdout] 714 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/Shifumi.rs:997:21 [INFO] [stdout] | [INFO] [stdout] 997 | let mut a ; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/Shifumi.rs:803:36 [INFO] [stdout] | [INFO] [stdout] 803 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/Shifumi.rs:803:41 [INFO] [stdout] | [INFO] [stdout] 803 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/Shifumi.rs:997:21 [INFO] [stdout] | [INFO] [stdout] 997 | let mut a ; [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/Env/SecretEnv0.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | let mut v = V[s]; [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/Env/SecretEnv0.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv0.rs:470:36 [INFO] [stdout] | [INFO] [stdout] 470 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv0.rs:470:41 [INFO] [stdout] | [INFO] [stdout] 470 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv0.rs:559:36 [INFO] [stdout] | [INFO] [stdout] 559 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv0.rs:559:41 [INFO] [stdout] | [INFO] [stdout] 559 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/SecretEnv0.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | let mut v = V[s]; [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/Env/SecretEnv0.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv0.rs:470:36 [INFO] [stdout] | [INFO] [stdout] 470 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv0.rs:470:41 [INFO] [stdout] | [INFO] [stdout] 470 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv0.rs:559:36 [INFO] [stdout] | [INFO] [stdout] 559 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv0.rs:559:41 [INFO] [stdout] | [INFO] [stdout] 559 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/SecretEnv0.rs:751:21 [INFO] [stdout] | [INFO] [stdout] 751 | let mut a ; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/Env/MontyHall.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let mut result = 0.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/SecretEnv0.rs:751:21 [INFO] [stdout] | [INFO] [stdout] 751 | let mut a ; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/Env/MontyHall.rs:389:16 [INFO] [stdout] | [INFO] [stdout] 389 | if let p = Pi.get(&self.agent_pos).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/MontyHall.rs:428:25 [INFO] [stdout] | [INFO] [stdout] 428 | let mut v = V[s]; [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/Env/MontyHall.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/Env/MontyHall.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let mut result = 0.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/MontyHall.rs:611:36 [INFO] [stdout] | [INFO] [stdout] 611 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/MontyHall.rs:611:41 [INFO] [stdout] | [INFO] [stdout] 611 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/MontyHall.rs:699:36 [INFO] [stdout] | [INFO] [stdout] 699 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/MontyHall.rs:699:41 [INFO] [stdout] | [INFO] [stdout] 699 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/Env/MontyHall.rs:389:16 [INFO] [stdout] | [INFO] [stdout] 389 | if let p = Pi.get(&self.agent_pos).unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/MontyHall.rs:428:25 [INFO] [stdout] | [INFO] [stdout] 428 | let mut v = V[s]; [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/Env/MontyHall.rs:450:21 [INFO] [stdout] | [INFO] [stdout] 450 | let mut old_action = Pi[s as usize]; [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/Env/MontyHall.rs:896:21 [INFO] [stdout] | [INFO] [stdout] 896 | let mut a ; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/MontyHall.rs:611:36 [INFO] [stdout] | [INFO] [stdout] 611 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/MontyHall.rs:611:41 [INFO] [stdout] | [INFO] [stdout] 611 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/MontyHall.rs:699:36 [INFO] [stdout] | [INFO] [stdout] 699 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/MontyHall.rs:699:41 [INFO] [stdout] | [INFO] [stdout] 699 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/SecretEnv1.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | let mut v = V[s]; [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/Env/SecretEnv1.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv1.rs:461:36 [INFO] [stdout] | [INFO] [stdout] 461 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv1.rs:461:41 [INFO] [stdout] | [INFO] [stdout] 461 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/MontyHall.rs:896:21 [INFO] [stdout] | [INFO] [stdout] 896 | let mut a ; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv1.rs:550:36 [INFO] [stdout] | [INFO] [stdout] 550 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv1.rs:550:41 [INFO] [stdout] | [INFO] [stdout] 550 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/SecretEnv1.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | let mut v = V[s]; [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/Env/SecretEnv1.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | let mut old_action = Pi[s as usize]; [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/Env/SecretEnv1.rs:742:21 [INFO] [stdout] | [INFO] [stdout] 742 | let mut a ; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv1.rs:461:36 [INFO] [stdout] | [INFO] [stdout] 461 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv1.rs:461:41 [INFO] [stdout] | [INFO] [stdout] 461 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv1.rs:550:36 [INFO] [stdout] | [INFO] [stdout] 550 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv1.rs:550:41 [INFO] [stdout] | [INFO] [stdout] 550 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/SecretEnv2.rs:271:25 [INFO] [stdout] | [INFO] [stdout] 271 | let mut v = V[s]; [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/Env/SecretEnv2.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv2.rs:468:36 [INFO] [stdout] | [INFO] [stdout] 468 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv2.rs:468:41 [INFO] [stdout] | [INFO] [stdout] 468 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/SecretEnv1.rs:742:21 [INFO] [stdout] | [INFO] [stdout] 742 | let mut a ; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv2.rs:557:36 [INFO] [stdout] | [INFO] [stdout] 557 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv2.rs:557:41 [INFO] [stdout] | [INFO] [stdout] 557 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/SecretEnv2.rs:749:21 [INFO] [stdout] | [INFO] [stdout] 749 | let mut a ; [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/Env/SecretEnv2.rs:271:25 [INFO] [stdout] | [INFO] [stdout] 271 | let mut v = V[s]; [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/Env/SecretEnv2.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv2.rs:468:36 [INFO] [stdout] | [INFO] [stdout] 468 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv2.rs:468:41 [INFO] [stdout] | [INFO] [stdout] 468 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv2.rs:557:36 [INFO] [stdout] | [INFO] [stdout] 557 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv2.rs:557:41 [INFO] [stdout] | [INFO] [stdout] 557 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/SecretEnv3.rs:271:25 [INFO] [stdout] | [INFO] [stdout] 271 | let mut v = V[s]; [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/Env/SecretEnv3.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv3.rs:468:36 [INFO] [stdout] | [INFO] [stdout] 468 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv3.rs:468:41 [INFO] [stdout] | [INFO] [stdout] 468 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/SecretEnv2.rs:749:21 [INFO] [stdout] | [INFO] [stdout] 749 | let mut a ; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv3.rs:557:36 [INFO] [stdout] | [INFO] [stdout] 557 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv3.rs:557:41 [INFO] [stdout] | [INFO] [stdout] 557 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/SecretEnv3.rs:749:21 [INFO] [stdout] | [INFO] [stdout] 749 | let mut a ; [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/Env/SecretEnv3.rs:271:25 [INFO] [stdout] | [INFO] [stdout] 271 | let mut v = V[s]; [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/Env/SecretEnv3.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | let mut old_action = Pi[s as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv3.rs:468:36 [INFO] [stdout] | [INFO] [stdout] 468 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv3.rs:468:41 [INFO] [stdout] | [INFO] [stdout] 468 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_t` [INFO] [stdout] --> src/Env/SecretEnv3.rs:557:36 [INFO] [stdout] | [INFO] [stdout] 557 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_t` [INFO] [stdout] --> src/Env/SecretEnv3.rs:557:41 [INFO] [stdout] | [INFO] [stdout] 557 | for (s_t, a_t, c_t, d_t) in Vec::from(&trajectory[..t]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Env/SecretEnv3.rs:749:21 [INFO] [stdout] | [INFO] [stdout] 749 | let mut a ; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector` [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let vector = get_vector("./results/Pi_values/6d9acd28-70a5-4bd0-a130-3fffbcac9173_2024-07-24_20-09-23_GridWorld_policy_iteration_2"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hashmap` [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let hashmap = get_hashmap("./results/Pi_values/6d9acd28-70a5-4bd0-a130-3fffbcac9173_2024-07-24_20-09-23_GridWorld_monte_carlo_off_pol... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_states`, `num_actions`, `S`, `R`, `T`, and `p` are never read [INFO] [stdout] --> src/Env/LineWorld.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LineWorld { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub agent_pos: i32, [INFO] [stdout] 8 | pub num_states: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub num_actions: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub S: Vec, [INFO] [stdout] | ^ [INFO] [stdout] 11 | pub A: Vec, [INFO] [stdout] 12 | pub R: Vec, [INFO] [stdout] | ^ [INFO] [stdout] 13 | pub T: Vec, [INFO] [stdout] | ^ [INFO] [stdout] 14 | pub p: Vec>>> [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/Env/LineWorld.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl LineWorld { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn update_p(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn from_random_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn state_desc(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn available_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn run_game_vec(&mut self, Pi: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 783 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridWorld` is never constructed [INFO] [stdout] --> src/Env/GridWorld.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GridWorld { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/GridWorld.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl GridWorld { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 21 | pub fn init() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn update_p(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn from_random_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn state_desc(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn available_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn run_game_vec(&mut self, Pi: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 600 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 703 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 923 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shifumi` is never constructed [INFO] [stdout] --> src/Env/Shifumi.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Shifumi { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/Shifumi.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Shifumi { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 20 | pub fn init() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn update_p(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn from_random_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn state_desc(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn available_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn score(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | pub fn run_game_vec(&mut self, Pi: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 586 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 662 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 854 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 970 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1074 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SecretEnv0` is never constructed [INFO] [stdout] --> src/Env/SecretEnv0.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SecretEnv0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/SecretEnv0.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SecretEnv0 { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn p(&self, s: usize, a: usize, s_p: usize, r: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn num_states(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn agent_pos(&self) -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn num_actions(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn available_actions_len(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_forbidden(&self, action: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn autorized_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn num_rewards(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn from_random_state(&mut self) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn reset(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn state_id(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 724 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MontyHall` is never constructed [INFO] [stdout] --> src/Env/MontyHall.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MontyHall { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/MontyHall.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl MontyHall { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 19 | pub fn init() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn update_p(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_random_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn state_desc(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn available_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn display(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn run_game_vec(&mut self, Pi: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 869 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 973 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SecretEnv1` is never constructed [INFO] [stdout] --> src/Env/SecretEnv1.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SecretEnv1 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/SecretEnv1.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SecretEnv1 { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn p(&self, s: usize, a: usize, s_p: usize, r: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn num_states(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn agent_pos(&self) -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn num_actions(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn available_actions_len(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_forbidden(&self, action: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn autorized_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn num_rewards(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn from_random_state(&mut self) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn reset(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn state_id(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 715 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SecretEnv2` is never constructed [INFO] [stdout] --> src/Env/SecretEnv2.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SecretEnv2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/SecretEnv2.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SecretEnv2 { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn p(&self, s: usize, a: usize, s_p: usize, r: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn num_states(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn agent_pos(&self) -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn num_actions(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn available_actions_len(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_forbidden(&self, action: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn autorized_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn num_rewards(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn from_random_state(&mut self) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn reset(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn state_id(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 608 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 722 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 826 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SecretEnv3` is never constructed [INFO] [stdout] --> src/Env/SecretEnv3.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SecretEnv3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/SecretEnv3.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SecretEnv3 { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn p(&self, s: usize, a: usize, s_p: usize, r: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn num_states(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn agent_pos(&self) -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn num_actions(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn available_actions_len(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_forbidden(&self, action: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn autorized_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn num_rewards(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn from_random_state(&mut self) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn reset(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn state_id(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 608 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 722 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 826 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getlib` is never used [INFO] [stdout] --> src/secret_env/lib_secret_env.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn getlib() -> Library { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LIB` is never used [INFO] [stdout] --> src/secret_env/lib_secret_env.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub static LIB: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_all_and_save` is never used [INFO] [stdout] --> src/run_all_and_save.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn run_all_and_save() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Env` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Env; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LineWorld` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod LineWorld; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `line_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `GridWorld` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod GridWorld; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `grid_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shifumi` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Shifumi; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `shifumi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SecretEnv0` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod SecretEnv0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `secret_env0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MontyHall` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod MontyHall; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `monty_hall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EnvironmentTrait` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod EnvironmentTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `environment_trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SecretEnv1` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod SecretEnv1; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `secret_env1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SecretEnv2` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod SecretEnv2; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `secret_env2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SecretEnv3` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod SecretEnv3; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `secret_env3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub S: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub A: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub R: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `T` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub T: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn run_game_vec(&mut self, Pi: Vec) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:160:53 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:196:47 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let len_S: usize = self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | let mut Pi = Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let len_S = self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:503:21 [INFO] [stdout] | [INFO] [stdout] 503 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:543:29 [INFO] [stdout] | [INFO] [stdout] 543 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:571:17 [INFO] [stdout] | [INFO] [stdout] 571 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:605:21 [INFO] [stdout] | [INFO] [stdout] 605 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:639:21 [INFO] [stdout] | [INFO] [stdout] 639 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:640:21 [INFO] [stdout] | [INFO] [stdout] 640 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:679:12 [INFO] [stdout] | [INFO] [stdout] 679 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:687:17 [INFO] [stdout] | [INFO] [stdout] 687 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:688:17 [INFO] [stdout] | [INFO] [stdout] 688 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:753:17 [INFO] [stdout] | [INFO] [stdout] 753 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:760:21 [INFO] [stdout] | [INFO] [stdout] 760 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector` [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let vector = get_vector("./results/Pi_values/6d9acd28-70a5-4bd0-a130-3fffbcac9173_2024-07-24_20-09-23_GridWorld_policy_iteration_2"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:767:17 [INFO] [stdout] | [INFO] [stdout] 767 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:791:17 [INFO] [stdout] | [INFO] [stdout] 791 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hashmap` [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let hashmap = get_hashmap("./results/Pi_values/6d9acd28-70a5-4bd0-a130-3fffbcac9173_2024-07-24_20-09-23_GridWorld_monte_carlo_off_pol... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:792:17 [INFO] [stdout] | [INFO] [stdout] 792 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:871:17 [INFO] [stdout] | [INFO] [stdout] 871 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:878:21 [INFO] [stdout] | [INFO] [stdout] 878 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:885:17 [INFO] [stdout] | [INFO] [stdout] 885 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub S: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_states`, `num_actions`, `S`, `R`, `T`, and `p` are never read [INFO] [stdout] --> src/Env/LineWorld.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LineWorld { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub agent_pos: i32, [INFO] [stdout] 8 | pub num_states: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub num_actions: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub S: Vec, [INFO] [stdout] | ^ [INFO] [stdout] 11 | pub A: Vec, [INFO] [stdout] 12 | pub R: Vec, [INFO] [stdout] | ^ [INFO] [stdout] 13 | pub T: Vec, [INFO] [stdout] | ^ [INFO] [stdout] 14 | pub p: Vec>>> [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub A: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub R: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `T` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub T: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:278:36 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn run_game_vec(&mut self, Pi: Vec){ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:292:53 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:308:40 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:329:47 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | let len_S: usize = self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:362:17 [INFO] [stdout] | [INFO] [stdout] 362 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/Env/LineWorld.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl LineWorld { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn update_p(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn from_random_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn state_desc(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn available_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn run_game_vec(&mut self, Pi: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 783 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridWorld` is never constructed [INFO] [stdout] --> src/Env/GridWorld.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GridWorld { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/GridWorld.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl GridWorld { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 21 | pub fn init() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn update_p(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn from_random_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn state_desc(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn available_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn run_game_vec(&mut self, Pi: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 600 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 703 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 923 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shifumi` is never constructed [INFO] [stdout] --> src/Env/Shifumi.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Shifumi { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | let len_S= self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 476 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:512:17 [INFO] [stdout] | [INFO] [stdout] 512 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:608:17 [INFO] [stdout] | [INFO] [stdout] 608 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:610:17 [INFO] [stdout] | [INFO] [stdout] 610 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:624:25 [INFO] [stdout] | [INFO] [stdout] 624 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:643:21 [INFO] [stdout] | [INFO] [stdout] 643 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:683:29 [INFO] [stdout] | [INFO] [stdout] 683 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:711:17 [INFO] [stdout] | [INFO] [stdout] 711 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:712:17 [INFO] [stdout] | [INFO] [stdout] 712 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/Shifumi.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Shifumi { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 20 | pub fn init() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn update_p(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn from_random_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn state_desc(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn available_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn score(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | pub fn run_game_vec(&mut self, Pi: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 586 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 662 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 752 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 854 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 970 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1074 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SecretEnv0` is never constructed [INFO] [stdout] --> src/Env/SecretEnv0.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SecretEnv0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:713:17 [INFO] [stdout] | [INFO] [stdout] 713 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:745:21 [INFO] [stdout] | [INFO] [stdout] 745 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/SecretEnv0.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SecretEnv0 { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn p(&self, s: usize, a: usize, s_p: usize, r: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn num_states(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn agent_pos(&self) -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn num_actions(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn available_actions_len(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_forbidden(&self, action: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn autorized_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn num_rewards(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn from_random_state(&mut self) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn reset(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn state_id(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 724 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:779:21 [INFO] [stdout] | [INFO] [stdout] 779 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:780:21 [INFO] [stdout] | [INFO] [stdout] 780 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MontyHall` is never constructed [INFO] [stdout] --> src/Env/MontyHall.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MontyHall { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:819:12 [INFO] [stdout] | [INFO] [stdout] 819 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:827:17 [INFO] [stdout] | [INFO] [stdout] 827 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:828:17 [INFO] [stdout] | [INFO] [stdout] 828 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:893:17 [INFO] [stdout] | [INFO] [stdout] 893 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:900:21 [INFO] [stdout] | [INFO] [stdout] 900 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:907:17 [INFO] [stdout] | [INFO] [stdout] 907 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:931:17 [INFO] [stdout] | [INFO] [stdout] 931 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:932:17 [INFO] [stdout] | [INFO] [stdout] 932 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:1010:17 [INFO] [stdout] | [INFO] [stdout] 1010 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:1017:21 [INFO] [stdout] | [INFO] [stdout] 1017 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:1024:17 [INFO] [stdout] | [INFO] [stdout] 1024 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub S: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub A: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub R: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `T` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub T: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:437:36 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn run_game_vec(&mut self, Pi: Vec){ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:448:40 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:467:53 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:483:47 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | let len_S: usize = self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/MontyHall.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl MontyHall { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 19 | pub fn init() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn update_p(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_random_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn state_desc(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn available_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn display(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn run_game_vec(&mut self, Pi: Vec){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 869 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 973 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | let len_S= self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SecretEnv1` is never constructed [INFO] [stdout] --> src/Env/SecretEnv1.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SecretEnv1 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:593:17 [INFO] [stdout] | [INFO] [stdout] 593 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:632:17 [INFO] [stdout] | [INFO] [stdout] 632 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:669:17 [INFO] [stdout] | [INFO] [stdout] 669 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:670:17 [INFO] [stdout] | [INFO] [stdout] 670 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/SecretEnv1.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SecretEnv1 { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn p(&self, s: usize, a: usize, s_p: usize, r: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn num_states(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn agent_pos(&self) -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn num_actions(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn available_actions_len(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_forbidden(&self, action: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn autorized_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn num_rewards(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn from_random_state(&mut self) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn reset(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn state_id(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 715 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 819 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SecretEnv2` is never constructed [INFO] [stdout] --> src/Env/SecretEnv2.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SecretEnv2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:705:21 [INFO] [stdout] | [INFO] [stdout] 705 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:760:17 [INFO] [stdout] | [INFO] [stdout] 760 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:762:17 [INFO] [stdout] | [INFO] [stdout] 762 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/SecretEnv2.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SecretEnv2 { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn p(&self, s: usize, a: usize, s_p: usize, r: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn num_states(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn agent_pos(&self) -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn num_actions(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn available_actions_len(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_forbidden(&self, action: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn autorized_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn num_rewards(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn from_random_state(&mut self) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn reset(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn state_id(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 608 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 722 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 826 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:776:25 [INFO] [stdout] | [INFO] [stdout] 776 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SecretEnv3` is never constructed [INFO] [stdout] --> src/Env/SecretEnv3.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SecretEnv3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:794:21 [INFO] [stdout] | [INFO] [stdout] 794 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:834:29 [INFO] [stdout] | [INFO] [stdout] 834 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:862:17 [INFO] [stdout] | [INFO] [stdout] 862 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:863:17 [INFO] [stdout] | [INFO] [stdout] 863 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:864:17 [INFO] [stdout] | [INFO] [stdout] 864 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:896:21 [INFO] [stdout] | [INFO] [stdout] 896 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:930:21 [INFO] [stdout] | [INFO] [stdout] 930 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:931:21 [INFO] [stdout] | [INFO] [stdout] 931 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:970:12 [INFO] [stdout] | [INFO] [stdout] 970 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:978:17 [INFO] [stdout] | [INFO] [stdout] 978 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:979:17 [INFO] [stdout] | [INFO] [stdout] 979 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1044:17 [INFO] [stdout] | [INFO] [stdout] 1044 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1051:21 [INFO] [stdout] | [INFO] [stdout] 1051 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1058:17 [INFO] [stdout] | [INFO] [stdout] 1058 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1082:17 [INFO] [stdout] | [INFO] [stdout] 1082 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1083:17 [INFO] [stdout] | [INFO] [stdout] 1083 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1161:17 [INFO] [stdout] | [INFO] [stdout] 1161 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1168:21 [INFO] [stdout] | [INFO] [stdout] 1168 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1175:17 [INFO] [stdout] | [INFO] [stdout] 1175 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `R` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:196:40 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:212:53 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:229:47 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | let len_S: usize = self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let len_S= self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:337:17 [INFO] [stdout] | [INFO] [stdout] 337 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/Env/SecretEnv3.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SecretEnv3 { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn p(&self, s: usize, a: usize, s_p: usize, r: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn num_states(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn agent_pos(&self) -> i32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn num_actions(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn available_actions_len(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_forbidden(&self, action: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn autorized_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn num_rewards(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn from_random_state(&mut self) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn score(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn step(&mut self, action: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn reset(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn state_id(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn generate_random_probabilities(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn select_action(&self, state: &HashMap) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn policy_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn value_iteration(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn monte_carlo_exploring_starts(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn monte_carlo_fv_on_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 608 | pub fn monte_carlo_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 722 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 826 | pub fn sarsa(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getlib` is never used [INFO] [stdout] --> src/secret_env/lib_secret_env.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn getlib() -> Library { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LIB` is never used [INFO] [stdout] --> src/secret_env/lib_secret_env.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub static LIB: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_all_and_save` is never used [INFO] [stdout] --> src/run_all_and_save.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn run_all_and_save() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Env` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Env; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:416:17 [INFO] [stdout] | [INFO] [stdout] 416 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LineWorld` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod LineWorld; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `line_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `GridWorld` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod GridWorld; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `grid_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shifumi` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Shifumi; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `shifumi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SecretEnv0` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod SecretEnv0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `secret_env0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MontyHall` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod MontyHall; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `monty_hall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `EnvironmentTrait` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod EnvironmentTrait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `environment_trait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:461:21 [INFO] [stdout] | [INFO] [stdout] 461 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:518:17 [INFO] [stdout] | [INFO] [stdout] 518 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:532:25 [INFO] [stdout] | [INFO] [stdout] 532 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:550:21 [INFO] [stdout] | [INFO] [stdout] 550 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:590:29 [INFO] [stdout] | [INFO] [stdout] 590 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:619:17 [INFO] [stdout] | [INFO] [stdout] 619 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:620:17 [INFO] [stdout] | [INFO] [stdout] 620 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SecretEnv1` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod SecretEnv1; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `secret_env1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:635:25 [INFO] [stdout] | [INFO] [stdout] 635 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:684:21 [INFO] [stdout] | [INFO] [stdout] 684 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SecretEnv2` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod SecretEnv2; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `secret_env2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:685:21 [INFO] [stdout] | [INFO] [stdout] 685 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SecretEnv3` should have a snake case name [INFO] [stdout] --> src/Env/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod SecretEnv3; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `secret_env3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:724:12 [INFO] [stdout] | [INFO] [stdout] 724 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub S: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:732:17 [INFO] [stdout] | [INFO] [stdout] 732 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub A: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:733:17 [INFO] [stdout] | [INFO] [stdout] 733 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub R: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:798:17 [INFO] [stdout] | [INFO] [stdout] 798 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `T` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub T: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:805:21 [INFO] [stdout] | [INFO] [stdout] 805 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:812:17 [INFO] [stdout] | [INFO] [stdout] 812 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:836:17 [INFO] [stdout] | [INFO] [stdout] 836 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn run_game_vec(&mut self, Pi: Vec) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:837:17 [INFO] [stdout] | [INFO] [stdout] 837 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:160:53 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:915:17 [INFO] [stdout] | [INFO] [stdout] 915 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:922:21 [INFO] [stdout] | [INFO] [stdout] 922 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:196:47 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:929:17 [INFO] [stdout] | [INFO] [stdout] 929 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let len_S: usize = self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub S: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | let mut Pi = Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub A: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub R: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let len_S = self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `T` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub T: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:330:36 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn run_game_vec(&mut self, Pi: Vec){ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:360:40 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:381:47 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 469 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let len_S: usize = self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:503:21 [INFO] [stdout] | [INFO] [stdout] 503 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:543:29 [INFO] [stdout] | [INFO] [stdout] 543 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:571:17 [INFO] [stdout] | [INFO] [stdout] 571 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:605:21 [INFO] [stdout] | [INFO] [stdout] 605 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:639:21 [INFO] [stdout] | [INFO] [stdout] 639 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:640:21 [INFO] [stdout] | [INFO] [stdout] 640 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:679:12 [INFO] [stdout] | [INFO] [stdout] 679 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:687:17 [INFO] [stdout] | [INFO] [stdout] 687 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:688:17 [INFO] [stdout] | [INFO] [stdout] 688 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:753:17 [INFO] [stdout] | [INFO] [stdout] 753 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:760:21 [INFO] [stdout] | [INFO] [stdout] 760 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:767:17 [INFO] [stdout] | [INFO] [stdout] 767 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:791:17 [INFO] [stdout] | [INFO] [stdout] 791 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:792:17 [INFO] [stdout] | [INFO] [stdout] 792 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:416:17 [INFO] [stdout] | [INFO] [stdout] 416 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | let len_S= self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:530:17 [INFO] [stdout] | [INFO] [stdout] 530 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:566:17 [INFO] [stdout] | [INFO] [stdout] 566 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:567:17 [INFO] [stdout] | [INFO] [stdout] 567 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:602:21 [INFO] [stdout] | [INFO] [stdout] 602 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:656:17 [INFO] [stdout] | [INFO] [stdout] 656 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:672:25 [INFO] [stdout] | [INFO] [stdout] 672 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:690:21 [INFO] [stdout] | [INFO] [stdout] 690 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:871:17 [INFO] [stdout] | [INFO] [stdout] 871 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:730:29 [INFO] [stdout] | [INFO] [stdout] 730 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:878:21 [INFO] [stdout] | [INFO] [stdout] 878 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:758:17 [INFO] [stdout] | [INFO] [stdout] 758 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/LineWorld.rs:885:17 [INFO] [stdout] | [INFO] [stdout] 885 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:759:17 [INFO] [stdout] | [INFO] [stdout] 759 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub S: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:760:17 [INFO] [stdout] | [INFO] [stdout] 760 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub A: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:793:21 [INFO] [stdout] | [INFO] [stdout] 793 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub R: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:828:21 [INFO] [stdout] | [INFO] [stdout] 828 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `T` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub T: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:829:21 [INFO] [stdout] | [INFO] [stdout] 829 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:278:36 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn run_game_vec(&mut self, Pi: Vec){ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:869:12 [INFO] [stdout] | [INFO] [stdout] 869 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:292:53 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:877:17 [INFO] [stdout] | [INFO] [stdout] 877 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:308:40 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:878:17 [INFO] [stdout] | [INFO] [stdout] 878 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:329:47 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | let len_S: usize = self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:943:17 [INFO] [stdout] | [INFO] [stdout] 943 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:950:21 [INFO] [stdout] | [INFO] [stdout] 950 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:362:17 [INFO] [stdout] | [INFO] [stdout] 362 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:957:17 [INFO] [stdout] | [INFO] [stdout] 957 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:981:17 [INFO] [stdout] | [INFO] [stdout] 981 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | let len_S= self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:982:17 [INFO] [stdout] | [INFO] [stdout] 982 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 476 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:1060:17 [INFO] [stdout] | [INFO] [stdout] 1060 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:1067:21 [INFO] [stdout] | [INFO] [stdout] 1067 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:512:17 [INFO] [stdout] | [INFO] [stdout] 512 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:1074:17 [INFO] [stdout] | [INFO] [stdout] 1074 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:608:17 [INFO] [stdout] | [INFO] [stdout] 608 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `R` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:610:17 [INFO] [stdout] | [INFO] [stdout] 610 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:196:40 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:624:25 [INFO] [stdout] | [INFO] [stdout] 624 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:643:21 [INFO] [stdout] | [INFO] [stdout] 643 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:683:29 [INFO] [stdout] | [INFO] [stdout] 683 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:711:17 [INFO] [stdout] | [INFO] [stdout] 711 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:213:53 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:712:17 [INFO] [stdout] | [INFO] [stdout] 712 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:230:47 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:713:17 [INFO] [stdout] | [INFO] [stdout] 713 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let len_S: usize = self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:745:21 [INFO] [stdout] | [INFO] [stdout] 745 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:779:21 [INFO] [stdout] | [INFO] [stdout] 779 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:780:21 [INFO] [stdout] | [INFO] [stdout] 780 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let len_S= self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:819:12 [INFO] [stdout] | [INFO] [stdout] 819 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:827:17 [INFO] [stdout] | [INFO] [stdout] 827 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:452:21 [INFO] [stdout] | [INFO] [stdout] 452 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:828:17 [INFO] [stdout] | [INFO] [stdout] 828 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:507:17 [INFO] [stdout] | [INFO] [stdout] 507 | let mut Pi: HashMap> = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:893:17 [INFO] [stdout] | [INFO] [stdout] 893 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:900:21 [INFO] [stdout] | [INFO] [stdout] 900 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:523:25 [INFO] [stdout] | [INFO] [stdout] 523 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:907:17 [INFO] [stdout] | [INFO] [stdout] 907 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:541:21 [INFO] [stdout] | [INFO] [stdout] 541 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:931:17 [INFO] [stdout] | [INFO] [stdout] 931 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:581:29 [INFO] [stdout] | [INFO] [stdout] 581 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:932:17 [INFO] [stdout] | [INFO] [stdout] 932 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:609:17 [INFO] [stdout] | [INFO] [stdout] 609 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:1010:17 [INFO] [stdout] | [INFO] [stdout] 1010 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:610:17 [INFO] [stdout] | [INFO] [stdout] 610 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:1017:21 [INFO] [stdout] | [INFO] [stdout] 1017 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:611:17 [INFO] [stdout] | [INFO] [stdout] 611 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/GridWorld.rs:1024:17 [INFO] [stdout] | [INFO] [stdout] 1024 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:626:25 [INFO] [stdout] | [INFO] [stdout] 626 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub S: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:675:21 [INFO] [stdout] | [INFO] [stdout] 675 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub A: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:676:21 [INFO] [stdout] | [INFO] [stdout] 676 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub R: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:715:12 [INFO] [stdout] | [INFO] [stdout] 715 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `T` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub T: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:723:17 [INFO] [stdout] | [INFO] [stdout] 723 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:437:36 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn run_game_vec(&mut self, Pi: Vec){ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:724:17 [INFO] [stdout] | [INFO] [stdout] 724 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:448:40 [INFO] [stdout] | [INFO] [stdout] 448 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:789:17 [INFO] [stdout] | [INFO] [stdout] 789 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:467:53 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:796:21 [INFO] [stdout] | [INFO] [stdout] 796 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:483:47 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:803:17 [INFO] [stdout] | [INFO] [stdout] 803 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | let len_S: usize = self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:827:17 [INFO] [stdout] | [INFO] [stdout] 827 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:511:17 [INFO] [stdout] | [INFO] [stdout] 511 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:828:17 [INFO] [stdout] | [INFO] [stdout] 828 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:517:17 [INFO] [stdout] | [INFO] [stdout] 517 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:906:17 [INFO] [stdout] | [INFO] [stdout] 906 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | let len_S= self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:593:17 [INFO] [stdout] | [INFO] [stdout] 593 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:632:17 [INFO] [stdout] | [INFO] [stdout] 632 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:669:17 [INFO] [stdout] | [INFO] [stdout] 669 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:670:17 [INFO] [stdout] | [INFO] [stdout] 670 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:705:21 [INFO] [stdout] | [INFO] [stdout] 705 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:760:17 [INFO] [stdout] | [INFO] [stdout] 760 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:762:17 [INFO] [stdout] | [INFO] [stdout] 762 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:776:25 [INFO] [stdout] | [INFO] [stdout] 776 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:794:21 [INFO] [stdout] | [INFO] [stdout] 794 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:834:29 [INFO] [stdout] | [INFO] [stdout] 834 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:920:17 [INFO] [stdout] | [INFO] [stdout] 920 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `R` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:196:40 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:212:53 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:228:47 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | let len_S: usize = self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:862:17 [INFO] [stdout] | [INFO] [stdout] 862 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let len_S= self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:863:17 [INFO] [stdout] | [INFO] [stdout] 863 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:864:17 [INFO] [stdout] | [INFO] [stdout] 864 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:896:21 [INFO] [stdout] | [INFO] [stdout] 896 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:930:21 [INFO] [stdout] | [INFO] [stdout] 930 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:931:21 [INFO] [stdout] | [INFO] [stdout] 931 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:459:21 [INFO] [stdout] | [INFO] [stdout] 459 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:970:12 [INFO] [stdout] | [INFO] [stdout] 970 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:978:17 [INFO] [stdout] | [INFO] [stdout] 978 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:979:17 [INFO] [stdout] | [INFO] [stdout] 979 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:530:25 [INFO] [stdout] | [INFO] [stdout] 530 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1044:17 [INFO] [stdout] | [INFO] [stdout] 1044 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:548:21 [INFO] [stdout] | [INFO] [stdout] 548 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1051:21 [INFO] [stdout] | [INFO] [stdout] 1051 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:588:29 [INFO] [stdout] | [INFO] [stdout] 588 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1058:17 [INFO] [stdout] | [INFO] [stdout] 1058 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1082:17 [INFO] [stdout] | [INFO] [stdout] 1082 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1083:17 [INFO] [stdout] | [INFO] [stdout] 1083 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1161:17 [INFO] [stdout] | [INFO] [stdout] 1161 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1168:21 [INFO] [stdout] | [INFO] [stdout] 1168 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/Shifumi.rs:1175:17 [INFO] [stdout] | [INFO] [stdout] 1175 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `R` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:196:40 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:212:53 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:229:47 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | let len_S: usize = self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let len_S= self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:337:17 [INFO] [stdout] | [INFO] [stdout] 337 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:416:17 [INFO] [stdout] | [INFO] [stdout] 416 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:461:21 [INFO] [stdout] | [INFO] [stdout] 461 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:617:17 [INFO] [stdout] | [INFO] [stdout] 617 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:682:21 [INFO] [stdout] | [INFO] [stdout] 682 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:683:21 [INFO] [stdout] | [INFO] [stdout] 683 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:722:12 [INFO] [stdout] | [INFO] [stdout] 722 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:731:17 [INFO] [stdout] | [INFO] [stdout] 731 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:796:17 [INFO] [stdout] | [INFO] [stdout] 796 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:803:21 [INFO] [stdout] | [INFO] [stdout] 803 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:810:17 [INFO] [stdout] | [INFO] [stdout] 810 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:834:17 [INFO] [stdout] | [INFO] [stdout] 834 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:835:17 [INFO] [stdout] | [INFO] [stdout] 835 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:913:17 [INFO] [stdout] | [INFO] [stdout] 913 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:920:21 [INFO] [stdout] | [INFO] [stdout] 920 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:927:17 [INFO] [stdout] | [INFO] [stdout] 927 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `R` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:196:40 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:212:53 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:228:47 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | let len_S: usize = self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:518:17 [INFO] [stdout] | [INFO] [stdout] 518 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:532:25 [INFO] [stdout] | [INFO] [stdout] 532 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:550:21 [INFO] [stdout] | [INFO] [stdout] 550 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:590:29 [INFO] [stdout] | [INFO] [stdout] 590 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:619:17 [INFO] [stdout] | [INFO] [stdout] 619 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:620:17 [INFO] [stdout] | [INFO] [stdout] 620 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:635:25 [INFO] [stdout] | [INFO] [stdout] 635 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:684:21 [INFO] [stdout] | [INFO] [stdout] 684 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:685:21 [INFO] [stdout] | [INFO] [stdout] 685 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:724:12 [INFO] [stdout] | [INFO] [stdout] 724 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:732:17 [INFO] [stdout] | [INFO] [stdout] 732 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:733:17 [INFO] [stdout] | [INFO] [stdout] 733 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:798:17 [INFO] [stdout] | [INFO] [stdout] 798 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:805:21 [INFO] [stdout] | [INFO] [stdout] 805 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:812:17 [INFO] [stdout] | [INFO] [stdout] 812 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:836:17 [INFO] [stdout] | [INFO] [stdout] 836 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:837:17 [INFO] [stdout] | [INFO] [stdout] 837 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:915:17 [INFO] [stdout] | [INFO] [stdout] 915 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:922:21 [INFO] [stdout] | [INFO] [stdout] 922 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv0.rs:929:17 [INFO] [stdout] | [INFO] [stdout] 929 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let len_S= self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub S: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub A: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `R` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub R: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:459:21 [INFO] [stdout] | [INFO] [stdout] 459 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:530:25 [INFO] [stdout] | [INFO] [stdout] 530 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:548:21 [INFO] [stdout] | [INFO] [stdout] 548 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:588:29 [INFO] [stdout] | [INFO] [stdout] 588 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:617:17 [INFO] [stdout] | [INFO] [stdout] 617 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:682:21 [INFO] [stdout] | [INFO] [stdout] 682 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:683:21 [INFO] [stdout] | [INFO] [stdout] 683 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:722:12 [INFO] [stdout] | [INFO] [stdout] 722 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:731:17 [INFO] [stdout] | [INFO] [stdout] 731 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `T` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub T: Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:330:36 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn run_game_vec(&mut self, Pi: Vec){ [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:344:53 [INFO] [stdout] | [INFO] [stdout] 344 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:360:40 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:381:47 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let len_S: usize = self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:416:17 [INFO] [stdout] | [INFO] [stdout] 416 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | let len_S= self.num_states as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:530:17 [INFO] [stdout] | [INFO] [stdout] 530 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:566:17 [INFO] [stdout] | [INFO] [stdout] 566 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:567:17 [INFO] [stdout] | [INFO] [stdout] 567 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:602:21 [INFO] [stdout] | [INFO] [stdout] 602 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:796:17 [INFO] [stdout] | [INFO] [stdout] 796 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:803:21 [INFO] [stdout] | [INFO] [stdout] 803 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:810:17 [INFO] [stdout] | [INFO] [stdout] 810 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:834:17 [INFO] [stdout] | [INFO] [stdout] 834 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:835:17 [INFO] [stdout] | [INFO] [stdout] 835 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:913:17 [INFO] [stdout] | [INFO] [stdout] 913 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:656:17 [INFO] [stdout] | [INFO] [stdout] 656 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:672:25 [INFO] [stdout] | [INFO] [stdout] 672 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:690:21 [INFO] [stdout] | [INFO] [stdout] 690 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:730:29 [INFO] [stdout] | [INFO] [stdout] 730 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:758:17 [INFO] [stdout] | [INFO] [stdout] 758 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:759:17 [INFO] [stdout] | [INFO] [stdout] 759 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:760:17 [INFO] [stdout] | [INFO] [stdout] 760 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:793:21 [INFO] [stdout] | [INFO] [stdout] 793 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:828:21 [INFO] [stdout] | [INFO] [stdout] 828 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:829:21 [INFO] [stdout] | [INFO] [stdout] 829 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:869:12 [INFO] [stdout] | [INFO] [stdout] 869 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:877:17 [INFO] [stdout] | [INFO] [stdout] 877 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:878:17 [INFO] [stdout] | [INFO] [stdout] 878 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:943:17 [INFO] [stdout] | [INFO] [stdout] 943 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:950:21 [INFO] [stdout] | [INFO] [stdout] 950 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:957:17 [INFO] [stdout] | [INFO] [stdout] 957 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:981:17 [INFO] [stdout] | [INFO] [stdout] 981 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:982:17 [INFO] [stdout] | [INFO] [stdout] 982 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:1060:17 [INFO] [stdout] | [INFO] [stdout] 1060 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:1067:21 [INFO] [stdout] | [INFO] [stdout] 1067 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/MontyHall.rs:1074:17 [INFO] [stdout] | [INFO] [stdout] 1074 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:920:21 [INFO] [stdout] | [INFO] [stdout] 920 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:927:17 [INFO] [stdout] | [INFO] [stdout] 927 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `R` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:196:40 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:213:53 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:230:47 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | let len_S: usize = self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let len_S= self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:407:17 [INFO] [stdout] | [INFO] [stdout] 407 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:452:21 [INFO] [stdout] | [INFO] [stdout] 452 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:507:17 [INFO] [stdout] | [INFO] [stdout] 507 | let mut Pi: HashMap> = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:523:25 [INFO] [stdout] | [INFO] [stdout] 523 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:541:21 [INFO] [stdout] | [INFO] [stdout] 541 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:581:29 [INFO] [stdout] | [INFO] [stdout] 581 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:609:17 [INFO] [stdout] | [INFO] [stdout] 609 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:610:17 [INFO] [stdout] | [INFO] [stdout] 610 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:611:17 [INFO] [stdout] | [INFO] [stdout] 611 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:626:25 [INFO] [stdout] | [INFO] [stdout] 626 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:675:21 [INFO] [stdout] | [INFO] [stdout] 675 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:676:21 [INFO] [stdout] | [INFO] [stdout] 676 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:715:12 [INFO] [stdout] | [INFO] [stdout] 715 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:723:17 [INFO] [stdout] | [INFO] [stdout] 723 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:724:17 [INFO] [stdout] | [INFO] [stdout] 724 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:789:17 [INFO] [stdout] | [INFO] [stdout] 789 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:796:21 [INFO] [stdout] | [INFO] [stdout] 796 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:803:17 [INFO] [stdout] | [INFO] [stdout] 803 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:827:17 [INFO] [stdout] | [INFO] [stdout] 827 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:828:17 [INFO] [stdout] | [INFO] [stdout] 828 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:906:17 [INFO] [stdout] | [INFO] [stdout] 906 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv1.rs:920:17 [INFO] [stdout] | [INFO] [stdout] 920 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `R` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:196:40 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:212:53 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:228:47 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | let len_S: usize = self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let len_S= self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:459:21 [INFO] [stdout] | [INFO] [stdout] 459 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:530:25 [INFO] [stdout] | [INFO] [stdout] 530 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:548:21 [INFO] [stdout] | [INFO] [stdout] 548 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:588:29 [INFO] [stdout] | [INFO] [stdout] 588 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:617:17 [INFO] [stdout] | [INFO] [stdout] 617 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:682:21 [INFO] [stdout] | [INFO] [stdout] 682 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:683:21 [INFO] [stdout] | [INFO] [stdout] 683 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:722:12 [INFO] [stdout] | [INFO] [stdout] 722 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:731:17 [INFO] [stdout] | [INFO] [stdout] 731 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:796:17 [INFO] [stdout] | [INFO] [stdout] 796 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:803:21 [INFO] [stdout] | [INFO] [stdout] 803 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:810:17 [INFO] [stdout] | [INFO] [stdout] 810 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:834:17 [INFO] [stdout] | [INFO] [stdout] 834 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:835:17 [INFO] [stdout] | [INFO] [stdout] 835 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:913:17 [INFO] [stdout] | [INFO] [stdout] 913 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:920:21 [INFO] [stdout] | [INFO] [stdout] 920 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv2.rs:927:17 [INFO] [stdout] | [INFO] [stdout] 927 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn A(&self) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `R` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn R(&self, pos: usize) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | ... wtr.write_record(&["run_number", "run_date", "env", "model", "gamma", "theta", "epsilon", "alpha", "number_iteration", "max_step", "actual_run", "time", "score"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = wtr.write_record(&["run_number", "run_date", "env", "model", "gamma", "theta", "epsilon", "alpha", "number_iteration", "max_step", "actual_run", "time", "score"]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | writeln!(file, "LineWorld\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = writeln!(file, "LineWorld\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 149 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:196:40 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn run_game_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:212:53 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn run_game_random_state_hashmap(&mut self, Pi: HashMap) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:228:47 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn run_game_random_hashmap(&mut self, Pi: HashMap>) { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | let len_S: usize = self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | let mut Pi= Vec::with_capacity(len_S); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len_S` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let len_S= self.num_states() as usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `len_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | let mut V: Vec = Vec::with_capacity(len_S); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | let mut Pi: Vec = vec![0; len_S]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | let mut Pi = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:459:21 [INFO] [stdout] | [INFO] [stdout] 459 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | let mut Pi: HashMap> = Default::default(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:530:25 [INFO] [stdout] | [INFO] [stdout] 530 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:548:21 [INFO] [stdout] | [INFO] [stdout] 548 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:588:29 [INFO] [stdout] | [INFO] [stdout] 588 | let mut A: HashMap = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:617:17 [INFO] [stdout] | [INFO] [stdout] 617 | let mut C: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `random_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | let random_Vec = self.generate_random_probabilities(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `random_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:682:21 [INFO] [stdout] | [INFO] [stdout] 682 | let mut W = 1.0f32; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:683:21 [INFO] [stdout] | [INFO] [stdout] 683 | let mut G = 0.0; [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Q_learning_off_policy` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:722:12 [INFO] [stdout] | [INFO] [stdout] 722 | pub fn Q_learning_off_policy(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `q_learning_off_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:731:17 [INFO] [stdout] | [INFO] [stdout] 731 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:796:17 [INFO] [stdout] | [INFO] [stdout] 796 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:803:21 [INFO] [stdout] | [INFO] [stdout] 803 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:810:17 [INFO] [stdout] | [INFO] [stdout] 810 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:834:17 [INFO] [stdout] | [INFO] [stdout] 834 | let mut Q: HashMap<(i32, i32), f32> = HashMap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Pi` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:835:17 [INFO] [stdout] | [INFO] [stdout] 835 | let mut Pi: HashMap = HashMap::new(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `All_States_Actions` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:913:17 [INFO] [stdout] | [INFO] [stdout] 913 | let mut All_States_Actions: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `all_states_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myVec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:920:21 [INFO] [stdout] | [INFO] [stdout] 920 | let myVec = All_States_Actions.get(&s).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `my_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `a_Vec` should have a snake case name [INFO] [stdout] --> src/Env/SecretEnv3.rs:927:17 [INFO] [stdout] | [INFO] [stdout] 927 | for (s, a_Vec) in All_States_Actions.iter() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `a_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 189 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 200 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 201 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 250 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 251 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 290 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 301 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 302 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:337:17 [INFO] [stdout] | [INFO] [stdout] 337 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 342 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 352 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 353 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:387:17 [INFO] [stdout] | [INFO] [stdout] 387 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 392 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 402 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 403 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | writeln!(file, "GridWorld\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 419 | let _ = writeln!(file, "GridWorld\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:448:17 [INFO] [stdout] | [INFO] [stdout] 448 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 453 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 464 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 465 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 502 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 513 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 513 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 514 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:547:17 [INFO] [stdout] | [INFO] [stdout] 547 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 552 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 563 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 563 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 564 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 603 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 603 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:614:5 [INFO] [stdout] | [INFO] [stdout] 614 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 614 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:615:5 [INFO] [stdout] | [INFO] [stdout] 615 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 615 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:649:17 [INFO] [stdout] | [INFO] [stdout] 649 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 654 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 665 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 665 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:666:5 [INFO] [stdout] | [INFO] [stdout] 666 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 666 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 705 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:716:5 [INFO] [stdout] | [INFO] [stdout] 716 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 716 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:717:5 [INFO] [stdout] | [INFO] [stdout] 717 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 717 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:749:17 [INFO] [stdout] | [INFO] [stdout] 749 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 754 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:765:5 [INFO] [stdout] | [INFO] [stdout] 765 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 765 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:766:5 [INFO] [stdout] | [INFO] [stdout] 766 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 766 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:780:5 [INFO] [stdout] | [INFO] [stdout] 780 | writeln!(file, "Shifumi\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 780 | let _ = writeln!(file, "Shifumi\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:809:17 [INFO] [stdout] | [INFO] [stdout] 809 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:814:9 [INFO] [stdout] | [INFO] [stdout] 814 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 814 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:824:5 [INFO] [stdout] | [INFO] [stdout] 824 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 824 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:825:5 [INFO] [stdout] | [INFO] [stdout] 825 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 825 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:857:17 [INFO] [stdout] | [INFO] [stdout] 857 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:862:9 [INFO] [stdout] | [INFO] [stdout] 862 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 862 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:872:5 [INFO] [stdout] | [INFO] [stdout] 872 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 872 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:873:5 [INFO] [stdout] | [INFO] [stdout] 873 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 873 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:906:17 [INFO] [stdout] | [INFO] [stdout] 906 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:911:9 [INFO] [stdout] | [INFO] [stdout] 911 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 911 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:921:5 [INFO] [stdout] | [INFO] [stdout] 921 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 921 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:922:5 [INFO] [stdout] | [INFO] [stdout] 922 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 922 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:955:17 [INFO] [stdout] | [INFO] [stdout] 955 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:960:9 [INFO] [stdout] | [INFO] [stdout] 960 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 960 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:970:5 [INFO] [stdout] | [INFO] [stdout] 970 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 970 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | ... wtr.write_record(&["run_number", "run_date", "env", "model", "gamma", "theta", "epsilon", "alpha", "number_iteration", "max_step", "actual_run", "time", "score"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = wtr.write_record(&["run_number", "run_date", "env", "model", "gamma", "theta", "epsilon", "alpha", "number_iteration", "max_step", "actual_run", "time", "score"]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | writeln!(file, "LineWorld\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = writeln!(file, "LineWorld\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 149 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:971:5 [INFO] [stdout] | [INFO] [stdout] 971 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 971 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:1005:17 [INFO] [stdout] | [INFO] [stdout] 1005 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:1010:9 [INFO] [stdout] | [INFO] [stdout] 1010 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1010 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:1020:5 [INFO] [stdout] | [INFO] [stdout] 1020 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1020 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:1021:5 [INFO] [stdout] | [INFO] [stdout] 1021 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1021 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:1055:17 [INFO] [stdout] | [INFO] [stdout] 1055 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:1060:9 [INFO] [stdout] | [INFO] [stdout] 1060 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1060 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 189 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:1070:5 [INFO] [stdout] | [INFO] [stdout] 1070 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1070 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 200 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:1071:5 [INFO] [stdout] | [INFO] [stdout] 1071 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1071 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:1106:17 [INFO] [stdout] | [INFO] [stdout] 1106 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 201 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:1111:9 [INFO] [stdout] | [INFO] [stdout] 1111 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1111 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:1121:5 [INFO] [stdout] | [INFO] [stdout] 1121 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1121 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 250 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:1122:5 [INFO] [stdout] | [INFO] [stdout] 1122 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1122 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 251 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:1137:5 [INFO] [stdout] | [INFO] [stdout] 1137 | writeln!(file, "MontyHall\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1137 | let _ = writeln!(file, "MontyHall\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:1166:17 [INFO] [stdout] | [INFO] [stdout] 1166 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 290 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:1171:9 [INFO] [stdout] | [INFO] [stdout] 1171 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1171 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 301 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:1181:5 [INFO] [stdout] | [INFO] [stdout] 1181 | writeln!(file, "{}", output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1181 | let _ = writeln!(file, "{}", output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 302 | let _ = writeln!(file, "{}", output_score); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file_Pi` should have a snake case name [INFO] [stdout] --> src/run_all_and_save.rs:337:17 [INFO] [stdout] | [INFO] [stdout] 337 | let mut file_Pi = OpenOptions::new() [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `file_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 342 | let _ = writeln!(file_Pi, "{:?}", res.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/run_all_and_save.rs:1182:5 [INFO] [stdout] | [INFO] [stdout] 1182 | writeln!(file, "{}", output_score); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [WARN] too many lines in the log, truncating it