[INFO] cloning repository https://github.com/stevedonovan/moi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stevedonovan/moi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevedonovan%2Fmoi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevedonovan%2Fmoi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 673be214de1109ab235de57a3b199ca37d6a841d [INFO] checking stevedonovan/moi against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevedonovan%2Fmoi" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stevedonovan/moi on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stevedonovan/moi [INFO] finished tweaking git repo https://github.com/stevedonovan/moi [INFO] tweaked toml for git repo https://github.com/stevedonovan/moi written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/stevedonovan/moi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded get_if_addrs-sys v0.1.0 [INFO] [stderr] Downloaded md5 v0.3.6 [INFO] [stderr] Downloaded lapp v0.3.1 [INFO] [stderr] Downloaded c_linked_list v1.1.0 [INFO] [stderr] Downloaded get_if_addrs v0.4.1 [INFO] [stderr] Downloaded mosquitto-client v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0df3f207d7ca164a9da1a993f4b2abcb0c76695d499611566ba0d15f90479c6a [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" "0df3f207d7ca164a9da1a993f4b2abcb0c76695d499611566ba0d15f90479c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0df3f207d7ca164a9da1a993f4b2abcb0c76695d499611566ba0d15f90479c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df3f207d7ca164a9da1a993f4b2abcb0c76695d499611566ba0d15f90479c6a", kill_on_drop: false }` [INFO] [stdout] 0df3f207d7ca164a9da1a993f4b2abcb0c76695d499611566ba0d15f90479c6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 681fbe05247f0aaed59e06adb8067f9cd4c063f671dbda957df17c68b4029c97 [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" "681fbe05247f0aaed59e06adb8067f9cd4c063f671dbda957df17c68b4029c97", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.35 [INFO] [stderr] Checking c_linked_list v1.1.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking json v0.11.12 [INFO] [stderr] Checking mosquitto-client v0.1.4 [INFO] [stderr] Checking lapp v0.3.1 [INFO] [stderr] Checking md5 v0.3.6 [INFO] [stderr] Checking toml v0.4.5 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking get_if_addrs v0.4.1 [INFO] [stderr] Checking moi v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logging.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | hook: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Record) + Send + Sync + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub type BoxResult = Result>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn err_io(msg: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logging.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | hook: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Record) + Send + Sync + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | pub type BoxResult = Result>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn err_io(msg: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | String::from_utf8_lossy(bytes).trim_right_matches('\n').to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | String::from_utf8_lossy(bytes).trim_right_matches('\n').to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:447:50 [INFO] [stdout] | [INFO] [stdout] 447 | let text = read_to_string(&psk_keyfile)?.trim_right_matches('\n').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:447:50 [INFO] [stdout] | [INFO] [stdout] 447 | let text = read_to_string(&psk_keyfile)?.trim_right_matches('\n').to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/moid/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] extern crate moi; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/moid/plugin.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | fn builtin_init() -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn MoiPlugin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/moid/plugin.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | plugins: Vec> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn MoiPlugin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/moid/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] extern crate moi; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/moid/plugin.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | fn builtin_init() -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn MoiPlugin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/moid/plugin.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | plugins: Vec> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn MoiPlugin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/moi/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/moi/strutil.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | (&arg[pos+1..]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> examples/tester.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | let comment = comment.trim_left_matches('#').trim_left(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> examples/tester.rs:42:62 [INFO] [stdout] | [INFO] [stdout] 42 | let comment = comment.trim_left_matches('#').trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/moi/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/bin/moi/strutil.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | (&arg[pos+1..]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> examples/tester.rs:122:40 [INFO] [stdout] | [INFO] [stdout] 122 | String::from_utf8_lossy(&o.stdout).trim_right_matches('\n').to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/bin/moi/flags.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | (env::home_dir().unwrap().join(".local"), false) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/bin/moi/flags.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | (env::home_dir().unwrap().join(".local"), false) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/moi/main.rs:216:51 [INFO] [stdout] | [INFO] [stdout] 216 | Err(e) => return ("".into(), false, e.description().into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/moid/main.rs:570:42 [INFO] [stdout] | [INFO] [stdout] 570 | mdata.error_result(e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/moi/main.rs:216:51 [INFO] [stdout] | [INFO] [stdout] 216 | Err(e) => return ("".into(), false, e.description().into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/moid/main.rs:610:48 [INFO] [stdout] | [INFO] [stdout] 610 | Err(e) => mdata.error_result(e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/moid/main.rs:570:42 [INFO] [stdout] | [INFO] [stdout] 570 | mdata.error_result(e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/moid/main.rs:610:48 [INFO] [stdout] | [INFO] [stdout] 610 | Err(e) => mdata.error_result(e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.65s [INFO] running `Command { std: "docker" "inspect" "681fbe05247f0aaed59e06adb8067f9cd4c063f671dbda957df17c68b4029c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "681fbe05247f0aaed59e06adb8067f9cd4c063f671dbda957df17c68b4029c97", kill_on_drop: false }` [INFO] [stdout] 681fbe05247f0aaed59e06adb8067f9cd4c063f671dbda957df17c68b4029c97