[INFO] fetching crate hass-mqtt-discovery-macros 0.0.0... [INFO] checking hass-mqtt-discovery-macros-0.0.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate hass-mqtt-discovery-macros 0.0.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate hass-mqtt-discovery-macros 0.0.0 [INFO] finished tweaking crates.io crate hass-mqtt-discovery-macros 0.0.0 [INFO] tweaked toml for crates.io crate hass-mqtt-discovery-macros 0.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hass-mqtt-discovery-macros 0.0.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.6.0 (available: v0.8.0) [INFO] [stderr] Adding darling v0.14.4 (available: v0.20.11) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5b21f88adebbab0ac35a6d0761831fc1df3b2852518ccbefb8049eca88623ec [INFO] running `Command { std: "docker" "start" "-a" "e5b21f88adebbab0ac35a6d0761831fc1df3b2852518ccbefb8049eca88623ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5b21f88adebbab0ac35a6d0761831fc1df3b2852518ccbefb8049eca88623ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5b21f88adebbab0ac35a6d0761831fc1df3b2852518ccbefb8049eca88623ec", kill_on_drop: false }` [INFO] [stdout] e5b21f88adebbab0ac35a6d0761831fc1df3b2852518ccbefb8049eca88623ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87367fe582546c9adbb179aa37274a48b37aeab3bf7e57c5094323614a04dfb6 [INFO] running `Command { std: "docker" "start" "-a" "87367fe582546c9adbb179aa37274a48b37aeab3bf7e57c5094323614a04dfb6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking proc-macro2 v1.0.95 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking darling v0.14.4 [INFO] [stderr] Checking hass-mqtt-discovery-macros v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `make_lifetimes_inferred` is never used [INFO] [stdout] --> src/util.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) trait ModifyLifetimes: Clone { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn make_lifetimes_inferred(&self) -> Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn make_lifetimes_static(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 11 | fn make_lifetimes_static(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | fn make_lifetimes_inferred(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | fn make_lifetimes_inferred(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | fn make_lifetimes(&self, lifetime: &Lifetime) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 17 | fn make_lifetimes(&self, lifetime: &Lifetime) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `make_lifetimes_inferred` is never used [INFO] [stdout] --> src/util.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) trait ModifyLifetimes: Clone { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn make_lifetimes_inferred(&self) -> Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn make_lifetimes_static(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 11 | fn make_lifetimes_static(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | fn make_lifetimes_inferred(&self) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | fn make_lifetimes_inferred(&self) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | fn make_lifetimes(&self, lifetime: &Lifetime) -> Cow { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 17 | fn make_lifetimes(&self, lifetime: &Lifetime) -> Cow<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.65s [INFO] running `Command { std: "docker" "inspect" "87367fe582546c9adbb179aa37274a48b37aeab3bf7e57c5094323614a04dfb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87367fe582546c9adbb179aa37274a48b37aeab3bf7e57c5094323614a04dfb6", kill_on_drop: false }` [INFO] [stdout] 87367fe582546c9adbb179aa37274a48b37aeab3bf7e57c5094323614a04dfb6