[INFO] fetching crate bern-kernel 0.3.0... [INFO] checking bern-kernel-0.3.0 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate bern-kernel 0.3.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate bern-kernel 0.3.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 bern-kernel 0.3.0 [INFO] finished tweaking crates.io crate bern-kernel 0.3.0 [INFO] tweaked toml for crates.io crate bern-kernel 0.3.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "generate-lockfile" "--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] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding bare-metal v0.2.5 (latest: v1.0.0) [INFO] [stderr] Adding bitfield v0.13.2 (latest: v0.15.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (latest: v1.0.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding mockall v0.11.4 (latest: v0.12.1) [INFO] [stderr] Adding mockall_derive v0.11.4 (latest: v0.12.1) [INFO] [stderr] Adding nb v0.1.3 (latest: v1.1.0) [INFO] [stderr] Adding num v0.3.1 (latest: v0.4.3) [INFO] [stderr] Adding num-complex v0.3.1 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.3.2 (latest: v0.4.2) [INFO] [stderr] Adding predicates v2.1.5 (latest: v3.1.0) [INFO] [stderr] Adding rtt-target v0.3.1 (latest: v0.5.0) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [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] Downloading crates ... [INFO] [stderr] Downloaded num v0.3.1 [INFO] [stderr] Downloaded rtos-trace v0.1.3 [INFO] [stderr] Downloaded num-complex v0.3.1 [INFO] [stderr] Downloaded num-rational v0.3.2 [INFO] [stderr] Downloaded rtt-target v0.3.1 [INFO] [stderr] Downloaded defmt v0.3.8 [INFO] [stderr] Downloaded ufmt-write v0.1.0 [INFO] [stderr] Downloaded bern-conf-type v0.2.0 [INFO] [stderr] Downloaded bern-arch v0.3.0 [INFO] [stderr] Downloaded unicode-xid v0.2.4 [INFO] [stderr] Downloaded const_format_proc_macros v0.2.32 [INFO] [stderr] Downloaded const_format v0.2.32 [INFO] [stderr] Downloaded defmt-macros v0.3.9 [INFO] [stderr] Downloaded bern-conf v0.2.0 [INFO] [stderr] Downloaded bern-kernel-macros v0.3.0 [INFO] [stderr] Downloaded bern-units v0.1.0 [INFO] [stderr] Downloaded defmt-parser v0.3.4 [INFO] [stderr] Downloaded embedded-time v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa4e289458de9ca0ace650f25e2ac41ffc9a7a813ef76ad6e66d2191089c0b13 [INFO] running `Command { std: "docker" "start" "-a" "fa4e289458de9ca0ace650f25e2ac41ffc9a7a813ef76ad6e66d2191089c0b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa4e289458de9ca0ace650f25e2ac41ffc9a7a813ef76ad6e66d2191089c0b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa4e289458de9ca0ace650f25e2ac41ffc9a7a813ef76ad6e66d2191089c0b13", kill_on_drop: false }` [INFO] [stdout] fa4e289458de9ca0ace650f25e2ac41ffc9a7a813ef76ad6e66d2191089c0b13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 20b5f06e4e1cdccdc664b18faa848256c814700289d5592c858958576a08e60c [INFO] running `Command { std: "docker" "start" "-a" "20b5f06e4e1cdccdc664b18faa848256c814700289d5592c858958576a08e60c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling bern-arch v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking rtos-trace v0.1.3 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Checking embedded-time v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling bern-units v0.1.0 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling bern-conf-type v0.2.0 [INFO] [stderr] Compiling bern-conf v0.2.0 [INFO] [stderr] Compiling bern-kernel v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bern-kernel-macros v0.3.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.20s [INFO] running `Command { std: "docker" "inspect" "20b5f06e4e1cdccdc664b18faa848256c814700289d5592c858958576a08e60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20b5f06e4e1cdccdc664b18faa848256c814700289d5592c858958576a08e60c", kill_on_drop: false }` [INFO] [stdout] 20b5f06e4e1cdccdc664b18faa848256c814700289d5592c858958576a08e60c [INFO] checking bern-kernel-0.3.0 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate bern-kernel 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate bern-kernel 0.3.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 bern-kernel 0.3.0 [INFO] finished tweaking crates.io crate bern-kernel 0.3.0 [INFO] tweaked toml for crates.io crate bern-kernel 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding bare-metal v0.2.5 (latest: v1.0.0) [INFO] [stderr] Adding bitfield v0.13.2 (latest: v0.15.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (latest: v1.0.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding mockall v0.11.4 (latest: v0.12.1) [INFO] [stderr] Adding mockall_derive v0.11.4 (latest: v0.12.1) [INFO] [stderr] Adding nb v0.1.3 (latest: v1.1.0) [INFO] [stderr] Adding num v0.3.1 (latest: v0.4.3) [INFO] [stderr] Adding num-complex v0.3.1 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.3.2 (latest: v0.4.2) [INFO] [stderr] Adding predicates v2.1.5 (latest: v3.1.0) [INFO] [stderr] Adding rtt-target v0.3.1 (latest: v0.5.0) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1515f707c15bd15050691ddc3af3446b99412795ca00c7b2ad97ac1245c6879 [INFO] running `Command { std: "docker" "start" "-a" "a1515f707c15bd15050691ddc3af3446b99412795ca00c7b2ad97ac1245c6879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1515f707c15bd15050691ddc3af3446b99412795ca00c7b2ad97ac1245c6879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1515f707c15bd15050691ddc3af3446b99412795ca00c7b2ad97ac1245c6879", kill_on_drop: false }` [INFO] [stdout] a1515f707c15bd15050691ddc3af3446b99412795ca00c7b2ad97ac1245c6879 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] fc59b616c4a8a94a60a8b833a917bf6f1383d6e6cf685e94ca17c7e74f0fea53 [INFO] running `Command { std: "docker" "start" "-a" "fc59b616c4a8a94a60a8b833a917bf6f1383d6e6cf685e94ca17c7e74f0fea53", 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] Fixed Cargo.toml (3 fixes) [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling bern-arch v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking rtos-trace v0.1.3 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling bern-units v0.1.0 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Checking bern-conf-type v0.2.0 [INFO] [stderr] Checking bern-conf v0.2.0 [INFO] [stderr] Compiling bern-kernel v0.3.0 (/tmp/fixit) [INFO] [stderr] Compiling bern-kernel-macros v0.3.0 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/alloc/pool.rs (3 fixes) [INFO] [stderr] Fixed src/mem/queue/spsc_const.rs (1 fix) [INFO] [stderr] Fixed src/alloc/heap.rs (3 fixes) [INFO] [stderr] Fixed src/exec/thread.rs (1 fix) [INFO] [stderr] Fixed src/mem/linked_list.rs (2 fixes) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/sched/idle.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | data_start: (&__smprocess_default_idle) as *const _ as *const u8, [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] 18 | data_start: addr_of!(__smprocess_default_idle) as *const _ as *const u8, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/sched/idle.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | data_end: (&__emprocess_default_idle) as *const _ as *const u8, [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] 19 | data_end: addr_of!(__emprocess_default_idle) as *const _ as *const u8, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/sched/idle.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | .stack(unsafe { Stack::new(&mut STACK, STACK.len()) }) [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 | .stack(unsafe { Stack::new(addr_of_mut!(STACK), STACK.len()) }) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/alloc/heap.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | HEAP.init_from_slice(&mut HEAP_BUFFER); [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] 204 | HEAP.init_from_slice(addr_of_mut!(HEAP_BUFFER)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/alloc/heap.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | HEAP.init_from_slice(&mut HEAP_BUFFER); [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] 219 | HEAP.init_from_slice(addr_of_mut!(HEAP_BUFFER)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/alloc/heap.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | HEAP.init_from_slice(&mut HEAP_BUFFER); [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] 233 | HEAP.init_from_slice(addr_of_mut!(HEAP_BUFFER)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/sched/idle.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | data_start: (&__smprocess_default_idle) as *const _ as *const u8, [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] 18 | data_start: addr_of!(__smprocess_default_idle) as *const _ as *const u8, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/sched/idle.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | data_end: (&__emprocess_default_idle) as *const _ as *const u8, [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] 19 | data_end: addr_of!(__emprocess_default_idle) as *const _ as *const u8, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/sched/idle.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | .stack(unsafe { Stack::new(&mut STACK, STACK.len()) }) [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 | .stack(unsafe { Stack::new(addr_of_mut!(STACK), STACK.len()) }) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.22s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling bern-kernel v0.3.0 (/tmp/fixit) [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/sched/idle.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | data_start: (&__smprocess_default_idle) as *const _ as *const u8, [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] 18 | data_start: addr_of!(__smprocess_default_idle) as *const _ as *const u8, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/sched/idle.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | data_end: (&__emprocess_default_idle) as *const _ as *const u8, [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] 19 | data_end: addr_of!(__emprocess_default_idle) as *const _ as *const u8, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/sched/idle.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | .stack(unsafe { Stack::new(&mut STACK, STACK.len()) }) [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 | .stack(unsafe { Stack::new(addr_of_mut!(STACK), STACK.len()) }) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/sched/idle.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | data_start: (&__smprocess_default_idle) as *const _ as *const u8, [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] 18 | data_start: addr_of!(__smprocess_default_idle) as *const _ as *const u8, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/sched/idle.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | data_end: (&__emprocess_default_idle) as *const _ as *const u8, [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] 19 | data_end: addr_of!(__emprocess_default_idle) as *const _ as *const u8, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/sched/idle.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | .stack(unsafe { Stack::new(&mut STACK, STACK.len()) }) [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 | .stack(unsafe { Stack::new(addr_of_mut!(STACK), STACK.len()) }) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/alloc/heap.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | HEAP.init_from_slice(&mut HEAP_BUFFER); [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] 204 | HEAP.init_from_slice(addr_of_mut!(HEAP_BUFFER)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/alloc/heap.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | HEAP.init_from_slice(&mut HEAP_BUFFER); [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] 219 | HEAP.init_from_slice(addr_of_mut!(HEAP_BUFFER)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/alloc/heap.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | HEAP.init_from_slice(&mut HEAP_BUFFER); [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] 233 | HEAP.init_from_slice(addr_of_mut!(HEAP_BUFFER)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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 `bern-kernel` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `bern-kernel` (lib) 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" "fc59b616c4a8a94a60a8b833a917bf6f1383d6e6cf685e94ca17c7e74f0fea53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc59b616c4a8a94a60a8b833a917bf6f1383d6e6cf685e94ca17c7e74f0fea53", kill_on_drop: false }` [INFO] [stdout] fc59b616c4a8a94a60a8b833a917bf6f1383d6e6cf685e94ca17c7e74f0fea53