[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] testing acottis/efi_adamos against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facottis%2Fefi_adamos" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acottis/efi_adamos on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-27/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-27/source/Cargo.toml [INFO] crate git repo https://github.com/acottis/efi_adamos already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a897d0ae5e024ed8adef1189fab3f8370f2abd34903846a8172212ea9a1f95e4 [INFO] running `Command { std: "docker" "start" "-a" "a897d0ae5e024ed8adef1189fab3f8370f2abd34903846a8172212ea9a1f95e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a897d0ae5e024ed8adef1189fab3f8370f2abd34903846a8172212ea9a1f95e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a897d0ae5e024ed8adef1189fab3f8370f2abd34903846a8172212ea9a1f95e4", kill_on_drop: false }` [INFO] [stdout] a897d0ae5e024ed8adef1189fab3f8370f2abd34903846a8172212ea9a1f95e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb1f351ac3132295559058d679bbf80262d705a514e6f1021d1859cda9daac09 [INFO] running `Command { std: "docker" "start" "-a" "eb1f351ac3132295559058d679bbf80262d705a514e6f1021d1859cda9daac09", kill_on_drop: false }` [INFO] [stderr] Compiling efi_adamos v0.1.0 (/opt/rustwide/workdir) [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EFI_PAGE_SIZE` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | const EFI_PAGE_SIZE:u64 = 0x1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init` [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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/efi_adamos-b1b85d45aec1a04d.efi_adamos.2558cb21-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/efi_adamos-b1b85d45aec1a04d.efi_adamos.2558cb21-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/efi_adamos-b1b85d45aec1a04d.efi_adamos.2558cb21-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/efi_adamos-b1b85d45aec1a04d.efi_adamos.2558cb21-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/efi_adamos-b1b85d45aec1a04d.efi_adamos.2558cb21-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/efi_adamos-b1b85d45aec1a04d.efi_adamos.2558cb21-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/efi_adamos-b1b85d45aec1a04d.efi_adamos.2558cb21-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/efi_adamos-b1b85d45aec1a04d.efi_adamos.2558cb21-cgu.7.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/efi_adamos-b1b85d45aec1a04d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': [INFO] [stdout] (.text+0x16): undefined reference to `__libc_csu_fini' [INFO] [stdout] /usr/bin/ld: (.text+0x1d): undefined reference to `__libc_csu_init' [INFO] [stdout] /usr/bin/ld: (.text+0x24): undefined reference to `main' [INFO] [stdout] /usr/bin/ld: (.text+0x2a): undefined reference to `__libc_start_main' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `efi_adamos` due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb1f351ac3132295559058d679bbf80262d705a514e6f1021d1859cda9daac09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb1f351ac3132295559058d679bbf80262d705a514e6f1021d1859cda9daac09", kill_on_drop: false }` [INFO] [stdout] eb1f351ac3132295559058d679bbf80262d705a514e6f1021d1859cda9daac09