[INFO] cloning repository https://github.com/azennto/thunder_book_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/azennto/thunder_book_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazennto%2Fthunder_book_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazennto%2Fthunder_book_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9393f516d9844b1374162558671c7049da9f1948 [INFO] building azennto/thunder_book_rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazennto%2Fthunder_book_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/azennto/thunder_book_rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/azennto/thunder_book_rust [INFO] finished tweaking git repo https://github.com/azennto/thunder_book_rust [INFO] tweaked toml for git repo https://github.com/azennto/thunder_book_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/azennto/thunder_book_rust 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 607ec0c1868e9354d4e660e2977fa70539b0da2a0e88280e7597cf75ac568771 [INFO] running `Command { std: "docker" "start" "-a" "607ec0c1868e9354d4e660e2977fa70539b0da2a0e88280e7597cf75ac568771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "607ec0c1868e9354d4e660e2977fa70539b0da2a0e88280e7597cf75ac568771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "607ec0c1868e9354d4e660e2977fa70539b0da2a0e88280e7597cf75ac568771", kill_on_drop: false }` [INFO] [stdout] 607ec0c1868e9354d4e660e2977fa70539b0da2a0e88280e7597cf75ac568771 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08427fb52c36462bc108e8463cdda3fb7f2ba49bff90bbaaa5555219f53e05b4 [INFO] running `Command { std: "docker" "start" "-a" "08427fb52c36462bc108e8463cdda3fb7f2ba49bff90bbaaa5555219f53e05b4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling number_collect_maze v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/number_collect_maze.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | let mut time_keeper = TimeKeeper::new(time_threshold); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> src/number_collect_maze.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | for cnt in 0..beam_number { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/number_collect_maze.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | for i in 0..beam_width { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/number_collect_maze.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | for i in 0..beam_width { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/number_collect_maze.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | let mut time_keeper = TimeKeeper::new(time_threshold); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INF` is never used [INFO] [stdout] --> src/number_collect_maze.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const INF: ScoreType = 1e9 as isize; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` is never used [INFO] [stdout] --> src/number_collect_maze.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl MazeState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | fn toString(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `randomAction` is never used [INFO] [stdout] --> src/number_collect_maze.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn randomAction(state: &MazeState) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greedyAction` is never used [INFO] [stdout] --> src/number_collect_maze.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn greedyAction(state: &MazeState) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beamSearchAction` is never used [INFO] [stdout] --> src/number_collect_maze.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn beamSearchAction(state: &MazeState, beam_width: usize, beam_depth: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beamSearchActionWithTimeThreshold` is never used [INFO] [stdout] --> src/number_collect_maze.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn beamSearchActionWithTimeThreshold( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chokudaiSearchAction` is never used [INFO] [stdout] --> src/number_collect_maze.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn chokudaiSearchAction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `playGame` is never used [INFO] [stdout] --> src/number_collect_maze.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn playGame(seed: Option) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `dx` should have an upper case name [INFO] [stdout] --> src/number_collect_maze.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | const dx: [isize; 4] = [1, -1, 0, 0]; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `DX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `dy` should have an upper case name [INFO] [stdout] --> src/number_collect_maze.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | const dy: [isize; 4] = [0, 0, 1, -1]; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `DY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isDone` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn isDone(&self) -> bool { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `is_done` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `legalActions` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn legalActions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `legal_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn toString(&self) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluateScore` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn evaluateScore(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `evaluate_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isTimeOver` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn isTimeOver(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_time_over` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `randomAction` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn randomAction(state: &MazeState) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greedyAction` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn greedyAction(state: &MazeState) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `greedy_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beamSearchAction` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn beamSearchAction(state: &MazeState, beam_width: usize, beam_depth: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `beam_search_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beamSearchActionWithTimeThreshold` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn beamSearchActionWithTimeThreshold( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `beam_search_action_with_time_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chokudaiSearchAction` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn chokudaiSearchAction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `chokudai_search_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chokudaiSearchActionWithThreshold` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn chokudaiSearchActionWithThreshold( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `chokudai_search_action_with_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `playGame` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn playGame(seed: Option) -> usize { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `play_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testAiScore` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:332:4 [INFO] [stdout] | [INFO] [stdout] 332 | fn testAiScore(game_number: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `test_ai_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.31s [INFO] running `Command { std: "docker" "inspect" "08427fb52c36462bc108e8463cdda3fb7f2ba49bff90bbaaa5555219f53e05b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08427fb52c36462bc108e8463cdda3fb7f2ba49bff90bbaaa5555219f53e05b4", kill_on_drop: false }` [INFO] [stdout] 08427fb52c36462bc108e8463cdda3fb7f2ba49bff90bbaaa5555219f53e05b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9c8a201345218b61f8aa87199231e24a02eecab836e8af0d48390b5eb601a8d [INFO] running `Command { std: "docker" "start" "-a" "b9c8a201345218b61f8aa87199231e24a02eecab836e8af0d48390b5eb601a8d", kill_on_drop: false }` [INFO] [stderr] Compiling number_collect_maze v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/number_collect_maze.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | let mut time_keeper = TimeKeeper::new(time_threshold); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> src/number_collect_maze.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | for cnt in 0..beam_number { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/number_collect_maze.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | for i in 0..beam_width { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/number_collect_maze.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | for i in 0..beam_width { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/number_collect_maze.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | let mut time_keeper = TimeKeeper::new(time_threshold); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INF` is never used [INFO] [stdout] --> src/number_collect_maze.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const INF: ScoreType = 1e9 as isize; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` is never used [INFO] [stdout] --> src/number_collect_maze.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl MazeState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | fn toString(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `randomAction` is never used [INFO] [stdout] --> src/number_collect_maze.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn randomAction(state: &MazeState) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greedyAction` is never used [INFO] [stdout] --> src/number_collect_maze.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn greedyAction(state: &MazeState) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beamSearchAction` is never used [INFO] [stdout] --> src/number_collect_maze.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn beamSearchAction(state: &MazeState, beam_width: usize, beam_depth: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beamSearchActionWithTimeThreshold` is never used [INFO] [stdout] --> src/number_collect_maze.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn beamSearchActionWithTimeThreshold( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chokudaiSearchAction` is never used [INFO] [stdout] --> src/number_collect_maze.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn chokudaiSearchAction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `playGame` is never used [INFO] [stdout] --> src/number_collect_maze.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn playGame(seed: Option) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `dx` should have an upper case name [INFO] [stdout] --> src/number_collect_maze.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | const dx: [isize; 4] = [1, -1, 0, 0]; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `DX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `dy` should have an upper case name [INFO] [stdout] --> src/number_collect_maze.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | const dy: [isize; 4] = [0, 0, 1, -1]; [INFO] [stdout] | ^^ help: convert the identifier to upper case: `DY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isDone` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn isDone(&self) -> bool { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `is_done` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `legalActions` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn legalActions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `legal_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn toString(&self) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluateScore` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | fn evaluateScore(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `evaluate_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isTimeOver` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn isTimeOver(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_time_over` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `randomAction` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn randomAction(state: &MazeState) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `random_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greedyAction` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn greedyAction(state: &MazeState) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `greedy_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beamSearchAction` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn beamSearchAction(state: &MazeState, beam_width: usize, beam_depth: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `beam_search_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beamSearchActionWithTimeThreshold` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn beamSearchActionWithTimeThreshold( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `beam_search_action_with_time_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chokudaiSearchAction` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn chokudaiSearchAction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `chokudai_search_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chokudaiSearchActionWithThreshold` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn chokudaiSearchActionWithThreshold( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `chokudai_search_action_with_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `playGame` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn playGame(seed: Option) -> usize { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `play_game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testAiScore` should have a snake case name [INFO] [stdout] --> src/number_collect_maze.rs:332:4 [INFO] [stdout] | [INFO] [stdout] 332 | fn testAiScore(game_number: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `test_ai_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "b9c8a201345218b61f8aa87199231e24a02eecab836e8af0d48390b5eb601a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9c8a201345218b61f8aa87199231e24a02eecab836e8af0d48390b5eb601a8d", kill_on_drop: false }` [INFO] [stdout] b9c8a201345218b61f8aa87199231e24a02eecab836e8af0d48390b5eb601a8d