[INFO] cloning repository https://github.com/Ktonel475/CustomKernel
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ktonel475/CustomKernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKtonel475%2FCustomKernel", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKtonel475%2FCustomKernel'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e1f85e9a9d6f9c3e269db6643c832b5830049a40
[INFO] checking Ktonel475/CustomKernel against c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 for pr-160391-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKtonel475%2FCustomKernel" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/Ktonel475/CustomKernel
[INFO] finished tweaking git repo https://github.com/Ktonel475/CustomKernel
[INFO] tweaked toml for git repo https://github.com/Ktonel475/CustomKernel written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ktonel475/CustomKernel on toolchain c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ktonel475/CustomKernel 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" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "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
[INFO] checking Ktonel475/CustomKernel against c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 for pr-160391-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKtonel475%2FCustomKernel" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/Ktonel475/CustomKernel
[INFO] finished tweaking git repo https://github.com/Ktonel475/CustomKernel
[INFO] tweaked toml for git repo https://github.com/Ktonel475/CustomKernel written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ktonel475/CustomKernel on toolchain c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ktonel475/CustomKernel 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" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "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 limine v0.6.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d06c8c4d1c5972fae57ad9dfdebd84e452250a94b5602235f1e6a40b04cff146
[INFO] running `Command { std: "docker" "start" "d06c8c4d1c5972fae57ad9dfdebd84e452250a94b5602235f1e6a40b04cff146", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d06c8c4d1c5972fae57ad9dfdebd84e452250a94b5602235f1e6a40b04cff146", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d06c8c4d1c5972fae57ad9dfdebd84e452250a94b5602235f1e6a40b04cff146" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d06c8c4d1c5972fae57ad9dfdebd84e452250a94b5602235f1e6a40b04cff146", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d06c8c4d1c5972fae57ad9dfdebd84e452250a94b5602235f1e6a40b04cff146" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]     Checking limine v0.6.5
[INFO] [stderr]     Checking myos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `free_page`
[INFO] [stdout]  --> src/memory/heap.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::pmm::{PAGE_SIZE, alloc_page, free_page};
[INFO] [stdout]   |                                         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Task`
[INFO] [stdout]  --> src/multitask/scheduler.rs:2:42
[INFO] [stdout]   |
[INFO] [stdout] 2 |     self, CURRENT, MAX_TASKS, TASK_LOCK, Task, TaskState, current_task, get_task,
[INFO] [stdout]   |                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `scheduler` and `syscall`
[INFO] [stdout]   --> src/main.rs:34:32
[INFO] [stdout]    |
[INFO] [stdout] 34 |     interrupt::{idt, pic, pit, syscall},
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout] 35 |     memory::{heap, pmm, vmm},
[INFO] [stdout] 36 |     multitask::{demo_tasks, scheduler, task},
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `free_page`
[INFO] [stdout]  --> src/memory/heap.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::pmm::{PAGE_SIZE, alloc_page, free_page};
[INFO] [stdout]   |                                         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Task`
[INFO] [stdout]  --> src/multitask/scheduler.rs:2:42
[INFO] [stdout]   |
[INFO] [stdout] 2 |     self, CURRENT, MAX_TASKS, TASK_LOCK, Task, TaskState, current_task, get_task,
[INFO] [stdout]   |                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `scheduler` and `syscall`
[INFO] [stdout]   --> src/main.rs:34:32
[INFO] [stdout]    |
[INFO] [stdout] 34 |     interrupt::{idt, pic, pit, syscall},
[INFO] [stdout]    |                                ^^^^^^^
[INFO] [stdout] 35 |     memory::{heap, pmm, vmm},
[INFO] [stdout] 36 |     multitask::{demo_tasks, scheduler, task},
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/main.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | / fn panic(info: &PanicInfo) -> ! {
[INFO] [stdout] 46 | |     unsafe {
[INFO] [stdout] 47 | |         core::arch::asm!("cli");
[INFO] [stdout] ...  |
[INFO] [stdout] 75 | | }
[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/c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-530112f2fd58de10.rmeta
[INFO] [stdout]    = note: second definition in the local crate (`myos`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `myos` (bin "myos" test) due to 1 previous error; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `rflags`
[INFO] [stdout]   --> src/multitask/spinlock.rs:70:15
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn read_flags(rflags: u64) {
[INFO] [stdout]    |               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rflags`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `rflags` is assigned to, but never used
[INFO] [stdout]   --> src/multitask/spinlock.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let rflags: u64;
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_rflags` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `rflags` is never read
[INFO] [stdout]   --> src/multitask/spinlock.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 | /         core::arch::asm!(
[INFO] [stdout] 74 | |             "pushfq",
[INFO] [stdout] 75 | |             "pop {rflags}",
[INFO] [stdout] 76 | |             rflags = out(reg) rflags,
[INFO] [stdout] 77 | |             options(nomem, nostack)
[INFO] [stdout] 78 | |         );
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/shell/simple_shell.rs:364:1
[INFO] [stdout]     |
[INFO] [stdout] 364 | extern "C" fn recurse_forever() {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] ...
[INFO] [stdout] 369 |     recurse_forever();
[INFO] [stdout]     |     ----------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]     = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_cr3` is never used
[INFO] [stdout]   --> src/memory/vmm.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn write_cr3(v: u64) {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_flags` is never used
[INFO] [stdout]   --> src/multitask/spinlock.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn read_flags(rflags: u64) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INITIAL_RFLAGS` is never used
[INFO] [stdout]   --> src/multitask/task.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const INITIAL_RFLAGS: u64 = 0x202;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `width` is never read
[INFO] [stdout]   --> src/ui/terminal.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Terminal {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 28 |     addr: *mut u32,
[INFO] [stdout] 29 |     width: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/multitask/spinlock.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn acquire(&self) -> SpinlockGuard {
[INFO] [stdout]    |                    ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn acquire(&self) -> SpinlockGuard<'_> {
[INFO] [stdout]    |                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d06c8c4d1c5972fae57ad9dfdebd84e452250a94b5602235f1e6a40b04cff146", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d06c8c4d1c5972fae57ad9dfdebd84e452250a94b5602235f1e6a40b04cff146", kill_on_drop: false }`
[INFO] [stdout] d06c8c4d1c5972fae57ad9dfdebd84e452250a94b5602235f1e6a40b04cff146
