[INFO] cloning repository https://github.com/Ryan1729/okay-thats-your-negative-fish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ryan1729/okay-thats-your-negative-fish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fokay-thats-your-negative-fish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fokay-thats-your-negative-fish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2db41781490d42b17bf0c711fa6a0209883452fd [INFO] checking Ryan1729/okay-thats-your-negative-fish against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fokay-thats-your-negative-fish" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ryan1729/okay-thats-your-negative-fish on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ryan1729/okay-thats-your-negative-fish [INFO] finished tweaking git repo https://github.com/Ryan1729/okay-thats-your-negative-fish [INFO] tweaked toml for git repo https://github.com/Ryan1729/okay-thats-your-negative-fish written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Ryan1729/okay-thats-your-negative-fish already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d1eb45998fe7bc1eebec0943a38cc9f8cb493bbb57ea7b7f4a4502ec2278eff [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3d1eb45998fe7bc1eebec0943a38cc9f8cb493bbb57ea7b7f4a4502ec2278eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d1eb45998fe7bc1eebec0943a38cc9f8cb493bbb57ea7b7f4a4502ec2278eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d1eb45998fe7bc1eebec0943a38cc9f8cb493bbb57ea7b7f4a4502ec2278eff", kill_on_drop: false }` [INFO] [stdout] 3d1eb45998fe7bc1eebec0943a38cc9f8cb493bbb57ea7b7f4a4502ec2278eff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9138c5ac00a1993442181491dfccd083f4d5420fa038037e26527cbdc6f16395 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9138c5ac00a1993442181491dfccd083f4d5420fa038037e26527cbdc6f16395", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking sdl2 v0.29.0 [INFO] [stderr] Checking sdl2-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2_platform::Sdl2Platform as Platform` [INFO] [stdout] --> src/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2_platform::Sdl2Platform as Platform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consts` [INFO] [stdout] --> src/game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use consts; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common` [INFO] [stdout] --> src/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use common; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl2_platform.rs:264:58 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn render_to_buffer(&mut self, render_commands: &Fn(&mut [u8], usize)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut [u8], usize)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2_platform::Sdl2Platform as Platform` [INFO] [stdout] --> src/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2_platform::Sdl2Platform as Platform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consts` [INFO] [stdout] --> src/game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use consts; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common` [INFO] [stdout] --> src/game.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use common; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sdl2_platform.rs:264:58 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn render_to_buffer(&mut self, render_commands: &Fn(&mut [u8], usize)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut [u8], usize)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut rng; [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: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/consts.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static!{ [INFO] [stdout] 12 | | static ref FLAT_UNIT_HEXAGON_XS: [f32 ; 7] = [INFO] [stdout] 13 | | [f32::cos(TAU_OVER_SIX * 0f32), [INFO] [stdout] 14 | | f32::cos(TAU_OVER_SIX * 1f32), [INFO] [stdout] ... | [INFO] [stdout] 46 | | f32::sin(TAU_OVER_TWELEVE * 13f32)]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `timer` [INFO] [stdout] --> src/sdl2_platform.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | timer: TimerSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source_rect` [INFO] [stdout] --> src/sdl2_platform.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | source_rect: sdl2::rect::Rect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dest_rect` [INFO] [stdout] --> src/sdl2_platform.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | dest_rect: sdl2::rect::Rect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `color_from_u32` [INFO] [stdout] --> src/sdl2_platform.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn color_from_u32(bits: u32) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render_text` [INFO] [stdout] --> src/sdl2_platform.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn render_text(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_box` [INFO] [stdout] --> src/sdl2_platform.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn draw_box(&mut self, (x, y): (i16, i16), width: u16, height: u16, colour: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render_to_buffer` [INFO] [stdout] --> src/sdl2_platform.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn render_to_buffer(&mut self, render_commands: &Fn(&mut [u8], usize)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut rng; [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: field is never read: `timer` [INFO] [stdout] --> src/sdl2_platform.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | timer: TimerSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source_rect` [INFO] [stdout] --> src/sdl2_platform.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | source_rect: sdl2::rect::Rect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dest_rect` [INFO] [stdout] --> src/sdl2_platform.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | dest_rect: sdl2::rect::Rect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `color_from_u32` [INFO] [stdout] --> src/sdl2_platform.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn color_from_u32(bits: u32) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render_text` [INFO] [stdout] --> src/sdl2_platform.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn render_text(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_box` [INFO] [stdout] --> src/sdl2_platform.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn draw_box(&mut self, (x, y): (i16, i16), width: u16, height: u16, colour: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render_to_buffer` [INFO] [stdout] --> src/sdl2_platform.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn render_to_buffer(&mut self, render_commands: &Fn(&mut [u8], usize)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.73s [INFO] running `Command { std: "docker" "inspect" "9138c5ac00a1993442181491dfccd083f4d5420fa038037e26527cbdc6f16395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9138c5ac00a1993442181491dfccd083f4d5420fa038037e26527cbdc6f16395", kill_on_drop: false }` [INFO] [stdout] 9138c5ac00a1993442181491dfccd083f4d5420fa038037e26527cbdc6f16395