[INFO] fetching crate redox_uefi_std 0.1.4... [INFO] checking redox_uefi_std-0.1.4 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate redox_uefi_std 0.1.4 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate redox_uefi_std 0.1.4 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate redox_uefi_std 0.1.4 [INFO] finished tweaking crates.io crate redox_uefi_std 0.1.4 [INFO] tweaked toml for crates.io crate redox_uefi_std 0.1.4 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_uefi_alloc v0.1.0 [INFO] [stderr] Downloaded redox_uefi v0.1.1 [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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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] f1fa63f65715c5eaac2948cd39c7e2da989b806f1631283c87eab2c61bd13c37 [INFO] running `Command { std: "docker" "start" "-a" "f1fa63f65715c5eaac2948cd39c7e2da989b806f1631283c87eab2c61bd13c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1fa63f65715c5eaac2948cd39c7e2da989b806f1631283c87eab2c61bd13c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1fa63f65715c5eaac2948cd39c7e2da989b806f1631283c87eab2c61bd13c37", kill_on_drop: false }` [INFO] [stdout] f1fa63f65715c5eaac2948cd39c7e2da989b806f1631283c87eab2c61bd13c37 [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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a73880cdb2f3a5ccc391b8dd9c95cd6747de6c33f7a899c14f61ffc0c642746 [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" "6a73880cdb2f3a5ccc391b8dd9c95cd6747de6c33f7a899c14f61ffc0c642746", kill_on_drop: false }` [INFO] [stderr] Checking redox_uefi v0.1.1 [INFO] [stderr] Checking redox_uefi_alloc v0.1.0 [INFO] [stderr] Checking redox_uefi_std v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/rt/panic.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern fn rust_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/45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-787faa8b02fbd963.rlib [INFO] [stdout] = note: second definition in the local crate (`uefi_std`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/rt/panic.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub extern fn rust_begin_panic(pi: &::core::panic::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/45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-61556e43b375c2c0.rlib [INFO] [stdout] = note: second definition in the local crate (`uefi_std`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `oom` [INFO] [stdout] --> src/rt/panic.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub extern "C" fn rust_oom(layout: ::core::alloc::Layout) -> ! { [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/45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-61556e43b375c2c0.rlib [INFO] [stdout] = note: second definition in the local crate (`uefi_std`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Layout`, which is not FFI-safe [INFO] [stdout] --> src/rt/panic.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | pub extern "C" fn rust_oom(layout: ::core::alloc::Layout) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 `redox_uefi_std` [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6a73880cdb2f3a5ccc391b8dd9c95cd6747de6c33f7a899c14f61ffc0c642746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a73880cdb2f3a5ccc391b8dd9c95cd6747de6c33f7a899c14f61ffc0c642746", kill_on_drop: false }` [INFO] [stdout] 6a73880cdb2f3a5ccc391b8dd9c95cd6747de6c33f7a899c14f61ffc0c642746