[INFO] fetching crate diplomat_core 0.12.1... [INFO] checking diplomat_core-0.12.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate diplomat_core 0.12.1 into /workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diplomat_core 0.12.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded similar v2.4.0 [INFO] [stderr] Downloaded strck v1.0.0 [INFO] [stderr] Downloaded insta v1.36.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53b1784a857ff8151ecb1579df65cfe5364823fd7736e30dd8d6e50ecb893d72 [INFO] running `Command { std: "docker" "start" "-a" "53b1784a857ff8151ecb1579df65cfe5364823fd7736e30dd8d6e50ecb893d72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53b1784a857ff8151ecb1579df65cfe5364823fd7736e30dd8d6e50ecb893d72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53b1784a857ff8151ecb1579df65cfe5364823fd7736e30dd8d6e50ecb893d72", kill_on_drop: false }` [INFO] [stdout] 53b1784a857ff8151ecb1579df65cfe5364823fd7736e30dd8d6e50ecb893d72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97cb402e385d7dd0e19a9af1b535391907327fa55847f0e82d76382b306958e6 [INFO] running `Command { std: "docker" "start" "-a" "97cb402e385d7dd0e19a9af1b535391907327fa55847f0e82d76382b306958e6", 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 16.86s [INFO] running `Command { std: "docker" "inspect" "97cb402e385d7dd0e19a9af1b535391907327fa55847f0e82d76382b306958e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97cb402e385d7dd0e19a9af1b535391907327fa55847f0e82d76382b306958e6", kill_on_drop: false }` [INFO] [stdout] 97cb402e385d7dd0e19a9af1b535391907327fa55847f0e82d76382b306958e6