[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] testing Ryan1729/okay-thats-your-negative-fish against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fokay-thats-your-negative-fish" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ryan1729/okay-thats-your-negative-fish on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0976eb178b9422efc2a741253b0a5801c9bc67eed2b99b5bdd299a9a483891f6 [INFO] running `Command { std: "docker" "start" "-a" "0976eb178b9422efc2a741253b0a5801c9bc67eed2b99b5bdd299a9a483891f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0976eb178b9422efc2a741253b0a5801c9bc67eed2b99b5bdd299a9a483891f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0976eb178b9422efc2a741253b0a5801c9bc67eed2b99b5bdd299a9a483891f6", kill_on_drop: false }` [INFO] [stdout] 0976eb178b9422efc2a741253b0a5801c9bc67eed2b99b5bdd299a9a483891f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24ba7bbde394d7954ff11998e5ff6bd22f742837766f44bfb1cd443091d2cb78 [INFO] running `Command { std: "docker" "start" "-a" "24ba7bbde394d7954ff11998e5ff6bd22f742837766f44bfb1cd443091d2cb78", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling lazy_static v0.2.2 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stderr] Compiling num-iter v0.1.32 [INFO] [stderr] Compiling num v0.1.36 [INFO] [stderr] Compiling sdl2 v0.29.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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] = 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)]` (part of `#[warn(rust_2018_compatibility)]`) 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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `nightly` [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: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [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 `Once::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 `Once::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 `Once::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 `Once::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 `Once::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 `Once::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 `Once::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 `Once::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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | if RNG.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/game.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | rng = RNG.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/game.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | println!("set GRID_OFFSET to {:?}", GRID_OFFSET); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/axial_hex.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn indices(&self) -> IndicesIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn indices(&self) -> IndicesIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcbRDSHP/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsdl2-9af24c3942be1121,librand-3532bb04046b5f9f,libsdl2_sys-65f2f44cad2d330e,libbitflags-ed87549ac517e209,liblazy_static-fc7f4579633cc0c4,liblibc-a6a4d0157de76e0e,libnum-9c5a2a124657db51,libnum_iter-b16c4319e065077e,libnum_integer-9b1cca648abbba2d,libnum_traits-d6c69beca68badc1,liblazy_static-4c1da79e4e40fa8f}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcbRDSHP/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/sdl2_test-6a3a4a11be07b58b" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lSDL2_ttf [INFO] [stdout] rust-lld: error: unable to find library -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl2-test` (bin "sdl2-test") due to 1 previous error; 33 warnings emitted [INFO] running `Command { std: "docker" "inspect" "24ba7bbde394d7954ff11998e5ff6bd22f742837766f44bfb1cd443091d2cb78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24ba7bbde394d7954ff11998e5ff6bd22f742837766f44bfb1cd443091d2cb78", kill_on_drop: false }` [INFO] [stdout] 24ba7bbde394d7954ff11998e5ff6bd22f742837766f44bfb1cd443091d2cb78