[INFO] cloning repository https://github.com/JosephFerano/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/JosephFerano/rust_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephFerano%2Frust_os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephFerano%2Frust_os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0502adec20e78e6019d68a023520c0c30f3fcff8 [INFO] checking JosephFerano/rust_os against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephFerano%2Frust_os" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JosephFerano/rust_os on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JosephFerano/rust_os [INFO] finished tweaking git repo https://github.com/JosephFerano/rust_os [INFO] tweaked toml for git repo https://github.com/JosephFerano/rust_os written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/JosephFerano/rust_os already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multiboot2 v0.7.1 [INFO] [stderr] Downloaded volatile v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d02af3d50774eedc7564078a7f325891e519d2189b90ba61cac7e98a25c02c88 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d02af3d50774eedc7564078a7f325891e519d2189b90ba61cac7e98a25c02c88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d02af3d50774eedc7564078a7f325891e519d2189b90ba61cac7e98a25c02c88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d02af3d50774eedc7564078a7f325891e519d2189b90ba61cac7e98a25c02c88", kill_on_drop: false }` [INFO] [stdout] d02af3d50774eedc7564078a7f325891e519d2189b90ba61cac7e98a25c02c88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5d5b478a63872d9dc3e92ff69362b07da10c27e2d0fa686fe8fed7b825d2d131 [INFO] running `Command { std: "docker" "start" "-a" "5d5b478a63872d9dc3e92ff69362b07da10c27e2d0fa686fe8fed7b825d2d131", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking volatile v0.2.4 [INFO] [stderr] Checking multiboot2 v0.7.1 [INFO] [stderr] Checking first_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vga_buffer.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | 0x20...0x7e | b'\n' => self.write_byte(byte), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_screen` [INFO] [stdout] --> src/vga_buffer.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn clear_screen(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/vga_buffer.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | 0x20...0x7e | b'\n' => self.write_byte(byte), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub extern fn eh_personality() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_unwind` (which `std` depends on) [INFO] [stdout] = note: first definition in `panic_unwind` loaded from /opt/rustwide/rustup-home/toolchains/f47dd4da3ae8c32c9e65d307bfe640b143e674df/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-cb36837ea2d84c1b.rlib [INFO] [stdout] = note: second definition in the local crate (`first_os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub extern fn panic(info : &PanicInfo) -> ! { [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/f47dd4da3ae8c32c9e65d307bfe640b143e674df/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-edfba68bd3501617.rlib [INFO] [stdout] = note: second definition in the local crate (`first_os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `first_os` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `core::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | / writeln!(writer, " start: 0x{:x}, end: 0x{:x}, size: {:x}", [INFO] [stdout] 26 | | area.start_address(), [INFO] [stdout] 27 | | area.end_address(), [INFO] [stdout] 28 | | area.size()); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `core::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / writeln!(writer, " addr: 0x{:x}, size: 0x{:x}, flags: 0x{:x}", [INFO] [stdout] 37 | | section.start_address(), [INFO] [stdout] 38 | | section.size(), [INFO] [stdout] 39 | | section.flags()); [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `core::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | writeln!(writer, "Kernel Start: 0x{:x}, Kernel End: 0x{:x}", kernel_start, kernel_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `core::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | writeln!(writer, "Multiboot Start: 0x{:x}, Multiboot End: 0x{:x}", multiboot_start, multiboot_end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `core::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | writeln!(writer, "{}", info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5d5b478a63872d9dc3e92ff69362b07da10c27e2d0fa686fe8fed7b825d2d131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d5b478a63872d9dc3e92ff69362b07da10c27e2d0fa686fe8fed7b825d2d131", kill_on_drop: false }` [INFO] [stdout] 5d5b478a63872d9dc3e92ff69362b07da10c27e2d0fa686fe8fed7b825d2d131