[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 beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 2406ebd36666c8d12b042f2577652918b6e62abb4ed9a81b3f047113bbe60602 [INFO] running `"docker" "start" "-a" "2406ebd36666c8d12b042f2577652918b6e62abb4ed9a81b3f047113bbe60602"` [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.29s [INFO] running `"docker" "inspect" "2406ebd36666c8d12b042f2577652918b6e62abb4ed9a81b3f047113bbe60602"` [INFO] running `"docker" "rm" "-f" "2406ebd36666c8d12b042f2577652918b6e62abb4ed9a81b3f047113bbe60602"` [INFO] [stdout] 2406ebd36666c8d12b042f2577652918b6e62abb4ed9a81b3f047113bbe60602 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] d4a27ebbc3971bd68d3fdb2762a00a4456ca62372f494f2e695f1f50310532dc [INFO] running `"docker" "start" "-a" "d4a27ebbc3971bd68d3fdb2762a00a4456ca62372f494f2e695f1f50310532dc"` [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] 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/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.0.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.1.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.10.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.11.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.12.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.13.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.14.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.15.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.2.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.3.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.4.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.5.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.6.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.7.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.8.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.hellolibvirt.3fb1yx3p-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18" "/opt/crater/target/debug/examples/hellolibvirt-56b85f544906dd18.2ttqpfxbj20p1517.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/liblibvirt-4a9bfd83e96b6a1a.rlib" "/opt/crater/target/debug/deps/liblibvirt_sys-f99a342f814db533.rlib" "/opt/crater/target/debug/deps/liblibc-c4bf5ff2ab21da58.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1d6d86bd078a28e9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e9721e46a424e2a9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-c07193698f282147.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6da45690f3863086.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-690797036dd27680.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d3896ccbfd8eda2b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7cccc3739e3d7623.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5e9ba178a513cd29.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-5ca9f83bf63d1f4b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bba1c7ef9e950882.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e23c9de62012deb5.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-9b59dffdcd513d5d.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-17392340ab2e4a97.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ac21508a81e3f7f3.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] 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] error: Could not compile `libvirt`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/libvirt-bd168936614eefbd.libvirt.5bp9dsa0-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/libvirt-bd168936614eefbd.libvirt.5bp9dsa0-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/libvirt-bd168936614eefbd.libvirt.5bp9dsa0-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/libvirt-bd168936614eefbd.libvirt.5bp9dsa0-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/libvirt-bd168936614eefbd.libvirt.5bp9dsa0-cgu.4.rcgu.o" "-o" "/opt/crater/target/debug/deps/libvirt-bd168936614eefbd" "/opt/crater/target/debug/deps/libvirt-bd168936614eefbd.zfg09neyh0modeu.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-f0d86b2ef6410e4f.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-28a84d78fba0104f.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-625008d0a6744ece.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-b85c11af396739da.rlib" "/opt/crater/target/debug/deps/liblibvirt_sys-f99a342f814db533.rlib" "/opt/crater/target/debug/deps/liblibc-c4bf5ff2ab21da58.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1d6d86bd078a28e9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e9721e46a424e2a9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-c07193698f282147.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6da45690f3863086.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-690797036dd27680.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d3896ccbfd8eda2b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7cccc3739e3d7623.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5e9ba178a513cd29.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-5ca9f83bf63d1f4b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bba1c7ef9e950882.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e23c9de62012deb5.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-9b59dffdcd513d5d.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-17392340ab2e4a97.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ac21508a81e3f7f3.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" "d4a27ebbc3971bd68d3fdb2762a00a4456ca62372f494f2e695f1f50310532dc"` [INFO] running `"docker" "rm" "-f" "d4a27ebbc3971bd68d3fdb2762a00a4456ca62372f494f2e695f1f50310532dc"` [INFO] [stdout] d4a27ebbc3971bd68d3fdb2762a00a4456ca62372f494f2e695f1f50310532dc