[INFO] cloning repository https://github.com/jhbruhn/moonboot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jhbruhn/moonboot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhbruhn%2Fmoonboot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhbruhn%2Fmoonboot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] efadc79b9edaeec0366ae6ab2276290bc09a46cd [INFO] checking jhbruhn/moonboot against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhbruhn%2Fmoonboot" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jhbruhn/moonboot 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/jhbruhn/moonboot [INFO] finished tweaking git repo https://github.com/jhbruhn/moonboot [INFO] tweaked toml for git repo https://github.com/jhbruhn/moonboot written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jhbruhn/moonboot 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 spin v0.9.3 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded atomic-polyfill v0.1.8 [INFO] [stderr] Downloaded defmt-parser v0.2.2 [INFO] [stderr] Downloaded desse-derive v0.2.1 [INFO] [stderr] Downloaded desse v0.2.1 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded volatile-register v0.2.1 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded defmt-macros v0.2.3 [INFO] [stderr] Downloaded embedded-storage v0.2.0 [INFO] [stderr] Downloaded heapless v0.7.10 [INFO] [stderr] Downloaded critical-section v0.2.7 [INFO] [stderr] Downloaded defmt v0.2.3 [INFO] [stderr] Downloaded cortex-m v0.7.4 [INFO] [stderr] Downloaded riscv v0.7.0 [INFO] [stderr] Downloaded lock_api v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4648e0ae8e79b494ee8251e7b0756b161ada134a57d749a83194765835e8f445 [INFO] running `Command { std: "docker" "start" "-a" "4648e0ae8e79b494ee8251e7b0756b161ada134a57d749a83194765835e8f445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4648e0ae8e79b494ee8251e7b0756b161ada134a57d749a83194765835e8f445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4648e0ae8e79b494ee8251e7b0756b161ada134a57d749a83194765835e8f445", kill_on_drop: false }` [INFO] [stdout] 4648e0ae8e79b494ee8251e7b0756b161ada134a57d749a83194765835e8f445 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7c0784ae133b90f2f34c6e651763d341796c04bf22121293b0db13c3d22204f0 [INFO] running `Command { std: "docker" "start" "-a" "7c0784ae133b90f2f34c6e651763d341796c04bf22121293b0db13c3d22204f0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling heapless v0.7.10 [INFO] [stderr] Checking crc-catalog v1.1.1 [INFO] [stderr] Checking embedded-storage v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking crc v2.1.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling desse-derive v0.2.1 [INFO] [stderr] Checking desse v0.2.1 [INFO] [stderr] Checking proc-macro-error v1.0.4 [INFO] [stderr] Checking moonboot-macros v0.1.2 (/opt/rustwide/workdir/macros) [INFO] [stderr] Checking moonboot v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking moonboot-codegen v0.1.2 (/opt/rustwide/workdir/codegen) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.48s [INFO] running `Command { std: "docker" "inspect" "7c0784ae133b90f2f34c6e651763d341796c04bf22121293b0db13c3d22204f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c0784ae133b90f2f34c6e651763d341796c04bf22121293b0db13c3d22204f0", kill_on_drop: false }` [INFO] [stdout] 7c0784ae133b90f2f34c6e651763d341796c04bf22121293b0db13c3d22204f0 [INFO] checking jhbruhn/moonboot against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhbruhn%2Fmoonboot" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jhbruhn/moonboot 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/jhbruhn/moonboot [INFO] finished tweaking git repo https://github.com/jhbruhn/moonboot [INFO] tweaked toml for git repo https://github.com/jhbruhn/moonboot written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jhbruhn/moonboot 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8b938911d8b1fd97486bc7a356fbdba06138a35452c0a1ce98f269059030ba39 [INFO] running `Command { std: "docker" "start" "-a" "8b938911d8b1fd97486bc7a356fbdba06138a35452c0a1ce98f269059030ba39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b938911d8b1fd97486bc7a356fbdba06138a35452c0a1ce98f269059030ba39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b938911d8b1fd97486bc7a356fbdba06138a35452c0a1ce98f269059030ba39", kill_on_drop: false }` [INFO] [stdout] 8b938911d8b1fd97486bc7a356fbdba06138a35452c0a1ce98f269059030ba39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c802cb19e65d81370db513a14e489a03671aac67391bb189f309b5545de62df2 [INFO] running `Command { std: "docker" "start" "-a" "c802cb19e65d81370db513a14e489a03671aac67391bb189f309b5545de62df2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating macros/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (5 fixes) [INFO] [stderr] Migrating codegen/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling heapless v0.7.10 [INFO] [stderr] Checking crc-catalog v1.1.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking embedded-storage v0.2.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking crc v2.1.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking quote v1.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling desse-derive v0.2.1 [INFO] [stderr] Checking proc-macro-error v1.0.4 [INFO] [stderr] Checking desse v0.2.1 [INFO] [stderr] Checking moonboot-macros v0.1.2 (/tmp/fixit/macros) [INFO] [stderr] Migrating macros/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking moonboot v0.1.2 (/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/state.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | let checksum = checksum(unsafe { &_moonboot_state_data_start }); [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] 126 | let checksum = checksum(unsafe { addr_of!(_moonboot_state_data_start) }); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/state.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 129 | MoonbootState::deserialize_from(unsafe { &_moonboot_state_data_start }); [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] 129 | MoonbootState::deserialize_from(unsafe { addr_of!(_moonboot_state_data_start) }); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/state.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | _moonboot_state_crc_start = checksum(&_moonboot_state_data_start); [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] 150 | _moonboot_state_crc_start = checksum(addr_of!(_moonboot_state_data_start)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/state.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | let checksum = checksum(unsafe { &_moonboot_state_data_start }); [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] 126 | let checksum = checksum(unsafe { addr_of!(_moonboot_state_data_start) }); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/state.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 129 | MoonbootState::deserialize_from(unsafe { &_moonboot_state_data_start }); [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] 129 | MoonbootState::deserialize_from(unsafe { addr_of!(_moonboot_state_data_start) }); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/state.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | _moonboot_state_crc_start = checksum(&_moonboot_state_data_start); [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] 150 | _moonboot_state_crc_start = checksum(addr_of!(_moonboot_state_data_start)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking moonboot-codegen v0.1.2 (/tmp/fixit/codegen) [INFO] [stderr] Migrating codegen/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.08s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking moonboot v0.1.2 (/tmp/fixit) [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/state.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | let checksum = checksum(unsafe { &_moonboot_state_data_start }); [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] 126 | let checksum = checksum(unsafe { addr_of!(_moonboot_state_data_start) }); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/state.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 129 | MoonbootState::deserialize_from(unsafe { &_moonboot_state_data_start }); [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] 129 | MoonbootState::deserialize_from(unsafe { addr_of!(_moonboot_state_data_start) }); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/state.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | _moonboot_state_crc_start = checksum(&_moonboot_state_data_start); [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] 150 | _moonboot_state_crc_start = checksum(addr_of!(_moonboot_state_data_start)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 `moonboot` (lib) due to 4 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/state.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | let checksum = checksum(unsafe { &_moonboot_state_data_start }); [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] 126 | let checksum = checksum(unsafe { addr_of!(_moonboot_state_data_start) }); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/state.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 129 | MoonbootState::deserialize_from(unsafe { &_moonboot_state_data_start }); [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] 129 | MoonbootState::deserialize_from(unsafe { addr_of!(_moonboot_state_data_start) }); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/state.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | _moonboot_state_crc_start = checksum(&_moonboot_state_data_start); [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] 150 | _moonboot_state_crc_start = checksum(addr_of!(_moonboot_state_data_start)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 `moonboot` (lib test) due to 4 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" "c802cb19e65d81370db513a14e489a03671aac67391bb189f309b5545de62df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c802cb19e65d81370db513a14e489a03671aac67391bb189f309b5545de62df2", kill_on_drop: false }` [INFO] [stdout] c802cb19e65d81370db513a14e489a03671aac67391bb189f309b5545de62df2