[INFO] cloning repository https://github.com/dbrgn/bl602-rust-poc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dbrgn/bl602-rust-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbrgn%2Fbl602-rust-poc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbrgn%2Fbl602-rust-poc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 579f17f005eef9e4ea1c9ad019ba43a784409256 [INFO] checking dbrgn/bl602-rust-poc/579f17f005eef9e4ea1c9ad019ba43a784409256 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbrgn%2Fbl602-rust-poc" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dbrgn/bl602-rust-poc 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-0-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/dbrgn/bl602-rust-poc [INFO] finished tweaking git repo https://github.com/dbrgn/bl602-rust-poc [INFO] tweaked toml for git repo https://github.com/dbrgn/bl602-rust-poc written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dbrgn/bl602-rust-poc 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/sipeed/bl602-pac` [INFO] [stderr] Updating git repository `https://github.com/sipeed/bl602-hal` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/rust-embedded/embedded-hal` [INFO] [stderr] Updating git repository `https://github.com/FluenTech/embedded-time` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vcell v0.1.2 [INFO] [stderr] Downloaded riscv-rt-macros v0.1.6 [INFO] [stderr] Downloaded riscv v0.6.0 [INFO] [stderr] Downloaded riscv-rt v0.8.0 [INFO] [stderr] Downloaded paste v1.0.4 [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e31e38823d606339fd47f5f272f33e67b182dac6f9d5c806423ca690c8a51e7 [INFO] running `Command { std: "docker" "start" "-a" "6e31e38823d606339fd47f5f272f33e67b182dac6f9d5c806423ca690c8a51e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e31e38823d606339fd47f5f272f33e67b182dac6f9d5c806423ca690c8a51e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e31e38823d606339fd47f5f272f33e67b182dac6f9d5c806423ca690c8a51e7", kill_on_drop: false }` [INFO] [stdout] 6e31e38823d606339fd47f5f272f33e67b182dac6f9d5c806423ca690c8a51e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cdec83a231c2673c9e47616696bb2313f8bd7adcb7989cc9c0fbe399354e759 [INFO] running `Command { std: "docker" "start" "-a" "2cdec83a231c2673c9e47616696bb2313f8bd7adcb7989cc9c0fbe399354e759", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling bl602-pac v0.1.0 (https://github.com/sipeed/bl602-pac?branch=main#e0bd7686) [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Checking embedded-hal v1.0.0-alpha.4 (https://github.com/rust-embedded/embedded-hal#eae6c995) [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Checking r0 v1.0.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.10.1 (https://github.com/FluenTech/embedded-time#12e78c34) [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.6.0 [INFO] [stderr] Compiling riscv-rt v0.8.0 [INFO] [stderr] Compiling riscv-rt-macros v0.1.6 [INFO] [stderr] Checking bl602-hal v0.1.0 (https://github.com/sipeed/bl602-hal?branch=main#49c12287) [INFO] [stderr] Checking demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `clock::Strict` and `serial::*` [INFO] [stdout] --> src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use bl602_hal::{serial::*, pac, prelude::*, clock::Strict}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 imports: `clock::Strict` and `serial::*` [INFO] [stdout] --> src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use bl602_hal::{serial::*, pac, prelude::*, clock::Strict}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 `demo` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-f1678fe023448107.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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `demo` (bin "demo") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `demo` (bin "demo" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2cdec83a231c2673c9e47616696bb2313f8bd7adcb7989cc9c0fbe399354e759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cdec83a231c2673c9e47616696bb2313f8bd7adcb7989cc9c0fbe399354e759", kill_on_drop: false }` [INFO] [stdout] 2cdec83a231c2673c9e47616696bb2313f8bd7adcb7989cc9c0fbe399354e759