[INFO] fetching crate blctl 0.1.2... [INFO] testing blctl-0.1.2 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate blctl 0.1.2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate blctl 0.1.2 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate blctl 0.1.2 [INFO] finished tweaking crates.io crate blctl 0.1.2 [INFO] tweaked toml for crates.io crate blctl 0.1.2 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a31f103699e74a7b40a1e8b4d72fe6e91a8e978493ae20208d75bec7b502d28d [INFO] running `Command { std: "docker" "start" "-a" "a31f103699e74a7b40a1e8b4d72fe6e91a8e978493ae20208d75bec7b502d28d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a31f103699e74a7b40a1e8b4d72fe6e91a8e978493ae20208d75bec7b502d28d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a31f103699e74a7b40a1e8b4d72fe6e91a8e978493ae20208d75bec7b502d28d", kill_on_drop: false }` [INFO] [stdout] a31f103699e74a7b40a1e8b4d72fe6e91a8e978493ae20208d75bec7b502d28d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74c3420697c3a20c59deaec200d0bd9f3f4604dcb57ff9e4da3369be52e30ca1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "74c3420697c3a20c59deaec200d0bd9f3f4604dcb57ff9e4da3369be52e30ca1", kill_on_drop: false }` [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling blctl v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bls.rs:379:28 [INFO] [stdout] | [INFO] [stdout] 379 | func: &Fn (&mut BLSEntry, &[String]) -> std::io::Result<()>) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn (&mut BLSEntry, &[String]) -> std::io::Result<()>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/cmdline.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn cmdline_parse (args: &str) -> std::io::Result<(Cmdline)> { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cshim.rs:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | fn generic_cmdline_handler(env: &mut CmdlineHandler, params: *const *const c_char, op: &Fn(&mut CmdlineHandler, &[String]) -> std::io::Re... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CmdlineHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cshim.rs:153:89 [INFO] [stdout] | [INFO] [stdout] 153 | ...ms: *const *const c_char, op: &Fn(&mut CmdlineHandler, &[String]) -> std::io::Result<()>) -> c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut CmdlineHandler, &[String]) -> std::io::Result<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cshim.rs:153:97 [INFO] [stdout] | [INFO] [stdout] 153 | ...rams: *const *const c_char, op: &Fn(&mut CmdlineHandler, &[String]) -> std::io::Result<()>) -> c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CmdlineHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cshim.rs:185:35 [INFO] [stdout] | [INFO] [stdout] 185 | fn generic_cmdline_get (env: &mut CmdlineHandler, param: *const c_char) -> *mut CmdlineParam { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CmdlineHandler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bls.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut line: Vec<&str> = line.trim().splitn(2, " ").collect(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bls.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | for mut line in data.iter() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmdline.rs:228:11 [INFO] [stdout] | [INFO] [stdout] 228 | let mut values = cmdline.entry_or_insert(set_key, Vec::new()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmdline.rs:292:11 [INFO] [stdout] | [INFO] [stdout] 292 | let mut params_for_key = cmdline.entry_or_insert(rem_key, rem_values.clone()); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.5hcixcm8-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/libblctl.so" "-Wl,--version-script=/tmp/rustcU2LYNN/list" "/opt/rustwide/target/debug/deps/blctl.30f0sl3xuu3gwgsw.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.3rztsm2kcxfiimrh.rcgu.o" "-shared" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lrpm" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/libini-688642110b428b2c.rlib" "-Wl,--no-whole-archive" "-Wl,--start-group" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/libstd-c659455244c9d2ca.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/libpanic_unwind-448643d99e633b5d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/libminiz_oxide-c7c3d631a525883a.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/libadler-d7659a11bb201e01.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/libobject-9aceb6f83a33a9b6.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/libaddr2line-876c3057c8a2a7c2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/libgimli-2f02aa3e24d2aa49.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/librustc_demangle-1d4694108f8cb543.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/libhashbrown-79eaa6e630880f50.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/librustc_std_workspace_alloc-0df1a4ec96f80cf7.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/libunwind-bba9b0f0f4d77257.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/libcfg_if-f848f9c987265235.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/liblibc-0d5ea4f2d39b8e27.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/liballoc-c22053fa5fc00a3b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/librustc_std_workspace_core-c52e5d6301e1bd59.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcU2LYNN/libcore-2675a9a46b5cec89.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/tmp/rustcU2LYNN/libcompiler_builtins-6e3d052afeb9f711.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lrpm [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blctl` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "74c3420697c3a20c59deaec200d0bd9f3f4604dcb57ff9e4da3369be52e30ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c3420697c3a20c59deaec200d0bd9f3f4604dcb57ff9e4da3369be52e30ca1", kill_on_drop: false }` [INFO] [stdout] 74c3420697c3a20c59deaec200d0bd9f3f4604dcb57ff9e4da3369be52e30ca1