[INFO] cloning repository https://github.com/bazhenov/hvf-vmm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bazhenov/hvf-vmm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbazhenov%2Fhvf-vmm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbazhenov%2Fhvf-vmm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c26fd477d06062cda77b432ce8c2bd39e6110bb [INFO] testing bazhenov/hvf-vmm/2c26fd477d06062cda77b432ce8c2bd39e6110bb against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbazhenov%2Fhvf-vmm" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bazhenov/hvf-vmm [INFO] finished tweaking git repo https://github.com/bazhenov/hvf-vmm [INFO] tweaked toml for git repo https://github.com/bazhenov/hvf-vmm written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bazhenov/hvf-vmm on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bazhenov/hvf-vmm 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded applevisor v0.1.3 [INFO] [stderr] Downloaded concat-idents v1.1.5 [INFO] [stderr] Downloaded applevisor-sys v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24d27f5ea04006fc28cecc16dba5e5ce7f16c7b83751a5f88ee7d0c3c7e2968d [INFO] running `Command { std: "docker" "start" "-a" "24d27f5ea04006fc28cecc16dba5e5ce7f16c7b83751a5f88ee7d0c3c7e2968d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24d27f5ea04006fc28cecc16dba5e5ce7f16c7b83751a5f88ee7d0c3c7e2968d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d27f5ea04006fc28cecc16dba5e5ce7f16c7b83751a5f88ee7d0c3c7e2968d", kill_on_drop: false }` [INFO] [stdout] 24d27f5ea04006fc28cecc16dba5e5ce7f16c7b83751a5f88ee7d0c3c7e2968d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 96ffb8915ac30e9247925d08d1552b276ddfc3e9c6e059e856cbc071c72f3154 [INFO] running `Command { std: "docker" "start" "-a" "96ffb8915ac30e9247925d08d1552b276ddfc3e9c6e059e856cbc071c72f3154", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling applevisor-sys v0.1.3 [INFO] [stderr] Compiling concat-idents v1.1.5 [INFO] [stderr] Compiling applevisor v0.1.3 [INFO] [stderr] Compiling vmm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | Unknown(u64), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 345 - Unknown(u64), [INFO] [stdout] 345 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcS7jOuX/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libapplevisor-29e0825d4fd8af36.rlib,libapplevisor_sys-39c000ee95851e59.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcS7jOuX/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/vmm-ba88c6f731b9ae03" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libapplevisor-29e0825d4fd8af36.rlib(applevisor-29e0825d4fd8af36.applevisor.99d039d7bd48f577-cgu.0.rcgu.o): in function `applevisor::VirtualMachine::new': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/applevisor-0.1.3/src/lib.rs:804:(.text._ZN10applevisor14VirtualMachine3new17h17021fa9094b2963E+0x1d): undefined reference to `hv_vm_create' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libapplevisor-29e0825d4fd8af36.rlib(applevisor-29e0825d4fd8af36.applevisor.99d039d7bd48f577-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/applevisor-0.1.3/src/lib.rs:814:(.text._ZN68_$LT$applevisor..VirtualMachine$u20$as$u20$core..ops..drop..Drop$GT$4drop17h7eaa19746a937b73E+0xb): undefined reference to `hv_vm_destroy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libapplevisor-29e0825d4fd8af36.rlib(applevisor-29e0825d4fd8af36.applevisor.99d039d7bd48f577-cgu.0.rcgu.o): in function `applevisor::Mappable::map_inner': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/applevisor-0.1.3/src/lib.rs:1150:(.text._ZN10applevisor8Mappable9map_inner17hda372b070ff689ffE+0x6a): undefined reference to `hv_vm_map' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libapplevisor-29e0825d4fd8af36.rlib(applevisor-29e0825d4fd8af36.applevisor.99d039d7bd48f577-cgu.0.rcgu.o): in function `applevisor::Mappable::unmap_inner': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/applevisor-0.1.3/src/lib.rs:1170:(.text._ZN10applevisor8Mappable11unmap_inner17h426ebeee2619547eE+0x98): undefined reference to `hv_vm_unmap' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libapplevisor-29e0825d4fd8af36.rlib(applevisor-29e0825d4fd8af36.applevisor.99d039d7bd48f577-cgu.0.rcgu.o): in function `applevisor::Vcpu::with_config': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/applevisor-0.1.3/src/lib.rs:1423:(.text._ZN10applevisor4Vcpu11with_config17had76c41da37cdb5eE+0x3b): undefined reference to `hv_vcpu_create' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libapplevisor-29e0825d4fd8af36.rlib(applevisor-29e0825d4fd8af36.applevisor.99d039d7bd48f577-cgu.0.rcgu.o): in function `applevisor::Vcpu::run': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/applevisor-0.1.3/src/lib.rs:1446:(.text._ZN10applevisor4Vcpu3run17h0523062a49162b09E+0xe): undefined reference to `hv_vcpu_run' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libapplevisor-29e0825d4fd8af36.rlib(applevisor-29e0825d4fd8af36.applevisor.99d039d7bd48f577-cgu.0.rcgu.o): in function `applevisor::Vcpu::stop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/applevisor-0.1.3/src/lib.rs:1452:(.text._ZN10applevisor4Vcpu4stop17h2aaba137aa241433E+0x9a): undefined reference to `hv_vcpus_exit' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libapplevisor-29e0825d4fd8af36.rlib(applevisor-29e0825d4fd8af36.applevisor.99d039d7bd48f577-cgu.0.rcgu.o): in function `applevisor::Vcpu::get_pending_interrupt': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/applevisor-0.1.3/src/lib.rs:1463:(.text._ZN10applevisor4Vcpu21get_pending_interrupt17h2c68832bfe01b550E+0x3f): undefined reference to `hv_vcpu_get_pending_interrupt' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libapplevisor-29e0825d4fd8af36.rlib(applevisor-29e0825d4fd8af36.applevisor.99d039d7bd48f577-cgu.0.rcgu.o): in function `applevisor::Vcpu::get_reg': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/applevisor-0.1.3/src/lib.rs:1483:(.text._ZN10applevisor4Vcpu7get_reg17hab8ca6a4d3b0749eE+0x40): undefined reference to `hv_vcpu_get_reg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libapplevisor-29e0825d4fd8af36.rlib(applevisor-29e0825d4fd8af36.applevisor.99d039d7bd48f577-cgu.0.rcgu.o): in function `applevisor::Vcpu::set_reg': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/applevisor-0.1.3/src/lib.rs:1493:(.text._ZN10applevisor4Vcpu7set_reg17he68a58d18b388d24E+0x39): undefined reference to `hv_vcpu_set_reg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libapplevisor-29e0825d4fd8af36.rlib(applevisor-29e0825d4fd8af36.applevisor.99d039d7bd48f577-cgu.0.rcgu.o): in function `applevisor::Vcpu::get_sys_reg': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/applevisor-0.1.3/src/lib.rs:1547:(.text._ZN10applevisor4Vcpu11get_sys_reg17hee7ca1d0bbdea2e9E+0x40): undefined reference to `hv_vcpu_get_sys_reg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libapplevisor-29e0825d4fd8af36.rlib(applevisor-29e0825d4fd8af36.applevisor.99d039d7bd48f577-cgu.0.rcgu.o): in function `applevisor::Vcpu::set_sys_reg': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/applevisor-0.1.3/src/lib.rs:1557:(.text._ZN10applevisor4Vcpu11set_sys_reg17hd2a0a5887377279cE+0x39): undefined reference to `hv_vcpu_set_sys_reg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libapplevisor-29e0825d4fd8af36.rlib(applevisor-29e0825d4fd8af36.applevisor.99d039d7bd48f577-cgu.0.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/applevisor-0.1.3/src/lib.rs:1622:(.text._ZN58_$LT$applevisor..Vcpu$u20$as$u20$core..ops..drop..Drop$GT$4drop17h54397bf9022c44adE+0xe): undefined reference to `hv_vcpu_destroy' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: 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#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vmm` (bin "vmm") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "96ffb8915ac30e9247925d08d1552b276ddfc3e9c6e059e856cbc071c72f3154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96ffb8915ac30e9247925d08d1552b276ddfc3e9c6e059e856cbc071c72f3154", kill_on_drop: false }` [INFO] [stdout] 96ffb8915ac30e9247925d08d1552b276ddfc3e9c6e059e856cbc071c72f3154