[INFO] cloning repository https://github.com/swixge/lr2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swixge/lr2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswixge%2Flr2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswixge%2Flr2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a840186903f69b5cff8747800de851a2c03b30c [INFO] checking swixge/lr2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswixge%2Flr2" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/swixge/lr2 [INFO] finished tweaking git repo https://github.com/swixge/lr2 [INFO] tweaked toml for git repo https://github.com/swixge/lr2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/swixge/lr2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/swixge/lr2 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0d904aaa55e0f839347577a3ab1646b8fd83936b824a8a84d4204ce6bbe3780 [INFO] running `Command { std: "docker" "start" "-a" "e0d904aaa55e0f839347577a3ab1646b8fd83936b824a8a84d4204ce6bbe3780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0d904aaa55e0f839347577a3ab1646b8fd83936b824a8a84d4204ce6bbe3780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d904aaa55e0f839347577a3ab1646b8fd83936b824a8a84d4204ce6bbe3780", kill_on_drop: false }` [INFO] [stdout] e0d904aaa55e0f839347577a3ab1646b8fd83936b824a8a84d4204ce6bbe3780 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d75130dc9aa0d03d7d7d6c3f5f5ad640deb2c0a81fde18f6b3dbae6cbf424fd [INFO] running `Command { std: "docker" "start" "-a" "5d75130dc9aa0d03d7d7d6c3f5f5ad640deb2c0a81fde18f6b3dbae6cbf424fd", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader v0.9.23 [INFO] [stderr] Checking unios v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> src/vga_buf.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LIGHT_GREY` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | 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:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | 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:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | 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:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | LIGHT_RED = 0xc, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LightRed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> src/vga_buf.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LIGHT_GREY` should have an upper camel case name [INFO] [stdout] --> src/vga_buf.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | 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:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | 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:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | 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:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | 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:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 14 | | loop {} [INFO] [stdout] 15 | | } [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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95d69415fb7e848a.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] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/vga_buf.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | 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] [stderr] error: could not compile `unios` (bin "unios" test) due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variants `Left` and `Right` are never constructed [INFO] [stdout] --> src/vga_buf.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Alignment { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 17 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/vga_buf.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 25 | BLUE = 0x1, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | GREEN = 0x2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | AZURE = 0x3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | RED = 0x4, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | PURPLE = 0x5, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | BROWN = 0x6, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | LIGHT_GREY = 0x7, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | DARK_GREY = 0x8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | LIGHT_BLUE = 0x9, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | LIGHT_GREEN = 0xa, [INFO] [stdout] 35 | LIGHT_AZURE = 0xb, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | LIGHT_RED = 0xc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | PINK = 0xd, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | YELLOW = 0xe, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | WHITE = 0xf [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_char` is never used [INFO] [stdout] --> src/vga_buf.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn read_char(&self, offset: u32) -> AsciiChar { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 25 | let _ = write!(screen, "Number {}\n", i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5d75130dc9aa0d03d7d7d6c3f5f5ad640deb2c0a81fde18f6b3dbae6cbf424fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d75130dc9aa0d03d7d7d6c3f5f5ad640deb2c0a81fde18f6b3dbae6cbf424fd", kill_on_drop: false }` [INFO] [stdout] 5d75130dc9aa0d03d7d7d6c3f5f5ad640deb2c0a81fde18f6b3dbae6cbf424fd