[INFO] cloning repository https://github.com/scorp200/dogeylvania [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scorp200/dogeylvania" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscorp200%2Fdogeylvania", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscorp200%2Fdogeylvania'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c755cb903ce0c9464a6d98394555c0fabccf30f7 [INFO] building scorp200/dogeylvania 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%2Fscorp200%2Fdogeylvania" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scorp200/dogeylvania 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/scorp200/dogeylvania [INFO] finished tweaking git repo https://github.com/scorp200/dogeylvania [INFO] tweaked toml for git repo https://github.com/scorp200/dogeylvania written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/scorp200/dogeylvania 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tcod v0.13.0 [INFO] [stderr] Downloaded tcod-sys v5.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b0659aa22303732efd96dc5ae903d56b0c82b5dcba7dd99d7347f4ada636380e [INFO] running `Command { std: "docker" "start" "-a" "b0659aa22303732efd96dc5ae903d56b0c82b5dcba7dd99d7347f4ada636380e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0659aa22303732efd96dc5ae903d56b0c82b5dcba7dd99d7347f4ada636380e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0659aa22303732efd96dc5ae903d56b0c82b5dcba7dd99d7347f4ada636380e", kill_on_drop: false }` [INFO] [stdout] b0659aa22303732efd96dc5ae903d56b0c82b5dcba7dd99d7347f4ada636380e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2238d59062b46de80820335f44ef0c3acca380462ab2c45373628fa9b53d76b4 [INFO] running `Command { std: "docker" "start" "-a" "2238d59062b46de80820335f44ef0c3acca380462ab2c45373628fa9b53d76b4", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling cc v1.0.30 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tcod-sys v5.0.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling tcod v0.13.0 [INFO] [stderr] Compiling dogeylvania v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Color` and `self` [INFO] [stdout] --> src/ai.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use tcod::colors::{self, Color}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tcod::console::*` [INFO] [stdout] --> src/ai.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | use tcod::console::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tcod::map::Map as FovMap` [INFO] [stdout] --> src/ai.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | use tcod::map::Map as FovMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/dogemath.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | (p * (b - a) + a) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - (p * (b - a) + a) [INFO] [stdout] 25 + p * (b - a) + a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mut_two` [INFO] [stdout] --> src/skill.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::dogestuff::{mut_two, Actions, Screen}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/skill.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use tcod::colors::{self, Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `move_attack` should have an upper camel case name [INFO] [stdout] --> src/skill.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | move_attack, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `MoveAttack` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `hit` should have an upper camel case name [INFO] [stdout] --> src/skill.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | hit, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use tcod::colors::{self, Color}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `Mouse`, and `self` [INFO] [stdout] --> src/lib.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use tcod::input::{self, Event, Mouse}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen` [INFO] [stdout] --> src/actor.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | fn monster_death(actor: &mut Actor, screen: &mut Screen) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/skill.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | dir: (i32, i32), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/skill.rs:97:3 [INFO] [stdout] | [INFO] [stdout] 97 | val: i32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/skill.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | map: &Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_id` [INFO] [stdout] --> src/skill.rs:158:3 [INFO] [stdout] | [INFO] [stdout] 158 | other_id: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_id` [INFO] [stdout] --> src/skill.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | other_id: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getDistanceRaw` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn getDistanceRaw(o1: (f32, f32), o2: (f32, f32)) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_distance_raw` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getDistance` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn getDistance(o1: (f32, f32), o2: (f32, f32)) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `percenttoPoint` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn percenttoPoint(a: f32, b: f32, p: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `percentto_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pointtoPercent` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn pointtoPercent(a: f32, b: f32, c: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointto_percent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentIndex` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | let mut currentIndex = arr.len(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `current_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomIndex` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | let mut randomIndex: usize; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Direction` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub mod Direction { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dogeylvania::tiles::Tile` [INFO] [stdout] --> src/main.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | use dogeylvania::tiles::Tile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | let mut fov_map = FovMap::new(map.width() as i32, map.height() as i32); [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.01s [INFO] running `Command { std: "docker" "inspect" "2238d59062b46de80820335f44ef0c3acca380462ab2c45373628fa9b53d76b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2238d59062b46de80820335f44ef0c3acca380462ab2c45373628fa9b53d76b4", kill_on_drop: false }` [INFO] [stdout] 2238d59062b46de80820335f44ef0c3acca380462ab2c45373628fa9b53d76b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 35c643cec67bb7220249bb7e89f9ad8828155d64f7f594de2376883fce5375fc [INFO] running `Command { std: "docker" "start" "-a" "35c643cec67bb7220249bb7e89f9ad8828155d64f7f594de2376883fce5375fc", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Color` and `self` [INFO] [stdout] --> src/ai.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use tcod::colors::{self, Color}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tcod::console::*` [INFO] [stdout] --> src/ai.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | use tcod::console::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tcod::map::Map as FovMap` [INFO] [stdout] --> src/ai.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | use tcod::map::Map as FovMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/dogemath.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | (p * (b - a) + a) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - (p * (b - a) + a) [INFO] [stdout] 25 + p * (b - a) + a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mut_two` [INFO] [stdout] --> src/skill.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::dogestuff::{mut_two, Actions, Screen}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/skill.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use tcod::colors::{self, Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `move_attack` should have an upper camel case name [INFO] [stdout] --> src/skill.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | move_attack, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `MoveAttack` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `hit` should have an upper camel case name [INFO] [stdout] --> src/skill.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | hit, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use tcod::colors::{self, Color}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `Mouse`, and `self` [INFO] [stdout] --> src/lib.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use tcod::input::{self, Event, Mouse}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen` [INFO] [stdout] --> src/actor.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | fn monster_death(actor: &mut Actor, screen: &mut Screen) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/skill.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | dir: (i32, i32), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/skill.rs:97:3 [INFO] [stdout] | [INFO] [stdout] 97 | val: i32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/skill.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | map: &Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_id` [INFO] [stdout] --> src/skill.rs:158:3 [INFO] [stdout] | [INFO] [stdout] 158 | other_id: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_id` [INFO] [stdout] --> src/skill.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | other_id: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getDistanceRaw` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn getDistanceRaw(o1: (f32, f32), o2: (f32, f32)) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_distance_raw` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getDistance` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn getDistance(o1: (f32, f32), o2: (f32, f32)) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `percenttoPoint` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn percenttoPoint(a: f32, b: f32, p: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `percentto_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pointtoPercent` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn pointtoPercent(a: f32, b: f32, c: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointto_percent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentIndex` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | let mut currentIndex = arr.len(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `current_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomIndex` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | let mut randomIndex: usize; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Direction` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub mod Direction { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dogeylvania v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dogeylvania::tiles::Tile` [INFO] [stdout] --> src/main.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | use dogeylvania::tiles::Tile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `self` [INFO] [stdout] --> src/ai.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use tcod::colors::{self, Color}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tcod::console::*` [INFO] [stdout] --> src/ai.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | use tcod::console::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tcod::map::Map as FovMap` [INFO] [stdout] --> src/ai.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | use tcod::map::Map as FovMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/dogemath.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | (p * (b - a) + a) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - (p * (b - a) + a) [INFO] [stdout] 25 + p * (b - a) + a [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mut_two` [INFO] [stdout] --> src/skill.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::dogestuff::{mut_two, Actions, Screen}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/skill.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use tcod::colors::{self, Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `move_attack` should have an upper camel case name [INFO] [stdout] --> src/skill.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | move_attack, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `MoveAttack` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `hit` should have an upper camel case name [INFO] [stdout] --> src/skill.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | hit, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use tcod::colors::{self, Color}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `Mouse`, and `self` [INFO] [stdout] --> src/lib.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use tcod::input::{self, Event, Mouse}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | let mut fov_map = FovMap::new(map.width() as i32, map.height() as i32); [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: `screen` [INFO] [stdout] --> src/actor.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | fn monster_death(actor: &mut Actor, screen: &mut Screen) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/skill.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | dir: (i32, i32), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/skill.rs:97:3 [INFO] [stdout] | [INFO] [stdout] 97 | val: i32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/skill.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | map: &Map, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_id` [INFO] [stdout] --> src/skill.rs:158:3 [INFO] [stdout] | [INFO] [stdout] 158 | other_id: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_id` [INFO] [stdout] --> src/skill.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | other_id: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getDistanceRaw` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn getDistanceRaw(o1: (f32, f32), o2: (f32, f32)) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_distance_raw` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getDistance` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn getDistance(o1: (f32, f32), o2: (f32, f32)) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `percenttoPoint` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn percenttoPoint(a: f32, b: f32, p: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `percentto_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pointtoPercent` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn pointtoPercent(a: f32, b: f32, c: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pointto_percent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentIndex` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | let mut currentIndex = arr.len(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `current_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randomIndex` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | let mut randomIndex: usize; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Direction` should have a snake case name [INFO] [stdout] --> src/dogemath.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub mod Direction { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "35c643cec67bb7220249bb7e89f9ad8828155d64f7f594de2376883fce5375fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35c643cec67bb7220249bb7e89f9ad8828155d64f7f594de2376883fce5375fc", kill_on_drop: false }` [INFO] [stdout] 35c643cec67bb7220249bb7e89f9ad8828155d64f7f594de2376883fce5375fc