[INFO] cloning repository https://github.com/Lukas-Sturm/Marco-Proto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lukas-Sturm/Marco-Proto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukas-Sturm%2FMarco-Proto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukas-Sturm%2FMarco-Proto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d943a24dce3688836be6b039e13c851f0e81257 [INFO] checking Lukas-Sturm/Marco-Proto/7d943a24dce3688836be6b039e13c851f0e81257 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukas-Sturm%2FMarco-Proto" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lukas-Sturm/Marco-Proto 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-2-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/Lukas-Sturm/Marco-Proto [INFO] finished tweaking git repo https://github.com/Lukas-Sturm/Marco-Proto [INFO] tweaked toml for git repo https://github.com/Lukas-Sturm/Marco-Proto written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Lukas-Sturm/Marco-Proto 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 git repository `https://github.com/Lukas-Sturm/ssd1351` [INFO] [stderr] Updating git repository `https://github.com/stm32-rs/stm32f4xx-hal` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded usb-device v0.2.7 [INFO] [stderr] Downloaded rtcc v0.2.0 [INFO] [stderr] Downloaded rtt-target v0.3.0 [INFO] [stderr] Downloaded synopsys-usb-otg v0.2.4 [INFO] [stderr] Downloaded cortex-m v0.7.1 [INFO] [stderr] Downloaded stm32f4 v0.11.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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3efc1a539fb753c125a021a59c794ae540b67dc927e824c8c6239ced1dcf29a [INFO] running `Command { std: "docker" "start" "-a" "c3efc1a539fb753c125a021a59c794ae540b67dc927e824c8c6239ced1dcf29a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3efc1a539fb753c125a021a59c794ae540b67dc927e824c8c6239ced1dcf29a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3efc1a539fb753c125a021a59c794ae540b67dc927e824c8c6239ced1dcf29a", kill_on_drop: false }` [INFO] [stdout] c3efc1a539fb753c125a021a59c794ae540b67dc927e824c8c6239ced1dcf29a [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1f39ca038517b2f3b3eedf34dd183c10f2ef0325045220d6ad3ac471f34af1e [INFO] running `Command { std: "docker" "start" "-a" "b1f39ca038517b2f3b3eedf34dd183c10f2ef0325045220d6ad3ac471f34af1e", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cortex-m v0.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking usb-device v0.2.7 [INFO] [stderr] Compiling synopsys-usb-otg v0.2.4 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking embedded-dma v0.1.2 [INFO] [stderr] Checking embedded-graphics v0.6.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking usbd-serial v0.1.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking ssd1351 v0.3.0 (https://github.com/Lukas-Sturm/ssd1351#cd20cd1e) [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking rtt-target v0.3.0 [INFO] [stderr] Checking rtcc v0.2.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking stm32f4xx-hal v0.8.3 (https://github.com/stm32-rs/stm32f4xx-hal#5dcf835f) [INFO] [stderr] Checking proto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Font12x16`, `Font6x6`, and `Text` [INFO] [stdout] --> examples/ssd1351.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | use embedded_graphics::fonts::{Font12x16, Font6x6, Text}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::pixelcolor::raw::RawU16` [INFO] [stdout] --> examples/ssd1351.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use embedded_graphics::pixelcolor::raw::RawU16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::style::TextStyle` [INFO] [stdout] --> examples/ssd1351.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use embedded_graphics::style::TextStyle; [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] warning: unused import: `prelude::*` [INFO] [stdout] --> examples/ssd1351.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | pixelcolor::Rgb565, prelude::*, primitive_style, text_style, [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] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:303:1 [INFO] [stdout] | [INFO] [stdout] 303 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 304 | | rprintln!("{}", info); [INFO] [stdout] 305 | | loop {} // You might need a compiler fence in here. [INFO] [stdout] 306 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e0ee872a6f64065a.rlib [INFO] [stdout] = note: second definition in the local crate (`proto`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `proto` (example "motor") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [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] [stderr] error: could not compile `proto` (bin "proto" test) due to 2 previous errors [INFO] [stderr] error: could not compile `proto` (example "ssd1351") due to 2 previous errors; 4 warnings emitted [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:135:41 [INFO] [stdout] | [INFO] [stdout] 135 | USB_BUS = Some(UsbBus::new(usb, &mut USB_BUF )); [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] 135 | USB_BUS = Some(UsbBus::new(usb, addr_of_mut!(USB_BUF) )); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::prelude` [INFO] [stdout] --> src/display.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use embedded_graphics::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `proto` (bin "proto") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b1f39ca038517b2f3b3eedf34dd183c10f2ef0325045220d6ad3ac471f34af1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1f39ca038517b2f3b3eedf34dd183c10f2ef0325045220d6ad3ac471f34af1e", kill_on_drop: false }` [INFO] [stdout] b1f39ca038517b2f3b3eedf34dd183c10f2ef0325045220d6ad3ac471f34af1e