[INFO] cloning repository https://github.com/northbytruth/snake_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/northbytruth/snake_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorthbytruth%2Fsnake_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorthbytruth%2Fsnake_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef5587191e0d92dca63f8319a0923bc62bafc1a5 [INFO] building northbytruth/snake_game against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorthbytruth%2Fsnake_game" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/northbytruth/snake_game [INFO] finished tweaking git repo https://github.com/northbytruth/snake_game [INFO] tweaked toml for git repo https://github.com/northbytruth/snake_game written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/northbytruth/snake_game on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/northbytruth/snake_game 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winreg v0.5.0 [INFO] [stderr] Downloaded ncurses v5.91.0 [INFO] [stderr] Downloaded cc v1.0.6 [INFO] [stderr] Downloaded pkg-config v0.3.9 [INFO] [stderr] Downloaded log v0.3.9 [INFO] [stderr] Downloaded gcc v0.3.54 [INFO] [stderr] Downloaded libc v0.2.39 [INFO] [stderr] Downloaded pdcurses-sys v0.7.0 [INFO] [stderr] Downloaded rand_core v0.1.0-pre.0 [INFO] [stderr] Downloaded pancurses v0.15.0 [INFO] [stderr] Downloaded rand v0.5.0-pre.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81d02b76334ca50d037d4d60a1355cd3a492be7fc0868f0b8b418e33db635c78 [INFO] running `Command { std: "docker" "start" "-a" "81d02b76334ca50d037d4d60a1355cd3a492be7fc0868f0b8b418e33db635c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81d02b76334ca50d037d4d60a1355cd3a492be7fc0868f0b8b418e33db635c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81d02b76334ca50d037d4d60a1355cd3a492be7fc0868f0b8b418e33db635c78", kill_on_drop: false }` [INFO] [stdout] 81d02b76334ca50d037d4d60a1355cd3a492be7fc0868f0b8b418e33db635c78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39a4b8973036ee2b7e43abc3550ef09a63a3cf86412970baf07ecab99609bc4a [INFO] running `Command { std: "docker" "start" "-a" "39a4b8973036ee2b7e43abc3550ef09a63a3cf86412970baf07ecab99609bc4a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling rand_core v0.1.0-pre.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling rand v0.5.0-pre.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling ncurses v5.91.0 [INFO] [stderr] Compiling pancurses v0.15.0 [INFO] [stderr] Compiling snake_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{Rng, thread_rng}; [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 `if` condition [INFO] [stdout] --> src/main.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | if(key_in == "s"){ [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] 122 - if(key_in == "s"){ [INFO] [stdout] 122 + if key_in == "s" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | if(key_in == "w"){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 126 - if(key_in == "w"){ [INFO] [stdout] 126 + if key_in == "w" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | if(key_in == "d"){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 130 - if(key_in == "d"){ [INFO] [stdout] 130 + if key_in == "d" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | if(key_in == "a"){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - if(key_in == "a"){ [INFO] [stdout] 134 + if key_in == "a" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 253 | if(ret == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 253 - if(ret == 0){ [INFO] [stdout] 253 + if ret == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen` [INFO] [stdout] --> src/main.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | fn startGame(screen : &mut Screen, snake :&mut Snake, food :&mut Point){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snake` [INFO] [stdout] --> src/main.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | fn startGame(screen : &mut Screen, snake :&mut Snake, food :&mut Point){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_snake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `food` [INFO] [stdout] --> src/main.rs:33:55 [INFO] [stdout] | [INFO] [stdout] 33 | fn startGame(screen : &mut Screen, snake :&mut Snake, food :&mut Point){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen` [INFO] [stdout] --> src/main.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | fn addIntroToScreen(screen : &mut Screen, content :&mut Vec){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let mut s = "\n\n\n".to_string(); [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: function `startGame` should have a snake case name [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn startGame(screen : &mut Screen, snake :&mut Snake, food :&mut Point){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addIntroToScreen` should have a snake case name [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn addIntroToScreen(screen : &mut Screen, content :&mut Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_intro_to_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iterateScreen` should have a snake case name [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn iterateScreen(screen :&mut Screen, content :&mut Vec, key_in : &String, snake : &mut Snake, food :&mut Point, direction :&mut ... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `iterate_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gameOver` should have a snake case name [INFO] [stdout] --> src/main.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn gameOver(content: &mut Vec, snake: &Snake){ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `game_over` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drawScreen` should have a snake case name [INFO] [stdout] --> src/main.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn drawScreen(content :&mut Vec, window :&Window){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `draw_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gameRunning` should have a snake case name [INFO] [stdout] --> src/main.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let mut gameRunning: bool = false; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `game_running` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastKey` should have a snake case name [INFO] [stdout] --> src/main.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut lastKey = "".to_string(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `last_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.54s [INFO] running `Command { std: "docker" "inspect" "39a4b8973036ee2b7e43abc3550ef09a63a3cf86412970baf07ecab99609bc4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a4b8973036ee2b7e43abc3550ef09a63a3cf86412970baf07ecab99609bc4a", kill_on_drop: false }` [INFO] [stdout] 39a4b8973036ee2b7e43abc3550ef09a63a3cf86412970baf07ecab99609bc4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 536fe8565cad031f2d237b294fc88de24407dab86b4b006152821a31a4728757 [INFO] running `Command { std: "docker" "start" "-a" "536fe8565cad031f2d237b294fc88de24407dab86b4b006152821a31a4728757", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling snake_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{Rng, thread_rng}; [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 `if` condition [INFO] [stdout] --> src/main.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | if(key_in == "s"){ [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] 122 - if(key_in == "s"){ [INFO] [stdout] 122 + if key_in == "s" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | if(key_in == "w"){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 126 - if(key_in == "w"){ [INFO] [stdout] 126 + if key_in == "w" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | if(key_in == "d"){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 130 - if(key_in == "d"){ [INFO] [stdout] 130 + if key_in == "d" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | if(key_in == "a"){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - if(key_in == "a"){ [INFO] [stdout] 134 + if key_in == "a" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 253 | if(ret == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 253 - if(ret == 0){ [INFO] [stdout] 253 + if ret == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen` [INFO] [stdout] --> src/main.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | fn startGame(screen : &mut Screen, snake :&mut Snake, food :&mut Point){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snake` [INFO] [stdout] --> src/main.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | fn startGame(screen : &mut Screen, snake :&mut Snake, food :&mut Point){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_snake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `food` [INFO] [stdout] --> src/main.rs:33:55 [INFO] [stdout] | [INFO] [stdout] 33 | fn startGame(screen : &mut Screen, snake :&mut Snake, food :&mut Point){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_food` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen` [INFO] [stdout] --> src/main.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | fn addIntroToScreen(screen : &mut Screen, content :&mut Vec){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | let mut s = "\n\n\n".to_string(); [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: function `startGame` should have a snake case name [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn startGame(screen : &mut Screen, snake :&mut Snake, food :&mut Point){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `start_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addIntroToScreen` should have a snake case name [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn addIntroToScreen(screen : &mut Screen, content :&mut Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_intro_to_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iterateScreen` should have a snake case name [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn iterateScreen(screen :&mut Screen, content :&mut Vec, key_in : &String, snake : &mut Snake, food :&mut Point, direction :&mut ... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `iterate_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gameOver` should have a snake case name [INFO] [stdout] --> src/main.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn gameOver(content: &mut Vec, snake: &Snake){ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `game_over` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drawScreen` should have a snake case name [INFO] [stdout] --> src/main.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn drawScreen(content :&mut Vec, window :&Window){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `draw_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gameRunning` should have a snake case name [INFO] [stdout] --> src/main.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let mut gameRunning: bool = false; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `game_running` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastKey` should have a snake case name [INFO] [stdout] --> src/main.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut lastKey = "".to_string(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `last_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "536fe8565cad031f2d237b294fc88de24407dab86b4b006152821a31a4728757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "536fe8565cad031f2d237b294fc88de24407dab86b4b006152821a31a4728757", kill_on_drop: false }` [INFO] [stdout] 536fe8565cad031f2d237b294fc88de24407dab86b4b006152821a31a4728757