[INFO] cloning repository https://github.com/JasonWang-Zqqgpllp20/derbo-os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JasonWang-Zqqgpllp20/derbo-os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasonWang-Zqqgpllp20%2Fderbo-os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasonWang-Zqqgpllp20%2Fderbo-os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bad80f8cb8d138da528ebc338a7b3140066309de [INFO] checking JasonWang-Zqqgpllp20/derbo-os against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasonWang-Zqqgpllp20%2Fderbo-os" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JasonWang-Zqqgpllp20/derbo-os on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/JasonWang-Zqqgpllp20/derbo-os [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/JasonWang-Zqqgpllp20/derbo-os [INFO] tweaked toml for git repo https://github.com/JasonWang-Zqqgpllp20/derbo-os written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JasonWang-Zqqgpllp20/derbo-os 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x86_64 v0.14.7 [INFO] [stderr] Downloaded conquer-once v0.2.1 [INFO] [stderr] Downloaded uart_16550 v0.2.14 [INFO] [stderr] Downloaded bootloader v0.9.21 [INFO] [stderr] Downloaded conquer-util v0.2.0 [INFO] [stderr] Downloaded pic8259 v0.10.2 [INFO] [stderr] Downloaded linked_list_allocator v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6990e623c42e68ebe621b8eac69c78da53f0afd624c74d25e2c697bd0126942 [INFO] running `Command { std: "docker" "start" "-a" "b6990e623c42e68ebe621b8eac69c78da53f0afd624c74d25e2c697bd0126942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6990e623c42e68ebe621b8eac69c78da53f0afd624c74d25e2c697bd0126942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6990e623c42e68ebe621b8eac69c78da53f0afd624c74d25e2c697bd0126942", kill_on_drop: false }` [INFO] [stdout] b6990e623c42e68ebe621b8eac69c78da53f0afd624c74d25e2c697bd0126942 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 697a67b0a17f31a6a0df9c9d55be93e350872784f384f37cbe6982497db134d6 [INFO] running `Command { std: "docker" "start" "-a" "697a67b0a17f31a6a0df9c9d55be93e350872784f384f37cbe6982497db134d6", kill_on_drop: false }` [INFO] [stderr] Compiling x86_64 v0.14.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking volatile v0.4.4 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling bootloader v0.9.21 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking conquer-util v0.2.0 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking pc-keyboard v0.5.1 [INFO] [stderr] Checking conquer-once v0.2.1 [INFO] [stderr] Checking spinning_top v0.2.4 [INFO] [stderr] Checking linked_list_allocator v0.9.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking pic8259 v0.10.2 [INFO] [stderr] Checking uart_16550 v0.2.14 [INFO] [stderr] Checking DerBo_OS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![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: the item `spin` is imported redundantly [INFO] [stdout] --> src/interrupts.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use spin; [INFO] [stdout] | ^^^^ the item `spin` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `print` [INFO] [stdout] --> src/task/async_task.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{print, println}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![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: the item `spin` is imported redundantly [INFO] [stdout] --> src/interrupts.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use spin; [INFO] [stdout] | ^^^^ the item `spin` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `print` [INFO] [stdout] --> src/task/async_task.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{print, 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] warning: use of deprecated function `x86_64::instructions::segmentation::cs`: use `CS::get_reg()` instead [INFO] [stdout] --> src/interrupts.rs:65:68 [INFO] [stdout] | [INFO] [stdout] 65 | println!("CS index: {:?}", x86_64::instructions::segmentation::cs().0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `x86_64::instructions::segmentation::set_cs`: use `CS::set_reg()` instead [INFO] [stdout] --> src/gdt.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | set_cs(GDT.1.code_selector); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `x86_64::instructions::segmentation::set_cs`: use `CS::set_reg()` instead [INFO] [stdout] --> src/gdt.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | use x86_64::instructions::segmentation::set_cs; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `x86_64::instructions::segmentation::cs`: use `CS::get_reg()` instead [INFO] [stdout] --> src/interrupts.rs:65:68 [INFO] [stdout] | [INFO] [stdout] 65 | println!("CS index: {:?}", x86_64::instructions::segmentation::cs().0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `x86_64::instructions::segmentation::set_cs`: use `CS::set_reg()` instead [INFO] [stdout] --> src/gdt.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | set_cs(GDT.1.code_selector); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `x86_64::instructions::segmentation::set_cs`: use `CS::set_reg()` instead [INFO] [stdout] --> src/gdt.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | use x86_64::instructions::segmentation::set_cs; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gdt.rs:20:59 [INFO] [stdout] | [INFO] [stdout] 20 | ... let stack_start = VirtAddr::from_ptr(unsafe { &STACK }); // the compiler can't guarantee race freedom when mutable static are ac... [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] 20 | let stack_start = VirtAddr::from_ptr(unsafe { addr_of!(STACK) }); // the compiler can't guarantee race freedom when mutable static are accessed [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gdt.rs:20:59 [INFO] [stdout] | [INFO] [stdout] 20 | ... let stack_start = VirtAddr::from_ptr(unsafe { &STACK }); // the compiler can't guarantee race freedom when mutable static are ac... [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] 20 | let stack_start = VirtAddr::from_ptr(unsafe { addr_of!(STACK) }); // the compiler can't guarantee race freedom when mutable static are accessed [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `DerBo_OS` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `der_bo_os` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `DerBo_OS` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `blog_os` [INFO] [stdout] --> tests/heap_allocation.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use blog_os::allocator::HEAP_SIZE; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `blog_os` [INFO] [stdout] --> tests/should_panic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use blog_os::{exit_qemu, serial_print, serial_println, QemuExitCode}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `blog_os` [INFO] [stdout] --> tests/stack_overflow.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use blog_os::{exit_qemu, serial_print, serial_println, QemuExitCode}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `blog_os` [INFO] [stdout] --> tests/heap_allocation.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use blog_os::allocator; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [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:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use blog_os::memory::{self, BootInfoFrameAllocator}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `blog_os` [INFO] [stdout] --> tests/heap_allocation.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use blog_os::memory::{self, BootInfoFrameAllocator}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `blog_os` [INFO] [stdout] --> tests/basic_boot.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use blog_os::println; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [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: 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: 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: unreachable statement [INFO] [stdout] --> src/main.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 175 | executor.run(); // loop [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 178 | test_main(); [INFO] [stdout] | ^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `DerBo_OS` (test "should_panic") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `blog_os` [INFO] [stdout] --> tests/stack_overflow.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | blog_os::gdt::init(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 5 + use DerBo_OS::gdt; [INFO] [stdout] | [INFO] [stdout] help: if you import `gdt`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - blog_os::gdt::init(); [INFO] [stdout] 14 + gdt::init(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `DerBo_OS` (bin "DerBo_OS") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `blog_os` [INFO] [stdout] --> tests/stack_overflow.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | .set_stack_index(blog_os::gdt::DOUBLE_FAULT_IST_INDEX); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 5 + use DerBo_OS::gdt; [INFO] [stdout] | [INFO] [stdout] help: if you import `gdt`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - .set_stack_index(blog_os::gdt::DOUBLE_FAULT_IST_INDEX); [INFO] [stdout] 35 + .set_stack_index(gdt::DOUBLE_FAULT_IST_INDEX); [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: 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[E0433]: failed to resolve: use of undeclared crate or module `blog_os` [INFO] [stdout] --> tests/basic_boot.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | blog_os::test_panic_handler(info) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `blog_os` [INFO] [stdout] --> tests/basic_boot.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #![test_runner(blog_os::test_runner)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `DerBo_OS` (bin "DerBo_OS" test) due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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[E0433]: failed to resolve: use of undeclared crate or module `blog_os` [INFO] [stdout] --> tests/heap_allocation.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | blog_os::init(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `blog_os` [INFO] [stdout] --> tests/stack_overflow.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | blog_os::test_panic_handler(info) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `DerBo_OS` (test "basic_boot") due to 5 previous errors [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `blog_os` [INFO] [stdout] --> tests/heap_allocation.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | blog_os::test_panic_handler(info) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [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:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #![test_runner(blog_os::test_runner)] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `blog_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `DerBo_OS` (test "stack_overflow") due to 6 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/heap_allocation.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / fn many_boxes() { [INFO] [stdout] 51 | | for i in 0..HEAP_SIZE { [INFO] [stdout] 52 | | let x = Box::new(i); [INFO] [stdout] 53 | | assert_eq!(*x, i); [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ expected `&fn() {large_vec}`, found `&fn() {many_boxes}` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&fn() {large_vec}` [INFO] [stdout] found reference `&fn() {many_boxes}` [INFO] [stdout] = note: different fn items have unique types, even if their signatures are the same [INFO] [stdout] = help: consider casting both fn items to fn pointers using `as fn()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `DerBo_OS` (test "heap_allocation") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "697a67b0a17f31a6a0df9c9d55be93e350872784f384f37cbe6982497db134d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "697a67b0a17f31a6a0df9c9d55be93e350872784f384f37cbe6982497db134d6", kill_on_drop: false }` [INFO] [stdout] 697a67b0a17f31a6a0df9c9d55be93e350872784f384f37cbe6982497db134d6