[INFO] cloning repository https://github.com/Ngox-Tsjengh/rCore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ngox-Tsjengh/rCore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNgox-Tsjengh%2FrCore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNgox-Tsjengh%2FrCore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9ab2df5a0b77d6c201e7145d828430f059ae0eb [INFO] checking Ngox-Tsjengh/rCore against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNgox-Tsjengh%2FrCore" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ngox-Tsjengh/rCore on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/.cargo/config [INFO] removed /workspace/builds/worker-12/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Ngox-Tsjengh/rCore [INFO] finished tweaking git repo https://github.com/Ngox-Tsjengh/rCore [INFO] tweaked toml for git repo https://github.com/Ngox-Tsjengh/rCore written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Ngox-Tsjengh/rCore already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rcore-os/riscv` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be83b215e0666faf142d3861429f2ebe70f55263684cc10ad6116686e1b1dc13 [INFO] running `Command { std: "docker" "start" "-a" "be83b215e0666faf142d3861429f2ebe70f55263684cc10ad6116686e1b1dc13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be83b215e0666faf142d3861429f2ebe70f55263684cc10ad6116686e1b1dc13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be83b215e0666faf142d3861429f2ebe70f55263684cc10ad6116686e1b1dc13", kill_on_drop: false }` [INFO] [stdout] be83b215e0666faf142d3861429f2ebe70f55263684cc10ad6116686e1b1dc13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5296cd290ae86069c0f0fbe8ebbc206e39e19bafae0f23b34e86bce0560a81c9 [INFO] running `Command { std: "docker" "start" "-a" "5296cd290ae86069c0f0fbe8ebbc206e39e19bafae0f23b34e86bce0560a81c9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling regex v1.4.3 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/interrupt/context.rs (1 fix) [INFO] [stdout] warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead [INFO] [stdout] --> src/sbi.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | 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:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | llvm_asm!("ebreak"/*::::"volatile"*/); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | 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:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | 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/a7a572ce3edd6d476191fbfe92c9c1986e009b34/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1dd6c19f0820d51d.rlib [INFO] [stdout] = note: second definition in the local crate (`os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 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; 2 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5296cd290ae86069c0f0fbe8ebbc206e39e19bafae0f23b34e86bce0560a81c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5296cd290ae86069c0f0fbe8ebbc206e39e19bafae0f23b34e86bce0560a81c9", kill_on_drop: false }` [INFO] [stdout] 5296cd290ae86069c0f0fbe8ebbc206e39e19bafae0f23b34e86bce0560a81c9