[INFO] fetching crate tg-rcore-tutorial-ch5-Charlie-exercise 0.1.0-preview.1... [INFO] testing tg-rcore-tutorial-ch5-Charlie-exercise-0.1.0-preview.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate tg-rcore-tutorial-ch5-Charlie-exercise 0.1.0-preview.1 into /workspace/builds/worker-1-tc2/source [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 crates.io crate tg-rcore-tutorial-ch5-Charlie-exercise 0.1.0-preview.1 [INFO] finished tweaking crates.io crate tg-rcore-tutorial-ch5-Charlie-exercise 0.1.0-preview.1 [INFO] tweaked toml for crates.io crate tg-rcore-tutorial-ch5-Charlie-exercise 0.1.0-preview.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tg-rcore-tutorial-ch5-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-ch5-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] [stderr] Blocking waiting for file lock on package cache [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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9b7eb73808487b8d8239fdcf66c78e3b50cb8bcfb356027d3dae0272d750356 [INFO] running `Command { std: "docker" "start" "-a" "c9b7eb73808487b8d8239fdcf66c78e3b50cb8bcfb356027d3dae0272d750356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9b7eb73808487b8d8239fdcf66c78e3b50cb8bcfb356027d3dae0272d750356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9b7eb73808487b8d8239fdcf66c78e3b50cb8bcfb356027d3dae0272d750356", kill_on_drop: false }` [INFO] [stdout] c9b7eb73808487b8d8239fdcf66c78e3b50cb8bcfb356027d3dae0272d750356 [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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae0c57407ca34faae70ae37778826dafdc6490e076c23f72f9556eacda8c5b41 [INFO] running `Command { std: "docker" "start" "-a" "ae0c57407ca34faae70ae37778826dafdc6490e076c23f72f9556eacda8c5b41", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling numeric-enum-macro v0.2.0 [INFO] [stderr] Compiling riscv v0.10.1 [INFO] [stderr] Compiling tg-rcore-tutorial-linker v0.4.8 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling tg-rcore-tutorial-syscall v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling page-table v0.0.6 [INFO] [stderr] Compiling tg-rcore-tutorial-signal-defs v0.4.8 [INFO] [stderr] Compiling zero v0.1.3 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling customizable-buddy v0.0.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling xmas-elf v0.8.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-alloc v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-task-manage v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-sbi v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-context v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-console v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-vm v0.4.8 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tg-rcore-tutorial-ch5-Charlie-exercise v0.1.0-preview.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.34s [INFO] running `Command { std: "docker" "inspect" "ae0c57407ca34faae70ae37778826dafdc6490e076c23f72f9556eacda8c5b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae0c57407ca34faae70ae37778826dafdc6490e076c23f72f9556eacda8c5b41", kill_on_drop: false }` [INFO] [stdout] ae0c57407ca34faae70ae37778826dafdc6490e076c23f72f9556eacda8c5b41 [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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 274a1095a070103eddee03cb956681bbb290b20434ec28c7c5babefbef300afa [INFO] running `Command { std: "docker" "start" "-a" "274a1095a070103eddee03cb956681bbb290b20434ec28c7c5babefbef300afa", kill_on_drop: false }` [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling tg-rcore-tutorial-linker v0.4.8 [INFO] [stderr] Compiling numeric-enum-macro v0.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling customizable-buddy v0.0.3 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling zero v0.1.3 [INFO] [stderr] Compiling tg-rcore-tutorial-task-manage v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-sbi v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-context v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-console v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-signal-defs v0.4.8 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling tg-rcore-tutorial-syscall v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-ch5-Charlie-exercise v0.1.0-preview.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling page-table v0.0.6 [INFO] [stderr] Compiling xmas-elf v0.8.0 [INFO] [stderr] Compiling riscv v0.10.1 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-vm v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-alloc v0.4.8 [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / fn panic(info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 297 | | println!("{info}"); [INFO] [stdout] 298 | | tg_sbi::shutdown(true) [INFO] [stdout] 299 | | } [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_ch5_Charlie_exercise`) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tg-rcore-tutorial-ch5-Charlie-exercise` (bin "tg-rcore-tutorial-ch5-Charlie-exercise" test) due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "274a1095a070103eddee03cb956681bbb290b20434ec28c7c5babefbef300afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "274a1095a070103eddee03cb956681bbb290b20434ec28c7c5babefbef300afa", kill_on_drop: false }` [INFO] [stdout] 274a1095a070103eddee03cb956681bbb290b20434ec28c7c5babefbef300afa