[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 beta-2024-12-08 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Fokay-thats-your-negative-fish" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ryan1729/okay-thats-your-negative-fish on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "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-1-tc2/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" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2-sys v0.27.2 [INFO] [stderr] Downloaded num-integer v0.1.32 [INFO] [stderr] Downloaded num-traits v0.1.36 [INFO] [stderr] Downloaded num v0.1.36 [INFO] [stderr] Downloaded num-iter v0.1.32 [INFO] [stderr] Downloaded libc v0.2.20 [INFO] [stderr] Downloaded sdl2 v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da2e71aedd4a3abe0a05d6ca9d939d3ad9a247d7d63bf926d077fce2c39bd982 [INFO] running `Command { std: "docker" "start" "-a" "da2e71aedd4a3abe0a05d6ca9d939d3ad9a247d7d63bf926d077fce2c39bd982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da2e71aedd4a3abe0a05d6ca9d939d3ad9a247d7d63bf926d077fce2c39bd982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da2e71aedd4a3abe0a05d6ca9d939d3ad9a247d7d63bf926d077fce2c39bd982", kill_on_drop: false }` [INFO] [stdout] da2e71aedd4a3abe0a05d6ca9d939d3ad9a247d7d63bf926d077fce2c39bd982 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8be12654a2caf49a858708152445bb7498679010ff189638c4879914338caa6 [INFO] running `Command { std: "docker" "start" "-a" "b8be12654a2caf49a858708152445bb7498679010ff189638c4879914338caa6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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 lazy_static v0.2.2 [INFO] [stderr] Compiling bitflags v0.7.0 [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)]` 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)]` 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] = help: consider adding `nightly` as a feature in `Cargo.toml` [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] = help: consider adding `nightly` as a feature in `Cargo.toml` [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] = help: consider adding `nightly` as a feature in `Cargo.toml` [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] = help: consider adding `nightly` as a feature in `Cargo.toml` [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] = help: consider adding `nightly` as a feature in `Cargo.toml` [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] = help: consider adding `nightly` as a feature in `Cargo.toml` [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] = help: consider adding `nightly` as a feature in `Cargo.toml` [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] = help: consider adding `nightly` as a feature in `Cargo.toml` [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)]` 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)]` 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: creating a shared reference to mutable static is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 is discouraged [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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcelBvE9/symbols.o" "/opt/rustwide/target/debug/deps/sdl2_test-10918f7e2db63b09.sdl2_test.7eb8b1b711dbdf7c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/sdl2_test-10918f7e2db63b09.9uqxmmkqdhfmbdw69f32pejwu.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-9925b2d9d4a5b613.rlib" "/opt/rustwide/target/debug/deps/librand-3a9a14191b5b8c71.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-1473f0a9b9b5f49b.rlib" "/opt/rustwide/target/debug/deps/libbitflags-66c98d7ff4f7b574.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-3cc9ef958f43eee9.rlib" "/opt/rustwide/target/debug/deps/liblibc-a6c842e2a08f8b39.rlib" "/opt/rustwide/target/debug/deps/libnum-189896dcfc4fd4e1.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-5bbda76ecef4d70e.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-218324fe7ce3ff46.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-28d01e35b1e2142e.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-5fa70b942832b63c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-02dc84f49135b6b8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a8f45b397fae3f81.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-089607133c180609.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-fc89f091bcd86cbb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-5a60949f01c7340c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-d29e6a55ca253c8c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-273c078d5f65de7a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-413c950ffbdd4454.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-1853c0976a1d88a6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ccb3384ddacb0f9e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-0b901dfb0ca849e0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-eebeb8d7c64543ad.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4723ef81d6079867.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-54442f8b422f5a54.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e0bbe034b5282553.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-d0febb68c1c37b90.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-4cf833632aafa84c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-65c2c6d2d6ae570b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-97929cee0dcfe424.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/sdl2_test-10918f7e2db63b09" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf: No such file or directory [INFO] [stdout] /usr/bin/ld: cannot find -lSDL2_image: No such file or directory [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; 32 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b8be12654a2caf49a858708152445bb7498679010ff189638c4879914338caa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8be12654a2caf49a858708152445bb7498679010ff189638c4879914338caa6", kill_on_drop: false }` [INFO] [stdout] b8be12654a2caf49a858708152445bb7498679010ff189638c4879914338caa6