[INFO] cloning repository https://github.com/Helloworld-lbl/loongarch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Helloworld-lbl/loongarch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHelloworld-lbl%2Floongarch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHelloworld-lbl%2Floongarch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ed5c6532d6cd012fc32ae807eec5aeb9ba5e2bbc
[INFO] building Helloworld-lbl/loongarch against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHelloworld-lbl%2Floongarch" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Helloworld-lbl/loongarch on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Helloworld-lbl/loongarch
[INFO] finished tweaking git repo https://github.com/Helloworld-lbl/loongarch
[INFO] tweaked toml for git repo https://github.com/Helloworld-lbl/loongarch written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Helloworld-lbl/loongarch 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f74db0cf7283a99994105d4f7fec2f697073e199d2150a29c7771a90577a4649
[INFO] running `Command { std: "docker" "start" "-a" "f74db0cf7283a99994105d4f7fec2f697073e199d2150a29c7771a90577a4649", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f74db0cf7283a99994105d4f7fec2f697073e199d2150a29c7771a90577a4649", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f74db0cf7283a99994105d4f7fec2f697073e199d2150a29c7771a90577a4649", kill_on_drop: false }`
[INFO] [stdout] f74db0cf7283a99994105d4f7fec2f697073e199d2150a29c7771a90577a4649
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 943abd88e9a69d4f56440afb112a90e76aa0b0aaebfa555f3cdf89715841c82e
[INFO] running `Command { std: "docker" "start" "-a" "943abd88e9a69d4f56440afb112a90e76aa0b0aaebfa555f3cdf89715841c82e", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling loongarch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stdout] error: unexpected `--cfg target_arch="loongarch64"` flag
[INFO] [stdout]   |
[INFO] [stdout]   = note: config `target_arch` is only supposed to be controlled by `--target`
[INFO] [stdout]   = note: manually setting a built-in cfg can and does create incoherent behaviors
[INFO] [stdout]   = note: `#[deny(explicit_builtin_cfgs_in_flags)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> src/lib.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `write_csr_as_usize`
[INFO] [stdout]    --> src/register/macros.rs:143:14
[INFO] [stdout]     |
[INFO] [stdout] 143 | macro_rules! write_csr_as_usize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::mem::size_of`
[INFO] [stdout]  --> src/register/estat.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::mem::size_of;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::mem::size_of`
[INFO] [stdout]  --> src/register/prmd.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::mem::size_of;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `platform_family`
[INFO] [stdout]  --> src/consts/mod.rs:2:47
[INFO] [stdout]   |
[INFO] [stdout] 2 |     if #[cfg(all(target_arch = "loongarch64", platform_family = "loongarch64-qemu-virt"))] {
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(platform_family, values("loongarch64-qemu-virt"))'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(platform_family, values(\"loongarch64-qemu-virt\"))");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]  --> src/ipi.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |         asm!("iocsrwr.w {},{}", in(reg) value,in(reg) addr);
[INFO] [stdout]   |                         ^^              ----- for this argument
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values)
[INFO] [stdout]   = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit 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/ipi.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 |         asm!("iocsrrd.w {},{}", out(reg) value, in(reg) addr);
[INFO] [stdout]    |                         ^^               ----- for this argument
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values)
[INFO] [stdout]    = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]   --> src/register/cpucfg.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 |     unsafe fn read(word: usize) -> usize {
[INFO] [stdout]    |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iocsr_read_u32` is never used
[INFO] [stdout]   --> src/ipi.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn iocsr_read_u32(addr: usize) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iocsr_read_u64` is never used
[INFO] [stdout]   --> src/ipi.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn iocsr_read_u64(addr: usize) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Ecode` should have a snake case name
[INFO] [stdout]    --> src/register/estat.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |     pub fn from(Ecode: usize, EsubCode: usize) -> Self {
[INFO] [stdout]     |                 ^^^^^ help: convert the identifier to snake case: `ecode`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `EsubCode` should have a snake case name
[INFO] [stdout]    --> src/register/estat.rs:100:31
[INFO] [stdout]     |
[INFO] [stdout] 100 |     pub fn from(Ecode: usize, EsubCode: usize) -> Self {
[INFO] [stdout]     |                               ^^^^^^^^ help: convert the identifier to snake case: `esub_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `loongarch` (lib) due to 1 previous error; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "943abd88e9a69d4f56440afb112a90e76aa0b0aaebfa555f3cdf89715841c82e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "943abd88e9a69d4f56440afb112a90e76aa0b0aaebfa555f3cdf89715841c82e", kill_on_drop: false }`
[INFO] [stdout] 943abd88e9a69d4f56440afb112a90e76aa0b0aaebfa555f3cdf89715841c82e
