[INFO] fetching crate px4flow_bsp 0.2.0... [INFO] testing px4flow_bsp-0.2.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate px4flow_bsp 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate px4flow_bsp 0.2.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e7df67c6c2753cce292bcfc9b247703e5494a9c5118a85c3c2aa0d8a33cb44a [INFO] running `Command { std: "docker" "start" "-a" "4e7df67c6c2753cce292bcfc9b247703e5494a9c5118a85c3c2aa0d8a33cb44a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e7df67c6c2753cce292bcfc9b247703e5494a9c5118a85c3c2aa0d8a33cb44a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e7df67c6c2753cce292bcfc9b247703e5494a9c5118a85c3c2aa0d8a33cb44a", kill_on_drop: false }` [INFO] [stdout] 4e7df67c6c2753cce292bcfc9b247703e5494a9c5118a85c3c2aa0d8a33cb44a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d3c9aa9775262533bfbe4e995d5527669ddba6d61203007a0f307c4c8619c36 [INFO] running `Command { std: "docker" "start" "-a" "2d3c9aa9775262533bfbe4e995d5527669ddba6d61203007a0f307c4c8619c36", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Compiling aligned v0.3.2 [INFO] [stderr] Compiling px4flow_bsp v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling eeprom24x v0.3.0 [INFO] [stderr] Compiling cortex-m v0.6.3 [INFO] [stderr] Compiling mt9v034-i2c v0.1.5 [INFO] [stderr] Compiling l3gd20 v0.3.0 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Compiling shared-bus v0.1.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling stm32f4xx-hal v0.8.3 [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.09s [INFO] running `Command { std: "docker" "inspect" "2d3c9aa9775262533bfbe4e995d5527669ddba6d61203007a0f307c4c8619c36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d3c9aa9775262533bfbe4e995d5527669ddba6d61203007a0f307c4c8619c36", kill_on_drop: false }` [INFO] [stdout] 2d3c9aa9775262533bfbe4e995d5527669ddba6d61203007a0f307c4c8619c36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9de0c2743f90b39843378aef6af67632954ad2dfb02629387358e8ac468bb8a7 [INFO] running `Command { std: "docker" "start" "-a" "9de0c2743f90b39843378aef6af67632954ad2dfb02629387358e8ac468bb8a7", kill_on_drop: false }` [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [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] 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] [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] [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 "play") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "9de0c2743f90b39843378aef6af67632954ad2dfb02629387358e8ac468bb8a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9de0c2743f90b39843378aef6af67632954ad2dfb02629387358e8ac468bb8a7", kill_on_drop: false }` [INFO] [stdout] 9de0c2743f90b39843378aef6af67632954ad2dfb02629387358e8ac468bb8a7