[INFO] crate libvirt 0.1.0 is already in cache [INFO] extracting crate libvirt 0.1.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/libvirt/0.1.0 [INFO] extracting crate libvirt 0.1.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/libvirt/0.1.0 [INFO] validating manifest of libvirt-0.1.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of libvirt-0.1.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing libvirt-0.1.0 [INFO] removed path dependency libvirt-sys from libvirt-0.1.0 [INFO] finished frobbing libvirt-0.1.0 [INFO] frobbed toml for libvirt-0.1.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/libvirt/0.1.0/Cargo.toml [INFO] started frobbing libvirt-0.1.0 [INFO] removed path dependency libvirt-sys from libvirt-0.1.0 [INFO] finished frobbing libvirt-0.1.0 [INFO] frobbed toml for libvirt-0.1.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/libvirt/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing libvirt-0.1.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/libvirt/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 2742416417e24e313700dbe8d577390ac9b6a4cb06f0e2454875014f5dd97bea [INFO] running `"docker" "start" "-a" "2742416417e24e313700dbe8d577390ac9b6a4cb06f0e2454875014f5dd97bea"` [INFO] [stderr] Compiling libvirt-sys v1.2.18 [INFO] [stderr] Compiling libvirt v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `string` [INFO] [stderr] --> src/connection.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{string, ptr, mem, slice}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::string` [INFO] [stderr] --> src/node.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::string; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `string` [INFO] [stderr] --> src/domain.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{string, ptr, mem}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `node` [INFO] [stderr] --> src/domain.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use node; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::string` [INFO] [stderr] --> src/network.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::string; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ptr`, `string` [INFO] [stderr] --> src/interface.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{string, ptr}; [INFO] [stderr] | ^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `out` [INFO] [stderr] --> src/network.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | let out: *mut i32 = match val { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_out` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/connection.rs:175:17 [INFO] [stderr] | [INFO] [stderr] 175 | let mut ids = ptr::null_mut(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `create` [INFO] [stderr] --> src/interface.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn create(self, flags: u32) -> Result<(), VirError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `destroy` [INFO] [stderr] --> src/interface.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn destroy(self, flags: u32) -> Result<(), VirError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `is_active` [INFO] [stderr] --> src/interface.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn is_active(self) -> Result<(), VirError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `mac` [INFO] [stderr] --> src/interface.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn mac(self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `name` [INFO] [stderr] --> src/interface.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn name(self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `xml_desc` [INFO] [stderr] --> src/interface.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn xml_desc(self, flags: u32) -> Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `undefine` [INFO] [stderr] --> src/interface.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn undefine(self) -> Result<(), VirError>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `free` [INFO] [stderr] --> src/interface.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn free(self) -> Result<(), VirError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `cUri` should have a snake case name [INFO] [stderr] --> src/connection.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | let cUri = CString::new(uri).unwrap(); [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `c_uri` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_snake_case)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable `pDomain` should have a snake case name [INFO] [stderr] --> src/connection.rs:313:17 [INFO] [stderr] | [INFO] [stderr] 313 | let pDomain = virt::virDomainCreateXML(self.conn, cxml.as_ptr(), flags); [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `p_domain` [INFO] [stderr] [INFO] [stderr] warning: variable `pDomain` should have a snake case name [INFO] [stderr] --> src/connection.rs:324:17 [INFO] [stderr] | [INFO] [stderr] 324 | let pDomain = virt::virDomainDefineXML(self.conn, cxml.as_ptr()); [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `p_domain` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `"docker" "inspect" "2742416417e24e313700dbe8d577390ac9b6a4cb06f0e2454875014f5dd97bea"` [INFO] running `"docker" "rm" "-f" "2742416417e24e313700dbe8d577390ac9b6a4cb06f0e2454875014f5dd97bea"` [INFO] [stdout] 2742416417e24e313700dbe8d577390ac9b6a4cb06f0e2454875014f5dd97bea [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/libvirt/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] e34a79592932862a56be80882421b97bc9407d25b1e3469b2e7d673e994cdaad [INFO] running `"docker" "start" "-a" "e34a79592932862a56be80882421b97bc9407d25b1e3469b2e7d673e994cdaad"` [INFO] [stderr] Compiling libvirt v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `string` [INFO] [stderr] --> src/connection.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{string, ptr, mem, slice}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::string` [INFO] [stderr] --> src/node.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::string; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `string` [INFO] [stderr] --> src/domain.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{string, ptr, mem}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `node` [INFO] [stderr] --> src/domain.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use node; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::string` [INFO] [stderr] --> src/network.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::string; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ptr`, `string` [INFO] [stderr] --> src/interface.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{string, ptr}; [INFO] [stderr] | ^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `out` [INFO] [stderr] --> src/network.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | let out: *mut i32 = match val { [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_out` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/connection.rs:175:17 [INFO] [stderr] | [INFO] [stderr] 175 | let mut ids = ptr::null_mut(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `create` [INFO] [stderr] --> src/interface.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn create(self, flags: u32) -> Result<(), VirError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `destroy` [INFO] [stderr] --> src/interface.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn destroy(self, flags: u32) -> Result<(), VirError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `is_active` [INFO] [stderr] --> src/interface.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn is_active(self) -> Result<(), VirError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `mac` [INFO] [stderr] --> src/interface.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn mac(self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `name` [INFO] [stderr] --> src/interface.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn name(self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.0.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.1.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.10.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.11.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.12.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.13.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.14.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.15.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.2.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.3.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.4.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.5.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.6.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.7.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.8.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.hellolibvirt.8wjs6xoz-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec" "/opt/crater/target/debug/examples/hellolibvirt-b8c567a78ad468ec.8pyihmks77yrfib.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/liblibvirt-5801fd0a29a6ac88.rlib" "/opt/crater/target/debug/deps/liblibvirt_sys-2ea8483fb5518a94.rlib" "/opt/crater/target/debug/deps/liblibc-aafb0c5c9e710352.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib" "-Wl,-Bdynamic" "-lvirt" "-lvirt" "-lc" "-lm" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lvirt [INFO] [stderr] /usr/bin/ld: cannot find -lvirt [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: method is never used: `xml_desc` [INFO] [stderr] --> src/interface.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn xml_desc(self, flags: u32) -> Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `undefine` [INFO] [stderr] --> src/interface.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn undefine(self) -> Result<(), VirError>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `free` [INFO] [stderr] --> src/interface.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn free(self) -> Result<(), VirError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: Could not compile `libvirt`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: variable `cUri` should have a snake case name [INFO] [stderr] --> src/connection.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | let cUri = CString::new(uri).unwrap(); [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `c_uri` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_snake_case)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable `pDomain` should have a snake case name [INFO] [stderr] --> src/connection.rs:313:17 [INFO] [stderr] | [INFO] [stderr] 313 | let pDomain = virt::virDomainCreateXML(self.conn, cxml.as_ptr(), flags); [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `p_domain` [INFO] [stderr] [INFO] [stderr] warning: variable `pDomain` should have a snake case name [INFO] [stderr] --> src/connection.rs:324:17 [INFO] [stderr] | [INFO] [stderr] 324 | let pDomain = virt::virDomainDefineXML(self.conn, cxml.as_ptr()); [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `p_domain` [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/libvirt-1d6e92aa58350a5b.libvirt.atcill7m-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/libvirt-1d6e92aa58350a5b.libvirt.atcill7m-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/libvirt-1d6e92aa58350a5b.libvirt.atcill7m-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/libvirt-1d6e92aa58350a5b.libvirt.atcill7m-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/libvirt-1d6e92aa58350a5b.libvirt.atcill7m-cgu.4.rcgu.o" "-o" "/opt/crater/target/debug/deps/libvirt-1d6e92aa58350a5b" "/opt/crater/target/debug/deps/libvirt-1d6e92aa58350a5b.91e6h2zbwvw3gzh.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-0127509d2e54a846.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-2651f8b4eed9e86e.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-c729851ce6e3efb2.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-e8235f0d435d4737.rlib" "/opt/crater/target/debug/deps/liblibvirt_sys-2ea8483fb5518a94.rlib" "/opt/crater/target/debug/deps/liblibc-aafb0c5c9e710352.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib" "-Wl,-Bdynamic" "-lvirt" "-lvirt" "-lc" "-lm" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lvirt [INFO] [stderr] /usr/bin/ld: cannot find -lvirt [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `libvirt`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e34a79592932862a56be80882421b97bc9407d25b1e3469b2e7d673e994cdaad"` [INFO] running `"docker" "rm" "-f" "e34a79592932862a56be80882421b97bc9407d25b1e3469b2e7d673e994cdaad"` [INFO] [stdout] e34a79592932862a56be80882421b97bc9407d25b1e3469b2e7d673e994cdaad