[INFO] fetching crate rusty-hermit 0.3.40... [INFO] checking rusty-hermit-0.3.40 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate rusty-hermit 0.3.40 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate rusty-hermit 0.3.40 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking crates.io crate rusty-hermit 0.3.40 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rusty-hermit 0.3.40 [INFO] tweaked toml for crates.io crate rusty-hermit 0.3.40 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-derive v0.3.2 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded raw-cpuid v8.1.1 [INFO] [stderr] Downloaded x86 v0.34.0 [INFO] [stderr] Downloaded multiboot v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ae0450a1887ef505081d85a0a76e5935dbd2553f19b40e74c08a9bb4ec080b6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0ae0450a1887ef505081d85a0a76e5935dbd2553f19b40e74c08a9bb4ec080b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ae0450a1887ef505081d85a0a76e5935dbd2553f19b40e74c08a9bb4ec080b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ae0450a1887ef505081d85a0a76e5935dbd2553f19b40e74c08a9bb4ec080b6", kill_on_drop: false }` [INFO] [stdout] 0ae0450a1887ef505081d85a0a76e5935dbd2553f19b40e74c08a9bb4ec080b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e3ccd73c42fb13ccc3405b2799c16a2aa8e1eabe24d275c93eedbfb93afa10b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1e3ccd73c42fb13ccc3405b2799c16a2aa8e1eabe24d275c93eedbfb93afa10b", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling x86 v0.34.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling rusty-hermit v0.3.40 (/opt/rustwide/workdir) [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking multiboot v0.3.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling raw-cpuid v8.1.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling num-derive v0.3.2 [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/mm/allocator.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use core::alloc::{AllocErr, GlobalAlloc, Layout}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::alloc::AllocErr` [INFO] [stdout] --> src/mm/hole.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use alloc::alloc::{AllocErr, Layout}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::alloc::AllocErr` [INFO] [stdout] --> src/mm/allocator.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use core::alloc::{AllocErr, GlobalAlloc, Layout}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc::alloc::AllocErr` [INFO] [stdout] --> src/mm/hole.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use alloc::alloc::{AllocErr, Layout}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AllocErr` in `alloc` [INFO] [stdout] | help: a similar name exists in the module: `AllocError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::alloc::Layout` [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use alloc::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::alloc::GlobalAlloc` [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | use core::alloc::GlobalAlloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch::percore::*` [INFO] [stdout] --> src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | use arch::percore::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mm::allocator::LockedHeap` [INFO] [stdout] --> src/lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | use mm::allocator::LockedHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cr0`, `cr0_write`, `cr0`, `cr4` [INFO] [stdout] --> src/arch/x86_64/kernel/mod.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use x86::controlregs::{cr0, cr0_write, cr4, Cr0}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kernel_message_buffer` [INFO] [stdout] --> src/arch/x86_64/kernel/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::kernel_message_buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/arch/x86_64/kernel/apic.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use core::{cmp, fmt, mem, ptr, u32}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::x86::bits64::rflags` [INFO] [stdout] --> src/arch/x86_64/kernel/irq.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::x86::bits64::rflags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `idt` [INFO] [stdout] --> src/arch/x86_64/kernel/processor.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::arch::x86_64::kernel::{idt, irq, pic, pit, BOOT_INFO}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/mm/test.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HugePageSize`, `LargePageSize` [INFO] [stdout] --> src/mm/mod.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | BasePageSize, HugePageSize, LargePageSize, PageSize, PageTableEntryFlags, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::arch::mm::physicalmem::total_memory_size` [INFO] [stdout] --> src/mm/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::arch::mm::physicalmem::total_memory_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::environment` [INFO] [stdout] --> src/mm/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/mm/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem`, `ptr`, `slice` [INFO] [stdout] --> src/syscalls/interfaces/uhyve.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use core::{mem, ptr, slice}; [INFO] [stdout] | ^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::alloc::Layout` [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use alloc::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::alloc::GlobalAlloc` [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | use core::alloc::GlobalAlloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch::percore::*` [INFO] [stdout] --> src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | use arch::percore::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mm::allocator::LockedHeap` [INFO] [stdout] --> src/lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | use mm::allocator::LockedHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cr0`, `cr0_write`, `cr0`, `cr4` [INFO] [stdout] --> src/arch/x86_64/kernel/mod.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use x86::controlregs::{cr0, cr0_write, cr4, Cr0}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kernel_message_buffer` [INFO] [stdout] --> src/arch/x86_64/kernel/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::kernel_message_buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/arch/x86_64/kernel/apic.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | use core::{cmp, fmt, mem, ptr, u32}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::x86::bits64::rflags` [INFO] [stdout] --> src/arch/x86_64/kernel/irq.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::x86::bits64::rflags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `idt` [INFO] [stdout] --> src/arch/x86_64/kernel/processor.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::arch::x86_64::kernel::{idt, irq, pic, pit, BOOT_INFO}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HugePageSize`, `LargePageSize` [INFO] [stdout] --> src/mm/mod.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | BasePageSize, HugePageSize, LargePageSize, PageSize, PageTableEntryFlags, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::arch::mm::physicalmem::total_memory_size` [INFO] [stdout] --> src/mm/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::arch::mm::physicalmem::total_memory_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::environment` [INFO] [stdout] --> src/mm/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::environment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/mm/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mem`, `ptr`, `slice` [INFO] [stdout] --> src/syscalls/interfaces/uhyve.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use core::{mem, ptr, slice}; [INFO] [stdout] | ^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-hermit` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1e3ccd73c42fb13ccc3405b2799c16a2aa8e1eabe24d275c93eedbfb93afa10b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3ccd73c42fb13ccc3405b2799c16a2aa8e1eabe24d275c93eedbfb93afa10b", kill_on_drop: false }` [INFO] [stdout] 1e3ccd73c42fb13ccc3405b2799c16a2aa8e1eabe24d275c93eedbfb93afa10b