[INFO] cloning repository https://github.com/szyfr/Monochrome_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/szyfr/Monochrome_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fszyfr%2FMonochrome_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fszyfr%2FMonochrome_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 110948c4511690f1e8accbbc8dbf28a529ead670 [INFO] checking szyfr/Monochrome_rust against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fszyfr%2FMonochrome_rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/szyfr/Monochrome_rust [INFO] finished tweaking git repo https://github.com/szyfr/Monochrome_rust [INFO] tweaked toml for git repo https://github.com/szyfr/Monochrome_rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/szyfr/Monochrome_rust on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/szyfr/Monochrome_rust 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 704e3382521d3aa62eae6f0dd15db8a9f9389e9d641128c4c4aac1d68dd07679 [INFO] running `Command { std: "docker" "start" "-a" "704e3382521d3aa62eae6f0dd15db8a9f9389e9d641128c4c4aac1d68dd07679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "704e3382521d3aa62eae6f0dd15db8a9f9389e9d641128c4c4aac1d68dd07679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "704e3382521d3aa62eae6f0dd15db8a9f9389e9d641128c4c4aac1d68dd07679", kill_on_drop: false }` [INFO] [stdout] 704e3382521d3aa62eae6f0dd15db8a9f9389e9d641128c4c4aac1d68dd07679 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b15b014a40c3df5eb80fe9dd356db022853dfc1066f75efc03f17ba948282623 [INFO] running `Command { std: "docker" "start" "-a" "b15b014a40c3df5eb80fe9dd356db022853dfc1066f75efc03f17ba948282623", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling bindgen v0.69.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling raylib-ffi v5.0.0 [INFO] [stderr] Checking monorust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: struct `Texture2D` is never constructed [INFO] [stdout] --> src/raylib/textures.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Texture2D (Texture); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `TextureCubeMap` is never constructed [INFO] [stdout] --> src/raylib/textures.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct TextureCubeMap (Texture); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Shader` is never constructed [INFO] [stdout] --> src/raylib/shaders.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Shader { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `MaterialMap` is never constructed [INFO] [stdout] --> src/raylib/materials.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MaterialMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Material` is never constructed [INFO] [stdout] --> src/raylib/materials.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Material { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Transform` is never constructed [INFO] [stdout] --> src/raylib/models.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/data.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { return SETTINGS.key_pressed(k); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [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 shared reference to mutable static [INFO] [stdout] --> src/data.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe { return SETTINGS.key_down(k); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/data.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { return SETTINGS.key_released(k); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/data.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { return SETTINGS.key_up(k); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/player.rs:464:11 [INFO] [stdout] | [INFO] [stdout] 464 | ... data::SETTINGS.change_resolution(1280, 720); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/player.rs:469:11 [INFO] [stdout] | [INFO] [stdout] 469 | ... data::SETTINGS.change_resolution(1920, 1080); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/player.rs:687:19 [INFO] [stdout] | [INFO] [stdout] 687 | unsafe { str = data::SETTINGS.screenWidth.to_string() + " x " + &data::SETTINGS.screenHeight.to_string(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/player.rs:687:69 [INFO] [stdout] | [INFO] [stdout] 687 | unsafe { str = data::SETTINGS.screenWidth.to_string() + " x " + &data::SETTINGS.screenHeight.to_string(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/player.rs:743:19 [INFO] [stdout] | [INFO] [stdout] 743 | unsafe { str = data::SETTINGS.language.to_string(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monorust` (lib test) due to 6 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: struct `Texture2D` is never constructed [INFO] [stdout] --> src/raylib/textures.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Texture2D (Texture); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `TextureCubeMap` is never constructed [INFO] [stdout] --> src/raylib/textures.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct TextureCubeMap (Texture); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Shader` is never constructed [INFO] [stdout] --> src/raylib/shaders.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Shader { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `MaterialMap` is never constructed [INFO] [stdout] --> src/raylib/materials.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct MaterialMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Material` is never constructed [INFO] [stdout] --> src/raylib/materials.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Material { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Transform` is never constructed [INFO] [stdout] --> src/raylib/models.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/data.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { return SETTINGS.key_pressed(k); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [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 shared reference to mutable static [INFO] [stdout] --> src/data.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe { return SETTINGS.key_down(k); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/data.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { return SETTINGS.key_released(k); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/data.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { return SETTINGS.key_up(k); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/player.rs:464:11 [INFO] [stdout] | [INFO] [stdout] 464 | ... data::SETTINGS.change_resolution(1280, 720); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/player.rs:469:11 [INFO] [stdout] | [INFO] [stdout] 469 | ... data::SETTINGS.change_resolution(1920, 1080); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/player.rs:687:19 [INFO] [stdout] | [INFO] [stdout] 687 | unsafe { str = data::SETTINGS.screenWidth.to_string() + " x " + &data::SETTINGS.screenHeight.to_string(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/player.rs:687:69 [INFO] [stdout] | [INFO] [stdout] 687 | unsafe { str = data::SETTINGS.screenWidth.to_string() + " x " + &data::SETTINGS.screenHeight.to_string(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/player.rs:743:19 [INFO] [stdout] | [INFO] [stdout] 743 | unsafe { str = data::SETTINGS.language.to_string(); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monorust` (lib) due to 6 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b15b014a40c3df5eb80fe9dd356db022853dfc1066f75efc03f17ba948282623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b15b014a40c3df5eb80fe9dd356db022853dfc1066f75efc03f17ba948282623", kill_on_drop: false }` [INFO] [stdout] b15b014a40c3df5eb80fe9dd356db022853dfc1066f75efc03f17ba948282623