[INFO] fetching crate rusty-hermit 0.3.52... [INFO] checking rusty-hermit-0.3.52 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate rusty-hermit 0.3.52 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate rusty-hermit 0.3.52 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5/source/rust-toolchain.toml [INFO] started tweaking crates.io crate rusty-hermit 0.3.52 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rusty-hermit 0.3.52 [INFO] tweaked toml for crates.io crate rusty-hermit 0.3.52 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fdfaf86b6f3ac2e1e75b83a816991b405d208301022ca096ca7293f4d6bf812 [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" "1fdfaf86b6f3ac2e1e75b83a816991b405d208301022ca096ca7293f4d6bf812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fdfaf86b6f3ac2e1e75b83a816991b405d208301022ca096ca7293f4d6bf812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fdfaf86b6f3ac2e1e75b83a816991b405d208301022ca096ca7293f4d6bf812", kill_on_drop: false }` [INFO] [stdout] 1fdfaf86b6f3ac2e1e75b83a816991b405d208301022ca096ca7293f4d6bf812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a370ae4bb7c8c85d0a0bd81c9228e464550777587f96d2b2917b0cb6e058a58b [INFO] running `Command { std: "docker" "start" "-a" "a370ae4bb7c8c85d0a0bd81c9228e464550777587f96d2b2917b0cb6e058a58b", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling x86 v0.41.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking multiboot v0.7.0 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking raw-cpuid v10.2.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking rusty-hermit v0.3.52 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::kernel::pre_init` [INFO] [stdout] --> src/arch/x86_64/kernel/start.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | kernel::{pre_init, scheduler::TaskStacks, BootInfo}, [INFO] [stdout] | ^^^^^^^^ no `pre_init` in `arch::x86_64::kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[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:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use alloc::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::alloc::GlobalAlloc` [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use core::alloc::GlobalAlloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch::percore::*` [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | use arch::percore::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mm::allocator::LockedHeap` [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | 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: `core::ptr` [INFO] [stdout] --> src/arch/x86_64/kernel/apic.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use core::ptr; [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 import: `alloc::prelude::v1::Box` [INFO] [stdout] --> src/syscalls/interfaces/uhyve.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec::Vec` [INFO] [stdout] --> src/syscalls/interfaces/uhyve.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/syscalls/interfaces/uhyve.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[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:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use alloc::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::alloc::GlobalAlloc` [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use core::alloc::GlobalAlloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch::percore::*` [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | use arch::percore::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mm::allocator::LockedHeap` [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | 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: `core::ptr` [INFO] [stdout] --> src/arch/x86_64/kernel/apic.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use core::ptr; [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 import: `alloc::prelude::v1::Box` [INFO] [stdout] --> src/syscalls/interfaces/uhyve.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::prelude::v1::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec::Vec` [INFO] [stdout] --> src/syscalls/interfaces/uhyve.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/syscalls/interfaces/uhyve.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: Ord` is not satisfied [INFO] [stdout] --> src/syscalls/fs.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | mounts: BTreeMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Ord` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] note: required by `BTreeMap::::new` [INFO] [stdout] help: consider introducing a `where` bound, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 66 | impl Filesystem where String: Ord { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: Ord` is not satisfied [INFO] [stdout] --> src/syscalls/fs.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | files: BTreeMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Ord` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] note: required by `BTreeMap::::new` [INFO] [stdout] help: consider introducing a `where` bound, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 66 | impl Filesystem where u64: Ord { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-hermit` due to 4 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `String: Ord` is not satisfied [INFO] [stdout] --> src/syscalls/fs.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | mounts: BTreeMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Ord` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] note: required by `BTreeMap::::new` [INFO] [stdout] help: consider introducing a `where` bound, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 66 | impl Filesystem where String: Ord { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: Ord` is not satisfied [INFO] [stdout] --> src/syscalls/fs.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | files: BTreeMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Ord` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] note: required by `BTreeMap::::new` [INFO] [stdout] help: consider introducing a `where` bound, but there might be an alternative better way to express this requirement [INFO] [stdout] | [INFO] [stdout] 66 | impl Filesystem where u64: Ord { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a370ae4bb7c8c85d0a0bd81c9228e464550777587f96d2b2917b0cb6e058a58b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a370ae4bb7c8c85d0a0bd81c9228e464550777587f96d2b2917b0cb6e058a58b", kill_on_drop: false }` [INFO] [stdout] a370ae4bb7c8c85d0a0bd81c9228e464550777587f96d2b2917b0cb6e058a58b