[INFO] cloning repository https://github.com/krdln/shelly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krdln/shelly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrdln%2Fshelly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrdln%2Fshelly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6471db5e6973b62a070a74c3592ef82b8cf8feb3 [INFO] checking krdln/shelly against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrdln%2Fshelly" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/krdln/shelly on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/krdln/shelly [INFO] finished tweaking git repo https://github.com/krdln/shelly [INFO] tweaked toml for git repo https://github.com/krdln/shelly written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/krdln/shelly already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded heck v0.3.0 [INFO] [stderr] Downloaded serde v1.0.81 [INFO] [stderr] Downloaded serde_derive v1.0.81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3d69be762f3b1d09c98f2d8d804e094739358172833e7b76eaeacaf796b734eb [INFO] running `Command { std: "docker" "start" "-a" "3d69be762f3b1d09c98f2d8d804e094739358172833e7b76eaeacaf796b734eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d69be762f3b1d09c98f2d8d804e094739358172833e7b76eaeacaf796b734eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d69be762f3b1d09c98f2d8d804e094739358172833e7b76eaeacaf796b734eb", kill_on_drop: false }` [INFO] [stdout] 3d69be762f3b1d09c98f2d8d804e094739358172833e7b76eaeacaf796b734eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4b56e6337ae7c66aa539648f5ab320e4c008ccc14e180322f8aae1dd635fe4a2 [INFO] running `Command { std: "docker" "start" "-a" "4b56e6337ae7c66aa539648f5ab320e4c008ccc14e180322f8aae1dd635fe4a2", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking yansi v0.4.0 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking backtrace-sys v0.1.24 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.81 [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Checking shelly v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lint.rs:279:26 [INFO] [stdout] | [INFO] [stdout] 279 | raw_emitter: &'e mut ::Emitter, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn (::Emitter)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lint.rs:286:33 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn new(emitter: &'e mut ::Emitter, config: Config) -> Emitter<'e> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn (::Emitter)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:72 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn run(root_path: impl AsRef, run_opt: RunOpt, emitter: &mut Emitter) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Emitter` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | fn run_(root_path: &Path, run_opt: RunOpt, raw_emitter: &mut Emitter) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Emitter` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lint.rs:279:26 [INFO] [stdout] | [INFO] [stdout] 279 | raw_emitter: &'e mut ::Emitter, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn (::Emitter)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lint.rs:286:33 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn new(emitter: &'e mut ::Emitter, config: Config) -> Emitter<'e> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn (::Emitter)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:35:72 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn run(root_path: impl AsRef, run_opt: RunOpt, emitter: &mut Emitter) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Emitter` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:39:62 [INFO] [stdout] | [INFO] [stdout] 39 | fn run_(root_path: &Path, run_opt: RunOpt, raw_emitter: &mut Emitter) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Emitter` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/preprocess.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let source = source.trim_left_matches('\u{feff}'); [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 `failure::core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/preprocess.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let source = source.trim_left_matches('\u{feff}'); [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/helpers/mod.rs:17:60 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_on_file(Contents(data): Contents, emitter: &mut Emitter) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Emitter` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::Error::causes`: please use the 'iter_chain()' method instead [INFO] [stdout] --> src/main.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | for cause in e.causes() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::Error::causes`: please use the 'iter_chain()' method instead [INFO] [stdout] --> src/main.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | for cause in e.causes() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.93s [INFO] running `Command { std: "docker" "inspect" "4b56e6337ae7c66aa539648f5ab320e4c008ccc14e180322f8aae1dd635fe4a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b56e6337ae7c66aa539648f5ab320e4c008ccc14e180322f8aae1dd635fe4a2", kill_on_drop: false }` [INFO] [stdout] 4b56e6337ae7c66aa539648f5ab320e4c008ccc14e180322f8aae1dd635fe4a2