[INFO] cloning repository https://github.com/granadierfc/RustOS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/granadierfc/RustOS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgranadierfc%2FRustOS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgranadierfc%2FRustOS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8ce91bf010893db3e0aa4811847dbf06fddc0ca [INFO] checking granadierfc/RustOS against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgranadierfc%2FRustOS" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/granadierfc/RustOS [INFO] finished tweaking git repo https://github.com/granadierfc/RustOS [INFO] tweaked toml for git repo https://github.com/granadierfc/RustOS written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/granadierfc/RustOS on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/granadierfc/RustOS 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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 378b191c44d8a392d1bd4557f8e17753db90adec0e0fbf4778cc8bbc146af854 [INFO] running `Command { std: "docker" "start" "-a" "378b191c44d8a392d1bd4557f8e17753db90adec0e0fbf4778cc8bbc146af854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "378b191c44d8a392d1bd4557f8e17753db90adec0e0fbf4778cc8bbc146af854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "378b191c44d8a392d1bd4557f8e17753db90adec0e0fbf4778cc8bbc146af854", kill_on_drop: false }` [INFO] [stdout] 378b191c44d8a392d1bd4557f8e17753db90adec0e0fbf4778cc8bbc146af854 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edbb9e1c2578fa08350417cda6a7472510a1e87a956b99138a23d89b26edf5e7 [INFO] running `Command { std: "docker" "start" "-a" "edbb9e1c2578fa08350417cda6a7472510a1e87a956b99138a23d89b26edf5e7", kill_on_drop: false }` [INFO] [stderr] Checking hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 32 | | loop {} [INFO] [stdout] 33 | | } [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/29194e8f603400afdb2f86c9418e9fccb1628ea0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6e76fd4000f66c66.rlib [INFO] [stdout] = note: second definition in the local crate (`hello`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello` (bin "hello" test) due to 1 previous error [INFO] [stdout] warning: constant `SECTSIZE` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const SECTSIZE: usize = 512; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `inb` is never used [INFO] [stdout] --> src/main.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe fn inb(port: u16) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insl` is never used [INFO] [stdout] --> src/main.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe fn insl(port: u16, addr: *mut u8, count: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `outb` is never used [INFO] [stdout] --> src/main.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe fn outb(port: u16, data: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `outsl` is never used [INFO] [stdout] --> src/main.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe fn outsl(port: u16, addr: *const u8, count: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stosb` is never used [INFO] [stdout] --> src/main.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | unsafe fn stosb(addr: *mut u8, data: i8, count: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `waitdisk` is never used [INFO] [stdout] --> src/main.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe fn waitdisk() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readsect` is never used [INFO] [stdout] --> src/main.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe fn readsect(dst: *mut u8, offset: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readseg` is never used [INFO] [stdout] --> src/main.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe fn readseg(pa: *mut u8, count: u32, mut offset: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COM1` is never used [INFO] [stdout] --> src/main.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | const COM1: u16 = 0x3f8; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `UART` is never used [INFO] [stdout] --> src/main.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | static mut UART: bool = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uartputc` is never used [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn uartputc(c: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uartinit` is never used [INFO] [stdout] --> src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn uartinit() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consputc` is never used [INFO] [stdout] --> src/main.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn consputc(c: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `printint` is never used [INFO] [stdout] --> src/main.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn printint(xx: i32, base: i32, sign: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "edbb9e1c2578fa08350417cda6a7472510a1e87a956b99138a23d89b26edf5e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edbb9e1c2578fa08350417cda6a7472510a1e87a956b99138a23d89b26edf5e7", kill_on_drop: false }` [INFO] [stdout] edbb9e1c2578fa08350417cda6a7472510a1e87a956b99138a23d89b26edf5e7