[INFO] cloning repository https://github.com/charlesj/RustOs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/charlesj/RustOs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlesj%2FRustOs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlesj%2FRustOs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 836d484e029fa77b3861dc78d61b2bcd80851e53 [INFO] checking charlesj/RustOs against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlesj%2FRustOs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charlesj/RustOs on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/charlesj/RustOs [INFO] finished tweaking git repo https://github.com/charlesj/RustOs [INFO] tweaked toml for git repo https://github.com/charlesj/RustOs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/charlesj/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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rlibc v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6016cf8e34983c073c3ef91b8581e92dada6e5006b905dcae74ae1c35539abca [INFO] running `Command { std: "docker" "start" "-a" "6016cf8e34983c073c3ef91b8581e92dada6e5006b905dcae74ae1c35539abca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6016cf8e34983c073c3ef91b8581e92dada6e5006b905dcae74ae1c35539abca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6016cf8e34983c073c3ef91b8581e92dada6e5006b905dcae74ae1c35539abca", kill_on_drop: false }` [INFO] [stdout] 6016cf8e34983c073c3ef91b8581e92dada6e5006b905dcae74ae1c35539abca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 769711b94054e6e1e1cc0ed001c6f213f17d537a98881e4332a86350fd3bd5ff [INFO] running `Command { std: "docker" "start" "-a" "769711b94054e6e1e1cc0ed001c6f213f17d537a98881e4332a86350fd3bd5ff", kill_on_drop: false }` [INFO] [stderr] Checking rlibc v0.1.5 [INFO] [stderr] Checking rust_os v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0774]: `derive` may only be applied to `struct`s, `enum`s and `union`s [INFO] [stdout] --> src/vga_buffer.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not applicable here [INFO] [stdout] 25 | / impl ColorCode { [INFO] [stdout] 26 | | const fn new(foreground: Color, background: Color) -> ColorCode { [INFO] [stdout] 27 | | ColorCode((background as u8) << 4 | (foreground as u8)) [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- not a `struct`, `enum` or `union` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0774]: `derive` may only be applied to `struct`s, `enum`s and `union`s [INFO] [stdout] --> src/vga_buffer.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not applicable here [INFO] [stdout] 25 | / impl ColorCode { [INFO] [stdout] 26 | | const fn new(foreground: Color, background: Color) -> ColorCode { [INFO] [stdout] 27 | | ColorCode((background as u8) << 4 | (foreground as u8)) [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- not a `struct`, `enum` or `union` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_fmt` [INFO] [stdout] --> src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | #[lang = "panic_fmt"] extern fn panic_fmt() -> ! {loop{}} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `rust_os` depends on) [INFO] [stdout] = note: first definition in `core` loaded from /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-632ae0f28c5e55ff.rlib [INFO] [stdout] = note: second definition in the local crate (`rust_os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/lib.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | #[lang = "eh_personality"] extern fn eh_personality() {} [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/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6701759d8343e913.rlib [INFO] [stdout] = note: second definition in the local crate (`rust_os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0774. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0774. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_os` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_os` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "769711b94054e6e1e1cc0ed001c6f213f17d537a98881e4332a86350fd3bd5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "769711b94054e6e1e1cc0ed001c6f213f17d537a98881e4332a86350fd3bd5ff", kill_on_drop: false }` [INFO] [stdout] 769711b94054e6e1e1cc0ed001c6f213f17d537a98881e4332a86350fd3bd5ff