[INFO] cloning repository https://github.com/zhuixingfu121/rust4ch32
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhuixingfu121/rust4ch32" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhuixingfu121%2Frust4ch32", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhuixingfu121%2Frust4ch32'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 088de8ff938f951978b6c6792ec28fcd5f9b8a68
[INFO] checking zhuixingfu121/rust4ch32 against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhuixingfu121%2Frust4ch32" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/zhuixingfu121/rust4ch32
[INFO] finished tweaking git repo https://github.com/zhuixingfu121/rust4ch32
[INFO] tweaked toml for git repo https://github.com/zhuixingfu121/rust4ch32 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zhuixingfu121/rust4ch32 on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zhuixingfu121/rust4ch32 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 951707230dc8ee22e3aeee232133c8c118af9de8c52ab780632558191bb1e09e
[INFO] running `Command { std: "docker" "start" "951707230dc8ee22e3aeee232133c8c118af9de8c52ab780632558191bb1e09e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "951707230dc8ee22e3aeee232133c8c118af9de8c52ab780632558191bb1e09e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "951707230dc8ee22e3aeee232133c8c118af9de8c52ab780632558191bb1e09e" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "951707230dc8ee22e3aeee232133c8c118af9de8c52ab780632558191bb1e09e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "951707230dc8ee22e3aeee232133c8c118af9de8c52ab780632558191bb1e09e" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling ch32v307-bootloader v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]   --> src/boot.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 |         "csrw mstatus, {s}",
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |         s = in(reg) MSTATUS_BOOT,
[INFO] [stdout]    |                     ------------ for this argument
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stdout]    = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stdout]    = note: `#[warn(asm_sub_register)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]   --> src/boot.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |         "csrw mepc, {e}",
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |         e = in(reg) entry,
[INFO] [stdout]    |                     ----- for this argument
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `{1:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stdout]    = help: or use `{1:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]    --> src/main.rs:308:1
[INFO] [stdout]     |
[INFO] [stdout] 308 | / fn panic(info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 309 | |     println!("\n[PANIC] {}\n", info);
[INFO] [stdout] 310 | |     loop {
[INFO] [stdout] 311 | |         unsafe { core::arch::asm!("wfi", options(nomem, nostack)) };
[INFO] [stdout] 312 | |     }
[INFO] [stdout] 313 | | }
[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/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6ee2a0f0126c8a50.rmeta
[INFO] [stdout]     = note: second definition in the local crate (`ch32v307_bootloader`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ch32v307-bootloader` (bin "ch32v307-bootloader" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]    --> src/main.rs:321:32
[INFO] [stdout]     |
[INFO] [stdout] 321 |         core::arch::asm!("csrr {}, mcause", out(reg) cause, options(nomem, nostack));
[INFO] [stdout]     |                                ^^                    ----- for this argument
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stdout]     = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]    --> src/main.rs:322:32
[INFO] [stdout]     |
[INFO] [stdout] 322 |         core::arch::asm!("csrr {}, mepc", out(reg) epc, options(nomem, nostack));
[INFO] [stdout]     |                                ^^                  --- for this argument
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stdout]     = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "951707230dc8ee22e3aeee232133c8c118af9de8c52ab780632558191bb1e09e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "951707230dc8ee22e3aeee232133c8c118af9de8c52ab780632558191bb1e09e", kill_on_drop: false }`
[INFO] [stdout] 951707230dc8ee22e3aeee232133c8c118af9de8c52ab780632558191bb1e09e
