[INFO] cloning repository https://github.com/Pifton/Dodge-the-Wall [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pifton/Dodge-the-Wall" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPifton%2FDodge-the-Wall", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPifton%2FDodge-the-Wall'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b659b013515aa272d7e407c1f9076c33fb4b8e2 [INFO] checking Pifton/Dodge-the-Wall against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPifton%2FDodge-the-Wall" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pifton/Dodge-the-Wall 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 git repo https://github.com/Pifton/Dodge-the-Wall [INFO] finished tweaking git repo https://github.com/Pifton/Dodge-the-Wall [INFO] tweaked toml for git repo https://github.com/Pifton/Dodge-the-Wall written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Pifton/Dodge-the-Wall 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.8.4 [INFO] [stderr] Downloaded getrandom v0.2.3 [INFO] [stderr] Downloaded rand_hc v0.3.1 [INFO] [stderr] Downloaded hound v3.4.0 [INFO] [stderr] Downloaded ahash v0.4.7 [INFO] [stderr] Downloaded ndk-sys v0.2.2 [INFO] [stderr] Downloaded sapp-dummy v0.1.5 [INFO] [stderr] Downloaded fontdue v0.5.2 [INFO] [stderr] Downloaded glam v0.14.0 [INFO] [stderr] Downloaded crc32fast v1.3.0 [INFO] [stderr] Downloaded macroquad_macro v0.1.7 [INFO] [stderr] Downloaded sapp-android v0.1.14 [INFO] [stderr] Downloaded sapp-darwin v0.1.6 [INFO] [stderr] Downloaded sapp-ios v0.1.2 [INFO] [stderr] Downloaded sapp-wasm v0.1.26 [INFO] [stderr] Downloaded sapp-windows v0.2.19 [INFO] [stderr] Downloaded miniquad v0.3.0-alpha.42 [INFO] [stderr] Downloaded audir-sles v0.1.0 [INFO] [stderr] Downloaded quad-alsa-sys v0.3.2 [INFO] [stderr] Downloaded quad-snd v0.2.3 [INFO] [stderr] Downloaded sapp-linux v0.1.13 [INFO] [stderr] Downloaded macroquad v0.3.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b47e3b1ea4adfd5a8fc51efca3039861eb5a288212d206184f0d91842b88b35a [INFO] running `Command { std: "docker" "start" "-a" "b47e3b1ea4adfd5a8fc51efca3039861eb5a288212d206184f0d91842b88b35a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b47e3b1ea4adfd5a8fc51efca3039861eb5a288212d206184f0d91842b88b35a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b47e3b1ea4adfd5a8fc51efca3039861eb5a288212d206184f0d91842b88b35a", kill_on_drop: false }` [INFO] [stdout] b47e3b1ea4adfd5a8fc51efca3039861eb5a288212d206184f0d91842b88b35a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d89665071b040671546228fc5a06e97262a75a4702f802adeef6519d52fffc40 [INFO] running `Command { std: "docker" "start" "-a" "d89665071b040671546228fc5a06e97262a75a4702f802adeef6519d52fffc40", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling sapp-linux v0.1.13 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling quad-snd v0.2.3 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking bumpalo v3.9.1 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Checking glam v0.14.0 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking fontdue v0.5.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking miniquad v0.3.0-alpha.42 [INFO] [stderr] Checking macroquad v0.3.13 [INFO] [stderr] Checking DodgetheWall v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.26s [INFO] running `Command { std: "docker" "inspect" "d89665071b040671546228fc5a06e97262a75a4702f802adeef6519d52fffc40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d89665071b040671546228fc5a06e97262a75a4702f802adeef6519d52fffc40", kill_on_drop: false }` [INFO] [stdout] d89665071b040671546228fc5a06e97262a75a4702f802adeef6519d52fffc40 [INFO] checking Pifton/Dodge-the-Wall against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPifton%2FDodge-the-Wall" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pifton/Dodge-the-Wall 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 git repo https://github.com/Pifton/Dodge-the-Wall [INFO] finished tweaking git repo https://github.com/Pifton/Dodge-the-Wall [INFO] tweaked toml for git repo https://github.com/Pifton/Dodge-the-Wall written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Pifton/Dodge-the-Wall 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1f1d9f81707b5516951be1bf7a2bd4e9dc05ae9d1913eecc4a2a18201041b882 [INFO] running `Command { std: "docker" "start" "-a" "1f1d9f81707b5516951be1bf7a2bd4e9dc05ae9d1913eecc4a2a18201041b882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f1d9f81707b5516951be1bf7a2bd4e9dc05ae9d1913eecc4a2a18201041b882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f1d9f81707b5516951be1bf7a2bd4e9dc05ae9d1913eecc4a2a18201041b882", kill_on_drop: false }` [INFO] [stdout] 1f1d9f81707b5516951be1bf7a2bd4e9dc05ae9d1913eecc4a2a18201041b882 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 02399824a456ca140ec896d45e4b30e1717fe1859c69b14b4eb62481af2c5a6d [INFO] running `Command { std: "docker" "start" "-a" "02399824a456ca140ec896d45e4b30e1717fe1859c69b14b4eb62481af2c5a6d", 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 libc v0.2.112 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling sapp-linux v0.1.13 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Compiling quad-snd v0.2.3 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking bumpalo v3.9.1 [INFO] [stderr] Checking glam v0.14.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking fontdue v0.5.2 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking miniquad v0.3.0-alpha.42 [INFO] [stderr] Checking macroquad v0.3.13 [INFO] [stderr] Checking DodgetheWall v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/affichage.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | if(15..=30).contains(&SCORE) { return FALL += 3.4 } [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] 65 | if(15..=30).contains(addr_of!(SCORE)) { return FALL += 3.4 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/affichage.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | if (30..=50).contains(&SCORE) { return FALL += 4.0 } [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] 66 | if (30..=50).contains(addr_of!(SCORE)) { return FALL += 4.0 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/affichage.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | if (50..=80).contains(&SCORE) { return FALL += 5.0 } [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] 67 | if (50..=80).contains(addr_of!(SCORE)) { return FALL += 5.0 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/affichage.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | if (80..=120).contains(&SCORE) { return FALL += 5.5 } [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] 68 | if (80..=120).contains(addr_of!(SCORE)) { return FALL += 5.5 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/affichage.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | if (120..=150).contains(&SCORE) { return FALL += 6.0 } [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] 69 | if (120..=150).contains(addr_of!(SCORE)) { return FALL += 6.0 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/affichage.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | if(15..=30).contains(&SCORE) { return FALL += 3.4 } [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] 65 | if(15..=30).contains(addr_of!(SCORE)) { return FALL += 3.4 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.41s [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/affichage.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | if (30..=50).contains(&SCORE) { return FALL += 4.0 } [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] 66 | if (30..=50).contains(addr_of!(SCORE)) { return FALL += 4.0 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/affichage.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | if (50..=80).contains(&SCORE) { return FALL += 5.0 } [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] 67 | if (50..=80).contains(addr_of!(SCORE)) { return FALL += 5.0 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/affichage.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | if (80..=120).contains(&SCORE) { return FALL += 5.5 } [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] 68 | if (80..=120).contains(addr_of!(SCORE)) { return FALL += 5.5 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/affichage.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | if (120..=150).contains(&SCORE) { return FALL += 6.0 } [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] 69 | if (120..=150).contains(addr_of!(SCORE)) { return FALL += 6.0 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking DodgetheWall v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/affichage.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | if(15..=30).contains(&SCORE) { return FALL += 3.4 } [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] 65 | if(15..=30).contains(addr_of!(SCORE)) { return FALL += 3.4 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/affichage.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | if (30..=50).contains(&SCORE) { return FALL += 4.0 } [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] 66 | if (30..=50).contains(addr_of!(SCORE)) { return FALL += 4.0 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/affichage.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | if (50..=80).contains(&SCORE) { return FALL += 5.0 } [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] 67 | if (50..=80).contains(addr_of!(SCORE)) { return FALL += 5.0 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/affichage.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | if (80..=120).contains(&SCORE) { return FALL += 5.5 } [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 (80..=120).contains(addr_of!(SCORE)) { return FALL += 5.5 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/affichage.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | if (120..=150).contains(&SCORE) { return FALL += 6.0 } [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] 69 | if (120..=150).contains(addr_of!(SCORE)) { return FALL += 6.0 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 `DodgetheWall` (bin "DodgetheWall") due to 6 previous errors [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/affichage.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | if(15..=30).contains(&SCORE) { return FALL += 3.4 } [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] 65 | if(15..=30).contains(addr_of!(SCORE)) { return FALL += 3.4 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/affichage.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | if (30..=50).contains(&SCORE) { return FALL += 4.0 } [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] 66 | if (30..=50).contains(addr_of!(SCORE)) { return FALL += 4.0 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/affichage.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | if (50..=80).contains(&SCORE) { return FALL += 5.0 } [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] 67 | if (50..=80).contains(addr_of!(SCORE)) { return FALL += 5.0 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/affichage.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | if (80..=120).contains(&SCORE) { return FALL += 5.5 } [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 (80..=120).contains(addr_of!(SCORE)) { return FALL += 5.5 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/affichage.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | if (120..=150).contains(&SCORE) { return FALL += 6.0 } [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] 69 | if (120..=150).contains(addr_of!(SCORE)) { return FALL += 6.0 } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 `DodgetheWall` (bin "DodgetheWall" test) due to 6 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" "02399824a456ca140ec896d45e4b30e1717fe1859c69b14b4eb62481af2c5a6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02399824a456ca140ec896d45e4b30e1717fe1859c69b14b4eb62481af2c5a6d", kill_on_drop: false }` [INFO] [stdout] 02399824a456ca140ec896d45e4b30e1717fe1859c69b14b4eb62481af2c5a6d