[INFO] cloning repository https://github.com/tolikr/my_os_project
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tolikr/my_os_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftolikr%2Fmy_os_project", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftolikr%2Fmy_os_project'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0691128013e5c00235e04ac0dd177a4c36d4f0c4
[INFO] testing tolikr/my_os_project against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftolikr%2Fmy_os_project" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/tolikr/my_os_project
[INFO] finished tweaking git repo https://github.com/tolikr/my_os_project
[INFO] tweaked toml for git repo https://github.com/tolikr/my_os_project written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tolikr/my_os_project on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tolikr/my_os_project 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" "+1.98.0-beta.1" "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 fdt v0.1.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 79f414b17ec2248cee8e0d87be7054f1b5b21c1c39c806d02b8a9760563af69c
[INFO] running `Command { std: "docker" "start" "79f414b17ec2248cee8e0d87be7054f1b5b21c1c39c806d02b8a9760563af69c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79f414b17ec2248cee8e0d87be7054f1b5b21c1c39c806d02b8a9760563af69c", 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" "79f414b17ec2248cee8e0d87be7054f1b5b21c1c39c806d02b8a9760563af69c" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79f414b17ec2248cee8e0d87be7054f1b5b21c1c39c806d02b8a9760563af69c", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "79f414b17ec2248cee8e0d87be7054f1b5b21c1c39c806d02b8a9760563af69c" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling fdt v0.1.5
[INFO] [stderr]    Compiling my_os_project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::uart::Uart`
[INFO] [stdout]  --> src/memory/mmu.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::uart::Uart;
[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 imports: `DerefMut` and `Deref`
[INFO] [stdout]  --> src/memory/mmu.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::ops::{Deref, DerefMut};
[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] error: invalid register `a7`: unknown register
[INFO] [stdout]   --> src/arch/timer.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             in("a7") 0x00,          // SBI Extension ID
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a6`: unknown register
[INFO] [stdout]   --> src/arch/timer.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             in("a6") 0,             // SBI Function ID
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a0`: unknown register
[INFO] [stdout]   --> src/arch/timer.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |             in("a0") next_trigger,  // Аргумент: время следующего прерывания (младшие 64 бита)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/arch/trap.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 unsafe {
[INFO] [stdout]    |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::write` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/memory/heap.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | /         ptr::write(raw_node, FreeNode {
[INFO] [stdout] 38 | |             size: aligned_size,
[INFO] [stdout] 39 | |             next: None,
[INFO] [stdout] 40 | |         });
[INFO] [stdout]    | |__________^ call to unsafe function
[INFO] [stdout]    |
[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/heap.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub unsafe fn init(&self, heap_start: usize, heap_size: usize) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/memory/heap.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let head = &mut *self.head.get();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/memory/heap.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 44 |         head.next = Some(&mut *raw_node);
[INFO] [stdout]    |                               ^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/memory/heap.rs:58:32
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let mut current = &mut *self.head.get();
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/memory/heap.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::write` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/memory/heap.rs:78:21
[INFO] [stdout]    |
[INFO] [stdout] 78 | /                     ptr::write(rem_node_ptr, FreeNode {
[INFO] [stdout] 79 | |                         size: block_end - alloc_end,
[INFO] [stdout] 80 | |                         next: taken_node.next.take(),
[INFO] [stdout] 81 | |                     });
[INFO] [stdout]    | |______________________^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/memory/heap.rs:82:46
[INFO] [stdout]    |
[INFO] [stdout] 82 |                     current.next = Some(&mut *rem_node_ptr);
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/memory/heap.rs:72:21
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 let mut taken_node = current.next.take().unwrap();
[INFO] [stdout]    |                     ----^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/memory/heap.rs:102:25
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let head = &mut *self.head.get();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/memory/heap.rs:97:5
[INFO] [stdout]     |
[INFO] [stdout]  97 |     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::write` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/memory/heap.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 | /         ptr::write(node_ptr, FreeNode {
[INFO] [stdout] 105 | |             size: layout.size(),
[INFO] [stdout] 106 | |             next: head.next.take(),
[INFO] [stdout] 107 | |         });
[INFO] [stdout]     | |__________^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/memory/heap.rs:109:31
[INFO] [stdout]     |
[INFO] [stdout] 109 |         head.next = Some(&mut *node_ptr);
[INFO] [stdout]     |                               ^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/memory/mmu.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut table1_addr = if pte2.is_valid() {
[INFO] [stdout]    |             ----^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id_b`
[INFO] [stdout]   --> src/lib.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let id_b = s.create_task(task_beta);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_id_b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my_os_project` (lib) due to 4 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "79f414b17ec2248cee8e0d87be7054f1b5b21c1c39c806d02b8a9760563af69c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79f414b17ec2248cee8e0d87be7054f1b5b21c1c39c806d02b8a9760563af69c", kill_on_drop: false }`
[INFO] [stdout] 79f414b17ec2248cee8e0d87be7054f1b5b21c1c39c806d02b8a9760563af69c
