[INFO] cloning repository https://github.com/yhyddr/rust-rcore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yhyddr/rust-rcore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhyddr%2Frust-rcore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhyddr%2Frust-rcore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 712c5fa35ee87db9fbbb0ef6e1a6e07bee341ada [INFO] checking yhyddr/rust-rcore against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyhyddr%2Frust-rcore" "/workspace/builds/worker-71/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-71/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yhyddr/rust-rcore on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-71/source/.cargo/config [INFO] started tweaking git repo https://github.com/yhyddr/rust-rcore [INFO] finished tweaking git repo https://github.com/yhyddr/rust-rcore [INFO] tweaked toml for git repo https://github.com/yhyddr/rust-rcore written to /workspace/builds/worker-71/source/Cargo.toml [INFO] crate git repo https://github.com/yhyddr/rust-rcore already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5abc2b51e269b24e683b5ff27e3af7ed83d5cc4bb18bc38af72799f99a1d698 [INFO] running `Command { std: "docker" "start" "-a" "d5abc2b51e269b24e683b5ff27e3af7ed83d5cc4bb18bc38af72799f99a1d698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5abc2b51e269b24e683b5ff27e3af7ed83d5cc4bb18bc38af72799f99a1d698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5abc2b51e269b24e683b5ff27e3af7ed83d5cc4bb18bc38af72799f99a1d698", kill_on_drop: false }` [INFO] [stdout] d5abc2b51e269b24e683b5ff27e3af7ed83d5cc4bb18bc38af72799f99a1d698 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea31d24bab84b289f5cd14c23cdd9bdc6319f853a4e70385959c1b02f11f1381 [INFO] running `Command { std: "docker" "start" "-a" "ea31d24bab84b289f5cd14c23cdd9bdc6319f853a4e70385959c1b02f11f1381", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Checking bit_field v0.10.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.6.0 (https://github.com/rcore-os/riscv#21e32ee1) [INFO] [stderr] Checking os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead [INFO] [stdout] --> src/sbi.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | llvm_asm!("ecall" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sie` [INFO] [stdout] --> src/interrupt/handler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | sie, stvec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | llvm_asm!("ebreak"::::"volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead [INFO] [stdout] --> src/sbi.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | llvm_asm!("ecall" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sie` [INFO] [stdout] --> src/interrupt/handler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | sie, stvec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | llvm_asm!("ebreak"::::"volatile"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | fn panic_handler(info: &PanicInfo) -> ! { [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/db1fb85cff63ad5fffe435e17128f99f9e1d970c/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d6566390077dd5f5.rlib [INFO] [stdout] = note: second definition in the local crate (`os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings 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 `os` due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea31d24bab84b289f5cd14c23cdd9bdc6319f853a4e70385959c1b02f11f1381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea31d24bab84b289f5cd14c23cdd9bdc6319f853a4e70385959c1b02f11f1381", kill_on_drop: false }` [INFO] [stdout] ea31d24bab84b289f5cd14c23cdd9bdc6319f853a4e70385959c1b02f11f1381