[INFO] cloning repository https://github.com/cmjgrubb/Rust_OS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cmjgrubb/Rust_OS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmjgrubb%2FRust_OS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmjgrubb%2FRust_OS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1abe91a717b4ab70a17537ff8f762e5db7824009 [INFO] checking cmjgrubb/Rust_OS against master#453ceafce32ef8108c604bca5e165ab41d3d6d8c for pr-124187 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmjgrubb%2FRust_OS" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cmjgrubb/Rust_OS on toolchain 453ceafce32ef8108c604bca5e165ab41d3d6d8c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+453ceafce32ef8108c604bca5e165ab41d3d6d8c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/cmjgrubb/Rust_OS [INFO] finished tweaking git repo https://github.com/cmjgrubb/Rust_OS [INFO] tweaked toml for git repo https://github.com/cmjgrubb/Rust_OS written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cmjgrubb/Rust_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" "+453ceafce32ef8108c604bca5e165ab41d3d6d8c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking cmjgrubb/Rust_OS against try#773c42f0166e62a538b8fa36161b0c6df69a9640 for pr-124187 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmjgrubb%2FRust_OS" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cmjgrubb/Rust_OS on toolchain 773c42f0166e62a538b8fa36161b0c6df69a9640 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/cmjgrubb/Rust_OS [INFO] finished tweaking git repo https://github.com/cmjgrubb/Rust_OS [INFO] tweaked toml for git repo https://github.com/cmjgrubb/Rust_OS written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cmjgrubb/Rust_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" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking cmjgrubb/Rust_OS against try#773c42f0166e62a538b8fa36161b0c6df69a9640 for pr-124187 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmjgrubb%2FRust_OS" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cmjgrubb/Rust_OS on toolchain 773c42f0166e62a538b8fa36161b0c6df69a9640 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/cmjgrubb/Rust_OS [INFO] finished tweaking git repo https://github.com/cmjgrubb/Rust_OS [INFO] tweaked toml for git repo https://github.com/cmjgrubb/Rust_OS written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cmjgrubb/Rust_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" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bootloader v0.9.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 659e6294329a87e601d5f01218605b168dce08ac6318f3c0876d4e36c5941e9e [INFO] running `Command { std: "docker" "start" "-a" "659e6294329a87e601d5f01218605b168dce08ac6318f3c0876d4e36c5941e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "659e6294329a87e601d5f01218605b168dce08ac6318f3c0876d4e36c5941e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "659e6294329a87e601d5f01218605b168dce08ac6318f3c0876d4e36c5941e9e", kill_on_drop: false }` [INFO] [stdout] 659e6294329a87e601d5f01218605b168dce08ac6318f3c0876d4e36c5941e9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+773c42f0166e62a538b8fa36161b0c6df69a9640" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f837e40395f394f30be8461e390007865481aad9f17d473277e7b906c57d2460 [INFO] running `Command { std: "docker" "start" "-a" "f837e40395f394f30be8461e390007865481aad9f17d473277e7b906c57d2460", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader v0.9.28 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking Rust_OS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0692]: transparent enum cannot have other repr hints [INFO] [stdout] --> src/vga_buffer.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | #[repr(transparent)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | #[repr(u8)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 18 | | loop {} [INFO] [stdout] 19 | | } [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/773c42f0166e62a538b8fa36161b0c6df69a9640/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9579298f7adeed43.rlib [INFO] [stdout] = note: second definition in the local crate (`Rust_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[E0731]: transparent enum needs exactly one variant, but has 16 [INFO] [stdout] --> src/vga_buffer.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Color { [INFO] [stdout] | ^^^^^^^^^^^^^^ needs exactly one variant, but has 16 [INFO] [stdout] 9 | Black = 0, [INFO] [stdout] | ----- variant here [INFO] [stdout] 10 | Blue = 1, [INFO] [stdout] | ---- variant here [INFO] [stdout] 11 | Green = 2, [INFO] [stdout] | ----- variant here [INFO] [stdout] 12 | Cyan = 3, [INFO] [stdout] | ---- variant here [INFO] [stdout] 13 | Red = 4, [INFO] [stdout] | --- variant here [INFO] [stdout] 14 | Magenta = 5, [INFO] [stdout] | ------- variant here [INFO] [stdout] 15 | Brown = 6, [INFO] [stdout] | ----- variant here [INFO] [stdout] 16 | LightGray = 7, [INFO] [stdout] | --------- variant here [INFO] [stdout] 17 | DarkGray = 8, [INFO] [stdout] | -------- variant here [INFO] [stdout] 18 | LightBlue = 9, [INFO] [stdout] | --------- variant here [INFO] [stdout] 19 | LightGreen = 10, [INFO] [stdout] | ---------- variant here [INFO] [stdout] 20 | LightCyan = 11, [INFO] [stdout] | --------- variant here [INFO] [stdout] 21 | LightRed = 12, [INFO] [stdout] | -------- variant here [INFO] [stdout] 22 | Pink = 13, [INFO] [stdout] | ---- variant here [INFO] [stdout] 23 | Yellow = 14, [INFO] [stdout] | ------ variant here [INFO] [stdout] 24 | White = 15, [INFO] [stdout] | ----- too many variants in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0204]: the trait `core::marker::Copy` cannot be implemented for this type [INFO] [stdout] --> src/vga_buffer.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | color_code: ColorCode, [INFO] [stdout] | --------------------- this field does not implement `core::marker::Copy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ColorCode` doesn't implement `Debug` [INFO] [stdout] --> src/vga_buffer.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 39 | color_code: ColorCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `ColorCode` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ColorCode`, which is required by `&ColorCode: Debug` [INFO] [stdout] = note: add `#[derive(Debug)]` to `ColorCode` or manually `impl Debug for ColorCode` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `ColorCode` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Debug)] [INFO] [stdout] 28 | struct ColorCode(u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust_OS` (bin "Rust_OS" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `ColorCode: Clone` is not satisfied [INFO] [stdout] --> src/vga_buffer.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 39 | color_code: ColorCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `ColorCode` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `AssertParamIsClone` [INFO] [stdout] --> /rustc/773c42f0166e62a538b8fa36161b0c6df69a9640/library/core/src/clone.rs:193:1 [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `ColorCode` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Clone)] [INFO] [stdout] 28 | struct ColorCode(u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `ColorCode` [INFO] [stdout] --> src/vga_buffer.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 39 | color_code: ColorCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `ColorCode` [INFO] [stdout] --> src/vga_buffer.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | struct ColorCode(u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `ColorCode` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(PartialEq)] [INFO] [stdout] 28 | struct ColorCode(u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ColorCode: core::cmp::Eq` is not satisfied [INFO] [stdout] --> src/vga_buffer.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 39 | color_code: ColorCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `core::cmp::Eq` is not implemented for `ColorCode` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `AssertParamIsEq` [INFO] [stdout] --> /rustc/773c42f0166e62a538b8fa36161b0c6df69a9640/library/core/src/cmp.rs:360:1 [INFO] [stdout] = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `ColorCode` with `#[derive(Eq)]` [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Eq)] [INFO] [stdout] 28 | struct ColorCode(u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.color_code` which is behind a mutable reference [INFO] [stdout] --> src/vga_buffer.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | let color_code = self.color_code; [INFO] [stdout] | ^^^^^^^^^^^^^^^ move occurs because `self.color_code` has type `ColorCode`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `ColorCode` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/vga_buffer.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | struct ColorCode(u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 68 | let color_code = &self.color_code; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.color_code` which is behind a mutable reference [INFO] [stdout] --> src/vga_buffer.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | color_code: self.color_code, [INFO] [stdout] | ^^^^^^^^^^^^^^^ move occurs because `self.color_code` has type `ColorCode`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `ColorCode` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/vga_buffer.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | struct ColorCode(u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0204, E0277, E0369, E0507, E0692, E0731. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0204`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust_OS` (bin "Rust_OS") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "f837e40395f394f30be8461e390007865481aad9f17d473277e7b906c57d2460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f837e40395f394f30be8461e390007865481aad9f17d473277e7b906c57d2460", kill_on_drop: false }` [INFO] [stdout] f837e40395f394f30be8461e390007865481aad9f17d473277e7b906c57d2460