[INFO] cloning repository https://github.com/alula/doukutsu-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alula/doukutsu-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falula%2Fdoukutsu-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falula%2Fdoukutsu-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b77cdf0c570b084904088e1be2b06c156b8483b [INFO] checking alula/doukutsu-rs against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falula%2Fdoukutsu-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alula/doukutsu-rs on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/alula/doukutsu-rs [INFO] finished tweaking git repo https://github.com/alula/doukutsu-rs [INFO] tweaked toml for git repo https://github.com/alula/doukutsu-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/cpal` [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/glutin.git` [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/lua-ffi.git` [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/rust-sdl2.git` [INFO] [stderr] Updating git submodule `https://github.com/libsdl-org/SDL` [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/winit.git` [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/deko3d-rs` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.24.1 [INFO] [stderr] Downloaded winres v0.1.12 [INFO] [stderr] Downloaded shlex v1.3.0 [INFO] [stderr] Downloaded oboe v0.5.0 [INFO] [stderr] Downloaded which v4.4.2 [INFO] [stderr] Downloaded ndk-glue v0.7.0 [INFO] [stderr] Downloaded discord-rich-presence v0.2.3 [INFO] [stderr] Downloaded case_insensitive_hashmap v1.0.0 [INFO] [stderr] Downloaded no-std-compat v0.4.1 [INFO] [stderr] Downloaded rc-box v1.2.0 [INFO] [stderr] Downloaded chlorine v1.0.10 [INFO] [stderr] Downloaded cgl v0.3.2 [INFO] [stderr] Downloaded raw-window-handle v0.5.2 [INFO] [stderr] Downloaded erasable v1.2.1 [INFO] [stderr] Downloaded open v3.2.0 [INFO] [stderr] Downloaded pelite-macros v0.1.1 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded dataview v1.0.1 [INFO] [stderr] Downloaded coreaudio-sys v0.2.15 [INFO] [stderr] Downloaded fdeflate v0.3.4 [INFO] [stderr] Downloaded webbrowser v0.8.12 [INFO] [stderr] Downloaded jni v0.20.0 [INFO] [stderr] Downloaded ndk-sys v0.4.1+23.1.7779620 [INFO] [stderr] Downloaded lua-src v543.1.0 [INFO] [stderr] Downloaded pelite v0.10.0 [INFO] [stderr] Downloaded imgui-sys v0.8.2 [INFO] [stderr] Downloaded khronos_api v3.1.0 [INFO] [stderr] Downloaded nix v0.23.2 [INFO] [stderr] Downloaded bindgen v0.69.2 [INFO] [stderr] Downloaded image v0.24.8 [INFO] [stderr] Downloaded windows v0.43.0 [INFO] [stderr] Downloaded vec_mut_scan v0.4.0 [INFO] [stderr] Downloaded oboe-sys v0.5.0 [INFO] [stderr] Downloaded fern v0.6.2 [INFO] [stderr] Downloaded bindgen v0.62.0 [INFO] [stderr] Downloaded imgui v0.8.2 [INFO] [stderr] Downloaded jni v0.21.1 [INFO] [stderr] Downloaded combine v4.6.6 [INFO] [stderr] Downloaded coreaudio-rs v0.11.3 [INFO] [stderr] Downloaded cocoa v0.23.0 [INFO] [stderr] Downloaded png v0.17.11 [INFO] [stderr] Downloaded ndk v0.7.0 [INFO] [stderr] Downloaded clang-sys v1.7.0 [INFO] [stderr] Downloaded xmltree v0.10.3 [INFO] [stderr] Downloaded strum_macros v0.24.3 [INFO] [stderr] Downloaded directories v3.0.2 [INFO] [stderr] Downloaded gl_generator v0.14.0 [INFO] [stderr] Downloaded osmesa-sys v0.1.2 [INFO] [stderr] Downloaded dasp_sample v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9accd027a311ac68080619eb70726cf423eda83a648fedc1681d0410277af65 [INFO] running `Command { std: "docker" "start" "-a" "f9accd027a311ac68080619eb70726cf423eda83a648fedc1681d0410277af65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9accd027a311ac68080619eb70726cf423eda83a648fedc1681d0410277af65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9accd027a311ac68080619eb70726cf423eda83a648fedc1681d0410277af65", kill_on_drop: false }` [INFO] [stdout] f9accd027a311ac68080619eb70726cf423eda83a648fedc1681d0410277af65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43065bad205154ba74052f8f3cee3d356b7816f3de21269a066f45d70b50a719 [INFO] running `Command { std: "docker" "start" "-a" "43065bad205154ba74052f8f3cee3d356b7816f3de21269a066f45d70b50a719", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking chlorine v1.0.10 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling cpal v0.14.0 (https://github.com/doukutsu-rs/cpal?rev=9d269d8724102404e73a61e9def0c0cbc921b676#9d269d87) [INFO] [stderr] Compiling sdl2 v0.36.0 (https://github.com/doukutsu-rs/rust-sdl2.git?rev=f2f1e29a416bcc22f2faf411866db2c8d9536308#f2f1e29a) [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking xml-rs v0.8.19 [INFO] [stderr] Compiling doukutsu-rs v0.101.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling pelite-macros v0.1.1 [INFO] [stderr] Checking dataview v1.0.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Compiling sdl2-sys v0.36.0 (https://github.com/doukutsu-rs/rust-sdl2.git?rev=f2f1e29a416bcc22f2faf411866db2c8d9536308#f2f1e29a) [INFO] [stderr] Compiling imgui-sys v0.8.2 [INFO] [stderr] Checking pelite v0.10.0 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking xmltree v0.10.3 [INFO] [stderr] Checking open v3.2.0 [INFO] [stderr] Checking webbrowser v0.8.12 [INFO] [stderr] Checking directories v3.0.2 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking case_insensitive_hashmap v1.0.0 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking vec_mut_scan v0.4.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking discord-rich-presence v0.2.3 [INFO] [stderr] Checking imgui v0.8.2 [INFO] [stdout] warning: unused import: `core::convert::Into` [INFO] [stdout] --> src/macros.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use core::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::convert::Into` [INFO] [stdout] --> src/macros.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use core::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:221:31 [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 265 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:564:27 [INFO] [stdout] | [INFO] [stdout] 564 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 564 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:992:31 [INFO] [stdout] | [INFO] [stdout] 992 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 992 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:1249:27 [INFO] [stdout] | [INFO] [stdout] 1249 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1249 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:221:31 [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 265 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:564:27 [INFO] [stdout] | [INFO] [stdout] 564 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 564 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:992:31 [INFO] [stdout] | [INFO] [stdout] 992 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 992 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:1249:27 [INFO] [stdout] | [INFO] [stdout] 1249 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1249 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/npc/ai/wind_fortress.rs:757:13 [INFO] [stdout] | [INFO] [stdout] 757 | let mut player = self.get_closest_player_mut(players); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/npc/ai/wind_fortress.rs:757:13 [INFO] [stdout] | [INFO] [stdout] 757 | let mut player = self.get_closest_player_mut(players); [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "43065bad205154ba74052f8f3cee3d356b7816f3de21269a066f45d70b50a719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43065bad205154ba74052f8f3cee3d356b7816f3de21269a066f45d70b50a719", kill_on_drop: false }` [INFO] [stdout] 43065bad205154ba74052f8f3cee3d356b7816f3de21269a066f45d70b50a719 [INFO] checking alula/doukutsu-rs against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falula%2Fdoukutsu-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alula/doukutsu-rs on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/alula/doukutsu-rs [INFO] finished tweaking git repo https://github.com/alula/doukutsu-rs [INFO] tweaked toml for git repo https://github.com/alula/doukutsu-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/cpal` [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/glutin.git` [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/lua-ffi.git` [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/rust-sdl2.git` [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/winit.git` [INFO] [stderr] Updating git repository `https://github.com/doukutsu-rs/deko3d-rs` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40d038305aa08eb3a87bfb7d42357f7622a6219846f556a57ca87206dc664714 [INFO] running `Command { std: "docker" "start" "-a" "40d038305aa08eb3a87bfb7d42357f7622a6219846f556a57ca87206dc664714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40d038305aa08eb3a87bfb7d42357f7622a6219846f556a57ca87206dc664714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d038305aa08eb3a87bfb7d42357f7622a6219846f556a57ca87206dc664714", kill_on_drop: false }` [INFO] [stdout] 40d038305aa08eb3a87bfb7d42357f7622a6219846f556a57ca87206dc664714 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb5cd2873c6d15c5f61f44f72688242aafce9916846a66ed1b1034298c41e257 [INFO] running `Command { std: "docker" "start" "-a" "eb5cd2873c6d15c5f61f44f72688242aafce9916846a66ed1b1034298c41e257", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking chlorine v1.0.10 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling cpal v0.14.0 (https://github.com/doukutsu-rs/cpal?rev=9d269d8724102404e73a61e9def0c0cbc921b676#9d269d87) [INFO] [stderr] Compiling sdl2 v0.36.0 (https://github.com/doukutsu-rs/rust-sdl2.git?rev=f2f1e29a416bcc22f2faf411866db2c8d9536308#f2f1e29a) [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking xml-rs v0.8.19 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling doukutsu-rs v0.101.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking dataview v1.0.1 [INFO] [stderr] Compiling pelite-macros v0.1.1 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking bytemuck v1.14.1 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Compiling sdl2-sys v0.36.0 (https://github.com/doukutsu-rs/rust-sdl2.git?rev=f2f1e29a416bcc22f2faf411866db2c8d9536308#f2f1e29a) [INFO] [stderr] Compiling imgui-sys v0.8.2 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Checking pelite v0.10.0 [INFO] [stderr] Checking open v3.2.0 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking xmltree v0.10.3 [INFO] [stderr] Checking webbrowser v0.8.12 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking directories v3.0.2 [INFO] [stderr] Checking case_insensitive_hashmap v1.0.0 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking vec_mut_scan v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking discord-rich-presence v0.2.3 [INFO] [stderr] Checking imgui v0.8.2 [INFO] [stdout] warning: unused import: `core::convert::Into` [INFO] [stdout] --> src/macros.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use core::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::convert::Into` [INFO] [stdout] --> src/macros.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use core::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:221:31 [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 265 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:564:27 [INFO] [stdout] | [INFO] [stdout] 564 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 564 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:992:31 [INFO] [stdout] | [INFO] [stdout] 992 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 992 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:1249:27 [INFO] [stdout] | [INFO] [stdout] 1249 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1249 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:221:31 [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] = note: `#[warn(static_mut_ref)]` on by default [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 265 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:564:27 [INFO] [stdout] | [INFO] [stdout] 564 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 564 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:992:31 [INFO] [stdout] | [INFO] [stdout] 992 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 992 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: shared reference of mutable static is discouraged [INFO] [stdout] --> src/framework/render_opengl.rs:1249:27 [INFO] [stdout] | [INFO] [stdout] 1249 | if let Some(gl) = &GL_PROC { [INFO] [stdout] | ^^^^^^^^ shared reference of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: reference of mutable static is a hard error from 2024 edition [INFO] [stdout] = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1249 | if let Some(gl) = addr_of!(GL_PROC) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/npc/ai/wind_fortress.rs:757:13 [INFO] [stdout] | [INFO] [stdout] 757 | let mut player = self.get_closest_player_mut(players); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/npc/ai/wind_fortress.rs:757:13 [INFO] [stdout] | [INFO] [stdout] 757 | let mut player = self.get_closest_player_mut(players); [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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/player/mod.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ControlMode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/scripting/tsc/opcodes.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(EnumString, Debug, FromPrimitive, PartialEq, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_TSCOpCode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/scripting/tsc/opcodes.rs:270:10 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(FromPrimitive, PartialEq, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CreditOpCode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/shared_game_state.rs:106:45 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(PartialEq, Eq, Copy, Clone, Debug, num_derive::FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_GameDifficulty` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/shared_game_state.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(PartialEq, Eq, Copy, Clone, num_derive::FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_PlayerCount` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/shared_game_state.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | #[derive(PartialEq, Eq, Copy, Clone, num_derive::FromPrimitive, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ScreenShakeIntensity` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/weapon/mod.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_WeaponType` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/npc/list.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / impl NPC { [INFO] [stdout] 221 | | fn test_tick(&mut self, _map: &NPCList) -> GameResult { [INFO] [stdout] 222 | | self.action_counter += 1; [INFO] [stdout] 223 | | [INFO] [stdout] 224 | | Ok(()) [INFO] [stdout] 225 | | } [INFO] [stdout] 226 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `test_npc_list` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/player/mod.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ControlMode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/scripting/tsc/opcodes.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(EnumString, Debug, FromPrimitive, PartialEq, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_TSCOpCode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/scripting/tsc/opcodes.rs:270:10 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(FromPrimitive, PartialEq, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CreditOpCode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/shared_game_state.rs:106:45 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(PartialEq, Eq, Copy, Clone, Debug, num_derive::FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_GameDifficulty` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/shared_game_state.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(PartialEq, Eq, Copy, Clone, num_derive::FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_PlayerCount` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/shared_game_state.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | #[derive(PartialEq, Eq, Copy, Clone, num_derive::FromPrimitive, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ScreenShakeIntensity` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/game/weapon/mod.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_WeaponType` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `doukutsu-rs` (lib) due to 8 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `doukutsu-rs` (lib test) due to 9 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb5cd2873c6d15c5f61f44f72688242aafce9916846a66ed1b1034298c41e257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb5cd2873c6d15c5f61f44f72688242aafce9916846a66ed1b1034298c41e257", kill_on_drop: false }` [INFO] [stdout] eb5cd2873c6d15c5f61f44f72688242aafce9916846a66ed1b1034298c41e257