[INFO] cloning repository https://github.com/WangWindow/blog_os_pro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WangWindow/blog_os_pro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWangWindow%2Fblog_os_pro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWangWindow%2Fblog_os_pro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62bbd58a652408516e5c32bab31a34368b15fe90 [INFO] testing WangWindow/blog_os_pro against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWangWindow%2Fblog_os_pro" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/WangWindow/blog_os_pro [INFO] finished tweaking git repo https://github.com/WangWindow/blog_os_pro [INFO] tweaked toml for git repo https://github.com/WangWindow/blog_os_pro written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WangWindow/blog_os_pro on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WangWindow/blog_os_pro 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20ec85ae2c5ece99db6727224d4ec0d9460ab976a18b7d0c8d4b387f24762615 [INFO] running `Command { std: "docker" "start" "-a" "20ec85ae2c5ece99db6727224d4ec0d9460ab976a18b7d0c8d4b387f24762615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20ec85ae2c5ece99db6727224d4ec0d9460ab976a18b7d0c8d4b387f24762615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20ec85ae2c5ece99db6727224d4ec0d9460ab976a18b7d0c8d4b387f24762615", kill_on_drop: false }` [INFO] [stdout] 20ec85ae2c5ece99db6727224d4ec0d9460ab976a18b7d0c8d4b387f24762615 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6182c7601b08c35c7692c373ee781373773ba0bfdd9b456b6a060084a2bed1a [INFO] running `Command { std: "docker" "start" "-a" "d6182c7601b08c35c7692c373ee781373773ba0bfdd9b456b6a060084a2bed1a", kill_on_drop: false }` [INFO] [stderr] Compiling volatile v0.4.6 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bootloader v0.9.29 [INFO] [stderr] Compiling conquer-util v0.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling volatile v0.2.7 [INFO] [stderr] Compiling pc-keyboard v0.7.0 [INFO] [stderr] Compiling spinning_top v0.2.5 [INFO] [stderr] Compiling linked_list_allocator v0.9.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling conquer-once v0.2.1 [INFO] [stderr] Compiling x86_64 v0.14.13 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling uart_16550 v0.2.19 [INFO] [stderr] Compiling pic8259 v0.10.4 [INFO] [stderr] Compiling blog_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitmap::Bitmap` [INFO] [stdout] --> src/fs/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bitmap::Bitmap; [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: `BlockCache` and `block_cache_sync_all` [INFO] [stdout] --> src/fs/mod.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use block_cache::{BlockCache, block_cache_sync_all, get_block_cache}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fixed_size_block::FixedSizeBlockAllocator` [INFO] [stdout] --> src/mm/allocator/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fixed_size_block::FixedSizeBlockAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spin::Mutex` [INFO] [stdout] --> src/mm/allocator/next_fit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spin::Mutex; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_node` [INFO] [stdout] --> src/mm/allocator/best_fit.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let new_node = ListNode::new(size); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_node` [INFO] [stdout] --> src/mm/allocator/first_fit.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let new_node = ListNode::new(size); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `linked_list_allocator::Heap::init` is unsafe and requires unsafe block [INFO] [stdout] --> src/mm/allocator/fixed_size_block.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | self.fallback_allocator.init(heap_start, heap_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/mm/allocator/fixed_size_block.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe fn init(&mut self, heap_start: usize, heap_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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]: call to unsafe function `core::ptr::mut_ptr::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/mm/allocator/fixed_size_block.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | new_node_ptr.write(new_node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/mm/allocator/fixed_size_block.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/mm/allocator/fixed_size_block.rs:126:57 [INFO] [stdout] | [INFO] [stdout] 126 | allocator.list_heads[index] = Some(&mut *new_node_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `linked_list_allocator::Heap::deallocate` is unsafe and requires unsafe block [INFO] [stdout] --> src/mm/allocator/fixed_size_block.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | allocator.fallback_allocator.deallocate(ptr, layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mm::allocator::linked_list::LinkedListAllocator::add_free_region` is unsafe and requires unsafe block [INFO] [stdout] --> src/mm/allocator/linked_list.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | self.add_free_region(heap_start, heap_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/mm/allocator/linked_list.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn init(&mut self, heap_start: usize, heap_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/mm/allocator/linked_list.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | node_ptr.write(node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/mm/allocator/linked_list.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe fn add_free_region(&mut self, addr: usize, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/mm/allocator/linked_list.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | self.head.next = Some(&mut *node_ptr) [INFO] [stdout] | ^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mm::allocator::linked_list::LinkedListAllocator::add_free_region` is unsafe and requires unsafe block [INFO] [stdout] --> src/mm/allocator/linked_list.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | allocator.add_free_region(alloc_end, excess_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/mm/allocator/linked_list.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `mm::allocator::linked_list::LinkedListAllocator::add_free_region` is unsafe and requires unsafe block [INFO] [stdout] --> src/mm/allocator/linked_list.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | self.lock().add_free_region(ptr as usize, size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/mm/allocator/linked_list.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_node` [INFO] [stdout] --> src/mm/allocator/next_fit.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let new_node = ListNode::new(size); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_node` [INFO] [stdout] --> src/mm/allocator/worst_fit.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let new_node = ListNode::new(size); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mm/allocator/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | 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 `mm::memory::active_level_4_table` is unsafe and requires unsafe block [INFO] [stdout] --> src/mm/memory.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | let level_4_table = active_level_4_table(physical_memory_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/mm/memory.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub unsafe fn init(physical_memory_offset: VirtAddr) -> OffsetPageTable<'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x86_64::structures::paging::OffsetPageTable::<'a>::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/mm/memory.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | OffsetPageTable::new(level_4_table, physical_memory_offset) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/mm/memory.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &mut *page_table_ptr // unsafe [INFO] [stdout] | ^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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/mm/memory.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe fn active_level_4_table(physical_memory_offset: VirtAddr) -> &'static mut PageTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/task/shell.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | "status" => unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/task/shell.rs:299:22 [INFO] [stdout] | [INFO] [stdout] 299 | fn cmd_ls(&self, args: &[&str]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDIRECT2_BOUND` is never used [INFO] [stdout] --> src/fs/layout.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const INDIRECT2_BOUND: usize = INDIRECT1_BOUND + INODE_INDIRECT2_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/fs/layout.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | &mut bytes[..name.len()].copy_from_slice(name.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 408 | let _ = &mut bytes[..name.len()].copy_from_slice(name.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mm/allocator/mod.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn lock(&self) -> spin::MutexGuard { [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] 81 | pub fn lock(&self) -> spin::MutexGuard<'_, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [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] [stderr] error: could not compile `blog_os` (bin "blog_os") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "d6182c7601b08c35c7692c373ee781373773ba0bfdd9b456b6a060084a2bed1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6182c7601b08c35c7692c373ee781373773ba0bfdd9b456b6a060084a2bed1a", kill_on_drop: false }` [INFO] [stdout] d6182c7601b08c35c7692c373ee781373773ba0bfdd9b456b6a060084a2bed1a