[INFO] cloning repository https://github.com/staakaar/my_os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/staakaar/my_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstaakaar%2Fmy_os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstaakaar%2Fmy_os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f3ff2eb234f97d4a22dfddb195558b291bb9383 [INFO] checking staakaar/my_os against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstaakaar%2Fmy_os" "/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/staakaar/my_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-4-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/staakaar/my_os [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/staakaar/my_os [INFO] tweaked toml for git repo https://github.com/staakaar/my_os written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/staakaar/my_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 rustversion v1.0.15 [INFO] [stderr] Downloaded volatile v0.4.6 [INFO] [stderr] Downloaded uart_16550 v0.2.19 [INFO] [stderr] Downloaded bootloader v0.9.28 [INFO] [stderr] Downloaded x86_64 v0.14.12 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17dcd5342143303630ccc02d11a56864c97a43fdda36fb3a80420536feb0321d [INFO] running `Command { std: "docker" "start" "-a" "17dcd5342143303630ccc02d11a56864c97a43fdda36fb3a80420536feb0321d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17dcd5342143303630ccc02d11a56864c97a43fdda36fb3a80420536feb0321d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17dcd5342143303630ccc02d11a56864c97a43fdda36fb3a80420536feb0321d", kill_on_drop: false }` [INFO] [stdout] 17dcd5342143303630ccc02d11a56864c97a43fdda36fb3a80420536feb0321d [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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] 9b5aff51b7b466936b91d5fe6868ffec7027bd1610a344466762896aa23ace95 [INFO] running `Command { std: "docker" "start" "-a" "9b5aff51b7b466936b91d5fe6868ffec7027bd1610a344466762896aa23ace95", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling bootloader v0.9.28 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking volatile v0.4.6 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking x86_64 v0.14.12 [INFO] [stderr] Checking uart_16550 v0.2.19 [INFO] [stderr] Checking my_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `Buffer` is defined multiple times [INFO] [stdout] --> src/vga_buffer.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct Buffer { [INFO] [stdout] | ------------- previous definition of the type `Buffer` here [INFO] [stdout] ... [INFO] [stdout] 57 | struct Buffer { [INFO] [stdout] | ^^^^^^^^^^^^^ `Buffer` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Buffer` must be defined only once in the type namespace of this module [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] --> src/vga_buffer.rs:165:3 [INFO] [stdout] | [INFO] [stdout] 165 | #[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-03-29; consider upgrading it if it is out of date [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] --> src/vga_buffer.rs:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | #[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-03-29; consider upgrading it if it is out of date [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] --> src/vga_buffer.rs:177:3 [INFO] [stdout] | [INFO] [stdout] 177 | #[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-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/serial.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | } [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] note: while trying to match `;` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.4.0/src/lib.rs:172:65 [INFO] [stdout] | [INFO] [stdout] 172 | ($(#[$attr:meta])* pub static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/lib.rs:33:54 [INFO] [stdout] | [INFO] [stdout] 33 | serial_print!("{}...\t", core::any::type_name()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 33 | serial_print!("{}...\t", core::any::type_name::()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `CLone` in this scope [INFO] [stdout] --> src/lib.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, CLone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ help: a derive macro with a similar name exists: `Clone` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/clone.rs:178:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named derive macro `Clone` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERIAL1` in this scope [INFO] [stdout] --> src/serial.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | SERIAL1.lock().write_str(args).expect("Printing to serial Failed"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: custom test frameworks are an unstable feature [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![test_runner(crate::test_runner)] [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-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Buffer` is defined multiple times [INFO] [stdout] --> src/vga_buffer.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct Buffer { [INFO] [stdout] | ------------- previous definition of the type `Buffer` here [INFO] [stdout] ... [INFO] [stdout] 57 | struct Buffer { [INFO] [stdout] | ^^^^^^^^^^^^^ `Buffer` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Buffer` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QemuExitCode: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, CLone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `QemuExitCode` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `core::marker::Copy` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/marker.rs:403:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `QemuExitCode` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Clone)] [INFO] [stdout] 14 | pub enum QemuExitCode { [INFO] [stdout] | [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] --> src/vga_buffer.rs:165:3 [INFO] [stdout] | [INFO] [stdout] 165 | #[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-03-29; consider upgrading it if it is out of date [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] --> src/vga_buffer.rs:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | #[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-03-29; consider upgrading it if it is out of date [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] --> src/vga_buffer.rs:177:3 [INFO] [stdout] | [INFO] [stdout] 177 | #[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-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/serial.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | } [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] note: while trying to match `;` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.4.0/src/lib.rs:172:65 [INFO] [stdout] | [INFO] [stdout] 172 | ($(#[$attr:meta])* pub static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/lib.rs:33:54 [INFO] [stdout] | [INFO] [stdout] 33 | serial_print!("{}...\t", core::any::type_name()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 33 | serial_print!("{}...\t", core::any::type_name::()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Buffer` is defined multiple times [INFO] [stdout] --> src/vga_buffer.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct Buffer { [INFO] [stdout] | ------------- previous definition of the type `Buffer` here [INFO] [stdout] ... [INFO] [stdout] 57 | struct Buffer { [INFO] [stdout] | ^^^^^^^^^^^^^ `Buffer` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Buffer` must be defined only once in the type namespace of this module [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] --> src/vga_buffer.rs:165:3 [INFO] [stdout] | [INFO] [stdout] 165 | #[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-03-29; consider upgrading it if it is out of date [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] --> src/vga_buffer.rs:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | #[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-03-29; consider upgrading it if it is out of date [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] --> src/vga_buffer.rs:177:3 [INFO] [stdout] | [INFO] [stdout] 177 | #[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-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/serial.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | } [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] note: while trying to match `;` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lazy_static-1.4.0/src/lib.rs:172:65 [INFO] [stdout] | [INFO] [stdout] 172 | ($(#[$attr:meta])* pub static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/lib.rs:33:54 [INFO] [stdout] | [INFO] [stdout] 33 | serial_print!("{}...\t", core::any::type_name()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 33 | serial_print!("{}...\t", core::any::type_name::()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fomart_args` in this scope [INFO] [stdout] --> src/vga_buffer.rs:150:50 [INFO] [stdout] | [INFO] [stdout] 150 | ($($arg:tt)*) => ($crate::vga_buffer::_print(fomart_args!($($arg)*))); [INFO] [stdout] | ^^^^^^^^^^^ help: a macro with a similar name exists: `format_args` [INFO] [stdout] ... [INFO] [stdout] 167 | println!("test_println_simple output"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/macros/mod.rs:1012:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fomart_args` in this scope [INFO] [stdout] --> src/vga_buffer.rs:150:50 [INFO] [stdout] | [INFO] [stdout] 150 | ($($arg:tt)*) => ($crate::vga_buffer::_print(fomart_args!($($arg)*))); [INFO] [stdout] | ^^^^^^^^^^^ help: a macro with a similar name exists: `format_args` [INFO] [stdout] ... [INFO] [stdout] 173 | println!("test_println_many output"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/macros/mod.rs:1012:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fomart_args` in this scope [INFO] [stdout] --> src/vga_buffer.rs:150:50 [INFO] [stdout] | [INFO] [stdout] 150 | ($($arg:tt)*) => ($crate::vga_buffer::_print(fomart_args!($($arg)*))); [INFO] [stdout] | ^^^^^^^^^^^ help: a macro with a similar name exists: `format_args` [INFO] [stdout] ... [INFO] [stdout] 180 | println!("{}", s); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/macros/mod.rs:1012:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0428, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `CLone` in this scope [INFO] [stdout] --> src/lib.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, CLone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ help: a derive macro with a similar name exists: `Clone` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/clone.rs:178:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named derive macro `Clone` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERIAL1` in this scope [INFO] [stdout] --> src/serial.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | SERIAL1.lock().write_str(args).expect("Printing to serial Failed"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: custom test frameworks are an unstable feature [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![test_runner(crate::test_runner)] [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-03-29; 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: cannot find derive macro `CLone` in this scope [INFO] [stdout] --> src/lib.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, CLone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ help: a derive macro with a similar name exists: `Clone` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/clone.rs:178:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named derive macro `Clone` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my_os` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `SERIAL1` in this scope [INFO] [stdout] --> src/serial.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | SERIAL1.lock().write_str(args).expect("Printing to serial Failed"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: custom test frameworks are an unstable feature [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![test_runner(crate::test_runner)] [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-03-29; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QemuExitCode: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, CLone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `QemuExitCode` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `core::marker::Copy` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/marker.rs:403:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `QemuExitCode` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Clone)] [INFO] [stdout] 14 | pub enum QemuExitCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QemuExitCode: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, CLone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `QemuExitCode` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `core::marker::Copy` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/marker.rs:403:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `QemuExitCode` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Clone)] [INFO] [stdout] 14 | pub enum QemuExitCode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `chars` on type `MutexGuard<'_, Writer>` [INFO] [stdout] --> src/vga_buffer.rs:182:41 [INFO] [stdout] | [INFO] [stdout] 182 | let screen_char = WRITER.lock().chars[BUFFER_HEIGHT - 2][i].read(); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 182 | let screen_char = WRITER.lock().buffer.chars[BUFFER_HEIGHT - 2][i].read(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0428, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0428, E0609, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my_os` (lib) due to 11 previous errors [INFO] [stderr] error: could not compile `my_os` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "9b5aff51b7b466936b91d5fe6868ffec7027bd1610a344466762896aa23ace95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5aff51b7b466936b91d5fe6868ffec7027bd1610a344466762896aa23ace95", kill_on_drop: false }` [INFO] [stdout] 9b5aff51b7b466936b91d5fe6868ffec7027bd1610a344466762896aa23ace95