[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] building harshitgupta1337/virt-install-rust against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharshitgupta1337%2Fvirt-install-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/harshitgupta1337/virt-install-rust on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00fb5e931c62b4937e3e7dbcfedf9c8969b0b909860ff9ac33663e34fd5840e1 [INFO] running `Command { std: "docker" "start" "-a" "00fb5e931c62b4937e3e7dbcfedf9c8969b0b909860ff9ac33663e34fd5840e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00fb5e931c62b4937e3e7dbcfedf9c8969b0b909860ff9ac33663e34fd5840e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00fb5e931c62b4937e3e7dbcfedf9c8969b0b909860ff9ac33663e34fd5840e1", kill_on_drop: false }` [INFO] [stdout] 00fb5e931c62b4937e3e7dbcfedf9c8969b0b909860ff9ac33663e34fd5840e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 33bc993967861518aaa031c7ea918546efa01f9f77a49087212dc9f042ee2b03 [INFO] running `Command { std: "docker" "start" "-a" "33bc993967861518aaa031c7ea918546efa01f9f77a49087212dc9f042ee2b03", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling virt-sys v0.3.0 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling virt v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<5 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libenv_logger-78e4483526d53f4a,libtermcolor-8fb4caf4dcc3553a,libis_terminal-4d51dfa6811c8b5a,libhumantime-52dacae366b4b560,libregex-f64b48ece4961622,libregex_automata-2e1545a781ab50dd,libaho_corasick-d8b2a3f669230f65,libmemchr-fce70e7b22dffad4,libregex_syntax-10cc3307f3218022,libvirt-30a7a0e987320a75,libuuid-1dc28824c6a34b37,libvirt_sys-38813da50ac4e84f,liblibc-a00379b8cf0dfb91,libthiserror-6668d935c0268886,libxmltree-16d0e404da90f8b6,libxml-e0e127b901f91918,liblog-4ecbc956a4935ae7,libclap-41c553e90430ee99,libclap_builder-7ebd33c430674295,libstrsim-e512297c5f919e18,libanstream-cfed71fa82033df3,libanstyle_query-5f094c86118711a2,libis_terminal_polyfill-55cc14b2bc4075e2,libcolorchoice-34bb85f11e447472,libanstyle_parse-cce6b73a0cf8514a,libutf8parse-9c3910e1de91e7db,libclap_lex-5c194e2e9ab41dcc,libanstyle-00553110323c47ee}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/virt_install_rs-17d457e99768f87e.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvirt-30a7a0e987320a75.rlib(virt-30a7a0e987320a75.virt.d56c18d84701e181-cgu.0.rcgu.o): undefined symbol: virDomainCreateXML [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvirt-30a7a0e987320a75.rlib(virt-30a7a0e987320a75.virt.d56c18d84701e181-cgu.0.rcgu.o): undefined symbol: virDomainFree [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvirt-30a7a0e987320a75.rlib(virt-30a7a0e987320a75.virt.d56c18d84701e181-cgu.2.rcgu.o): undefined symbol: virGetLastError [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvirt-30a7a0e987320a75.rlib(virt-30a7a0e987320a75.virt.d56c18d84701e181-cgu.6.rcgu.o): undefined symbol: virConnectOpen [INFO] [stdout] [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" "33bc993967861518aaa031c7ea918546efa01f9f77a49087212dc9f042ee2b03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33bc993967861518aaa031c7ea918546efa01f9f77a49087212dc9f042ee2b03", kill_on_drop: false }` [INFO] [stdout] 33bc993967861518aaa031c7ea918546efa01f9f77a49087212dc9f042ee2b03