[INFO] cloning repository https://github.com/ronenBenYaakov/Rust-Vmware [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ronenBenYaakov/Rust-Vmware" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FronenBenYaakov%2FRust-Vmware", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FronenBenYaakov%2FRust-Vmware'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cebe4e2164e169876739f78feb97d0c09e09eeb7 [INFO] checking ronenBenYaakov/Rust-Vmware against try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FronenBenYaakov%2FRust-Vmware" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/ronenBenYaakov/Rust-Vmware [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/ronenBenYaakov/Rust-Vmware [INFO] tweaked toml for git repo https://github.com/ronenBenYaakov/Rust-Vmware written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ronenBenYaakov/Rust-Vmware on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ronenBenYaakov/Rust-Vmware 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" "+1383df06117fd218068d1f39fd5326256dd4a348" "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 pic8259 v0.10.1 [INFO] [stderr] Downloaded spinning_top v0.2.4 [INFO] [stderr] Downloaded uart_16550 v0.2.14 [INFO] [stderr] Downloaded conquer-once v0.2.1 [INFO] [stderr] Downloaded conquer-util v0.2.0 [INFO] [stderr] Downloaded bootloader v0.9.31 [INFO] [stderr] Downloaded pc-keyboard v0.7.0 [INFO] [stderr] Downloaded x86_64 v0.14.7 [INFO] [stderr] Downloaded linked_list_allocator v0.9.0 [INFO] [stderr] Downloaded volatile v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff45a1fdd63f36a028fe60b783a06859813503c5f8e2263b6cd17483613b9123 [INFO] running `Command { std: "docker" "start" "-a" "ff45a1fdd63f36a028fe60b783a06859813503c5f8e2263b6cd17483613b9123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff45a1fdd63f36a028fe60b783a06859813503c5f8e2263b6cd17483613b9123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff45a1fdd63f36a028fe60b783a06859813503c5f8e2263b6cd17483613b9123", kill_on_drop: false }` [INFO] [stdout] ff45a1fdd63f36a028fe60b783a06859813503c5f8e2263b6cd17483613b9123 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7c99d038e7d21e45274ea6cd605f964d14706d0d8b70f9911358d9c2f08ef8e [INFO] running `Command { std: "docker" "start" "-a" "e7c99d038e7d21e45274ea6cd605f964d14706d0d8b70f9911358d9c2f08ef8e", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling x86_64 v0.14.7 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking volatile v0.4.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bootloader v0.9.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking conquer-util v0.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking pc-keyboard v0.7.0 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking conquer-once v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking spinning_top v0.2.4 [INFO] [stderr] Checking linked_list_allocator v0.9.0 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking uart_16550 v0.2.14 [INFO] [stderr] Checking pic8259 v0.10.1 [INFO] [stderr] Checking blog_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid signature for `extern "x86-interrupt"` function [INFO] [stdout] --> src/interrupts.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | ) -> ! { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: functions with the "custom" ABI cannot have a return type [INFO] [stdout] help: remove the return type [INFO] [stdout] --> src/interrupts.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | ) -> ! { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid signature for `extern "x86-interrupt"` function [INFO] [stdout] --> src/interrupts.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | ) -> ! { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: functions with the "custom" ABI cannot have a return type [INFO] [stdout] help: remove the return type [INFO] [stdout] --> src/interrupts.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | ) -> ! { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr::write_volatile` [INFO] [stdout] --> src/device.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::write_volatile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PortRead` and `PortWrite` [INFO] [stdout] --> src/pci.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use x86_64::instructions::port::{PortRead, PortWrite, Port}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `print_pci_device_details` and `reset_device` [INFO] [stdout] --> src/pci.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{device::{print_pci_device_details, reset_device}, println}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysFrame` [INFO] [stdout] --> src/allocator.rs:6:75 [INFO] [stdout] | [INFO] [stdout] 6 | mapper::MapToError, FrameAllocator, Mapper, Page, PageTableFlags, PhysFrame, Size4KiB [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr::write_volatile` [INFO] [stdout] --> src/device.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::write_volatile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PortRead` and `PortWrite` [INFO] [stdout] --> src/pci.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use x86_64::instructions::port::{PortRead, PortWrite, Port}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `print_pci_device_details` and `reset_device` [INFO] [stdout] --> src/pci.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{device::{print_pci_device_details, reset_device}, println}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhysFrame` [INFO] [stdout] --> src/allocator.rs:6:75 [INFO] [stdout] | [INFO] [stdout] 6 | mapper::MapToError, FrameAllocator, Mapper, Page, PageTableFlags, PhysFrame, Size4KiB [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: unused variable: `revision_id` [INFO] [stdout] --> src/device.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let revision_id = (data & 0xFF) as u8; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_revision_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `revision_id` [INFO] [stdout] --> src/device.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let revision_id = (data & 0xFF) as u8; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_revision_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::write_volatile` is unsafe and requires unsafe block [INFO] [stdout] --> src/device.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | core::ptr::write_volatile(ctrl_reg, RESET_BIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/device.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe fn reset_device(bar0_mmio_base: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::write_volatile` is unsafe and requires unsafe block [INFO] [stdout] --> src/device.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | core::ptr::write_volatile(ctrl_reg, RESET_BIT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/device.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub unsafe fn reset_device(bar0_mmio_base: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/device.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | core::arch::asm!("nop"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block [INFO] [stdout] --> src/device.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | core::arch::asm!("nop"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x86_64::structures::paging::Mapper::map_to` is unsafe and requires unsafe block [INFO] [stdout] --> src/memory.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | / offset_page_table [INFO] [stdout] 109 | | .map_to(page, frame, flags, frame_allocator) [INFO] [stdout] | |________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/memory.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / pub unsafe fn map_mmio( [INFO] [stdout] 94 | | phys_addr: PhysAddr, [INFO] [stdout] 95 | | size: u64, [INFO] [stdout] 96 | | offset_page_table: &mut OffsetPageTable, [INFO] [stdout] 97 | | frame_allocator: &mut impl FrameAllocator, [INFO] [stdout] 98 | | ) -> VirtAddr { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x86_64::structures::paging::Mapper::map_to` is unsafe and requires unsafe block [INFO] [stdout] --> src/memory.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | / offset_page_table [INFO] [stdout] 109 | | .map_to(page, frame, flags, frame_allocator) [INFO] [stdout] | |________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/memory.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / pub unsafe fn map_mmio( [INFO] [stdout] 94 | | phys_addr: PhysAddr, [INFO] [stdout] 95 | | size: u64, [INFO] [stdout] 96 | | offset_page_table: &mut OffsetPageTable, [INFO] [stdout] 97 | | frame_allocator: &mut impl FrameAllocator, [INFO] [stdout] 98 | | ) -> VirtAddr { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blog_os` (lib) due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blog_os` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e7c99d038e7d21e45274ea6cd605f964d14706d0d8b70f9911358d9c2f08ef8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c99d038e7d21e45274ea6cd605f964d14706d0d8b70f9911358d9c2f08ef8e", kill_on_drop: false }` [INFO] [stdout] e7c99d038e7d21e45274ea6cd605f964d14706d0d8b70f9911358d9c2f08ef8e