[INFO] cloning repository https://github.com/AlejandroRNatal/titanate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlejandroRNatal/titanate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlejandroRNatal%2Ftitanate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlejandroRNatal%2Ftitanate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 853af8c17aabb32d8a7c6d73d1514c5ee836487d [INFO] checking AlejandroRNatal/titanate/853af8c17aabb32d8a7c6d73d1514c5ee836487d against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlejandroRNatal%2Ftitanate" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlejandroRNatal/titanate on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/AlejandroRNatal/titanate [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/AlejandroRNatal/titanate [INFO] tweaked toml for git repo https://github.com/AlejandroRNatal/titanate written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AlejandroRNatal/titanate 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uart_16550 v0.2.18 [INFO] [stderr] Downloaded volatile v0.2.7 [INFO] [stderr] Downloaded spin v0.5.2 [INFO] [stderr] Downloaded rustversion v1.0.9 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded x86_64 v0.14.10 [INFO] [stderr] Downloaded pic8259 v0.10.2 [INFO] [stderr] Downloaded volatile v0.4.5 [INFO] [stderr] Downloaded futures-util v0.3.25 [INFO] [stderr] Downloaded bootloader v0.9.23 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] [stderr] Downloaded conquer-once v0.2.1 [INFO] [stderr] Downloaded crossbeam-utils v0.7.2 [INFO] [stderr] Downloaded futures-core v0.3.25 [INFO] [stderr] Downloaded pc-keyboard v0.5.1 [INFO] [stderr] Downloaded conquer-util v0.2.0 [INFO] [stderr] Downloaded maybe-uninit v2.0.0 [INFO] [stderr] Downloaded futures-task v0.3.25 [INFO] [stderr] Downloaded pin-project-lite v0.2.9 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fec90497ec59961395bae4cca346e9710bedbd28383d5511a738d4b2661247cf [INFO] running `Command { std: "docker" "start" "-a" "fec90497ec59961395bae4cca346e9710bedbd28383d5511a738d4b2661247cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fec90497ec59961395bae4cca346e9710bedbd28383d5511a738d4b2661247cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec90497ec59961395bae4cca346e9710bedbd28383d5511a738d4b2661247cf", kill_on_drop: false }` [INFO] [stdout] fec90497ec59961395bae4cca346e9710bedbd28383d5511a738d4b2661247cf [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0180526b4b3b82b565c685ccec0ea36bf1853abb33b0fb0039f15667d8ae033f [INFO] running `Command { std: "docker" "start" "-a" "0180526b4b3b82b565c685ccec0ea36bf1853abb33b0fb0039f15667d8ae033f", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling bootloader v0.9.23 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking volatile v0.4.5 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking conquer-util v0.2.0 [INFO] [stderr] Checking pc-keyboard v0.5.1 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking conquer-once v0.2.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking x86_64 v0.14.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking uart_16550 v0.2.18 [INFO] [stderr] Checking pic8259 v0.10.2 [INFO] [stderr] Checking titan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `x86_64::instructions::interrupts::are_enabled` [INFO] [stdout] --> src/task/executor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use x86_64::instructions::interrupts::are_enabled; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bootloader::entry_poin` [INFO] [stdout] --> src/lib.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use bootloader::{entry_poin, BootInfo}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `entry_poin` in the root [INFO] [stdout] | help: a similar name exists in the module: `entry_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `entry_point` in this scope [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | entry_point!(test_kernel_main); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 17 + use bootloader::entry_point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::instructions::interrupts::are_enabled` [INFO] [stdout] --> src/task/executor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use x86_64::instructions::interrupts::are_enabled; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] warning: unused import: `x86_64::instructions::interrupts::are_enabled` [INFO] [stdout] --> src/task/executor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use x86_64::instructions::interrupts::are_enabled; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gdt.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | let stack_start = VirtAddr::from_ptr(unsafe { &STACK }); [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] 23 | let stack_start = VirtAddr::from_ptr(unsafe { addr_of!(STACK) }); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gdt.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | let stack_start = VirtAddr::from_ptr(unsafe { &STACK }); [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] 23 | let stack_start = VirtAddr::from_ptr(unsafe { addr_of!(STACK) }); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack_frame` [INFO] [stdout] --> src/interrupts.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | stack_frame: InterruptStackFrame [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gdt.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | let stack_start = VirtAddr::from_ptr(unsafe { &STACK }); [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] 23 | let stack_start = VirtAddr::from_ptr(unsafe { addr_of!(STACK) }); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/allocator/bump.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/allocator/bump.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack_frame` [INFO] [stdout] --> src/interrupts.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | stack_frame: InterruptStackFrame [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/interrupts.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | fn stack_overflow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 144 | stack_overflow(); [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: unused variable: `ptr` [INFO] [stdout] --> src/allocator/bump.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/allocator/bump.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack_frame` [INFO] [stdout] --> src/interrupts.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | stack_frame: InterruptStackFrame [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/allocator/bump.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/allocator/bump.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `titan` (lib test) due to 4 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'custom_test_frameworks': custom test frameworks are an unstable feature [INFO] [stdout] --> tests/should_panic.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | #[test_case] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(custom_test_frameworks)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> tests/basic_boot.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | println!("test_println output"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use titan::println; [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[E0425]: cannot find function `test_runner` in the crate root [INFO] [stdout] --> src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | #![test_runner(crate::test_runner)] [INFO] [stdout] | ^^^^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 8 + use titan::test_runner; [INFO] [stdout] | [INFO] [stdout] help: if you import `test_runner`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - #![test_runner(crate::test_runner)] [INFO] [stdout] 5 + #![test_runner(test_runner)] [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] warning: unused variable: `tests` [INFO] [stdout] --> tests/basic_boot.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | fn test_runner(tests: &[&dyn Fn()]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tests` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> tests/heap_allocation.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 19 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 24 | titan::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: x86-interrupt ABI is experimental and subject to change [INFO] [stdout] --> tests/stack_overflow.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | extern "x86-interrupt" fn test_double_fault_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #40180 for more information [INFO] [stdout] = help: add `#![feature(abi_x86_interrupt)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [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: the `#[alloc_error_handler]` in titan conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::VirtAddr` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use x86_64::VirtAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> tests/should_panic.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 9 | | serial_println!("[OK]"); [INFO] [stdout] 10 | | exit_qemu(QemuExitCode::Success); [INFO] [stdout] 11 | | loop {} [INFO] [stdout] 12 | | } [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/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e0ee872a6f64065a.rlib [INFO] [stdout] = note: second definition in the local crate (`should_panic`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `print` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use titan::{print, println}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::rc::Rc` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use alloc::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use alloc::vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec::Vec` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structures::paging::Page` [INFO] [stdout] --> src/main.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | use x86_64::{structures::paging::Page, VirtAddr}; [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[E0277]: the trait bound `(): FrameAllocator` is not satisfied [INFO] [stdout] --> tests/heap_allocation.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | allocator::init_heap(&mut mapper, &mut frame_allocator) [INFO] [stdout] | -------------------- ^^^^^^^^^^^^^^^^^^^^ the trait `FrameAllocator` is not implemented for `()` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FrameAllocator`: [INFO] [stdout] BootInfoFrameAllocator [INFO] [stdout] EmptyFrameAllocator [INFO] [stdout] note: required by a bound in `init_heap` [INFO] [stdout] --> /opt/rustwide/workdir/src/allocator.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn init_heap( [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 31 | mapper: &mut impl Mapper, [INFO] [stdout] 32 | frame_allocator: &mut impl FrameAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `init_heap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `blog_os` [INFO] [stdout] --> tests/heap_allocation.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | blog_os::test_panic_handler(info) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_main` in this scope [INFO] [stdout] --> tests/should_panic.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | test_main(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_test_idt` in this scope [INFO] [stdout] --> tests/stack_overflow.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | init_test_idt(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `titan` (test "basic_boot") due to 3 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 86 | executor.run(); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 89 | test_main(); [INFO] [stdout] | ^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `titan` (test "should_panic") due to 5 previous errors [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `titan` (test "stack_overflow") due to 4 previous errors [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `titan` (test "heap_allocation") due to 4 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `titan` (bin "titan" test) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0180526b4b3b82b565c685ccec0ea36bf1853abb33b0fb0039f15667d8ae033f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0180526b4b3b82b565c685ccec0ea36bf1853abb33b0fb0039f15667d8ae033f", kill_on_drop: false }` [INFO] [stdout] 0180526b4b3b82b565c685ccec0ea36bf1853abb33b0fb0039f15667d8ae033f