[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 master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate tg-rcore-tutorial-ch6-Charlie-exercise 0.1.0-preview.1 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tg-rcore-tutorial-ch6-Charlie-exercise 0.1.0-preview.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tg-rcore-tutorial-linker v0.4.8 [INFO] [stderr] Downloaded numeric-enum-macro v0.2.0 [INFO] [stderr] Downloaded zero v0.1.3 [INFO] [stderr] Downloaded tg-rcore-tutorial-signal-defs v0.4.8 [INFO] [stderr] Downloaded tg-rcore-tutorial-syscall v0.4.8 [INFO] [stderr] Downloaded tg-rcore-tutorial-sbi v0.4.8 [INFO] [stderr] Downloaded bit_field v0.10.3 [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded customizable-buddy v0.0.3 [INFO] [stderr] Downloaded embedded-hal v0.2.7 [INFO] [stderr] Downloaded tg-rcore-tutorial-ch6-charlie-exercise-easy-fs v0.1.0-preview.1 [INFO] [stderr] Downloaded riscv v0.10.1 [INFO] [stderr] Downloaded tg-rcore-tutorial-kernel-vm v0.4.8 [INFO] [stderr] Downloaded tg-rcore-tutorial-console v0.4.8 [INFO] [stderr] Downloaded page-table v0.0.6 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded tg-rcore-tutorial-kernel-alloc v0.4.8 [INFO] [stderr] Downloaded tg-rcore-tutorial-kernel-context v0.4.8 [INFO] [stderr] Downloaded virtio-drivers v0.1.0 [INFO] [stderr] Downloaded xmas-elf v0.8.0 [INFO] [stderr] Downloaded tg-rcore-tutorial-task-manage v0.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 121bd1961d833891e83178bb3471c75f9a229110c19211a7508c24b5651833fe [INFO] running `Command { std: "docker" "start" "-a" "121bd1961d833891e83178bb3471c75f9a229110c19211a7508c24b5651833fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "121bd1961d833891e83178bb3471c75f9a229110c19211a7508c24b5651833fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121bd1961d833891e83178bb3471c75f9a229110c19211a7508c24b5651833fe", kill_on_drop: false }` [INFO] [stdout] 121bd1961d833891e83178bb3471c75f9a229110c19211a7508c24b5651833fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5a3cde1118e01c4fe9e3760a98078b6ef6340d615c7771d69675386ab8edb74 [INFO] running `Command { std: "docker" "start" "-a" "f5a3cde1118e01c4fe9e3760a98078b6ef6340d615c7771d69675386ab8edb74", 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 toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling numeric-enum-macro v0.2.0 [INFO] [stderr] Compiling tg-rcore-tutorial-syscall v0.4.8 [INFO] [stderr] Compiling riscv v0.10.1 [INFO] [stderr] Compiling page-table v0.0.6 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling tg-rcore-tutorial-linker v0.4.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling tg-rcore-tutorial-signal-defs v0.4.8 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling customizable-buddy v0.0.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling zero v0.1.3 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling tg-rcore-tutorial-task-manage v0.4.8 [INFO] [stderr] Compiling xmas-elf v0.8.0 [INFO] [stderr] Compiling tg-rcore-tutorial-sbi v0.4.8 [INFO] [stderr] Compiling virtio-drivers v0.1.0 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-alloc v0.4.8 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling indexmap v2.13.0 [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-console v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-vm v0.4.8 [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-ch6-Charlie-exercise v0.1.0-preview.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.38s [INFO] running `Command { std: "docker" "inspect" "f5a3cde1118e01c4fe9e3760a98078b6ef6340d615c7771d69675386ab8edb74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5a3cde1118e01c4fe9e3760a98078b6ef6340d615c7771d69675386ab8edb74", kill_on_drop: false }` [INFO] [stdout] f5a3cde1118e01c4fe9e3760a98078b6ef6340d615c7771d69675386ab8edb74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 854181b238a3594422f12ed2640b9edee6da7bef73e5b6939e7864b2e5f5c3fa [INFO] running `Command { std: "docker" "start" "-a" "854181b238a3594422f12ed2640b9edee6da7bef73e5b6939e7864b2e5f5c3fa", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling nb 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 bit_field v0.10.3 [INFO] [stderr] Compiling zero v0.1.3 [INFO] [stderr] Compiling customizable-buddy v0.0.3 [INFO] [stderr] Compiling critical-section v1.2.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 tg-rcore-tutorial-signal-defs v0.4.8 [INFO] [stderr] Compiling page-table v0.0.6 [INFO] [stderr] Compiling virtio-drivers v0.1.0 [INFO] [stderr] Compiling xmas-elf v0.8.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [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-console v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-syscall v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-alloc v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-vm v0.4.8 [INFO] [stderr] Compiling riscv v0.10.1 [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/562dee4820c458d823175268e41601d4c060588a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eaa78b24106cd0ea.so, /opt/rustwide/rustup-home/toolchains/562dee4820c458d823175268e41601d4c060588a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eaa78b24106cd0ea.rlib, /opt/rustwide/rustup-home/toolchains/562dee4820c458d823175268e41601d4c060588a/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" "854181b238a3594422f12ed2640b9edee6da7bef73e5b6939e7864b2e5f5c3fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "854181b238a3594422f12ed2640b9edee6da7bef73e5b6939e7864b2e5f5c3fa", kill_on_drop: false }` [INFO] [stdout] 854181b238a3594422f12ed2640b9edee6da7bef73e5b6939e7864b2e5f5c3fa