[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fokay-thats-your-negative-fish" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ryan1729/okay-thats-your-negative-fish on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-iter v0.1.32 [INFO] [stderr] Downloaded num-traits v0.1.36 [INFO] [stderr] Downloaded rand v0.3.15 [INFO] [stderr] Downloaded num-integer v0.1.32 [INFO] [stderr] Downloaded num v0.1.36 [INFO] [stderr] Downloaded lazy_static v0.2.2 [INFO] [stderr] Downloaded libc v0.2.20 [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] [stderr] Downloaded sdl2-sys v0.27.2 [INFO] [stderr] Downloaded sdl2 v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c588c74be920640e56acad07523ec0573a8e65b758e5dcf54765350ea858489c [INFO] running `Command { std: "docker" "start" "-a" "c588c74be920640e56acad07523ec0573a8e65b758e5dcf54765350ea858489c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c588c74be920640e56acad07523ec0573a8e65b758e5dcf54765350ea858489c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c588c74be920640e56acad07523ec0573a8e65b758e5dcf54765350ea858489c", kill_on_drop: false }` [INFO] [stdout] c588c74be920640e56acad07523ec0573a8e65b758e5dcf54765350ea858489c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbdfb15a7b4e51de97accfba5a0617e8ee072cbe2beb5342d831187bd32b362f [INFO] running `Command { std: "docker" "start" "-a" "cbdfb15a7b4e51de97accfba5a0617e8ee072cbe2beb5342d831187bd32b362f", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking lazy_static v0.1.16 [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: the item `std` is imported redundantly [INFO] [stdout] --> src/game.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/sdl2_platform.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [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: the item `std` is imported redundantly [INFO] [stdout] --> src/game.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [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 the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/sdl2_platform.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [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 the macro `lazy_static` (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 the macro `lazy_static` (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 the macro `lazy_static` (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 the macro `lazy_static` (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 the macro `lazy_static` (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 the macro `lazy_static` (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 the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 264 | pub fn render_to_buffer(&mut self, render_commands: &dyn Fn(&mut [u8], usize)) { [INFO] [stdout] | +++ [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 the macro `lazy_static` (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 the macro `lazy_static` (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 the macro `lazy_static` (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 the macro `lazy_static` (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 the macro `lazy_static` (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 the macro `lazy_static` (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 the macro `lazy_static` (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 the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 264 | pub fn render_to_buffer(&mut self, render_commands: &dyn Fn(&mut [u8], usize)) { [INFO] [stdout] | +++ [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: fields `timer`, `source_rect`, and `dest_rect` are never read [INFO] [stdout] --> src/sdl2_platform.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Sdl2Platform<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | timer: TimerSubsystem, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | source_rect: sdl2::rect::Rect, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | dest_rect: sdl2::rect::Rect, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color_from_u32` is never used [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: methods `render_text`, `draw_box`, and `render_to_buffer` are never used [INFO] [stdout] --> src/sdl2_platform.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 231 | impl<'a> Sdl2Platform<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 232 | pub fn render_text(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [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] 264 | pub fn render_to_buffer(&mut self, render_commands: &Fn(&mut [u8], usize)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 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: fields `timer`, `source_rect`, and `dest_rect` are never read [INFO] [stdout] --> src/sdl2_platform.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Sdl2Platform<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | timer: TimerSubsystem, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | source_rect: sdl2::rect::Rect, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | dest_rect: sdl2::rect::Rect, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `color_from_u32` is never used [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: methods `render_text`, `draw_box`, and `render_to_buffer` are never used [INFO] [stdout] --> src/sdl2_platform.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 231 | impl<'a> Sdl2Platform<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 232 | pub fn render_text(&mut self, text: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [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] 264 | pub fn render_to_buffer(&mut self, render_commands: &Fn(&mut [u8], usize)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.72s [INFO] running `Command { std: "docker" "inspect" "cbdfb15a7b4e51de97accfba5a0617e8ee072cbe2beb5342d831187bd32b362f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbdfb15a7b4e51de97accfba5a0617e8ee072cbe2beb5342d831187bd32b362f", kill_on_drop: false }` [INFO] [stdout] cbdfb15a7b4e51de97accfba5a0617e8ee072cbe2beb5342d831187bd32b362f