[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 try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fokay-thats-your-negative-fish" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ryan1729/okay-thats-your-negative-fish on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-8/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a583292788cb261396245e891df850990b43c41825d1ca99880ce784402e9b54 [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" "a583292788cb261396245e891df850990b43c41825d1ca99880ce784402e9b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a583292788cb261396245e891df850990b43c41825d1ca99880ce784402e9b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a583292788cb261396245e891df850990b43c41825d1ca99880ce784402e9b54", kill_on_drop: false }` [INFO] [stdout] a583292788cb261396245e891df850990b43c41825d1ca99880ce784402e9b54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d54466c8b9ccc7c9a893549ceda6a13cb690e24dde60b378cecf4f58c86e397 [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" "0d54466c8b9ccc7c9a893549ceda6a13cb690e24dde60b378cecf4f58c86e397", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rand v0.3.15 [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: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/platform.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn draw_hexagon(&mut self, (i16, i16), u16, u32); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: (i16, i16)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/platform.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | fn draw_hexagon(&mut self, (i16, i16), u16, u32); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u16` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/platform.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | fn draw_hexagon(&mut self, (i16, i16), u16, u32); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/platform.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | fn draw_piece(&mut self, (i16, i16), &PieceState); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: (i16, i16)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/platform.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | fn draw_piece(&mut self, (i16, i16), &PieceState); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PieceState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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: 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: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/platform.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn draw_hexagon(&mut self, (i16, i16), u16, u32); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: (i16, i16)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/platform.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | fn draw_hexagon(&mut self, (i16, i16), u16, u32); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u16` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/platform.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | fn draw_hexagon(&mut self, (i16, i16), u16, u32); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/platform.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | fn draw_piece(&mut self, (i16, i16), &PieceState); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: (i16, i16)` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/platform.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | fn draw_piece(&mut self, (i16, i16), &PieceState); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PieceState` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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: `#[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: 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: 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: 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: 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_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: `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: 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: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.96s [INFO] running `Command { std: "docker" "inspect" "0d54466c8b9ccc7c9a893549ceda6a13cb690e24dde60b378cecf4f58c86e397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d54466c8b9ccc7c9a893549ceda6a13cb690e24dde60b378cecf4f58c86e397", kill_on_drop: false }` [INFO] [stdout] 0d54466c8b9ccc7c9a893549ceda6a13cb690e24dde60b378cecf4f58c86e397