[INFO] cloning repository https://github.com/TomeHirata/rust_simple_os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TomeHirata/rust_simple_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomeHirata%2Frust_simple_os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomeHirata%2Frust_simple_os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f213e48cbb9e4909dd80e60b0239fee2bfd19dd [INFO] checking TomeHirata/rust_simple_os/7f213e48cbb9e4909dd80e60b0239fee2bfd19dd against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomeHirata%2Frust_simple_os" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TomeHirata/rust_simple_os 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-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/TomeHirata/rust_simple_os [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/TomeHirata/rust_simple_os [INFO] tweaked toml for git repo https://github.com/TomeHirata/rust_simple_os written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TomeHirata/rust_simple_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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded conquer-once v0.2.1 [INFO] [stderr] Downloaded uart_16550 v0.2.17 [INFO] [stderr] Downloaded x86_64 v0.14.8 [INFO] [stderr] Downloaded spinning_top v0.2.4 [INFO] [stderr] Downloaded bootloader v0.9.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49a4e063025fcd6945ac9be5463aeb48c9e3dbd0eaee02ec9b22fa2b2754906f [INFO] running `Command { std: "docker" "start" "-a" "49a4e063025fcd6945ac9be5463aeb48c9e3dbd0eaee02ec9b22fa2b2754906f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49a4e063025fcd6945ac9be5463aeb48c9e3dbd0eaee02ec9b22fa2b2754906f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49a4e063025fcd6945ac9be5463aeb48c9e3dbd0eaee02ec9b22fa2b2754906f", kill_on_drop: false }` [INFO] [stdout] 49a4e063025fcd6945ac9be5463aeb48c9e3dbd0eaee02ec9b22fa2b2754906f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdc8754974cb4f6c347e357c2b1ea2ba85acd7e1422e49936c2bf0b40837d377 [INFO] running `Command { std: "docker" "start" "-a" "bdc8754974cb4f6c347e357c2b1ea2ba85acd7e1422e49936c2bf0b40837d377", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling x86_64 v0.14.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking volatile v0.4.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bootloader v0.9.22 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking conquer-util v0.2.0 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking lazy_static v1.4.0 [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.1 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking pic8259 v0.10.2 [INFO] [stderr] Checking uart_16550 v0.2.17 [INFO] [stderr] Checking rust_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `linked_list_allocator::LockedHeap` [INFO] [stdout] --> src/allocator.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use linked_list_allocator::LockedHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `linked_list_allocator::LockedHeap` [INFO] [stdout] --> src/allocator.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use linked_list_allocator::LockedHeap; [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: use of deprecated function `x86_64::instructions::segmentation::set_cs`: use `CS::set_reg()` instead [INFO] [stdout] --> src/gdt.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | set_cs(GDT.1.code_selector); [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:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | use x86_64::instructions::segmentation::set_cs; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` 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:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | set_cs(GDT.1.code_selector); [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:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | use x86_64::instructions::segmentation::set_cs; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gdt.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 15 | 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:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 15 | let stack_start = VirtAddr::from_ptr(unsafe { addr_of!(STACK) }); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_os` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: `simple_executor::SimpleExecutor` [INFO] [stdout] --> src/main.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | use rust_os::task::{executor::Executor, simple_executor::SimpleExecutor, Task}; [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] 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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple_executor::SimpleExecutor` [INFO] [stdout] --> src/main.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | use rust_os::task::{executor::Executor, simple_executor::SimpleExecutor, Task}; [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] 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 `rust_os` (test "basic_boot") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 66 | executor.run(); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 69 | 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 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_os` (test "stack_overflow") due to 2 previous errors [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 66 | executor.run(); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 71 | / loop { [INFO] [stdout] 72 | | rust_os::hlt_loop(); [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_os` (test "heap_allocation") due to 2 previous errors [INFO] [stderr] error: could not compile `rust_os` (test "should_panic") due to 2 previous errors [INFO] [stderr] error: could not compile `rust_os` (bin "rust_os" test) due to 2 previous errors; 2 warnings emitted [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_os` (bin "rust_os") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bdc8754974cb4f6c347e357c2b1ea2ba85acd7e1422e49936c2bf0b40837d377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdc8754974cb4f6c347e357c2b1ea2ba85acd7e1422e49936c2bf0b40837d377", kill_on_drop: false }` [INFO] [stdout] bdc8754974cb4f6c347e357c2b1ea2ba85acd7e1422e49936c2bf0b40837d377