[INFO] cloning repository https://github.com/Herman14208/OScompetition
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Herman14208/OScompetition" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerman14208%2FOScompetition", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerman14208%2FOScompetition'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 35078ae0cde3f62789e40b38b1fcaf411d519620
[INFO] checking Herman14208/OScompetition/35078ae0cde3f62789e40b38b1fcaf411d519620 against 67854e511de21d881bb16426996cd4259d44aa2e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerman14208%2FOScompetition" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/Herman14208/OScompetition
[INFO] finished tweaking git repo https://github.com/Herman14208/OScompetition
[INFO] tweaked toml for git repo https://github.com/Herman14208/OScompetition written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Herman14208/OScompetition on toolchain 67854e511de21d881bb16426996cd4259d44aa2e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Herman14208/OScompetition 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" "+67854e511de21d881bb16426996cd4259d44aa2e" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 14569338044b52e6916240e6028b3a5f8761cbd45c88e441a1d2e8ff5aa5edd6
[INFO] running `Command { std: "docker" "start" "14569338044b52e6916240e6028b3a5f8761cbd45c88e441a1d2e8ff5aa5edd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14569338044b52e6916240e6028b3a5f8761cbd45c88e441a1d2e8ff5aa5edd6", 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" "14569338044b52e6916240e6028b3a5f8761cbd45c88e441a1d2e8ff5aa5edd6" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14569338044b52e6916240e6028b3a5f8761cbd45c88e441a1d2e8ff5aa5edd6", 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" "14569338044b52e6916240e6028b3a5f8761cbd45c88e441a1d2e8ff5aa5edd6" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking ai-os-kernel v0.1.0 (/opt/rustwide/workdir/kernel)
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> kernel/src/main.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | / fn panic(info: &PanicInfo) -> ! {
[INFO] [stdout] 37 | |     console::print_line("[Lab1] kernel panic");
[INFO] [stdout] 38 | |     if let Some(location) = info.location() {
[INFO] [stdout] 39 | |         console::print_line(location.file());
[INFO] [stdout] 40 | |     }
[INFO] [stdout] 41 | |     sbi::shutdown()
[INFO] [stdout] 42 | | }
[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/67854e511de21d881bb16426996cd4259d44aa2e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-16de4ef7b3d1c617.rmeta
[INFO] [stdout]    = note: second definition in the local crate (`ai_os_kernel`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a0`: unknown register
[INFO] [stdout]   --> kernel/src/sbi.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             in("a0") byte as usize,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a7`: unknown register
[INFO] [stdout]   --> kernel/src/sbi.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |             in("a7") SBI_CONSOLE_PUTCHAR,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a0`: unknown register
[INFO] [stdout]   --> kernel/src/sbi.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |             in("a0") SBI_SYSTEM_RESET_SHUTDOWN,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a1`: unknown register
[INFO] [stdout]   --> kernel/src/sbi.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             in("a1") SBI_SYSTEM_RESET_NO_REASON,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a6`: unknown register
[INFO] [stdout]   --> kernel/src/sbi.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             in("a6") 0usize,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a7`: unknown register
[INFO] [stdout]   --> kernel/src/sbi.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             in("a7") SBI_SYSTEM_RESET,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ai-os-kernel` (bin "ai-os-kernel" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ai-os-kernel` (bin "ai-os-kernel") due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "14569338044b52e6916240e6028b3a5f8761cbd45c88e441a1d2e8ff5aa5edd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14569338044b52e6916240e6028b3a5f8761cbd45c88e441a1d2e8ff5aa5edd6", kill_on_drop: false }`
[INFO] [stdout] 14569338044b52e6916240e6028b3a5f8761cbd45c88e441a1d2e8ff5aa5edd6
