[INFO] cloning repository https://github.com/maebli/waveshare-rp2040-lcd-0-96-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maebli/waveshare-rp2040-lcd-0-96-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaebli%2Fwaveshare-rp2040-lcd-0-96-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaebli%2Fwaveshare-rp2040-lcd-0-96-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4f65629d0f6f129a0e18895b5dcf0cba0f274a5 [INFO] checking maebli/waveshare-rp2040-lcd-0-96-template/c4f65629d0f6f129a0e18895b5dcf0cba0f274a5 against master#3350c1eb3fd8fe1bee1ed4c76944d707bd256876 for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaebli%2Fwaveshare-rp2040-lcd-0-96-template" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maebli/waveshare-rp2040-lcd-0-96-template on toolchain 3350c1eb3fd8fe1bee1ed4c76944d707bd256876 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/maebli/waveshare-rp2040-lcd-0-96-template [INFO] finished tweaking git repo https://github.com/maebli/waveshare-rp2040-lcd-0-96-template [INFO] tweaked toml for git repo https://github.com/maebli/waveshare-rp2040-lcd-0-96-template written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/maebli/waveshare-rp2040-lcd-0-96-template 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" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.cortex-m-rt.optionl [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded st7735-lcd v0.8.1 [INFO] [stderr] Downloaded waveshare-rp2040-lcd-0-96 v0.8.0 [INFO] [stderr] Downloaded rp2040-hal v0.9.2 [INFO] [stderr] Downloaded rp2040-hal v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f775fb5dd949a99483feef307d32efbb04b018d1ffaddcb527715d306c58701 [INFO] running `Command { std: "docker" "start" "-a" "0f775fb5dd949a99483feef307d32efbb04b018d1ffaddcb527715d306c58701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f775fb5dd949a99483feef307d32efbb04b018d1ffaddcb527715d306c58701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f775fb5dd949a99483feef307d32efbb04b018d1ffaddcb527715d306c58701", kill_on_drop: false }` [INFO] [stdout] 0f775fb5dd949a99483feef307d32efbb04b018d1ffaddcb527715d306c58701 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 311ef72973c7f4ed0a80e37c2769f743181b0114a34bc7c4ab400355cdd08390 [INFO] running `Command { std: "docker" "start" "-a" "311ef72973c7f4ed0a80e37c2769f743181b0114a34bc7c4ab400355cdd08390", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.cortex-m-rt.optionl [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling frunk_core v0.4.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Checking critical-section v1.1.3 [INFO] [stderr] Compiling crc-any v2.5.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling rp2040-pac v0.6.0 [INFO] [stderr] Compiling rp2040-boot2 v0.3.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling rp2040-pac v0.5.0 [INFO] [stderr] Checking usb-device v0.3.2 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking bitfield v0.14.0 [INFO] [stderr] Checking micromath v1.1.1 [INFO] [stderr] Checking usb-device v0.2.9 [INFO] [stderr] Checking embedded-graphics-core v0.3.3 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Checking embedded-graphics v0.7.1 [INFO] [stderr] Compiling frunk_derives v0.4.3 [INFO] [stderr] Checking frunk v0.4.3 [INFO] [stderr] Checking st7735-lcd v0.8.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling rp2040-hal-macros v0.1.0 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking pio v0.2.1 [INFO] [stderr] Checking rp2040-hal v0.9.2 [INFO] [stderr] Checking rp2040-hal v0.10.2 [INFO] [stderr] Checking waveshare-rp2040-lcd-0-96 v0.8.0 [INFO] [stderr] Checking waveshare-rp2040-lcd-0-96-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `embedded_graphics::primitives::Line` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use embedded_graphics::primitives::Line; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PrimitiveStyle` [INFO] [stdout] --> src/main.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | primitives::{PrimitiveStyle, PrimitiveStyleBuilder, Rectangle}, [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 variable: `style` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let style = PrimitiveStyleBuilder::new() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/main.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut l: i32 = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut c = Rgb565::RED; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut l: i32 = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut c = Rgb565::RED; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `waveshare-rp2040-lcd-0-96-template` (bin "waveshare-rp2040-lcd-0-96-template") due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `embedded_graphics::primitives::Line` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use embedded_graphics::primitives::Line; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PrimitiveStyle` [INFO] [stdout] --> src/main.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | primitives::{PrimitiveStyle, PrimitiveStyleBuilder, Rectangle}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [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_halt` (which `waveshare_rp2040_lcd_0_96_template` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-b09f8ab056e64272.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3350c1eb3fd8fe1bee1ed4c76944d707bd256876/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5024342751ec4fae.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `waveshare-rp2040-lcd-0-96-template` (bin "waveshare-rp2040-lcd-0-96-template" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "311ef72973c7f4ed0a80e37c2769f743181b0114a34bc7c4ab400355cdd08390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "311ef72973c7f4ed0a80e37c2769f743181b0114a34bc7c4ab400355cdd08390", kill_on_drop: false }` [INFO] [stdout] 311ef72973c7f4ed0a80e37c2769f743181b0114a34bc7c4ab400355cdd08390