[INFO] cloning repository https://github.com/shintard/os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shintard/os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshintard%2Fos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshintard%2Fos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d40c083823a0573c8ec83d0d0db00400463575f1 [INFO] checking shintard/os against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshintard%2Fos" "/workspace/builds/worker-50/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-50/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shintard/os on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-50/source/.cargo/config [INFO] started tweaking git repo https://github.com/shintard/os [INFO] finished tweaking git repo https://github.com/shintard/os [INFO] tweaked toml for git repo https://github.com/shintard/os written to /workspace/builds/worker-50/source/Cargo.toml [INFO] crate git repo https://github.com/shintard/os already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "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-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e65855f767d4fb6ca31a5fa57d15b99da47b072c44117b19f306402ac1bb98b4 [INFO] running `Command { std: "docker" "start" "-a" "e65855f767d4fb6ca31a5fa57d15b99da47b072c44117b19f306402ac1bb98b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e65855f767d4fb6ca31a5fa57d15b99da47b072c44117b19f306402ac1bb98b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e65855f767d4fb6ca31a5fa57d15b99da47b072c44117b19f306402ac1bb98b4", kill_on_drop: false }` [INFO] [stdout] e65855f767d4fb6ca31a5fa57d15b99da47b072c44117b19f306402ac1bb98b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27170e6b99a56ea3ecc02ea99793f2473a40e8f5b81296e3a77bd361d22fb029 [INFO] running `Command { std: "docker" "start" "-a" "27170e6b99a56ea3ecc02ea99793f2473a40e8f5b81296e3a77bd361d22fb029", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking bit_field v0.10.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 aho-corasick v0.7.15 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling regex v1.4.2 [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: unused import: `scause::Scause` [INFO] [stdout] --> src/interrupt/context.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use riscv::register::{scause::Scause, sstatus::Sstatus}; [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/sbi.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | llvm_asm!("ecall" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | 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/8de4b308b608cded0ebccf658a0fc719bce87d4e/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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "27170e6b99a56ea3ecc02ea99793f2473a40e8f5b81296e3a77bd361d22fb029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27170e6b99a56ea3ecc02ea99793f2473a40e8f5b81296e3a77bd361d22fb029", kill_on_drop: false }` [INFO] [stdout] 27170e6b99a56ea3ecc02ea99793f2473a40e8f5b81296e3a77bd361d22fb029