[INFO] cloning repository https://github.com/terrarier2111/LeafOS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/terrarier2111/LeafOS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterrarier2111%2FLeafOS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterrarier2111%2FLeafOS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22ac14f9698a5db9e21393d28637d386291c7ff7 [INFO] testing terrarier2111/LeafOS against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterrarier2111%2FLeafOS" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/terrarier2111/LeafOS on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/terrarier2111/LeafOS [INFO] finished tweaking git repo https://github.com/terrarier2111/LeafOS [INFO] tweaked toml for git repo https://github.com/terrarier2111/LeafOS written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/terrarier2111/LeafOS 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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing terrarier2111/LeafOS against try#393ef12c970fbc7f294cd96c35cb76f9591bc1d6 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterrarier2111%2FLeafOS" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/terrarier2111/LeafOS on toolchain 393ef12c970fbc7f294cd96c35cb76f9591bc1d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/terrarier2111/LeafOS [INFO] finished tweaking git repo https://github.com/terrarier2111/LeafOS [INFO] tweaked toml for git repo https://github.com/terrarier2111/LeafOS written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/terrarier2111/LeafOS 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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-a v7.2.0 [INFO] [stderr] Downloaded bit v0.1.1 [INFO] [stderr] Downloaded uart_16550 v0.2.16 [INFO] [stderr] Downloaded x86_64 v0.14.9 [INFO] [stderr] Downloaded x2apic v0.4.0 [INFO] [stderr] Downloaded x86 v0.47.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3da6755761049470bbfed51a5381f09f20f1b967d1732cf0ee52adae5be1430f [INFO] running `Command { std: "docker" "start" "-a" "3da6755761049470bbfed51a5381f09f20f1b967d1732cf0ee52adae5be1430f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3da6755761049470bbfed51a5381f09f20f1b967d1732cf0ee52adae5be1430f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da6755761049470bbfed51a5381f09f20f1b967d1732cf0ee52adae5be1430f", kill_on_drop: false }` [INFO] [stdout] 3da6755761049470bbfed51a5381f09f20f1b967d1732cf0ee52adae5be1430f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b780c26c0af0e20d4a418c4079c6ada01ee4c2f01fdc61b3dbb638baabd0772 [INFO] running `Command { std: "docker" "start" "-a" "8b780c26c0af0e20d4a418c4079c6ada01ee4c2f01fdc61b3dbb638baabd0772", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling volatile v0.4.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling raw-cpuid v10.3.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling x86 v0.47.0 [INFO] [stderr] Compiling bootloader v0.9.22 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling spinning_top v0.2.4 [INFO] [stderr] Compiling bit v0.1.1 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling tock-registers v0.7.0 [INFO] [stderr] Compiling linked_list_allocator v0.9.1 [INFO] [stderr] Compiling cortex-a v7.2.0 [INFO] [stderr] Compiling pc-keyboard v0.5.1 [INFO] [stderr] Compiling volatile v0.2.7 [INFO] [stderr] Compiling spin v0.7.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling x86_64 v0.14.9 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling uart_16550 v0.2.16 [INFO] [stderr] Compiling pic8259 v0.10.2 [INFO] [stderr] Compiling x2apic v0.4.0 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.7.0 [INFO] [stderr] Compiling LeafOS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BootInfo`, `entry_point` [INFO] [stdout] --> src/lib.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use bootloader::{BootInfo, entry_point}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::println` [INFO] [stdout] --> src/vga_buffer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::println; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mapper`, `Page` [INFO] [stdout] --> src/memory.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use x86_64::structures::paging::{FrameAllocator, Mapper, OffsetPageTable, Page, PhysFrame, Size4KiB}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::allocators::fixed_size_block::FixedSizeBlockAllocator` [INFO] [stdout] --> src/allocators/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::allocators::fixed_size_block::FixedSizeBlockAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/drivers/pit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64`, `Ordering` [INFO] [stdout] --> src/drivers/pit.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::{AtomicU64, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> src/scheduler.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{println, wait_for_interrupt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'exposed_provenance' [INFO] [stdout] --> src/scheduler.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | let kernel_stack: *mut usize = ptr::from_exposed_addr_mut(kernel_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #95228 for more information [INFO] [stdout] = help: add `#![feature(exposed_provenance)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-02-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'stdarch_x86_has_cpuid' [INFO] [stdout] --> src/arch/x86/cpuid.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | core::arch::x86_64::has_cpuid() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #60123 for more information [INFO] [stdout] = help: add `#![feature(stdarch_x86_has_cpuid)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-02-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `stdsimd` [INFO] [stdout] --> src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(stdsimd)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gdt.rs:33:75 [INFO] [stdout] | [INFO] [stdout] 33 | let tss_selector = gdt.add_entry(Descriptor::tss_segment(unsafe { &TSS })); // 5th segment (at index 4) [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 33 | let tss_selector = gdt.add_entry(Descriptor::tss_segment(unsafe { addr_of!(TSS) })); // 5th segment (at index 4) [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'exposed_provenance' [INFO] [stdout] --> src/gdt.rs:72:46 [INFO] [stdout] | [INFO] [stdout] 72 | let stack_start = STACK.as_ptr().expose_addr(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #95228 for more information [INFO] [stdout] = help: add `#![feature(exposed_provenance)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-02-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'exposed_provenance' [INFO] [stdout] --> src/gdt.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | let stack_start = STACK.as_ptr().expose_addr(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #95228 for more information [INFO] [stdout] = help: add `#![feature(exposed_provenance)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-02-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'exposed_provenance' [INFO] [stdout] --> src/scheduler.rs:87:62 [INFO] [stdout] | [INFO] [stdout] 87 | let kernel_addr = kernel_stack.as_mut().as_mut_ptr().expose_addr() + kernel_stack.len(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #95228 for more information [INFO] [stdout] = help: add `#![feature(exposed_provenance)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-02-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'exposed_provenance' [INFO] [stdout] --> src/scheduler.rs:118:58 [INFO] [stdout] | [INFO] [stdout] 118 | user_stack.as_mut().as_mut_ptr().expose_addr() as usize [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #95228 for more information [INFO] [stdout] = help: add `#![feature(exposed_provenance)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-02-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'exposed_provenance' [INFO] [stdout] --> src/scheduler.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | (start_fn as *const ()).expose_addr() as usize); // rip [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #95228 for more information [INFO] [stdout] = help: add `#![feature(exposed_provenance)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-02-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/data_structures/ring_buffer.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn push(&mut self, elem: T) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> src/data_structures/ring_buffer.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn push(&mut self, elem: T) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/syscall.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | fn exit(args: &mut SyscallArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/syscall.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | fn _exit(code: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `LeafOS` (lib) due to 9 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b780c26c0af0e20d4a418c4079c6ada01ee4c2f01fdc61b3dbb638baabd0772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b780c26c0af0e20d4a418c4079c6ada01ee4c2f01fdc61b3dbb638baabd0772", kill_on_drop: false }` [INFO] [stdout] 8b780c26c0af0e20d4a418c4079c6ada01ee4c2f01fdc61b3dbb638baabd0772