[INFO] fetching crate sdvx-controller-firmware 1.2.0... [INFO] checking sdvx-controller-firmware-1.2.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate sdvx-controller-firmware 1.2.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate sdvx-controller-firmware 1.2.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate sdvx-controller-firmware 1.2.0 [INFO] finished tweaking crates.io crate sdvx-controller-firmware 1.2.0 [INFO] tweaked toml for crates.io crate sdvx-controller-firmware 1.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate sdvx-controller-firmware 1.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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded usbd-hid-descriptors v0.1.1 [INFO] [stderr] Downloaded usbd-hid-macros v0.5.2 [INFO] [stderr] Downloaded cortex-m v0.7.3 [INFO] [stderr] Downloaded rotary-encoder-hal v0.3.0 [INFO] [stderr] Downloaded cast v0.2.6 [INFO] [stderr] Downloaded stm32-usbd v0.5.1 [INFO] [stderr] Downloaded embedded-hal v0.2.6 [INFO] [stderr] Downloaded usb-device v0.2.8 [INFO] [stderr] Downloaded usbd-hid v0.5.2 [INFO] [stderr] Downloaded embedded-dma v0.1.2 [INFO] [stderr] Downloaded stm32f1xx-hal v0.7.0 [INFO] [stderr] Downloaded stm32f1 v0.11.0 [INFO] [stderr] Downloaded panic-reset v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2674cb5d9e7c4a8f1ed306b15e882a01b1ef9a2376583cec872037eca12a2ead [INFO] running `Command { std: "docker" "start" "-a" "2674cb5d9e7c4a8f1ed306b15e882a01b1ef9a2376583cec872037eca12a2ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2674cb5d9e7c4a8f1ed306b15e882a01b1ef9a2376583cec872037eca12a2ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2674cb5d9e7c4a8f1ed306b15e882a01b1ef9a2376583cec872037eca12a2ead", kill_on_drop: false }` [INFO] [stdout] 2674cb5d9e7c4a8f1ed306b15e882a01b1ef9a2376583cec872037eca12a2ead [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6389e1c0eadc2f38d6ae594fea495287eb049d0eeefc64905e728fcbf8db200e [INFO] running `Command { std: "docker" "start" "-a" "6389e1c0eadc2f38d6ae594fea495287eb049d0eeefc64905e728fcbf8db200e", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking usb-device v0.2.8 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling stm32-usbd v0.5.1 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rotary-encoder-hal v0.3.0 [INFO] [stderr] Compiling usbd-hid-descriptors v0.1.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking panic-reset v0.1.0 [INFO] [stderr] Checking ssmarshal v1.0.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Compiling usbd-hid-macros v0.5.2 [INFO] [stderr] Checking usbd-hid v0.5.2 [INFO] [stderr] Checking stm32f1xx-hal v0.7.0 [INFO] [stderr] Checking sdvx-controller-firmware v1.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] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_reset` (which `sdvx_controller_firmware` depends on) [INFO] [stdout] = note: first definition in `panic_reset` loaded from /opt/rustwide/target/debug/deps/libpanic_reset-3b273ae0cfb6e8ca.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e0ee872a6f64065a.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/sdvx_bcm.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | let led_brightness = unsafe { &mut BCM_LED_BRIGHTNESS }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 74 | let led_brightness = unsafe { addr_of_mut!(BCM_LED_BRIGHTNESS) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdvx-controller-firmware` (bin "sdvx-controller-firmware" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/sdvx_bcm.rs:114:45 [INFO] [stdout] | [INFO] [stdout] 114 | let bcm_current_frequency_hz = unsafe { &mut BCM_CURRENT_FREQUENCY_HZ }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 114 | let bcm_current_frequency_hz = unsafe { addr_of_mut!(BCM_CURRENT_FREQUENCY_HZ) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/sdvx_bcm.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | let bcm_current_bitmask = unsafe { &mut BCM_CURRENT_BITMASK }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 115 | let bcm_current_bitmask = unsafe { addr_of_mut!(BCM_CURRENT_BITMASK) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/sdvx_bcm.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | let bcm_led_brightness = unsafe { &BCM_LED_BRIGHTNESS }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 117 | let bcm_led_brightness = unsafe { addr_of!(BCM_LED_BRIGHTNESS) }; [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdvx-controller-firmware` (bin "sdvx-controller-firmware") due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6389e1c0eadc2f38d6ae594fea495287eb049d0eeefc64905e728fcbf8db200e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6389e1c0eadc2f38d6ae594fea495287eb049d0eeefc64905e728fcbf8db200e", kill_on_drop: false }` [INFO] [stdout] 6389e1c0eadc2f38d6ae594fea495287eb049d0eeefc64905e728fcbf8db200e