[INFO] cloning repository https://github.com/bowlofruit/os-lab2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bowlofruit/os-lab2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbowlofruit%2Fos-lab2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbowlofruit%2Fos-lab2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52bfa6c5cc773e23cc396a1fa6549e7a9925df22 [INFO] checking bowlofruit/os-lab2 against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbowlofruit%2Fos-lab2" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/bowlofruit/os-lab2 [INFO] finished tweaking git repo https://github.com/bowlofruit/os-lab2 [INFO] tweaked toml for git repo https://github.com/bowlofruit/os-lab2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bowlofruit/os-lab2 on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bowlofruit/os-lab2 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42f75a50465908bc7fdefe6a04361a8ed6d126d84d276d0d9037340119bf63c4 [INFO] running `Command { std: "docker" "start" "-a" "42f75a50465908bc7fdefe6a04361a8ed6d126d84d276d0d9037340119bf63c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42f75a50465908bc7fdefe6a04361a8ed6d126d84d276d0d9037340119bf63c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42f75a50465908bc7fdefe6a04361a8ed6d126d84d276d0d9037340119bf63c4", kill_on_drop: false }` [INFO] [stdout] 42f75a50465908bc7fdefe6a04361a8ed6d126d84d276d0d9037340119bf63c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55ee8b1fb892cb5739feea641ad8a944d0192daec5cbe78a05db4f6fefb25b1c [INFO] running `Command { std: "docker" "start" "-a" "55ee8b1fb892cb5739feea641ad8a944d0192daec5cbe78a05db4f6fefb25b1c", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader v0.9.23 [INFO] [stderr] Checking unios v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Light_grey` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | Light_grey = 0x7, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LightGrey` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dark_grey` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | Dark_grey = 0x8, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DarkGrey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Light_blue` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | Light_blue = 0x9, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LightBlue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Light_green` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | Light_green = 0xa, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LightGreen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Light_azure` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | Light_azure = 0xb, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LightAzure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Light_red` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | Light_red = 0xc, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LightRed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Light_grey` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | Light_grey = 0x7, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LightGrey` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dark_grey` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | Dark_grey = 0x8, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DarkGrey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Light_blue` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | Light_blue = 0x9, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LightBlue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Light_green` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | Light_green = 0xa, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LightGreen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Light_azure` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | Light_azure = 0xb, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LightAzure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Light_red` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | Light_red = 0xc, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LightRed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 13 | | loop {} [INFO] [stdout] 14 | | } [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/64b185eddaa1d7ddf5e0c024be23b9cbba6c1722/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-54e42b35ab65fe3c.rlib [INFO] [stdout] = note: second definition in the local crate (`unios`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unios` (bin "unios" test) due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/vga_buf.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | for i in 0..align [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/vga_buf.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | for i in 0..align-1 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_BLACK` is never used [INFO] [stdout] --> src/vga_buf.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const COLOR_BLACK: u8 = 0x0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Left` and `Right` are never constructed [INFO] [stdout] --> src/vga_buf.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Alignment { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 13 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_char` is never used [INFO] [stdout] --> src/vga_buf.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Screen [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn read_char(&self, offset: u32) -> AsciiChar [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/vga_buf.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 162 | Blue = 0x1, [INFO] [stdout] 163 | Green = 0x2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 164 | Azure = 0x3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 165 | Red = 0x4, [INFO] [stdout] | ^^^ [INFO] [stdout] 166 | Purple = 0x5, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 167 | Brown = 0x6, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 168 | Light_grey = 0x7, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 169 | Dark_grey = 0x8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 170 | Light_blue = 0x9, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 171 | Light_green = 0xa, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 172 | Light_azure = 0xb, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 173 | Light_red = 0xc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 174 | Pink = 0xd, [INFO] [stdout] | ^^^^ [INFO] [stdout] 175 | Yellow = 0xe, [INFO] [stdout] 176 | White = 0xf [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | write!(screen, "Number {}\n", i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = write!(screen, "Number {}\n", i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "55ee8b1fb892cb5739feea641ad8a944d0192daec5cbe78a05db4f6fefb25b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55ee8b1fb892cb5739feea641ad8a944d0192daec5cbe78a05db4f6fefb25b1c", kill_on_drop: false }` [INFO] [stdout] 55ee8b1fb892cb5739feea641ad8a944d0192daec5cbe78a05db4f6fefb25b1c