[INFO] cloning repository https://github.com/AirborneEngineering/blethrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AirborneEngineering/blethrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAirborneEngineering%2Fblethrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAirborneEngineering%2Fblethrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3851267ecea56179aeaf4ec485609b7fcbcf1a5c [INFO] checking AirborneEngineering/blethrs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAirborneEngineering%2Fblethrs" "/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/AirborneEngineering/blethrs 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-3-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/AirborneEngineering/blethrs [INFO] finished tweaking git repo https://github.com/AirborneEngineering/blethrs [INFO] tweaked toml for git repo https://github.com/AirborneEngineering/blethrs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AirborneEngineering/blethrs 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ufmt-macros v0.1.1 [INFO] [stderr] Downloaded built v0.4.0 [INFO] [stderr] Downloaded cargo-lock v4.0.1 [INFO] [stderr] Downloaded smoltcp v0.6.0 [INFO] [stderr] Downloaded ufmt v0.1.0 [INFO] [stderr] Downloaded managed v0.7.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9070c95ab450bda4288c9b92b30bf635f68e372073b4a996d09fc29febb75b27 [INFO] running `Command { std: "docker" "start" "-a" "9070c95ab450bda4288c9b92b30bf635f68e372073b4a996d09fc29febb75b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9070c95ab450bda4288c9b92b30bf635f68e372073b4a996d09fc29febb75b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9070c95ab450bda4288c9b92b30bf635f68e372073b4a996d09fc29febb75b27", kill_on_drop: false }` [INFO] [stdout] 9070c95ab450bda4288c9b92b30bf635f68e372073b4a996d09fc29febb75b27 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0db1c382767b0d30b2d69dbecb8d8830398bb5ab973cfa9933b058de49d4a72d [INFO] running `Command { std: "docker" "start" "-a" "0db1c382767b0d30b2d69dbecb8d8830398bb5ab973cfa9933b058de49d4a72d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Compiling stm32f4 v0.10.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking managed v0.7.1 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libgit2-sys v0.10.0 [INFO] [stderr] Checking smoltcp v0.6.0 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Compiling git2 v0.11.0 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cargo-lock v4.0.1 [INFO] [stderr] Compiling built v0.4.0 [INFO] [stderr] Compiling blethrs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `core` is imported redundantly [INFO] [stdout] --> src/ethernet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ the item `core` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cortex_m` is imported redundantly [INFO] [stdout] --> src/ethernet.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cortex_m; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate cortex_m; [INFO] [stdout] | ---------------------- the item `cortex_m` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `smoltcp` is imported redundantly [INFO] [stdout] --> src/ethernet.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use smoltcp::{self, phy::{self, DeviceCapabilities}, time::Instant, wire::EthernetAddress}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate smoltcp; [INFO] [stdout] | --------------------- the item `smoltcp` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `smoltcp` is imported redundantly [INFO] [stdout] --> src/network.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use smoltcp; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate smoltcp; [INFO] [stdout] | --------------------- the item `smoltcp` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cortex_m` is imported redundantly [INFO] [stdout] --> src/network.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cortex_m; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate cortex_m; [INFO] [stdout] | ---------------------- the item `cortex_m` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `core` is imported redundantly [INFO] [stdout] --> src/flash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ the item `core` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `core` is imported redundantly [INFO] [stdout] --> src/bootload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ the item `core` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cortex_m` is imported redundantly [INFO] [stdout] --> src/bootload.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cortex_m; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate cortex_m; [INFO] [stdout] | ---------------------- the item `cortex_m` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `core` is imported redundantly [INFO] [stdout] --> src/ethernet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ the item `core` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cortex_m` is imported redundantly [INFO] [stdout] --> src/ethernet.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cortex_m; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate cortex_m; [INFO] [stdout] | ---------------------- the item `cortex_m` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `smoltcp` is imported redundantly [INFO] [stdout] --> src/ethernet.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use smoltcp::{self, phy::{self, DeviceCapabilities}, time::Instant, wire::EthernetAddress}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate smoltcp; [INFO] [stdout] | --------------------- the item `smoltcp` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `smoltcp` is imported redundantly [INFO] [stdout] --> src/network.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use smoltcp; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate smoltcp; [INFO] [stdout] | --------------------- the item `smoltcp` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cortex_m` is imported redundantly [INFO] [stdout] --> src/network.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cortex_m; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate cortex_m; [INFO] [stdout] | ---------------------- the item `cortex_m` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `core` is imported redundantly [INFO] [stdout] --> src/flash.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ the item `core` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `core` is imported redundantly [INFO] [stdout] --> src/bootload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ the item `core` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cortex_m` is imported redundantly [INFO] [stdout] --> src/bootload.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cortex_m; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate cortex_m; [INFO] [stdout] | ---------------------- the item `cortex_m` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_halt` (which `blethrs` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-d4b2984cf0ecee47.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/af4a5a13a15fa0c60e06321077ef452f769b42fd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eb900a948ffb2e3b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blethrs` (bin "blethrs" test) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ethernet.rs:236:38 [INFO] [stdout] | [INFO] [stdout] 236 | EthernetDevice { rdring: &mut RDESRING, tdring: &mut TDESRING, eth_mac, eth_dma } [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] 236 | EthernetDevice { rdring: addr_of_mut!(RDESRING), tdring: &mut TDESRING, eth_mac, eth_dma } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ethernet.rs:236:61 [INFO] [stdout] | [INFO] [stdout] 236 | EthernetDevice { rdring: &mut RDESRING, tdring: &mut TDESRING, eth_mac, eth_dma } [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] 236 | EthernetDevice { rdring: &mut RDESRING, tdring: addr_of_mut!(TDESRING), eth_mac, eth_dma } [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> src/bootload.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | USER_RESET = Some(core::mem::transmute(rv)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `u32` (32 bits) [INFO] [stdout] = note: target type: `extern "C" fn()` (64 bits) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:224:51 [INFO] [stdout] | [INFO] [stdout] 224 | let ticks = unsafe { core::ptr::read_volatile(&SYSTICK_TICKS) + 1 }; [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] 224 | let ticks = unsafe { core::ptr::read_volatile(addr_of!(SYSTICK_TICKS)) + 1 }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:225:40 [INFO] [stdout] | [INFO] [stdout] 225 | unsafe { core::ptr::write_volatile(&mut SYSTICK_TICKS, ticks) }; [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] 225 | unsafe { core::ptr::write_volatile(addr_of_mut!(SYSTICK_TICKS), ticks) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:227:45 [INFO] [stdout] | [INFO] [stdout] 227 | match unsafe { core::ptr::read_volatile(&SYSTICK_RESET_AT) } { [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] 227 | match unsafe { core::ptr::read_volatile(addr_of!(SYSTICK_RESET_AT)) } { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:239:46 [INFO] [stdout] | [INFO] [stdout] 239 | let ticks = core::ptr::read_volatile(&SYSTICK_TICKS) + delay; [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] 239 | let ticks = core::ptr::read_volatile(addr_of!(SYSTICK_TICKS)) + delay; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:240:35 [INFO] [stdout] | [INFO] [stdout] 240 | core::ptr::write_volatile(&mut SYSTICK_RESET_AT, Some(ticks)); [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] 240 | core::ptr::write_volatile(addr_of_mut!(SYSTICK_RESET_AT), Some(ticks)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0512`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blethrs` (bin "blethrs") due to 3 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0db1c382767b0d30b2d69dbecb8d8830398bb5ab973cfa9933b058de49d4a72d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0db1c382767b0d30b2d69dbecb8d8830398bb5ab973cfa9933b058de49d4a72d", kill_on_drop: false }` [INFO] [stdout] 0db1c382767b0d30b2d69dbecb8d8830398bb5ab973cfa9933b058de49d4a72d