[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/200943f30a82f4de1e812087003bdec7548cd604 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadrobotics%2FFeRTOS" "/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/badrobotics/FeRTOS on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 41 packages to latest compatible versions [INFO] [stderr] Adding aligned v0.3.5 (available: v0.4.2) [INFO] [stderr] Adding as-slice v0.1.5 (available: v0.2.1) [INFO] [stderr] Adding bare-metal v0.2.5 (available: v1.0.0) [INFO] [stderr] Adding bitfield v0.13.2 (available: v0.17.0) [INFO] [stderr] Adding cast v0.2.7 (available: v0.3.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding cortex-m v0.6.7 (available: v0.7.7) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (available: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (available: v0.8.20) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding generic-array v0.12.4 (available: v1.1.0) [INFO] [stderr] Adding generic-array v0.13.3 (available: v1.1.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 tm4c129x-hal v0.9.3 [INFO] [stderr] Downloaded tm4c123x-hal v0.10.3 [INFO] [stderr] Downloaded cast v0.2.7 [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded tm4c-hal v0.4.2 [INFO] [stderr] Downloaded aligned v0.3.5 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded cstr_core v0.2.6 [INFO] [stderr] Downloaded volatile-register v0.2.2 [INFO] [stderr] Downloaded cortex-m v0.7.7 [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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1c26bc5d5b4a7ddfb82e633c87cfe4df9c4af5abf039b50287264fb2a8f69a3 [INFO] running `Command { std: "docker" "start" "-a" "c1c26bc5d5b4a7ddfb82e633c87cfe4df9c4af5abf039b50287264fb2a8f69a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1c26bc5d5b4a7ddfb82e633c87cfe4df9c4af5abf039b50287264fb2a8f69a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c26bc5d5b4a7ddfb82e633c87cfe4df9c4af5abf039b50287264fb2a8f69a3", kill_on_drop: false }` [INFO] [stdout] c1c26bc5d5b4a7ddfb82e633c87cfe4df9c4af5abf039b50287264fb2a8f69a3 [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=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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e734e2346add430d8f34f0c20041223f411c68bf4462cf774a96ae9917f00aa3 [INFO] running `Command { std: "docker" "start" "-a" "e734e2346add430d8f34f0c20041223f411c68bf4462cf774a96ae9917f00aa3", 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 shlex v1.3.0 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [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 lazy_static v1.5.0 [INFO] [stderr] Compiling qemu_project v0.1.0 (/opt/rustwide/workdir/examples/qemu_project) [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Compiling tm4c129x-hal v0.9.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling fertos-project v0.1.0 (/opt/rustwide/workdir/examples/fertos_project) [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking cstr_core v0.2.6 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tm4c-hal v0.4.2 [INFO] [stderr] Checking aligned v0.3.5 [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] [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/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e0ee872a6f64065a.rlib [INFO] [stdout] = note: second definition in the local crate (`fe_rtos`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> fe_rtos/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [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] 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] [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] [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] error[E0308]: mismatched types [INFO] [stdout] --> fe_rtos/src/interrupt.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if let Some(msg) = panic_info.message() { [INFO] [stdout] | ^^^^^^^^^ -------------------- this expression has type `PanicMessage<'_>` [INFO] [stdout] | | [INFO] [stdout] | expected `PanicMessage<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PanicMessage<'_>` [INFO] [stdout] found enum `Option<_>` [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] error: aborting due to 1 previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fe_rtos` (lib) due to 2 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e734e2346add430d8f34f0c20041223f411c68bf4462cf774a96ae9917f00aa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e734e2346add430d8f34f0c20041223f411c68bf4462cf774a96ae9917f00aa3", kill_on_drop: false }` [INFO] [stdout] e734e2346add430d8f34f0c20041223f411c68bf4462cf774a96ae9917f00aa3