[INFO] fetching crate diplomat_core 0.12.1... [INFO] checking diplomat_core-0.12.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate diplomat_core 0.12.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate diplomat_core 0.12.1 [INFO] finished tweaking crates.io crate diplomat_core 0.12.1 [INFO] tweaked toml for crates.io crate diplomat_core 0.12.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate diplomat_core 0.12.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate diplomat_core 0.12.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8da6c30fd752232cda16ad6bacf68dee11f8c33ed4aa9e82927f95bc03c9eafc [INFO] running `Command { std: "docker" "start" "-a" "8da6c30fd752232cda16ad6bacf68dee11f8c33ed4aa9e82927f95bc03c9eafc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8da6c30fd752232cda16ad6bacf68dee11f8c33ed4aa9e82927f95bc03c9eafc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8da6c30fd752232cda16ad6bacf68dee11f8c33ed4aa9e82927f95bc03c9eafc", kill_on_drop: false }` [INFO] [stdout] 8da6c30fd752232cda16ad6bacf68dee11f8c33ed4aa9e82927f95bc03c9eafc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32002e51262bb3867f6d5fe637722330ac1009a2347a4b9f78e70fdf7d2404e2 [INFO] running `Command { std: "docker" "start" "-a" "32002e51262bb3867f6d5fe637722330ac1009a2347a4b9f78e70fdf7d2404e2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking strck v1.0.0 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking syn v2.0.99 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking insta v1.36.1 [INFO] [stderr] Checking diplomat_core v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ast/methods.rs:354:36 [INFO] [stdout] | [INFO] [stdout] 354 | .filter(|(_, ltk)| (*ltk == LifetimeKind::ReturnValue)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 354 - .filter(|(_, ltk)| (*ltk == LifetimeKind::ReturnValue)) [INFO] [stdout] 354 + .filter(|(_, ltk)| *ltk == LifetimeKind::ReturnValue) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ast/methods.rs:364:32 [INFO] [stdout] | [INFO] [stdout] 364 | .filter(|(_, ltk)| (*ltk == LifetimeKind::Static)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 364 - .filter(|(_, ltk)| (*ltk == LifetimeKind::Static)) [INFO] [stdout] 364 + .filter(|(_, ltk)| *ltk == LifetimeKind::Static) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ast/methods.rs:354:36 [INFO] [stdout] | [INFO] [stdout] 354 | .filter(|(_, ltk)| (*ltk == LifetimeKind::ReturnValue)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 354 - .filter(|(_, ltk)| (*ltk == LifetimeKind::ReturnValue)) [INFO] [stdout] 354 + .filter(|(_, ltk)| *ltk == LifetimeKind::ReturnValue) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/ast/methods.rs:364:32 [INFO] [stdout] | [INFO] [stdout] 364 | .filter(|(_, ltk)| (*ltk == LifetimeKind::Static)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 364 - .filter(|(_, ltk)| (*ltk == LifetimeKind::Static)) [INFO] [stdout] 364 + .filter(|(_, ltk)| *ltk == LifetimeKind::Static) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/methods.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn borrowed_params(&self) -> BorrowedParams { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | pub fn borrowed_params(&self) -> BorrowedParams<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/methods.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn borrowed_params(&self) -> BorrowedParams { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | pub fn borrowed_params(&self) -> BorrowedParams<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.24s [INFO] running `Command { std: "docker" "inspect" "32002e51262bb3867f6d5fe637722330ac1009a2347a4b9f78e70fdf7d2404e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32002e51262bb3867f6d5fe637722330ac1009a2347a4b9f78e70fdf7d2404e2", kill_on_drop: false }` [INFO] [stdout] 32002e51262bb3867f6d5fe637722330ac1009a2347a4b9f78e70fdf7d2404e2