[INFO] fetching crate tg-rcore-tutorial-ch6-Charlie-exercise 0.1.0-preview.1... [INFO] testing tg-rcore-tutorial-ch6-Charlie-exercise-0.1.0-preview.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate tg-rcore-tutorial-ch6-Charlie-exercise 0.1.0-preview.1 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate tg-rcore-tutorial-ch6-Charlie-exercise 0.1.0-preview.1 [INFO] finished tweaking crates.io crate tg-rcore-tutorial-ch6-Charlie-exercise 0.1.0-preview.1 [INFO] tweaked toml for crates.io crate tg-rcore-tutorial-ch6-Charlie-exercise 0.1.0-preview.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tg-rcore-tutorial-ch6-Charlie-exercise 0.1.0-preview.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tg-rcore-tutorial-ch6-Charlie-exercise 0.1.0-preview.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 747d3efe1e55ce5256556cf0e84ec76b1acd9568d69b60ee14e897107784728a [INFO] running `Command { std: "docker" "start" "-a" "747d3efe1e55ce5256556cf0e84ec76b1acd9568d69b60ee14e897107784728a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "747d3efe1e55ce5256556cf0e84ec76b1acd9568d69b60ee14e897107784728a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "747d3efe1e55ce5256556cf0e84ec76b1acd9568d69b60ee14e897107784728a", kill_on_drop: false }` [INFO] [stdout] 747d3efe1e55ce5256556cf0e84ec76b1acd9568d69b60ee14e897107784728a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01e0992a724a7f5d8b87a914da8402ae6beff76106895e284e767355234b298a [INFO] running `Command { std: "docker" "start" "-a" "01e0992a724a7f5d8b87a914da8402ae6beff76106895e284e767355234b298a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling riscv v0.10.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling tg-rcore-tutorial-linker v0.4.8 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling page-table v0.0.6 [INFO] [stderr] Compiling numeric-enum-macro v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling tg-rcore-tutorial-syscall v0.4.8 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling tg-rcore-tutorial-signal-defs v0.4.8 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling customizable-buddy v0.0.3 [INFO] [stderr] Compiling zero v0.1.3 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling virtio-drivers v0.1.0 [INFO] [stderr] Compiling tg-rcore-tutorial-task-manage v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-sbi v0.4.8 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling xmas-elf v0.8.0 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-alloc v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-context v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-ch6-charlie-exercise-easy-fs v0.1.0-preview.1 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-vm v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-console v0.4.8 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tg-rcore-tutorial-ch6-Charlie-exercise v0.1.0-preview.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.57s [INFO] running `Command { std: "docker" "inspect" "01e0992a724a7f5d8b87a914da8402ae6beff76106895e284e767355234b298a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e0992a724a7f5d8b87a914da8402ae6beff76106895e284e767355234b298a", kill_on_drop: false }` [INFO] [stdout] 01e0992a724a7f5d8b87a914da8402ae6beff76106895e284e767355234b298a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 198a310d78708a5fa163bcc5f761a29e19dd49f7b0a8e4b384df10e0d941878b [INFO] running `Command { std: "docker" "start" "-a" "198a310d78708a5fa163bcc5f761a29e19dd49f7b0a8e4b384df10e0d941878b", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling numeric-enum-macro v0.2.0 [INFO] [stderr] Compiling tg-rcore-tutorial-linker v0.4.8 [INFO] [stderr] Compiling zero v0.1.3 [INFO] [stderr] Compiling customizable-buddy v0.0.3 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling tg-rcore-tutorial-sbi v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-task-manage v0.4.8 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling page-table v0.0.6 [INFO] [stderr] Compiling tg-rcore-tutorial-signal-defs v0.4.8 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling virtio-drivers v0.1.0 [INFO] [stderr] Compiling xmas-elf v0.8.0 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-alloc v0.4.8 [INFO] [stderr] Compiling riscv v0.10.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tg-rcore-tutorial-ch6-charlie-exercise-easy-fs v0.1.0-preview.1 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-context v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-syscall v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-vm v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-console v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-ch6-Charlie-exercise v0.1.0-preview.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | / fn panic(info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 257 | | println!("{info}"); [INFO] [stdout] 258 | | tg_sbi::shutdown(true) [INFO] [stdout] 259 | | } [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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eaa78b24106cd0ea.so, /opt/rustwide/rustup-home/toolchains/dec9417b8611e34e787a3e4c37686b5131f9e5c5/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eaa78b24106cd0ea.rlib, /opt/rustwide/rustup-home/toolchains/dec9417b8611e34e787a3e4c37686b5131f9e5c5/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eaa78b24106cd0ea.rmeta [INFO] [stdout] = note: second definition in the local crate (`tg_rcore_tutorial_ch6_Charlie_exercise`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tg-rcore-tutorial-ch6-Charlie-exercise` (bin "tg-rcore-tutorial-ch6-Charlie-exercise" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "198a310d78708a5fa163bcc5f761a29e19dd49f7b0a8e4b384df10e0d941878b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "198a310d78708a5fa163bcc5f761a29e19dd49f7b0a8e4b384df10e0d941878b", kill_on_drop: false }` [INFO] [stdout] 198a310d78708a5fa163bcc5f761a29e19dd49f7b0a8e4b384df10e0d941878b