[INFO] cloning repository https://github.com/utt-d/rust-project-for-CH32V [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/utt-d/rust-project-for-CH32V" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futt-d%2Frust-project-for-CH32V", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futt-d%2Frust-project-for-CH32V'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 19c58017ddd4af6d2b11fc8ee8ac736f682a7a0f [INFO] checking utt-d/rust-project-for-CH32V against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Futt-d%2Frust-project-for-CH32V" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/utt-d/rust-project-for-CH32V [INFO] finished tweaking git repo https://github.com/utt-d/rust-project-for-CH32V [INFO] tweaked toml for git repo https://github.com/utt-d/rust-project-for-CH32V written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/utt-d/rust-project-for-CH32V on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/utt-d/rust-project-for-CH32V 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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/9names/riscv-rt` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.87 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded riscv v0.10.1 [INFO] [stderr] Downloaded critical-section v1.1.3 [INFO] [stderr] Downloaded ch32-metapac v0.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f0bcc9fe016c0461b74bfcfbfdda964593d41c237ea4fa142a2ea5c2000ee2c [INFO] running `Command { std: "docker" "start" "-a" "1f0bcc9fe016c0461b74bfcfbfdda964593d41c237ea4fa142a2ea5c2000ee2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f0bcc9fe016c0461b74bfcfbfdda964593d41c237ea4fa142a2ea5c2000ee2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f0bcc9fe016c0461b74bfcfbfdda964593d41c237ea4fa142a2ea5c2000ee2c", kill_on_drop: false }` [INFO] [stdout] 1f0bcc9fe016c0461b74bfcfbfdda964593d41c237ea4fa142a2ea5c2000ee2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a828f369c7d1c7921f11ed8e82a7ef905f67a5771dc0b1c93fd01f479724e91c [INFO] running `Command { std: "docker" "start" "-a" "a828f369c7d1c7921f11ed8e82a7ef905f67a5771dc0b1c93fd01f479724e91c", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking critical-section v1.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling riscv v0.11.1 [INFO] [stderr] Compiling riscv v0.10.1 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling ch32-metapac v0.0.6 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking r0 v1.0.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv-rt-macros v0.2.0 (https://github.com/9names/riscv-rt?branch=rv32e#963b8965) [INFO] [stderr] Compiling riscv-rt v0.11.0 (https://github.com/9names/riscv-rt?branch=rv32e#963b8965) [INFO] [stderr] Checking riscv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `embedded_hal::pwm` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use embedded_hal::pwm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_hal::delay` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use embedded_hal::delay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_hal::digital` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use embedded_hal::digital; [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 `riscv` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-98454ca90717ce78.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/54e27f559f23913c1d5afb1a0f0114e9e61b81b8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2bfe6d313f1a27d4.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 `riscv` (bin "riscv" test) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `embedded_hal::pwm` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use embedded_hal::pwm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_hal::delay` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use embedded_hal::delay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_hal::digital` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use embedded_hal::digital; [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] [stderr] error: could not compile `riscv` (bin "riscv") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a828f369c7d1c7921f11ed8e82a7ef905f67a5771dc0b1c93fd01f479724e91c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a828f369c7d1c7921f11ed8e82a7ef905f67a5771dc0b1c93fd01f479724e91c", kill_on_drop: false }` [INFO] [stdout] a828f369c7d1c7921f11ed8e82a7ef905f67a5771dc0b1c93fd01f479724e91c