[INFO] fetching crate blctl 0.1.2... [INFO] testing blctl-0.1.2 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate blctl 0.1.2 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate blctl 0.1.2 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2896f28f0d4f36f169ecb90af96b692bd2605aadb5102070af9f2e73363deb92 [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" "2896f28f0d4f36f169ecb90af96b692bd2605aadb5102070af9f2e73363deb92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2896f28f0d4f36f169ecb90af96b692bd2605aadb5102070af9f2e73363deb92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2896f28f0d4f36f169ecb90af96b692bd2605aadb5102070af9f2e73363deb92", kill_on_drop: false }` [INFO] [stdout] 2896f28f0d4f36f169ecb90af96b692bd2605aadb5102070af9f2e73363deb92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e57882ddc31eb8398fb1ca52a37a5407c3baf14cfbc8b7c77ba5dbd0a6971bd [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" "8e57882ddc31eb8398fb1ca52a37a5407c3baf14cfbc8b7c77ba5dbd0a6971bd", 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - pub fn cmdline_parse (args: &str) -> std::io::Result<(Cmdline)> { [INFO] [stdout] 25 + pub fn cmdline_parse (args: &str) -> std::io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/cmdline.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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 status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcAWWwFj/list" "-m64" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.d350e501-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.540b3n4e94e0yeo5.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.stnphgzsivv7846.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lrpm" "-Wl,-Bstatic" "-Wl,--whole-archive" "/opt/rustwide/target/debug/deps/libini-6dec968ff6377191.rlib" "-Wl,--no-whole-archive" "-Wl,--start-group" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libblctl.so" "-shared" "-Wl,-zrelro,-znow" "-nodefaultlibs" [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; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blctl` due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8e57882ddc31eb8398fb1ca52a37a5407c3baf14cfbc8b7c77ba5dbd0a6971bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e57882ddc31eb8398fb1ca52a37a5407c3baf14cfbc8b7c77ba5dbd0a6971bd", kill_on_drop: false }` [INFO] [stdout] 8e57882ddc31eb8398fb1ca52a37a5407c3baf14cfbc8b7c77ba5dbd0a6971bd