[INFO] crate libvirt 0.1.0 is already in cache [INFO] extracting crate libvirt 0.1.0 into work/ex/beta-1.37-6/sources/1.36.0/reg/libvirt/0.1.0 [INFO] extracting crate libvirt 0.1.0 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/libvirt/0.1.0 [INFO] validating manifest of libvirt-0.1.0 on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of libvirt-0.1.0 on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/reg/libvirt/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing libvirt-0.1.0 against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "build" "--frozen"` [INFO] [stdout] 27c087d50d1b9d9672f1bad04796c9e37f6cabca15ca33f9cfc1e889393b5fe1 [INFO] running `"docker" "start" "-a" "27c087d50d1b9d9672f1bad04796c9e37f6cabca15ca33f9cfc1e889393b5fe1"` [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.45s [INFO] running `"docker" "inspect" "27c087d50d1b9d9672f1bad04796c9e37f6cabca15ca33f9cfc1e889393b5fe1"` [INFO] running `"docker" "rm" "-f" "27c087d50d1b9d9672f1bad04796c9e37f6cabca15ca33f9cfc1e889393b5fe1"` [INFO] [stdout] 27c087d50d1b9d9672f1bad04796c9e37f6cabca15ca33f9cfc1e889393b5fe1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 7dfc59b2dbe24a13a28320c44fa53b5f6dbfbe29f31353448e93a8b9ee9b98c5 [INFO] running `"docker" "start" "-a" "7dfc59b2dbe24a13a28320c44fa53b5f6dbfbe29f31353448e93a8b9ee9b98c5"` [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/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.0.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.1.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.10.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.11.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.12.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.13.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.14.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.15.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.2.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.3.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.4.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.5.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.6.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.7.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.8.rcgu.o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.hellolibvirt.4ak45hyw-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711" "/opt/crater/target/debug/examples/hellolibvirt-d7d6414cb6364711.4h2x9288h95wwvb8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/liblibvirt-c85b9c77508fb623.rlib" "/opt/crater/target/debug/deps/liblibvirt_sys-80595278ab54322e.rlib" "/opt/crater/target/debug/deps/liblibc-f3c88a91d9cbe10b.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9895e8982b0a79e7.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-57306b8ed3378a0e.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-54463ae5adae3649.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d99667b199a9875a.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51f4300e102199f5.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-b3ccf1f7737a6a91.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-157c37a3ceb78853.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-505bcee45aafb736.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c29abd529ba4452b.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-895383a3232f6572.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5594cb4f559bc761.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-38e90baf978bc428.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] warning: build failed, waiting for other jobs to finish... [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] 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.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/libvirt-eca793a8bd8d2769.libvirt.7ah40wee-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/libvirt-eca793a8bd8d2769.libvirt.7ah40wee-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/libvirt-eca793a8bd8d2769.libvirt.7ah40wee-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/libvirt-eca793a8bd8d2769.libvirt.7ah40wee-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/libvirt-eca793a8bd8d2769.libvirt.7ah40wee-cgu.4.rcgu.o" "-o" "/opt/crater/target/debug/deps/libvirt-eca793a8bd8d2769" "/opt/crater/target/debug/deps/libvirt-eca793a8bd8d2769.1lu3x6rlzcfojsk9.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-e8fbf0b14816ca0e.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-c9d91925876437f2.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-50d6bab7df588609.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-913b30c2987aa8da.rlib" "/opt/crater/target/debug/deps/liblibvirt_sys-80595278ab54322e.rlib" "/opt/crater/target/debug/deps/liblibc-f3c88a91d9cbe10b.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9895e8982b0a79e7.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-57306b8ed3378a0e.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-54463ae5adae3649.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d99667b199a9875a.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51f4300e102199f5.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-b3ccf1f7737a6a91.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-157c37a3ceb78853.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-505bcee45aafb736.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c29abd529ba4452b.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-895383a3232f6572.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5594cb4f559bc761.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-38e90baf978bc428.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" "7dfc59b2dbe24a13a28320c44fa53b5f6dbfbe29f31353448e93a8b9ee9b98c5"` [INFO] running `"docker" "rm" "-f" "7dfc59b2dbe24a13a28320c44fa53b5f6dbfbe29f31353448e93a8b9ee9b98c5"` [INFO] [stdout] 7dfc59b2dbe24a13a28320c44fa53b5f6dbfbe29f31353448e93a8b9ee9b98c5