[INFO] cloning repository https://github.com/JoedewYT/nightrust_os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoedewYT/nightrust_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoedewYT%2Fnightrust_os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoedewYT%2Fnightrust_os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7000609c42a9d613309765db40dfb25be7adfdc [INFO] checking JoedewYT/nightrust_os against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoedewYT%2Fnightrust_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/JoedewYT/nightrust_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] started tweaking git repo https://github.com/JoedewYT/nightrust_os [INFO] finished tweaking git repo https://github.com/JoedewYT/nightrust_os [INFO] tweaked toml for git repo https://github.com/JoedewYT/nightrust_os written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JoedewYT/nightrust_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] 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] 2dbf9df33694ff6a52721adf4a2882fd3cd26499c15d4507ff09401faf5aa77f [INFO] running `Command { std: "docker" "start" "-a" "2dbf9df33694ff6a52721adf4a2882fd3cd26499c15d4507ff09401faf5aa77f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dbf9df33694ff6a52721adf4a2882fd3cd26499c15d4507ff09401faf5aa77f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dbf9df33694ff6a52721adf4a2882fd3cd26499c15d4507ff09401faf5aa77f", kill_on_drop: false }` [INFO] [stdout] 2dbf9df33694ff6a52721adf4a2882fd3cd26499c15d4507ff09401faf5aa77f [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] f0e8fae9b57e2b6b3b97b919124858cca0fa7ad7962efcac82b230d638ad069f [INFO] running `Command { std: "docker" "start" "-a" "f0e8fae9b57e2b6b3b97b919124858cca0fa7ad7962efcac82b230d638ad069f", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader v0.9.23 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking nightrust_os v0.1.0 (/opt/rustwide/workdir) [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[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / fn panic(_info: &PanicInfo) -> ! { [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eb900a948ffb2e3b.rlib [INFO] [stdout] = note: second definition in the local crate (`nightrust_os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `new_line` [INFO] [stdout] --> src/vga_buffer.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | fn new_line(&mut self) {/* TODO */} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `new_line` [INFO] [stdout] ... [INFO] [stdout] 94 | fn new_line(&mut self) { [INFO] [stdout] | ---------------------- other definition for `new_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nightrust_os` (bin "nightrust_os" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0015]: cannot call non-const fn `ColorCode::new` in statics [INFO] [stdout] --> src/vga_buffer.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | color_code: ColorCode::new(Color::Yellow,Color::Black), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: dereferencing raw mutable pointers in statics is unstable [INFO] [stdout] --> src/vga_buffer.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | buffer: unsafe { &mut *(0xb8000 as *mut Buffer) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` 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]: mutable references are not allowed in statics [INFO] [stdout] --> src/vga_buffer.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | buffer: unsafe { &mut *(0xb8000 as *mut Buffer) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` 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[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/vga_buffer.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | b'\n' => self.new_line(), [INFO] [stdout] | ^^^^^^^^ multiple `new_line` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `Writer` [INFO] [stdout] --> src/vga_buffer.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | fn new_line(&mut self) {/* TODO */} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `Writer` [INFO] [stdout] --> src/vga_buffer.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | fn new_line(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/vga_buffer.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | self.new_line() [INFO] [stdout] | ^^^^^^^^ multiple `new_line` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `Writer` [INFO] [stdout] --> src/vga_buffer.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | fn new_line(&mut self) {/* TODO */} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `Writer` [INFO] [stdout] --> src/vga_buffer.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | fn new_line(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0034, E0592, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nightrust_os` (bin "nightrust_os") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "f0e8fae9b57e2b6b3b97b919124858cca0fa7ad7962efcac82b230d638ad069f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e8fae9b57e2b6b3b97b919124858cca0fa7ad7962efcac82b230d638ad069f", kill_on_drop: false }` [INFO] [stdout] f0e8fae9b57e2b6b3b97b919124858cca0fa7ad7962efcac82b230d638ad069f