[INFO] fetching crate px4flow_bsp 0.2.0... [INFO] building px4flow_bsp-0.2.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate px4flow_bsp 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking crates.io crate px4flow_bsp 0.2.0 [INFO] finished tweaking crates.io crate px4flow_bsp 0.2.0 [INFO] tweaked toml for crates.io crate px4flow_bsp 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate px4flow_bsp 0.2.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate px4flow_bsp 0.2.0 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fd6cfa1197953c5cc5cc898813b729b953548a228fd825f2fc04f0cccc00d5a [INFO] running `Command { std: "docker" "start" "-a" "9fd6cfa1197953c5cc5cc898813b729b953548a228fd825f2fc04f0cccc00d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fd6cfa1197953c5cc5cc898813b729b953548a228fd825f2fc04f0cccc00d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd6cfa1197953c5cc5cc898813b729b953548a228fd825f2fc04f0cccc00d5a", kill_on_drop: false }` [INFO] [stdout] 9fd6cfa1197953c5cc5cc898813b729b953548a228fd825f2fc04f0cccc00d5a [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9bf00e5327e21e1d59dccee780b18ddffdfdf36db9ab700c85e326fc91773d6 [INFO] running `Command { std: "docker" "start" "-a" "b9bf00e5327e21e1d59dccee780b18ddffdfdf36db9ab700c85e326fc91773d6", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling cortex-m v0.6.3 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling px4flow_bsp v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mt9v034-i2c v0.1.5 [INFO] [stderr] Compiling eeprom24x v0.3.0 [INFO] [stderr] Compiling l3gd20 v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling as-slice v0.1.3 [INFO] [stderr] Compiling aligned v0.3.2 [INFO] [stderr] Compiling shared-bus v0.1.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling stm32f4xx-hal v0.8.3 [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dcmi.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | let buf0_addr = unsafe { (&IMG_BUF0 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 100 | let buf0_addr = unsafe { (&raw const IMG_BUF0 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dcmi.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | let buf1_addr = unsafe { (&IMG_BUF1 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 101 | let buf1_addr = unsafe { (&raw const IMG_BUF1 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dcmi.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | let buf2_addr = unsafe { (&IMG_BUF2 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 102 | let buf2_addr = unsafe { (&raw const IMG_BUF2 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dcmi.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 123 | [&raw mut IMG_BUF0, &mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dcmi.rs:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &raw mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dcmi.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &mut IMG_BUF1, &raw mut IMG_BUF2] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/board.rs:78:52 [INFO] [stdout] | [INFO] [stdout] 78 | let mut stopwatch = dwt.stopwatch(unsafe { &mut STOPWATCH_BUF }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 78 | let mut stopwatch = dwt.stopwatch(unsafe { &raw mut STOPWATCH_BUF }); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.24s [INFO] running `Command { std: "docker" "inspect" "b9bf00e5327e21e1d59dccee780b18ddffdfdf36db9ab700c85e326fc91773d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9bf00e5327e21e1d59dccee780b18ddffdfdf36db9ab700c85e326fc91773d6", kill_on_drop: false }` [INFO] [stdout] b9bf00e5327e21e1d59dccee780b18ddffdfdf36db9ab700c85e326fc91773d6 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36024cfdc45d96c6c972a544cc71252195a3696b5c75ae660a0a0ec126e553f8 [INFO] running `Command { std: "docker" "start" "-a" "36024cfdc45d96c6c972a544cc71252195a3696b5c75ae660a0a0ec126e553f8", kill_on_drop: false }` [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dcmi.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | let buf0_addr = unsafe { (&IMG_BUF0 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 100 | let buf0_addr = unsafe { (&raw const IMG_BUF0 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dcmi.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | let buf1_addr = unsafe { (&IMG_BUF1 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 101 | let buf1_addr = unsafe { (&raw const IMG_BUF1 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dcmi.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | let buf2_addr = unsafe { (&IMG_BUF2 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 102 | let buf2_addr = unsafe { (&raw const IMG_BUF2 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dcmi.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 123 | [&raw mut IMG_BUF0, &mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dcmi.rs:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &raw mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dcmi.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &mut IMG_BUF1, &raw mut IMG_BUF2] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/board.rs:78:52 [INFO] [stdout] | [INFO] [stdout] 78 | let mut stopwatch = dwt.stopwatch(unsafe { &mut STOPWATCH_BUF }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 78 | let mut stopwatch = dwt.stopwatch(unsafe { &raw mut STOPWATCH_BUF }); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rtt-target v0.1.1 [INFO] [stderr] Compiling panic-rtt-core v0.1.1 [INFO] [stderr] Compiling px4flow_bsp v0.2.0 (/opt/rustwide/workdir) [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] [stderr] error: could not compile `px4flow_bsp` (example "gyro") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/board.rs:78:52 [INFO] [stdout] | [INFO] [stdout] 78 | let mut stopwatch = dwt.stopwatch(unsafe { &mut STOPWATCH_BUF }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 78 | let mut stopwatch = dwt.stopwatch(unsafe { &raw mut STOPWATCH_BUF }); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dcmi.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | let buf0_addr = unsafe { (&IMG_BUF0 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 100 | let buf0_addr = unsafe { (&raw const IMG_BUF0 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dcmi.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | let buf1_addr = unsafe { (&IMG_BUF1 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 101 | let buf1_addr = unsafe { (&raw const IMG_BUF1 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/dcmi.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | let buf2_addr = unsafe { (&IMG_BUF2 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 102 | let buf2_addr = unsafe { (&raw const IMG_BUF2 as *const ImageFrameBuf) } as u32; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dcmi.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 123 | [&raw mut IMG_BUF0, &mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dcmi.rs:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &raw mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/dcmi.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &mut IMG_BUF1, &mut IMG_BUF2] [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 123 | [&mut IMG_BUF0, &mut IMG_BUF1, &raw mut IMG_BUF2] [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `px4flow_bsp` (example "play") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "36024cfdc45d96c6c972a544cc71252195a3696b5c75ae660a0a0ec126e553f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36024cfdc45d96c6c972a544cc71252195a3696b5c75ae660a0a0ec126e553f8", kill_on_drop: false }` [INFO] [stdout] 36024cfdc45d96c6c972a544cc71252195a3696b5c75ae660a0a0ec126e553f8