[INFO] cloning repository https://github.com/harshitgupta1337/virt-install-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harshitgupta1337/virt-install-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharshitgupta1337%2Fvirt-install-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharshitgupta1337%2Fvirt-install-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 845f5bcdf9ed2a3ea8844fae4b8ff0204cf52b4c [INFO] testing harshitgupta1337/virt-install-rust against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharshitgupta1337%2Fvirt-install-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/harshitgupta1337/virt-install-rust [INFO] finished tweaking git repo https://github.com/harshitgupta1337/virt-install-rust [INFO] tweaked toml for git repo https://github.com/harshitgupta1337/virt-install-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/harshitgupta1337/virt-install-rust 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/harshitgupta1337/virt-install-rust 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 xmltree v0.10.3 [INFO] [stderr] Downloaded virt-sys v0.3.0 [INFO] [stderr] Downloaded clap_builder v4.5.37 [INFO] [stderr] Downloaded virt v0.4.2 [INFO] [stderr] Downloaded clap v4.5.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d5c61cce1b6754753dcbfbff5d4af11d88d0848c7fc1eb0d0967183b376b341 [INFO] running `Command { std: "docker" "start" "-a" "4d5c61cce1b6754753dcbfbff5d4af11d88d0848c7fc1eb0d0967183b376b341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d5c61cce1b6754753dcbfbff5d4af11d88d0848c7fc1eb0d0967183b376b341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d5c61cce1b6754753dcbfbff5d4af11d88d0848c7fc1eb0d0967183b376b341", kill_on_drop: false }` [INFO] [stdout] 4d5c61cce1b6754753dcbfbff5d4af11d88d0848c7fc1eb0d0967183b376b341 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1a1cf2a400ce9813cd460094182455345dd1a257e99b97b2886b4d95853953ed [INFO] running `Command { std: "docker" "start" "-a" "1a1cf2a400ce9813cd460094182455345dd1a257e99b97b2886b4d95853953ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling virt-sys v0.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling virt v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling virt-install-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Operation` is never constructed [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum VirtInstallError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Operation(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VirtInstallError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/rustc17aLlM/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libenv_logger-56e37eeb71f785fb.rlib,libtermcolor-d92989218eee0326.rlib,libis_terminal-b83d381b83db79b8.rlib,libhumantime-efb172a074f5bc89.rlib,libregex-a53b2cddb7131232.rlib,libregex_automata-3d429731f5163318.rlib,libaho_corasick-221b7966ebefc064.rlib,libmemchr-a6af4e08ecbb6708.rlib,libregex_syntax-e1e74b324d770c72.rlib,libvirt-fe25d0c1a0b4bfff.rlib,libuuid-cd25faac7fcce0a5.rlib,libvirt_sys-780ee7f9e0259190.rlib,liblibc-8454428c84ca4d78.rlib,libthiserror-adda62130827e291.rlib,libxmltree-ac70bc6dad256e20.rlib,libxml-eb9567a13dc55ed4.rlib,liblog-7ed48074b9f3458e.rlib,libclap-a3ac2a3634dce794.rlib,libclap_builder-675e431456299e76.rlib,libstrsim-e5a1ceb0bdbece3f.rlib,libanstream-527927351f6d80a2.rlib,libanstyle_query-ebe1135144359f1f.rlib,libis_terminal_polyfill-67333c1fd864e7ce.rlib,libcolorchoice-aaa33b9b4c6e047f.rlib,libanstyle_parse-5c3251d51efe2012.rlib,libutf8parse-566e819dd32c0a03.rlib,libclap_lex-b04abc9e061f964d.rlib,libanstyle-b75f78861eab6f9d.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/rustc17aLlM/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/virt_install_rs-2b6762f38a41024e" "-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/libvirt-fe25d0c1a0b4bfff.rlib(virt-fe25d0c1a0b4bfff.virt.a7044c9922abcfe9-cgu.0.rcgu.o): in function `virt::domain::Domain::create_xml': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/virt-0.4.2/src/domain.rs:939:(.text._ZN4virt6domain6Domain10create_xml17hcd58c92de51e9098E+0x1cb): undefined reference to `virDomainCreateXML' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libvirt-fe25d0c1a0b4bfff.rlib(virt-fe25d0c1a0b4bfff.virt.a7044c9922abcfe9-cgu.0.rcgu.o): in function `virt::domain::Domain::free': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/virt-0.4.2/src/domain.rs:1186:(.text._ZN4virt6domain6Domain4free17he41f4cec91d858ceE+0x2b): undefined reference to `virDomainFree' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libvirt-fe25d0c1a0b4bfff.rlib(virt-fe25d0c1a0b4bfff.virt.a7044c9922abcfe9-cgu.1.rcgu.o): in function `virt::connect::Connect::open': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/virt-0.4.2/src/connect.rs:254:(.text._ZN4virt7connect7Connect4open17hf78f61c48caf5966E+0xa9): undefined reference to `virConnectOpen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libvirt-fe25d0c1a0b4bfff.rlib(virt-fe25d0c1a0b4bfff.virt.a7044c9922abcfe9-cgu.4.rcgu.o): in function `virt::error::Error::last_error': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/virt-0.4.2/src/error.rs:654:(.text._ZN4virt5error5Error10last_error17hf72a5b6c0cf4083dE+0xf): undefined reference to `virGetLastError' [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 `virt-install-rs` (bin "virt-install-rs") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1a1cf2a400ce9813cd460094182455345dd1a257e99b97b2886b4d95853953ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a1cf2a400ce9813cd460094182455345dd1a257e99b97b2886b4d95853953ed", kill_on_drop: false }` [INFO] [stdout] 1a1cf2a400ce9813cd460094182455345dd1a257e99b97b2886b4d95853953ed