[INFO] fetching crate blctl 0.1.2... [INFO] testing blctl-0.1.2 against 1.59.0 for beta-1.60-1 [INFO] extracting crate blctl 0.1.2 into /workspace/builds/worker-28/source [INFO] validating manifest of crates.io crate blctl 0.1.2 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-28/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16050d5147af100107c6308e4251c50fcc0e697fd9ee8f850da8ab4e8521970e [INFO] running `Command { std: "docker" "start" "-a" "16050d5147af100107c6308e4251c50fcc0e697fd9ee8f850da8ab4e8521970e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16050d5147af100107c6308e4251c50fcc0e697fd9ee8f850da8ab4e8521970e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16050d5147af100107c6308e4251c50fcc0e697fd9ee8f850da8ab4e8521970e", kill_on_drop: false }` [INFO] [stdout] 16050d5147af100107c6308e4251c50fcc0e697fd9ee8f850da8ab4e8521970e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 586b03fa8fd2c914e7f2656227b3eed15abd71c63d7efe0911c7f5b98356c5f8 [INFO] running `Command { std: "docker" "start" "-a" "586b03fa8fd2c914e7f2656227b3eed15abd71c63d7efe0911c7f5b98356c5f8", 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: 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/bls.rs:379:28 [INFO] [stdout] | [INFO] [stdout] 379 | func: &Fn (&mut BLSEntry, &[String]) -> std::io::Result<()>) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 379 - func: &Fn (&mut BLSEntry, &[String]) -> std::io::Result<()>) -> std::io::Result<()> { [INFO] [stdout] 379 + func: &dyn Fn (&mut BLSEntry, &[String]) -> std::io::Result<()>) -> std::io::Result<()> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 - fn generic_cmdline_handler(env: &mut CmdlineHandler, params: *const *const c_char, op: &Fn(&mut CmdlineHandler, &[String]) -> std::io::Result<()>) -> c_char { [INFO] [stdout] 153 + fn generic_cmdline_handler(env: &mut dyn CmdlineHandler, params: *const *const c_char, op: &Fn(&mut CmdlineHandler, &[String]) -> std::io::Result<()>) -> c_char { [INFO] [stdout] | [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 | ...r, params: *const *const c_char, op: &Fn(&mut CmdlineHandler, &[String]) -> std::io::Result<()>) -> c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 - fn generic_cmdline_handler(env: &mut CmdlineHandler, params: *const *const c_char, op: &Fn(&mut CmdlineHandler, &[String]) -> std::io::Result<()>) -> c_char { [INFO] [stdout] 153 + fn generic_cmdline_handler(env: &mut CmdlineHandler, params: *const *const c_char, op: &dyn Fn(&mut CmdlineHandler, &[String]) -> std::io::Result<()>) -> c_char { [INFO] [stdout] | [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 | fn generic_cmdline_handler(env: &mut CmdlineHandler, params: *const *const c_char, op: &Fn(&mut CmdlineHandler, &[String]) -> std::io::Re... [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 - fn generic_cmdline_handler(env: &mut CmdlineHandler, params: *const *const c_char, op: &Fn(&mut CmdlineHandler, &[String]) -> std::io::Result<()>) -> c_char { [INFO] [stdout] 153 + fn generic_cmdline_handler(env: &mut CmdlineHandler, params: *const *const c_char, op: &Fn(&mut dyn CmdlineHandler, &[String]) -> std::io::Result<()>) -> c_char { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 185 - fn generic_cmdline_get (env: &mut CmdlineHandler, param: *const c_char) -> *mut CmdlineParam { [INFO] [stdout] 185 + fn generic_cmdline_get (env: &mut dyn CmdlineHandler, param: *const c_char) -> *mut CmdlineParam { [INFO] [stdout] | [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/rustcd58IRw/list" "-m64" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.6dfef82f-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.8pivjzwpxjav9mu.rcgu.rmeta" "/opt/rustwide/target/debug/deps/blctl.ez3q6hdu4bn53ce.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lrpm" "-Wl,-Bstatic" "-Wl,--whole-archive" "/opt/rustwide/target/debug/deps/libini-8409797f68761358.rlib" "-Wl,--no-whole-archive" "-Wl,--start-group" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a46a068050a12a4b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1df56095db9453cb.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9062de483386e50b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b988ab269ff13602.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1bc822d886d4f7bd.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-963eca8df4c224a6.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d805b480c9102e58.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-06dfdbc22b935051.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d7523a4d118e6572.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5d7898c7fac3a07d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8c2bdbab4845bf3d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-d578639df0547b30.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-58bbb7b1efa3a5e2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4c9b082d197c16f8.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-70f9ed6d8e7a5ce6.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-8c0a241d0360fa53.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-bad7ed93fdd31371.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-98b4d121af2b7335.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1d9f7e5920635d15.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/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" "586b03fa8fd2c914e7f2656227b3eed15abd71c63d7efe0911c7f5b98356c5f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "586b03fa8fd2c914e7f2656227b3eed15abd71c63d7efe0911c7f5b98356c5f8", kill_on_drop: false }` [INFO] [stdout] 586b03fa8fd2c914e7f2656227b3eed15abd71c63d7efe0911c7f5b98356c5f8