[INFO] fetching crate px4flow_bsp 0.2.0... [INFO] checking px4flow_bsp-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate px4flow_bsp 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate px4flow_bsp 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rtt-target v0.1.1 [INFO] [stderr] Downloaded cortex-m v0.5.10 [INFO] [stderr] Downloaded panic-rtt-core v0.1.1 [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded eeprom24x v0.3.0 [INFO] [stderr] Downloaded stm32f4xx-hal v0.8.3 [INFO] [stderr] Downloaded shared-bus v0.1.4 [INFO] [stderr] Downloaded mt9v034-i2c v0.1.5 [INFO] [stderr] Downloaded stm32f4 v0.11.0 [INFO] [stderr] Downloaded l3gd20 v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b0f358c57e969f05d6f5c476799841a405fc59c1d81abfb93b108e46df896d3 [INFO] running `Command { std: "docker" "start" "-a" "5b0f358c57e969f05d6f5c476799841a405fc59c1d81abfb93b108e46df896d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b0f358c57e969f05d6f5c476799841a405fc59c1d81abfb93b108e46df896d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b0f358c57e969f05d6f5c476799841a405fc59c1d81abfb93b108e46df896d3", kill_on_drop: false }` [INFO] [stdout] 5b0f358c57e969f05d6f5c476799841a405fc59c1d81abfb93b108e46df896d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48887dedd7a618a0f961da5613e80f433fadbe57bb5e785af2776864f511bf23 [INFO] running `Command { std: "docker" "start" "-a" "48887dedd7a618a0f961da5613e80f433fadbe57bb5e785af2776864f511bf23", 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] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling px4flow_bsp v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking mt9v034-i2c v0.1.5 [INFO] [stderr] Checking l3gd20 v0.3.0 [INFO] [stderr] Checking eeprom24x v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking rtt-target v0.1.1 [INFO] [stderr] Checking shared-bus v0.1.4 [INFO] [stderr] Checking panic-rtt-core v0.1.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking 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)]` 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] 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)]` 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] [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] [stderr] error: could not compile `px4flow_bsp` (example "play") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "48887dedd7a618a0f961da5613e80f433fadbe57bb5e785af2776864f511bf23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48887dedd7a618a0f961da5613e80f433fadbe57bb5e785af2776864f511bf23", kill_on_drop: false }` [INFO] [stdout] 48887dedd7a618a0f961da5613e80f433fadbe57bb5e785af2776864f511bf23