[INFO] cloning repository https://github.com/badrobotics/FeRTOS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/badrobotics/FeRTOS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadrobotics%2FFeRTOS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadrobotics%2FFeRTOS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 200943f30a82f4de1e812087003bdec7548cd604 [INFO] checking badrobotics/FeRTOS against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadrobotics%2FFeRTOS" "/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/badrobotics/FeRTOS on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/badrobotics/FeRTOS [INFO] finished tweaking git repo https://github.com/badrobotics/FeRTOS [INFO] tweaked toml for git repo https://github.com/badrobotics/FeRTOS written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages [INFO] [stderr] Adding aligned v0.3.5 (latest: v0.4.2) [INFO] [stderr] Adding as-slice v0.1.5 (latest: v0.2.1) [INFO] [stderr] Adding bare-metal v0.2.5 (latest: v1.0.0) [INFO] [stderr] Adding bitfield v0.13.2 (latest: v0.14.0) [INFO] [stderr] Adding cast v0.2.7 (latest: v0.3.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cortex-m v0.6.7 (latest: v0.7.7) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (latest: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (latest: v0.8.19) [INFO] [stderr] Adding embedded-hal v0.2.7 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.13.3 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding nb v0.1.3 (latest: v1.1.0) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded tm4c-hal v0.4.2 [INFO] [stderr] Downloaded volatile-register v0.2.2 [INFO] [stderr] Downloaded tm4c123x-hal v0.10.3 [INFO] [stderr] Downloaded tm4c129x-hal v0.9.3 [INFO] [stderr] Downloaded cortex-m v0.7.7 [INFO] [stderr] Downloaded cstr_core v0.2.6 [INFO] [stderr] Downloaded tm4c123x v0.9.2 [INFO] [stderr] Downloaded tm4c129x v0.9.2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfd80ac5e2b8ce3f895fe86e94891979b531e1e7dc4a176330358eea213b8392 [INFO] running `Command { std: "docker" "start" "-a" "dfd80ac5e2b8ce3f895fe86e94891979b531e1e7dc4a176330358eea213b8392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfd80ac5e2b8ce3f895fe86e94891979b531e1e7dc4a176330358eea213b8392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfd80ac5e2b8ce3f895fe86e94891979b531e1e7dc4a176330358eea213b8392", kill_on_drop: false }` [INFO] [stdout] dfd80ac5e2b8ce3f895fe86e94891979b531e1e7dc4a176330358eea213b8392 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e2c82c30b4bb5a850ca6b23171e8cf754e84cef91b76b2dfbab92a76d020569 [INFO] running `Command { std: "docker" "start" "-a" "1e2c82c30b4bb5a850ca6b23171e8cf754e84cef91b76b2dfbab92a76d020569", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling tm4c129x v0.9.2 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling tm4c129x-hal v0.9.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling qemu_project v0.1.0 (/opt/rustwide/workdir/examples/qemu_project) [INFO] [stderr] Compiling fertos-project v0.1.0 (/opt/rustwide/workdir/examples/fertos_project) [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking cstr_core v0.2.6 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling fe_osi v0.1.1 (/opt/rustwide/workdir/fe_osi) [INFO] [stderr] Compiling fe_rtos v0.1.1 (/opt/rustwide/workdir/fe_rtos) [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tm4c-hal v0.4.2 [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fe_osi` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: the `#[alloc_error_handler]` in fe_osi conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> fe_rtos/src/interrupt.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / fn panic(panic_info: &PanicInfo<'_>) -> ! { [INFO] [stdout] 45 | | let pid = unsafe { get_cur_task().pid }; [INFO] [stdout] 46 | | [INFO] [stdout] 47 | | unsafe { [INFO] [stdout] ... | [INFO] [stdout] 68 | | loop {} [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/af4a5a13a15fa0c60e06321077ef452f769b42fd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eb900a948ffb2e3b.rlib [INFO] [stdout] = note: second definition in the local crate (`fe_rtos`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: the feature `const_btree_new` has been partially stabilized since 1.66.0 and is succeeded by the feature `const_btree_len` [INFO] [stdout] --> fe_rtos/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_btree_new)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] help: if you are using features which are still unstable, change to using `const_btree_len` [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_btree_len)] [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] help: if you are using features which are now stable, remove this line [INFO] [stdout] | [INFO] [stdout] 2 - #![feature(const_btree_new)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fe_rtos` (lib test) due to 3 previous errors [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/fe_alloc.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | (((&mut _sheap as *mut u8 as usize) + (BLOCK_SIZE - 1)) & !(BLOCK_SIZE - 1)) as *mut u8; [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 171 | (((addr_of_mut!(_sheap) as *mut u8 as usize) + (BLOCK_SIZE - 1)) & !(BLOCK_SIZE - 1)) as *mut u8; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/fe_alloc.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | ((&mut _eheap as *mut u8 as usize) - (FREE_LIST as usize)) & !(BLOCK_SIZE - 1); [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] 173 | ((addr_of_mut!(_eheap) as *mut u8 as usize) - (FREE_LIST as usize)) & !(BLOCK_SIZE - 1); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/interrupt.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let count = &_ebss as *const u8 as usize - &_sbss as *const u8 as usize; [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] 26 | let count = addr_of!(_ebss) as *const u8 as usize - &_sbss as *const u8 as usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/interrupt.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | let count = &_ebss as *const u8 as usize - &_sbss as *const u8 as usize; [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] 26 | let count = &_ebss as *const u8 as usize - addr_of!(_sbss) as *const u8 as usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/interrupt.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | ptr::write_bytes(&mut _sbss as *mut u8, 0, count); [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] 27 | ptr::write_bytes(addr_of_mut!(_sbss) as *mut u8, 0, count); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/interrupt.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let count = &_edata as *const u8 as usize - &_sdata as *const u8 as usize; [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] 29 | let count = addr_of!(_edata) as *const u8 as usize - &_sdata as *const u8 as usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/interrupt.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | let count = &_edata as *const u8 as usize - &_sdata as *const u8 as usize; [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] 29 | let count = &_edata as *const u8 as usize - addr_of!(_sdata) as *const u8 as usize; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/interrupt.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | ptr::copy_nonoverlapping(&_sidata as *const u8, &mut _sdata as *mut u8, count); [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] 30 | ptr::copy_nonoverlapping(&_sidata as *const u8, addr_of_mut!(_sdata) as *mut u8, count); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/task/mod.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | match &mut CUR_TASK { [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] 91 | match addr_of_mut!(CUR_TASK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/task/mod.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | None => &mut PLACEHOLDER_TASK, [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] 93 | None => addr_of_mut!(PLACEHOLDER_TASK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/task/mod.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | match &CUR_TASK { [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] 99 | match addr_of!(CUR_TASK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/task/mod.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | None => &PLACEHOLDER_TASK, [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] 101 | None => addr_of!(PLACEHOLDER_TASK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/task/mod.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | match &NEXT_TASK { [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] 112 | match addr_of!(NEXT_TASK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/task/mod.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | None => &PLACEHOLDER_TASK, [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] 114 | None => addr_of!(PLACEHOLDER_TASK), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/task/mod.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 119 | let default_task = match &KERNEL_TASK { [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] 119 | let default_task = match addr_of!(KERNEL_TASK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> fe_rtos/src/task/mod.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | let count = match &NEXT_TASK { [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] 126 | let count = match addr_of!(NEXT_TASK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sys_tick` is never used [INFO] [stdout] --> fe_rtos/src/task/mod.rs:155:33 [INFO] [stdout] | [INFO] [stdout] 155 | pub(crate) unsafe extern "C" fn sys_tick() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `idle` is never used [INFO] [stdout] --> fe_rtos/src/task/mod.rs:432:15 [INFO] [stdout] | [INFO] [stdout] 432 | pub(crate) fn idle() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inc` is never used [INFO] [stdout] --> fe_rtos/src/task/tick.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TickCounter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn inc(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1e2c82c30b4bb5a850ca6b23171e8cf754e84cef91b76b2dfbab92a76d020569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e2c82c30b4bb5a850ca6b23171e8cf754e84cef91b76b2dfbab92a76d020569", kill_on_drop: false }` [INFO] [stdout] 1e2c82c30b4bb5a850ca6b23171e8cf754e84cef91b76b2dfbab92a76d020569