[INFO] fetching crate pronto-graphics 0.4.0... [INFO] checking pronto-graphics-0.4.0 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate pronto-graphics 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate pronto-graphics 0.4.0 on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pronto-graphics 0.4.0 [INFO] finished tweaking crates.io crate pronto-graphics 0.4.0 [INFO] tweaked toml for crates.io crate pronto-graphics 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate pronto-graphics 0.4.0 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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded csfml-audio-sys v0.6.0 [INFO] [stderr] Downloaded sfml-build v0.4.0 [INFO] [stderr] Downloaded once_cell v1.10.0 [INFO] [stderr] Downloaded csfml-window-sys v0.6.0 [INFO] [stderr] Downloaded opaque-debug v0.3.0 [INFO] [stderr] Downloaded csfml-system-sys v0.6.0 [INFO] [stderr] Downloaded csfml-graphics-sys v0.6.0 [INFO] [stderr] Downloaded widestring v0.4.3 [INFO] [stderr] Downloaded typenum v1.15.0 [INFO] [stderr] Downloaded rust-embed-utils v7.1.0 [INFO] [stderr] Downloaded unicode-xid v0.2.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.37 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded generic-array v0.14.5 [INFO] [stderr] Downloaded syn v1.0.91 [INFO] [stderr] Downloaded sfml v0.16.0 [INFO] [stderr] Downloaded libc v0.2.123 [INFO] [stderr] Downloaded cpufeatures v0.2.2 [INFO] [stderr] Downloaded rust-embed v6.3.0 [INFO] [stderr] Downloaded walkdir v2.3.2 [INFO] [stderr] Downloaded rust-embed-impl v6.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e55b9f9ebb3ca3a84a6b6fff6cd642a7c1809202c09fae63845970b2d2a1a17 [INFO] running `Command { std: "docker" "start" "-a" "4e55b9f9ebb3ca3a84a6b6fff6cd642a7c1809202c09fae63845970b2d2a1a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e55b9f9ebb3ca3a84a6b6fff6cd642a7c1809202c09fae63845970b2d2a1a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e55b9f9ebb3ca3a84a6b6fff6cd642a7c1809202c09fae63845970b2d2a1a17", kill_on_drop: false }` [INFO] [stdout] 4e55b9f9ebb3ca3a84a6b6fff6cd642a7c1809202c09fae63845970b2d2a1a17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9070182f560fb651db184485ecf47cd6c35b610679412391a562c08321d0d447 [INFO] running `Command { std: "docker" "start" "-a" "9070182f560fb651db184485ecf47cd6c35b610679412391a562c08321d0d447", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling sfml-build v0.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling csfml-system-sys v0.6.0 [INFO] [stderr] Compiling csfml-window-sys v0.6.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling csfml-audio-sys v0.6.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.6.0 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking sfml v0.16.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking rust-embed-utils v7.1.0 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Checking rust-embed v6.3.0 [INFO] [stderr] Checking pronto-graphics v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.47s [INFO] running `Command { std: "docker" "inspect" "9070182f560fb651db184485ecf47cd6c35b610679412391a562c08321d0d447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9070182f560fb651db184485ecf47cd6c35b610679412391a562c08321d0d447", kill_on_drop: false }` [INFO] [stdout] 9070182f560fb651db184485ecf47cd6c35b610679412391a562c08321d0d447 [INFO] checking pronto-graphics-0.4.0 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate pronto-graphics 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate pronto-graphics 0.4.0 on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pronto-graphics 0.4.0 [INFO] finished tweaking crates.io crate pronto-graphics 0.4.0 [INFO] tweaked toml for crates.io crate pronto-graphics 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate pronto-graphics 0.4.0 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" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59526d3561d068b6c57cf2e25398327ededd912e578ccaf34ebcc6abcb80d8f9 [INFO] running `Command { std: "docker" "start" "-a" "59526d3561d068b6c57cf2e25398327ededd912e578ccaf34ebcc6abcb80d8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59526d3561d068b6c57cf2e25398327ededd912e578ccaf34ebcc6abcb80d8f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59526d3561d068b6c57cf2e25398327ededd912e578ccaf34ebcc6abcb80d8f9", kill_on_drop: false }` [INFO] [stdout] 59526d3561d068b6c57cf2e25398327ededd912e578ccaf34ebcc6abcb80d8f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd274896b93587d478246d10771ab1edb4e6138d52fa2cd53c04ed9365e010a7 [INFO] running `Command { std: "docker" "start" "-a" "dd274896b93587d478246d10771ab1edb4e6138d52fa2cd53c04ed9365e010a7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling sfml-build v0.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling csfml-system-sys v0.6.0 [INFO] [stderr] Compiling csfml-window-sys v0.6.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.6.0 [INFO] [stderr] Compiling csfml-audio-sys v0.6.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking sfml v0.16.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking rust-embed-utils v7.1.0 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Checking rust-embed v6.3.0 [INFO] [stderr] Checking pronto-graphics v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/font.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(fonts) = &FONT_STORE { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(fonts) = addr_of!(FONT_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/font.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(fonts) = &mut FONT_STORE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(fonts) = addr_of_mut!(FONT_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/texture.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(textures) = &TEXTURE_STORE { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(textures) = addr_of!(TEXTURE_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/texture.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(textures) = &mut TEXTURE_STORE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(textures) = addr_of_mut!(TEXTURE_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/font.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(fonts) = &FONT_STORE { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(fonts) = addr_of!(FONT_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/font.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(fonts) = &mut FONT_STORE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(fonts) = addr_of_mut!(FONT_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/texture.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(textures) = &TEXTURE_STORE { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(textures) = addr_of!(TEXTURE_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/texture.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(textures) = &mut TEXTURE_STORE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(textures) = addr_of_mut!(TEXTURE_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/hello-world.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.26s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking pronto-graphics v0.4.0 (/tmp/fixit) [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/font.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(fonts) = &FONT_STORE { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(fonts) = addr_of!(FONT_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/font.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(fonts) = &mut FONT_STORE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(fonts) = addr_of_mut!(FONT_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/texture.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(textures) = &TEXTURE_STORE { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(textures) = addr_of!(TEXTURE_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/texture.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(textures) = &mut TEXTURE_STORE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(textures) = addr_of_mut!(TEXTURE_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/font.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(fonts) = &FONT_STORE { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 68 | if let Some(fonts) = addr_of!(FONT_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pronto-graphics` (lib) due to 5 previous errors [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/font.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(fonts) = &mut FONT_STORE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 78 | if let Some(fonts) = addr_of_mut!(FONT_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/texture.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(textures) = &TEXTURE_STORE { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(textures) = addr_of!(TEXTURE_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/texture.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(textures) = &mut TEXTURE_STORE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 35 | if let Some(textures) = addr_of_mut!(TEXTURE_STORE) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pronto-graphics` (lib test) due to 5 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "dd274896b93587d478246d10771ab1edb4e6138d52fa2cd53c04ed9365e010a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd274896b93587d478246d10771ab1edb4e6138d52fa2cd53c04ed9365e010a7", kill_on_drop: false }` [INFO] [stdout] dd274896b93587d478246d10771ab1edb4e6138d52fa2cd53c04ed9365e010a7