[INFO] fetching crate blctl 0.1.2... [INFO] testing blctl-0.1.2 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate blctl 0.1.2 into /workspace/builds/worker-69/source [INFO] validating manifest of crates.io crate blctl 0.1.2 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-69/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d63f030dece488c2d16f937366284d09694c5cc242aa8b4a928740aba05a7744 [INFO] running `Command { std: "docker" "start" "-a" "d63f030dece488c2d16f937366284d09694c5cc242aa8b4a928740aba05a7744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d63f030dece488c2d16f937366284d09694c5cc242aa8b4a928740aba05a7744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d63f030dece488c2d16f937366284d09694c5cc242aa8b4a928740aba05a7744", kill_on_drop: false }` [INFO] [stdout] d63f030dece488c2d16f937366284d09694c5cc242aa8b4a928740aba05a7744 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-69/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4383331e0eba08e95c3171f2385921c244be7d0cae174b69f1fbd31e18a5fa3 [INFO] running `Command { std: "docker" "start" "-a" "c4383331e0eba08e95c3171f2385921c244be7d0cae174b69f1fbd31e18a5fa3", 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/rustciz95Um/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/8262275854dc0e5381c9d42d56257d94932c5a87/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/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7387d118fba15d64.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-dd8bf3fda2fc2c51.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b69fd8507c8409af.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-2dff396b99681a6b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a78bd5aa183c7115.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-846c64d5a2fbc5ee.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-24c09062b6dc787b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ce93f351ca41a57b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e42af02528f038fc.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-514cb174319eb6d4.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-37c1534c42bc4f8c.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-06d0f7780fda2fd9.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4228e28a8f7a03ba.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-88bb1ba4dd271224.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-0b5a376b429677a6.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/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/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-eecefd843a0dbc02.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/8262275854dc0e5381c9d42d56257d94932c5a87/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libblctl.so" "-shared" "-Wl,-zrelro" "-Wl,-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" "c4383331e0eba08e95c3171f2385921c244be7d0cae174b69f1fbd31e18a5fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4383331e0eba08e95c3171f2385921c244be7d0cae174b69f1fbd31e18a5fa3", kill_on_drop: false }` [INFO] [stdout] c4383331e0eba08e95c3171f2385921c244be7d0cae174b69f1fbd31e18a5fa3