[INFO] cloning repository https://github.com/acottis/efi_adamos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acottis/efi_adamos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facottis%2Fefi_adamos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facottis%2Fefi_adamos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0f53b4dcdf64f14adc27e7d89cfffb45fc71648 [INFO] checking acottis/efi_adamos against try#f70ee28831acc074c109afab32d287057c3eca46 for pr-149389 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facottis%2Fefi_adamos" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/acottis/efi_adamos [INFO] finished tweaking git repo https://github.com/acottis/efi_adamos [INFO] tweaked toml for git repo https://github.com/acottis/efi_adamos written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/acottis/efi_adamos on toolchain f70ee28831acc074c109afab32d287057c3eca46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/acottis/efi_adamos 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" "+f70ee28831acc074c109afab32d287057c3eca46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking acottis/efi_adamos against try#f70ee28831acc074c109afab32d287057c3eca46 for pr-149389 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facottis%2Fefi_adamos" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/acottis/efi_adamos [INFO] finished tweaking git repo https://github.com/acottis/efi_adamos [INFO] tweaked toml for git repo https://github.com/acottis/efi_adamos written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/acottis/efi_adamos on toolchain f70ee28831acc074c109afab32d287057c3eca46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/acottis/efi_adamos 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" "+f70ee28831acc074c109afab32d287057c3eca46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9216158f18ce38c07fb8ed63f9ed3f86d273e4b94a48efc21ee7bf3dd232073 [INFO] running `Command { std: "docker" "start" "-a" "d9216158f18ce38c07fb8ed63f9ed3f86d273e4b94a48efc21ee7bf3dd232073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9216158f18ce38c07fb8ed63f9ed3f86d273e4b94a48efc21ee7bf3dd232073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9216158f18ce38c07fb8ed63f9ed3f86d273e4b94a48efc21ee7bf3dd232073", kill_on_drop: false }` [INFO] [stdout] d9216158f18ce38c07fb8ed63f9ed3f86d273e4b94a48efc21ee7bf3dd232073 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4beb7028dfb15ef7e305c6f391e0de3ba37546623ada8093bfeaa7d7d0bea35 [INFO] running `Command { std: "docker" "start" "-a" "b4beb7028dfb15ef7e305c6f391e0de3ba37546623ada8093bfeaa7d7d0bea35", kill_on_drop: false }` [INFO] [stderr] Checking efi_adamos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / fn panic_handler(_info: &PanicInfo<'_>) -> ! { [INFO] [stdout] 8 | | loop {} [INFO] [stdout] 9 | | } [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/f70ee28831acc074c109afab32d287057c3eca46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8f13478ecb534816.rlib [INFO] [stdout] = note: second definition in the local crate (`efi_adamos`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/uefi.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let stdout = system_table; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EFI_PAGE_SIZE` is never used [INFO] [stdout] --> src/main.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | const EFI_PAGE_SIZE:u64 = 0x1000; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/uefi.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct EfiHandle(*mut c_void); [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/uefi.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn init(system_table: EfiSystemTable){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `efi_adamos` (bin "efi_adamos" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: `extern` fn uses type `EfiMemoryDescriptor`, which is not FFI-safe [INFO] [stdout] --> src/uefi.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | get_memory_map: unsafe extern "C" fn( [INFO] [stdout] | _____________________^ [INFO] [stdout] 52 | | memory_map_size: usize, [INFO] [stdout] 53 | | memory_map: EfiMemoryDescriptor, [INFO] [stdout] 54 | | map_key: usize, [INFO] [stdout] 55 | | descriptor_size: usize, [INFO] [stdout] 56 | | descriptor_version: u32, [INFO] [stdout] 57 | | ) -> EfiStatus, [INFO] [stdout] | |__________________^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/uefi.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct EfiMemoryDescriptor {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `EfiHandle`, which is not FFI-safe [INFO] [stdout] --> src/uefi.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | pub exit_boot_services: unsafe extern "C" fn(handle: EfiHandle, map_key: usize) -> EfiStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [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] note: the type is defined here [INFO] [stdout] --> src/uefi.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct EfiHandle(*mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b4beb7028dfb15ef7e305c6f391e0de3ba37546623ada8093bfeaa7d7d0bea35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4beb7028dfb15ef7e305c6f391e0de3ba37546623ada8093bfeaa7d7d0bea35", kill_on_drop: false }` [INFO] [stdout] b4beb7028dfb15ef7e305c6f391e0de3ba37546623ada8093bfeaa7d7d0bea35