[INFO] fetching crate px4flow_bsp 0.2.0... [INFO] testing px4flow_bsp-0.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate px4flow_bsp 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] removed /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate px4flow_bsp 0.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded volatile-register v0.2.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.8 [INFO] [stderr] Downloaded vcell v0.1.2 [INFO] [stderr] Downloaded cortex-m-rt v0.6.12 [INFO] [stderr] Downloaded panic-rtt-core v0.1.1 [INFO] [stderr] Downloaded shared-bus v0.1.4 [INFO] [stderr] Downloaded as-slice v0.1.3 [INFO] [stderr] Downloaded aligned v0.3.2 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded cortex-m v0.6.3 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded cortex-m v0.5.10 [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded generic-array v0.13.2 [INFO] [stderr] Downloaded aligned v0.2.0 [INFO] [stderr] Downloaded generic-array v0.12.3 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded stm32f4xx-hal v0.8.3 [INFO] [stderr] Downloaded syn v1.0.35 [INFO] [stderr] Downloaded mt9v034-i2c v0.1.5 [INFO] [stderr] Downloaded eeprom24x v0.3.0 [INFO] [stderr] Downloaded rtt-target v0.1.1 [INFO] [stderr] Downloaded l3gd20 v0.3.0 [INFO] [stderr] Downloaded stm32f4 v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 764f4d7ced5191be55d040ac4ee98836a96e4a6dface0ded01cf1dc8dce7c689 [INFO] running `Command { std: "docker" "start" "-a" "764f4d7ced5191be55d040ac4ee98836a96e4a6dface0ded01cf1dc8dce7c689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "764f4d7ced5191be55d040ac4ee98836a96e4a6dface0ded01cf1dc8dce7c689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "764f4d7ced5191be55d040ac4ee98836a96e4a6dface0ded01cf1dc8dce7c689", kill_on_drop: false }` [INFO] [stdout] 764f4d7ced5191be55d040ac4ee98836a96e4a6dface0ded01cf1dc8dce7c689 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a164d851d6a1a87bbf24f30562afd5febb7b627adb90baff6822d96e6412237f [INFO] running `Command { std: "docker" "start" "-a" "a164d851d6a1a87bbf24f30562afd5febb7b627adb90baff6822d96e6412237f", kill_on_drop: false }` [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 nb v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling vcell v0.1.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Compiling aligned v0.2.0 [INFO] [stderr] Compiling px4flow_bsp v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling mt9v034-i2c v0.1.5 [INFO] [stderr] Compiling l3gd20 v0.3.0 [INFO] [stderr] Compiling eeprom24x v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling generic-array v0.13.2 [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 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 32.27s [INFO] running `Command { std: "docker" "inspect" "a164d851d6a1a87bbf24f30562afd5febb7b627adb90baff6822d96e6412237f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a164d851d6a1a87bbf24f30562afd5febb7b627adb90baff6822d96e6412237f", kill_on_drop: false }` [INFO] [stdout] a164d851d6a1a87bbf24f30562afd5febb7b627adb90baff6822d96e6412237f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a043b6560d698f61c1f30e46db11de037e6bd6e330dc660508b2c494e4c93280 [INFO] running `Command { std: "docker" "start" "-a" "a043b6560d698f61c1f30e46db11de037e6bd6e330dc660508b2c494e4c93280", 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] [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] 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" "a043b6560d698f61c1f30e46db11de037e6bd6e330dc660508b2c494e4c93280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a043b6560d698f61c1f30e46db11de037e6bd6e330dc660508b2c494e4c93280", kill_on_drop: false }` [INFO] [stdout] a043b6560d698f61c1f30e46db11de037e6bd6e330dc660508b2c494e4c93280