[INFO] cloning repository https://github.com/Edward-0/rust-riscv-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Edward-0/rust-riscv-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdward-0%2Frust-riscv-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdward-0%2Frust-riscv-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae4c274f85a4eb2b7337773b967c2a88f6497efb [INFO] checking Edward-0/rust-riscv-playground against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdward-0%2Frust-riscv-playground" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Edward-0/rust-riscv-playground on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/Edward-0/rust-riscv-playground [INFO] finished tweaking git repo https://github.com/Edward-0/rust-riscv-playground [INFO] tweaked toml for git repo https://github.com/Edward-0/rust-riscv-playground written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Edward-0/rust-riscv-playground 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded e310x-hal v0.8.3 [INFO] [stderr] Downloaded riscv v0.5.6 [INFO] [stderr] Downloaded riscv-rt v0.6.1 [INFO] [stderr] Downloaded e310x v0.6.0 [INFO] [stderr] Downloaded hifive1 v0.8.1 [INFO] [stderr] Downloaded riscv-rt-macros v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faedf6c89c52c5765d812a33711150d52c911ca731cd597589a7804d99d8e0c9 [INFO] running `Command { std: "docker" "start" "-a" "faedf6c89c52c5765d812a33711150d52c911ca731cd597589a7804d99d8e0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faedf6c89c52c5765d812a33711150d52c911ca731cd597589a7804d99d8e0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faedf6c89c52c5765d812a33711150d52c911ca731cd597589a7804d99d8e0c9", kill_on_drop: false }` [INFO] [stdout] faedf6c89c52c5765d812a33711150d52c911ca731cd597589a7804d99d8e0c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5193bd19b3b7a366bef3fb7a0fa80d91a4056e9bed46e0495dbc6b5267a5f709 [INFO] running `Command { std: "docker" "start" "-a" "5193bd19b3b7a366bef3fb7a0fa80d91a4056e9bed46e0495dbc6b5267a5f709", kill_on_drop: false }` [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 syn v0.15.44 [INFO] [stderr] Compiling riscv v0.5.6 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Compiling riscv-rt v0.6.1 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling e310x v0.6.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling hifive1 v0.8.1 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling riscv-rt-macros v0.1.6 [INFO] [stderr] Checking e310x-hal v0.8.3 [INFO] [stderr] Checking rust-riscv-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serial` [INFO] [stdout] --> src/main.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | use hifive1::hal::serial::{Serial, Rx, Tx, UartX}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pins` [INFO] [stdout] --> src/main.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use hifive1::{sprintln, pins, pin}; [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/leds_blink.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | fn toggle_led(led: &mut Led, status: bool) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn toggle_led(led: &mut dyn Led, status: bool) -> bool { [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/leds_blink.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let ileds: [&mut Led; 3] = [&mut tleds.0, &mut tleds.1, &mut tleds.2]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | let ileds: [&mut dyn Led; 3] = [&mut tleds.0, &mut tleds.1, &mut tleds.2]; [INFO] [stdout] | +++ [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 `rust-riscv-playground` (example "leds_blink") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/runtime.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | let p = dr.peripherals; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-riscv-playground` (bin "rust-riscv-playground") due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5193bd19b3b7a366bef3fb7a0fa80d91a4056e9bed46e0495dbc6b5267a5f709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5193bd19b3b7a366bef3fb7a0fa80d91a4056e9bed46e0495dbc6b5267a5f709", kill_on_drop: false }` [INFO] [stdout] 5193bd19b3b7a366bef3fb7a0fa80d91a4056e9bed46e0495dbc6b5267a5f709