[INFO] cloning repository https://github.com/imondrag/toy_os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imondrag/toy_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimondrag%2Ftoy_os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimondrag%2Ftoy_os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb6a6e9acf9b21a2abd4d08ddd64b90106eebd5e [INFO] checking imondrag/toy_os against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimondrag%2Ftoy_os" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imondrag/toy_os on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] started tweaking git repo https://github.com/imondrag/toy_os [INFO] finished tweaking git repo https://github.com/imondrag/toy_os [INFO] tweaked toml for git repo https://github.com/imondrag/toy_os written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/imondrag/toy_os already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", 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] 68656479adac4afd6e57cd181a08913f172059f3846af083c718e73cef4c0bf2 [INFO] running `Command { std: "docker" "start" "-a" "68656479adac4afd6e57cd181a08913f172059f3846af083c718e73cef4c0bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68656479adac4afd6e57cd181a08913f172059f3846af083c718e73cef4c0bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68656479adac4afd6e57cd181a08913f172059f3846af083c718e73cef4c0bf2", kill_on_drop: false }` [INFO] [stdout] 68656479adac4afd6e57cd181a08913f172059f3846af083c718e73cef4c0bf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bdb84062cbc70d91701fde4d414b021216a4dec23c5e4a2df109767476a9b00 [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" "7bdb84062cbc70d91701fde4d414b021216a4dec23c5e4a2df109767476a9b00", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling x86_64 v0.11.2 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bootloader v0.9.8 [INFO] [stderr] Checking conquer-util v0.2.0 [INFO] [stderr] Checking cpuio v0.3.0 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking font8x8 v0.2.5 [INFO] [stderr] Checking volatile v0.3.0 [INFO] [stderr] Checking rlibc v1.0.0 [INFO] [stderr] Checking pc-keyboard v0.5.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking pic8259_simple v0.2.0 [INFO] [stderr] Checking conquer-once v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking spinning_top v0.1.1 [INFO] [stderr] Checking linked_list_allocator v0.8.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking uart_16550 v0.2.7 [INFO] [stderr] Checking vga v0.2.4 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking toy_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0152]: found duplicate lang item `oom` [INFO] [stdout] --> src/kernel/allocator/mod.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / fn alloc_error_handler(layout: alloc::alloc::Layout) -> ! { [INFO] [stdout] 73 | | panic!("allocation error: {:?}", layout) [INFO] [stdout] 74 | | } [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/5e3f1b148db5bfa27fee52464ae1f5d34c49d77b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-afd4b9aba051f3ad.rlib [INFO] [stdout] = note: second definition in the local crate (`toy_os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/kernel/panic.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 20 | | test_panic_handler(info) [INFO] [stdout] 21 | | } [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/5e3f1b148db5bfa27fee52464ae1f5d34c49d77b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-afd4b9aba051f3ad.rlib [INFO] [stdout] = note: second definition in the local crate (`toy_os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toy_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: variant is never constructed: `Runnable` [INFO] [stdout] --> src/kernel/context/context.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Runnable, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blocked` [INFO] [stdout] --> src/kernel/context/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Blocked, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exited` [INFO] [stdout] --> src/kernel/context/context.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Exited(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7bdb84062cbc70d91701fde4d414b021216a4dec23c5e4a2df109767476a9b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bdb84062cbc70d91701fde4d414b021216a4dec23c5e4a2df109767476a9b00", kill_on_drop: false }` [INFO] [stdout] 7bdb84062cbc70d91701fde4d414b021216a4dec23c5e4a2df109767476a9b00