[INFO] cloning repository https://github.com/tonyzzzzzz/cs140e-rust-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonyzzzzzz/cs140e-rust-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyzzzzzz%2Fcs140e-rust-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyzzzzzz%2Fcs140e-rust-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69af675cb885432a6ba0d51c5ce152012630236e [INFO] checking tonyzzzzzz/cs140e-rust-template against try#fe84aa3583bb2681b5d0580316bde6d58ccfd6b5 for pr-154149-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyzzzzzz%2Fcs140e-rust-template" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/tonyzzzzzz/cs140e-rust-template [INFO] finished tweaking git repo https://github.com/tonyzzzzzz/cs140e-rust-template [INFO] tweaked toml for git repo https://github.com/tonyzzzzzz/cs140e-rust-template written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tonyzzzzzz/cs140e-rust-template on toolchain fe84aa3583bb2681b5d0580316bde6d58ccfd6b5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe84aa3583bb2681b5d0580316bde6d58ccfd6b5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tonyzzzzzz/cs140e-rust-template 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" "+fe84aa3583bb2681b5d0580316bde6d58ccfd6b5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fe84aa3583bb2681b5d0580316bde6d58ccfd6b5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb98bbd5121bbfc6f502a6ab6027cc4f634fef90fab51c587e00e6fa3aa3160b [INFO] running `Command { std: "docker" "start" "-a" "fb98bbd5121bbfc6f502a6ab6027cc4f634fef90fab51c587e00e6fa3aa3160b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb98bbd5121bbfc6f502a6ab6027cc4f634fef90fab51c587e00e6fa3aa3160b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb98bbd5121bbfc6f502a6ab6027cc4f634fef90fab51c587e00e6fa3aa3160b", kill_on_drop: false }` [INFO] [stdout] fb98bbd5121bbfc6f502a6ab6027cc4f634fef90fab51c587e00e6fa3aa3160b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fe84aa3583bb2681b5d0580316bde6d58ccfd6b5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c9ef4c86ecafa76f7e4db50670db3853ceb0859bd5aa62945cda62b6418d1dc [INFO] running `Command { std: "docker" "start" "-a" "3c9ef4c86ecafa76f7e4db50670db3853ceb0859bd5aa62945cda62b6418d1dc", kill_on_drop: false }` [INFO] [stderr] Compiling crab-pi v0.1.0 (/opt/rustwide/workdir/crab-pi) [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> crab-pi/src/panic_infra.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / fn panic(info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 3 | | if let Some(loc) = info.location() { [INFO] [stdout] 4 | | crate::println!( [INFO] [stdout] 5 | | "Panic occurred at file '{}' line {}:\n", [INFO] [stdout] ... | [INFO] [stdout] 19 | | crate::watchdog::restart(); [INFO] [stdout] 20 | | } [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/fe84aa3583bb2681b5d0580316bde6d58ccfd6b5/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-fa01d964e82d0da8.rmeta [INFO] [stdout] = note: second definition in the local crate (`crab_pi`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crab-pi` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: formatting may not be suitable for sub-register argument [INFO] [stdout] --> crab-pi/src/arch.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | unsafe { ::core::arch::asm!("mcr p15, 0, {t}, c7, c10, 4", t = in(reg) 0) } [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] running `Command { std: "docker" "inspect" "3c9ef4c86ecafa76f7e4db50670db3853ceb0859bd5aa62945cda62b6418d1dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c9ef4c86ecafa76f7e4db50670db3853ceb0859bd5aa62945cda62b6418d1dc", kill_on_drop: false }` [INFO] [stdout] 3c9ef4c86ecafa76f7e4db50670db3853ceb0859bd5aa62945cda62b6418d1dc