[INFO] fetching crate blctl 0.1.2... [INFO] testing blctl-0.1.2 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate blctl 0.1.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate blctl 0.1.2 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a26a78a8b7846f1a7de573d2a8791ff0e6d05345fe7191cdd34f3a670e5ccca9 [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" "a26a78a8b7846f1a7de573d2a8791ff0e6d05345fe7191cdd34f3a670e5ccca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a26a78a8b7846f1a7de573d2a8791ff0e6d05345fe7191cdd34f3a670e5ccca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a26a78a8b7846f1a7de573d2a8791ff0e6d05345fe7191cdd34f3a670e5ccca9", kill_on_drop: false }` [INFO] [stdout] a26a78a8b7846f1a7de573d2a8791ff0e6d05345fe7191cdd34f3a670e5ccca9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46fb170d062ac5d0e3404555c80dfe01ed77c6d83b1f78650316e480ba14fe6a [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" "46fb170d062ac5d0e3404555c80dfe01ed77c6d83b1f78650316e480ba14fe6a", 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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: 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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" "-m64" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.blctl.7vov7dhv-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/libblctl.so" "-Wl,--version-script=/tmp/rustcULNRNr/list" "/opt/rustwide/target/debug/deps/blctl.2sf4m3mxq1jn6c8z.rcgu.o" "/opt/rustwide/target/debug/deps/blctl.41e5e98b63x0egbc.rcgu.o" "-shared" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lrpm" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustcULNRNr/libini-14fb9ac0ef4c9342.rlib" "-Wl,--no-whole-archive" "-Wl,--start-group" "-Wl,--whole-archive" "/tmp/rustcULNRNr/libstd-21256c14e4504640.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/libpanic_unwind-986e7fea4474d4d2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/libminiz_oxide-91d85f45babdb06e.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/libadler-756509c31813f9a6.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/libobject-5c2ef587e740c0cc.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/libaddr2line-ad8f9371d31db1b3.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/libgimli-402820fb3b4d3dd8.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/libstd_detect-5e8e903f07dc8747.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/librustc_demangle-7ab9ae5080c07187.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/libhashbrown-c8e8d47c6bf14de2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/librustc_std_workspace_alloc-5a02dbb58abd015a.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/libunwind-cedc8fec61444895.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/libcfg_if-a1c96351c52bc56a.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/liblibc-e41c6d24baeb2249.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/liballoc-62493b241881590c.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/librustc_std_workspace_core-a1fd7734706d5518.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcULNRNr/libcore-c8ded1707ad10767.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/tmp/rustcULNRNr/libcompiler_builtins-1eec8756baa5bc24.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; 11 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" "46fb170d062ac5d0e3404555c80dfe01ed77c6d83b1f78650316e480ba14fe6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46fb170d062ac5d0e3404555c80dfe01ed77c6d83b1f78650316e480ba14fe6a", kill_on_drop: false }` [INFO] [stdout] 46fb170d062ac5d0e3404555c80dfe01ed77c6d83b1f78650316e480ba14fe6a