[INFO] cloning repository https://github.com/0AC0/krt2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0AC0/krt2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0AC0%2Fkrt2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0AC0%2Fkrt2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 82a545efc5c7eaaa24e7a5a3dbdc3c8de689ffe6
[INFO] checking 0AC0/krt2 against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0AC0%2Fkrt2" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/0AC0/krt2
[INFO] finished tweaking git repo https://github.com/0AC0/krt2
[INFO] tweaked toml for git repo https://github.com/0AC0/krt2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0AC0/krt2 on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0AC0/krt2 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6fd1ded568c3cf3b9441c7ae7f54a035972aaf0299eda7c9197aac091f57796
[INFO] running `Command { std: "docker" "start" "-a" "d6fd1ded568c3cf3b9441c7ae7f54a035972aaf0299eda7c9197aac091f57796", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6fd1ded568c3cf3b9441c7ae7f54a035972aaf0299eda7c9197aac091f57796", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6fd1ded568c3cf3b9441c7ae7f54a035972aaf0299eda7c9197aac091f57796", kill_on_drop: false }`
[INFO] [stdout] d6fd1ded568c3cf3b9441c7ae7f54a035972aaf0299eda7c9197aac091f57796
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f707bd6bd1099e473cb7b7e5982e6e4ee12fcd51c69d4702ae459612a75a0004
[INFO] running `Command { std: "docker" "start" "-a" "f707bd6bd1099e473cb7b7e5982e6e4ee12fcd51c69d4702ae459612a75a0004", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.63
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling quote v1.0.29
[INFO] [stderr]    Compiling az v1.2.1
[INFO] [stderr]    Compiling regex-syntax v0.7.2
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling rustversion v1.0.12
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling riscv v0.10.1
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking micromath v2.0.0
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking volatile v0.4.6
[INFO] [stderr]     Checking critical-section v1.1.1
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling aho-corasick v1.0.2
[INFO] [stderr]     Checking x86_64 v0.14.10
[INFO] [stderr]    Compiling krt2 v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking r0 v1.0.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking fdt v0.1.5
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]     Checking embedded-graphics-core v0.4.0
[INFO] [stderr]     Checking uart_16550 v0.2.18
[INFO] [stderr]     Checking embedded-graphics v0.8.0
[INFO] [stderr]    Compiling regex v1.8.4
[INFO] [stderr]    Compiling riscv-target v0.1.2
[INFO] [stderr]     Checking tinybmp v0.5.0
[INFO] [stderr]    Compiling riscv-rt v0.11.0
[INFO] [stderr]    Compiling riscv-rt-macros v0.2.0
[INFO] [stdout] warning: unused import: `bitmap_heap::BitmapAllocator`
[INFO] [stdout]  --> src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{bitmap_heap::BitmapAllocator, graphics::Pixel};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::serial_println`
[INFO] [stdout]  --> src/virtio.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::serial_println;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::panic`
[INFO] [stdout]   --> src/virtio.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use core::panic;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AvailableRing` and `Queue`
[INFO] [stdout]  --> src/graphics.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::virtio::queue::{Queue, Descriptor, AvailableRing, QUEUE_SIZE};
[INFO] [stdout]   |                            ^^^^^              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/main.rs:64:1
[INFO] [stdout]    |
[INFO] [stdout] 64 | / fn panic(info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 65 | |     serial_print!("Aborting: ");
[INFO] [stdout] 66 | |     if let Some(p) = info.location() {
[INFO] [stdout] 67 | |         serial_println!(
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |     loop { unsafe { wfi() } }
[INFO] [stdout] 77 | | }
[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/3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c3f1bd7325067ba3.rlib
[INFO] [stdout]    = note: second definition in the local crate (`krt2`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `krt2` (bin "krt2" test) due to 1 previous error; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `bitmap_heap::BitmapAllocator`
[INFO] [stdout]  --> src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{bitmap_heap::BitmapAllocator, graphics::Pixel};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::serial_println`
[INFO] [stdout]  --> src/virtio.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::serial_println;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::panic`
[INFO] [stdout]   --> src/virtio.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use core::panic;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AvailableRing` and `Queue`
[INFO] [stdout]  --> src/graphics.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::virtio::queue::{Queue, Descriptor, AvailableRing, QUEUE_SIZE};
[INFO] [stdout]   |                            ^^^^^              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(panic_info_message)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `PanicMessage` in the current scope
[INFO] [stdout]   --> src/main.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     info.message().unwrap()
[INFO] [stdout]    |                                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `unwrapped_as` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     info.message().unwrapped_as()
[INFO] [stdout]    |                                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q_max`
[INFO] [stdout]    --> src/virtio.rs:221:8
[INFO] [stdout]     |
[INFO] [stdout] 221 |             let q_max = (ptr as *mut u32).add(MmioOffsets::QueueNumMax.scale::<u32>()).read_volatile();
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_q_max`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layout`
[INFO] [stdout]   --> src/bitmap_heap.rs:39:44
[INFO] [stdout]    |
[INFO] [stdout] 39 |     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
[INFO] [stdout]    |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `krt2` (bin "krt2") due to 2 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f707bd6bd1099e473cb7b7e5982e6e4ee12fcd51c69d4702ae459612a75a0004", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f707bd6bd1099e473cb7b7e5982e6e4ee12fcd51c69d4702ae459612a75a0004", kill_on_drop: false }`
[INFO] [stdout] f707bd6bd1099e473cb7b7e5982e6e4ee12fcd51c69d4702ae459612a75a0004
