[INFO] fetching crate tg-rcore-tutorial-ch8 0.4.10... [INFO] testing tg-rcore-tutorial-ch8-0.4.10 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate tg-rcore-tutorial-ch8 0.4.10 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate tg-rcore-tutorial-ch8 0.4.10 [INFO] finished tweaking crates.io crate tg-rcore-tutorial-ch8 0.4.10 [INFO] tweaked toml for crates.io crate tg-rcore-tutorial-ch8 0.4.10 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tg-rcore-tutorial-ch8 0.4.10 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-ch8 0.4.10 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tg-rcore-tutorial-sync v0.4.8 [INFO] [stderr] Downloaded xmas-elf v0.8.0 [INFO] [stderr] Downloaded numeric-enum-macro v0.2.0 [INFO] [stderr] Downloaded tg-rcore-tutorial-signal-defs v0.4.8 [INFO] [stderr] Downloaded zero v0.1.3 [INFO] [stderr] Downloaded tg-rcore-tutorial-syscall v0.4.8 [INFO] [stderr] Downloaded virtio-drivers v0.1.0 [INFO] [stderr] Downloaded page-table v0.0.6 [INFO] [stderr] Downloaded customizable-buddy v0.0.3 [INFO] [stderr] Downloaded tg-rcore-tutorial-console v0.4.8 [INFO] [stderr] Downloaded tg-rcore-tutorial-kernel-alloc v0.4.8 [INFO] [stderr] Downloaded tg-rcore-tutorial-sbi v0.4.9 [INFO] [stderr] Downloaded tg-rcore-tutorial-signal v0.4.8 [INFO] [stderr] Downloaded tg-rcore-tutorial-easy-fs v0.4.8 [INFO] [stderr] Downloaded tg-rcore-tutorial-kernel-context v0.4.8 [INFO] [stderr] Downloaded tg-rcore-tutorial-kernel-vm v0.4.8 [INFO] [stderr] Downloaded tg-rcore-tutorial-signal-impl v0.4.8 [INFO] [stderr] Downloaded riscv v0.10.1 [INFO] [stderr] Downloaded tg-rcore-tutorial-linker v0.4.8 [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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b5f864b456944df4deb34396c4de177e821ed89570baaaa757a6744ae23e8ebf [INFO] running `Command { std: "docker" "start" "-a" "b5f864b456944df4deb34396c4de177e821ed89570baaaa757a6744ae23e8ebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5f864b456944df4deb34396c4de177e821ed89570baaaa757a6744ae23e8ebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5f864b456944df4deb34396c4de177e821ed89570baaaa757a6744ae23e8ebf", kill_on_drop: false }` [INFO] [stdout] b5f864b456944df4deb34396c4de177e821ed89570baaaa757a6744ae23e8ebf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] baabc716f6de13a442bc02989da0c60ad50a5db3c9650dd4091eb7697fb1b62e [INFO] running `Command { std: "docker" "start" "-a" "baabc716f6de13a442bc02989da0c60ad50a5db3c9650dd4091eb7697fb1b62e", 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 nb v1.1.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling numeric-enum-macro v0.2.0 [INFO] [stderr] Compiling tg-rcore-tutorial-signal-defs v0.4.8 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling riscv v0.10.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling page-table v0.0.6 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling tg-rcore-tutorial-linker v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-context v0.4.8 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling tg-rcore-tutorial-syscall v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-signal v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-task-manage v0.4.8 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling tg-rcore-tutorial-easy-fs v0.4.8 [INFO] [stderr] Compiling zero v0.1.3 [INFO] [stderr] Compiling customizable-buddy v0.0.3 [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-signal-impl 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 virtio-drivers v0.1.0 [INFO] [stderr] Compiling tg-rcore-tutorial-sbi v0.4.9 [INFO] [stderr] Compiling tg-rcore-tutorial-sync v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde 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-ch8 v0.4.10 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.43s [INFO] running `Command { std: "docker" "inspect" "baabc716f6de13a442bc02989da0c60ad50a5db3c9650dd4091eb7697fb1b62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baabc716f6de13a442bc02989da0c60ad50a5db3c9650dd4091eb7697fb1b62e", kill_on_drop: false }` [INFO] [stdout] baabc716f6de13a442bc02989da0c60ad50a5db3c9650dd4091eb7697fb1b62e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 55cff05469216ee3a2b621bf081f509913c4ad66e8768e83f6e186c78a9215ed [INFO] running `Command { std: "docker" "start" "-a" "55cff05469216ee3a2b621bf081f509913c4ad66e8768e83f6e186c78a9215ed", kill_on_drop: false }` [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling numeric-enum-macro v0.2.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling page-table v0.0.6 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling tg-rcore-tutorial-linker v0.4.8 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling tg-rcore-tutorial-signal-defs v0.4.8 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling customizable-buddy v0.0.3 [INFO] [stderr] Compiling tg-rcore-tutorial-task-manage v0.4.8 [INFO] [stderr] Compiling zero v0.1.3 [INFO] [stderr] Compiling tg-rcore-tutorial-sbi v0.4.9 [INFO] [stderr] Compiling tg-rcore-tutorial-kernel-context v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-easy-fs v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-signal v0.4.8 [INFO] [stderr] Compiling riscv v0.10.1 [INFO] [stderr] Compiling tg-rcore-tutorial-console v0.4.8 [INFO] [stderr] Compiling virtio-drivers v0.1.0 [INFO] [stderr] Compiling tg-rcore-tutorial-signal-impl v0.4.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-vm v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-syscall v0.4.8 [INFO] [stderr] Compiling tg-rcore-tutorial-ch8 v0.4.10 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tg-rcore-tutorial-sync v0.4.8 [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 284 | / fn panic(info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 285 | | println!("{info}"); [INFO] [stdout] 286 | | tg_sbi::shutdown(true) [INFO] [stdout] 287 | | } [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_ch8`) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tg-rcore-tutorial-ch8` (bin "tg-rcore-tutorial-ch8" 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" "55cff05469216ee3a2b621bf081f509913c4ad66e8768e83f6e186c78a9215ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55cff05469216ee3a2b621bf081f509913c4ad66e8768e83f6e186c78a9215ed", kill_on_drop: false }` [INFO] [stdout] 55cff05469216ee3a2b621bf081f509913c4ad66e8768e83f6e186c78a9215ed