[INFO] fetching crate displaythis-impl 1.0.23... [INFO] checking displaythis-impl-1.0.23 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate displaythis-impl 1.0.23 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate displaythis-impl 1.0.23 [INFO] finished tweaking crates.io crate displaythis-impl 1.0.23 [INFO] tweaked toml for crates.io crate displaythis-impl 1.0.23 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate displaythis-impl 1.0.23 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf0690d03b5c14375abf0e10993fb2f93791394b43483207d2b9fd93010ec25c [INFO] running `Command { std: "docker" "start" "-a" "bf0690d03b5c14375abf0e10993fb2f93791394b43483207d2b9fd93010ec25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf0690d03b5c14375abf0e10993fb2f93791394b43483207d2b9fd93010ec25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf0690d03b5c14375abf0e10993fb2f93791394b43483207d2b9fd93010ec25c", kill_on_drop: false }` [INFO] [stdout] bf0690d03b5c14375abf0e10993fb2f93791394b43483207d2b9fd93010ec25c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f939617012ccf16b79d9f32cd140e6812fd48a440c7ec460dd4e256ae50584ca [INFO] running `Command { std: "docker" "start" "-a" "f939617012ccf16b79d9f32cd140e6812fd48a440c7ec460dd4e256ae50584ca", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking proc-macro2 v1.0.95 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking displaythis-impl v1.0.23 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `original` is never read [INFO] [stdout] --> src/ast.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Struct<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | pub original: &'a DeriveInput, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `original` is never read [INFO] [stdout] --> src/ast.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Enum<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 22 | pub original: &'a DeriveInput, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original` and `ty` are never read [INFO] [stdout] --> src/ast.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Field<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 37 | pub original: &'a syn::Field, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub ty: &'a Type, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/attr.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get(input: &[Attribute]) -> Result { [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] 22 | pub fn get(input: &[Attribute]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `original` is never read [INFO] [stdout] --> src/ast.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Struct<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | pub original: &'a DeriveInput, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `original` is never read [INFO] [stdout] --> src/ast.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Enum<'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 22 | pub original: &'a DeriveInput, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `original` and `ty` are never read [INFO] [stdout] --> src/ast.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Field<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 37 | pub original: &'a syn::Field, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub ty: &'a Type, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/attr.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get(input: &[Attribute]) -> Result { [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] 22 | pub fn get(input: &[Attribute]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.58s [INFO] running `Command { std: "docker" "inspect" "f939617012ccf16b79d9f32cd140e6812fd48a440c7ec460dd4e256ae50584ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f939617012ccf16b79d9f32cd140e6812fd48a440c7ec460dd4e256ae50584ca", kill_on_drop: false }` [INFO] [stdout] f939617012ccf16b79d9f32cd140e6812fd48a440c7ec460dd4e256ae50584ca