[INFO] cloning repository https://github.com/FoxyLang/Foxtroids [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FoxyLang/Foxtroids" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFoxyLang%2FFoxtroids", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFoxyLang%2FFoxtroids'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e6acf13f44d610ff7e02bcc515afcf5ee3f00f2 [INFO] building FoxyLang/Foxtroids 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%2FFoxyLang%2FFoxtroids" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FoxyLang/Foxtroids 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/FoxyLang/Foxtroids [INFO] finished tweaking git repo https://github.com/FoxyLang/Foxtroids [INFO] tweaked toml for git repo https://github.com/FoxyLang/Foxtroids written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/FoxyLang/Foxtroids 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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 243f1c7f8cb7592dc843bd019baeb57f7552b88c1a56ba80f78aba0377caab41 [INFO] running `Command { std: "docker" "start" "-a" "243f1c7f8cb7592dc843bd019baeb57f7552b88c1a56ba80f78aba0377caab41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "243f1c7f8cb7592dc843bd019baeb57f7552b88c1a56ba80f78aba0377caab41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "243f1c7f8cb7592dc843bd019baeb57f7552b88c1a56ba80f78aba0377caab41", kill_on_drop: false }` [INFO] [stdout] 243f1c7f8cb7592dc843bd019baeb57f7552b88c1a56ba80f78aba0377caab41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a06582342d1e3a3b928169334d736f511b2fc89ba80e5c8a730568e280967cb8 [INFO] running `Command { std: "docker" "start" "-a" "a06582342d1e3a3b928169334d736f511b2fc89ba80e5c8a730568e280967cb8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling getrandom v0.2.8 [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 asteroids v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `KeyboardState` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::keyboard::{KeyboardState, Keycode, Scancode}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::mouse::MouseButton` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::mouse::MouseButton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::sys::KeyCode` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sdl2::sys::KeyCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | (self.pos.x + self.scale * self.rot.cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 133 - (self.pos.x + self.scale * self.rot.cos()), [INFO] [stdout] 133 + self.pos.x + self.scale * self.rot.cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | (self.pos.y + self.scale * self.rot.sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - (self.pos.y + self.scale * self.rot.sin()), [INFO] [stdout] 134 + self.pos.y + self.scale * self.rot.sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (self.pos.x - (self.scale) * (self.rot + 0.53).cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - (self.pos.x - (self.scale) * (self.rot + 0.53).cos()), [INFO] [stdout] 138 + self.pos.x - (self.scale) * (self.rot + 0.53).cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | (self.pos.y - (self.scale) * (self.rot + 0.53).sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - (self.pos.y - (self.scale) * (self.rot + 0.53).sin()), [INFO] [stdout] 139 + self.pos.y - (self.scale) * (self.rot + 0.53).sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | (self.pos.x - (self.scale / 4.0) * self.rot.cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - (self.pos.x - (self.scale / 4.0) * self.rot.cos()), [INFO] [stdout] 142 + self.pos.x - (self.scale / 4.0) * self.rot.cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | (self.pos.y - (self.scale / 4.0) * self.rot.sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 143 - (self.pos.y - (self.scale / 4.0) * self.rot.sin()), [INFO] [stdout] 143 + self.pos.y - (self.scale / 4.0) * self.rot.sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (self.pos.x - (self.scale) * (self.rot - 0.53).cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - (self.pos.x - (self.scale) * (self.rot - 0.53).cos()), [INFO] [stdout] 146 + self.pos.x - (self.scale) * (self.rot - 0.53).cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | (self.pos.y - (self.scale) * (self.rot - 0.53).sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - (self.pos.y - (self.scale) * (self.rot - 0.53).sin()), [INFO] [stdout] 147 + self.pos.y - (self.scale) * (self.rot - 0.53).sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | (self.pos.x + self.scale * self.rot.cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 153 - (self.pos.x + self.scale * self.rot.cos()), [INFO] [stdout] 153 + self.pos.x + self.scale * self.rot.cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | (self.pos.y + self.scale * self.rot.sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 154 - (self.pos.y + self.scale * self.rot.sin()), [INFO] [stdout] 154 + self.pos.y + self.scale * self.rot.sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | (self.pos.x - (self.scale) * (self.rot - 0.53).cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - (self.pos.x - (self.scale) * (self.rot - 0.53).cos()), [INFO] [stdout] 157 + self.pos.x - (self.scale) * (self.rot - 0.53).cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | (self.pos.y - (self.scale) * (self.rot - 0.53).sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 - (self.pos.y - (self.scale) * (self.rot - 0.53).sin()), [INFO] [stdout] 158 + self.pos.y - (self.scale) * (self.rot - 0.53).sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (self.pos.x - (self.scale) * (self.rot + 0.53).cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - (self.pos.x - (self.scale) * (self.rot + 0.53).cos()), [INFO] [stdout] 161 + self.pos.x - (self.scale) * (self.rot + 0.53).cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (self.pos.y - (self.scale) * (self.rot + 0.53).sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - (self.pos.y - (self.scale) * (self.rot + 0.53).sin()), [INFO] [stdout] 162 + self.pos.y - (self.scale) * (self.rot + 0.53).sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | ... angle = (PI as f64 + (PI as f64 - angle)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 193 - angle = (PI as f64 + (PI as f64 - angle)); [INFO] [stdout] 193 + angle = PI as f64 + (PI as f64 - angle); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shoot_sound` [INFO] [stdout] --> src/main.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | let shoot_sound = audio_subsystem [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shoot_sound` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_indx` [INFO] [stdout] --> src/main.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | let mut ast_indx: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_indx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | let mut ast_indx: Vec = Vec::new(); [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 2.03s [INFO] running `Command { std: "docker" "inspect" "a06582342d1e3a3b928169334d736f511b2fc89ba80e5c8a730568e280967cb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06582342d1e3a3b928169334d736f511b2fc89ba80e5c8a730568e280967cb8", kill_on_drop: false }` [INFO] [stdout] a06582342d1e3a3b928169334d736f511b2fc89ba80e5c8a730568e280967cb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5240fe0e52b6b6246a35ff19ca845dac42ec35199bba8256df44e5ac30444102 [INFO] running `Command { std: "docker" "start" "-a" "5240fe0e52b6b6246a35ff19ca845dac42ec35199bba8256df44e5ac30444102", kill_on_drop: false }` [INFO] [stderr] Compiling asteroids v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `KeyboardState` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::keyboard::{KeyboardState, Keycode, Scancode}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::mouse::MouseButton` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::mouse::MouseButton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::sys::KeyCode` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sdl2::sys::KeyCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | (self.pos.x + self.scale * self.rot.cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 133 - (self.pos.x + self.scale * self.rot.cos()), [INFO] [stdout] 133 + self.pos.x + self.scale * self.rot.cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | (self.pos.y + self.scale * self.rot.sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 134 - (self.pos.y + self.scale * self.rot.sin()), [INFO] [stdout] 134 + self.pos.y + self.scale * self.rot.sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | (self.pos.x - (self.scale) * (self.rot + 0.53).cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - (self.pos.x - (self.scale) * (self.rot + 0.53).cos()), [INFO] [stdout] 138 + self.pos.x - (self.scale) * (self.rot + 0.53).cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | (self.pos.y - (self.scale) * (self.rot + 0.53).sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - (self.pos.y - (self.scale) * (self.rot + 0.53).sin()), [INFO] [stdout] 139 + self.pos.y - (self.scale) * (self.rot + 0.53).sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | (self.pos.x - (self.scale / 4.0) * self.rot.cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - (self.pos.x - (self.scale / 4.0) * self.rot.cos()), [INFO] [stdout] 142 + self.pos.x - (self.scale / 4.0) * self.rot.cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | (self.pos.y - (self.scale / 4.0) * self.rot.sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 143 - (self.pos.y - (self.scale / 4.0) * self.rot.sin()), [INFO] [stdout] 143 + self.pos.y - (self.scale / 4.0) * self.rot.sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | (self.pos.x - (self.scale) * (self.rot - 0.53).cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - (self.pos.x - (self.scale) * (self.rot - 0.53).cos()), [INFO] [stdout] 146 + self.pos.x - (self.scale) * (self.rot - 0.53).cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | (self.pos.y - (self.scale) * (self.rot - 0.53).sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - (self.pos.y - (self.scale) * (self.rot - 0.53).sin()), [INFO] [stdout] 147 + self.pos.y - (self.scale) * (self.rot - 0.53).sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | (self.pos.x + self.scale * self.rot.cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 153 - (self.pos.x + self.scale * self.rot.cos()), [INFO] [stdout] 153 + self.pos.x + self.scale * self.rot.cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | (self.pos.y + self.scale * self.rot.sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 154 - (self.pos.y + self.scale * self.rot.sin()), [INFO] [stdout] 154 + self.pos.y + self.scale * self.rot.sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | (self.pos.x - (self.scale) * (self.rot - 0.53).cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - (self.pos.x - (self.scale) * (self.rot - 0.53).cos()), [INFO] [stdout] 157 + self.pos.x - (self.scale) * (self.rot - 0.53).cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | (self.pos.y - (self.scale) * (self.rot - 0.53).sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 - (self.pos.y - (self.scale) * (self.rot - 0.53).sin()), [INFO] [stdout] 158 + self.pos.y - (self.scale) * (self.rot - 0.53).sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | (self.pos.x - (self.scale) * (self.rot + 0.53).cos()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - (self.pos.x - (self.scale) * (self.rot + 0.53).cos()), [INFO] [stdout] 161 + self.pos.x - (self.scale) * (self.rot + 0.53).cos(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | (self.pos.y - (self.scale) * (self.rot + 0.53).sin()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - (self.pos.y - (self.scale) * (self.rot + 0.53).sin()), [INFO] [stdout] 162 + self.pos.y - (self.scale) * (self.rot + 0.53).sin(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | ... angle = (PI as f64 + (PI as f64 - angle)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 193 - angle = (PI as f64 + (PI as f64 - angle)); [INFO] [stdout] 193 + angle = PI as f64 + (PI as f64 - angle); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shoot_sound` [INFO] [stdout] --> src/main.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | let shoot_sound = audio_subsystem [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shoot_sound` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast_indx` [INFO] [stdout] --> src/main.rs:679:17 [INFO] [stdout] | [INFO] [stdout] 679 | let mut ast_indx: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_indx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | let mut ast_indx: Vec = Vec::new(); [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 `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "5240fe0e52b6b6246a35ff19ca845dac42ec35199bba8256df44e5ac30444102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5240fe0e52b6b6246a35ff19ca845dac42ec35199bba8256df44e5ac30444102", kill_on_drop: false }` [INFO] [stdout] 5240fe0e52b6b6246a35ff19ca845dac42ec35199bba8256df44e5ac30444102