[INFO] fetching crate vex-rt-macros 1.0.0-rc.5... [INFO] building vex-rt-macros-1.0.0-rc.5 against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] extracting crate vex-rt-macros 1.0.0-rc.5 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate vex-rt-macros 1.0.0-rc.5 on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vex-rt-macros 1.0.0-rc.5 [INFO] finished tweaking crates.io crate vex-rt-macros 1.0.0-rc.5 [INFO] tweaked toml for crates.io crate vex-rt-macros 1.0.0-rc.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.6.0 (available: v0.8.0) [INFO] [stderr] Adding generics-util v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.101) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generics-util v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab87bf3fea6446ead581975e056a66bcc99abc3a29524f0850c2fa3fdc3d9064 [INFO] running `Command { std: "docker" "start" "-a" "ab87bf3fea6446ead581975e056a66bcc99abc3a29524f0850c2fa3fdc3d9064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab87bf3fea6446ead581975e056a66bcc99abc3a29524f0850c2fa3fdc3d9064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab87bf3fea6446ead581975e056a66bcc99abc3a29524f0850c2fa3fdc3d9064", kill_on_drop: false }` [INFO] [stdout] ab87bf3fea6446ead581975e056a66bcc99abc3a29524f0850c2fa3fdc3d9064 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ee24440ed80329ede391de360b80d8191a16f6a580517a2498da8fb02739cc9 [INFO] running `Command { std: "docker" "start" "-a" "2ee24440ed80329ede391de360b80d8191a16f6a580517a2498da8fb02739cc9", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling generics-util v0.1.0 [INFO] [stderr] Compiling vex-rt-macros v1.0.0-rc.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> src/state_machine/attributes.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct StackDepthAttr { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 8 | pub eq: Token![=], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackDepthAttr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semi_token` is never read [INFO] [stdout] --> src/state_machine/input.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 17 | pub crate_: Path, [INFO] [stdout] 18 | pub semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq_token` is never read [INFO] [stdout] --> src/state_machine/input.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct Var { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 135 | pub eq_token: Token![=], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `eq_token` and `semi_token` are never read [INFO] [stdout] --> src/state_machine/input.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct InitialState { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 152 | pub eq_token: Token![=], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitialState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma_token` is never read [INFO] [stdout] --> src/state_machine/input.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 193 | pub comma_token: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state_machine/input.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | while let Ok(state) = input.clone().parse() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ParseBuffer<'_>` does not implement `Clone`, so calling `clone` on `&ParseBuffer<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 63 - while let Ok(state) = input.clone().parse() { [INFO] [stdout] 63 + while let Ok(state) = input.parse() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ParseBuffer<'_>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/parse.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252+ #[derive(Clone)] [INFO] [stdout] 253| pub struct ParseBuffer<'a> { [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:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn pat_to_ident(pat: &Pat, index: usize) -> 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] 20 | pub fn pat_to_ident(pat: &Pat, index: usize) -> Cow<'_, Ident> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.24s [INFO] running `Command { std: "docker" "inspect" "2ee24440ed80329ede391de360b80d8191a16f6a580517a2498da8fb02739cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ee24440ed80329ede391de360b80d8191a16f6a580517a2498da8fb02739cc9", kill_on_drop: false }` [INFO] [stdout] 2ee24440ed80329ede391de360b80d8191a16f6a580517a2498da8fb02739cc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05a822b42fb9ac7b7e876dcf5af951f81340dfce79e3e0a12426795db7b08312 [INFO] running `Command { std: "docker" "start" "-a" "05a822b42fb9ac7b7e876dcf5af951f81340dfce79e3e0a12426795db7b08312", kill_on_drop: false }` [INFO] [stderr] Compiling vex-rt-macros v1.0.0-rc.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> src/state_machine/attributes.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct StackDepthAttr { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 8 | pub eq: Token![=], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackDepthAttr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semi_token` is never read [INFO] [stdout] --> src/state_machine/input.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 17 | pub crate_: Path, [INFO] [stdout] 18 | pub semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq_token` is never read [INFO] [stdout] --> src/state_machine/input.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct Var { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 135 | pub eq_token: Token![=], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `eq_token` and `semi_token` are never read [INFO] [stdout] --> src/state_machine/input.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct InitialState { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 152 | pub eq_token: Token![=], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitialState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma_token` is never read [INFO] [stdout] --> src/state_machine/input.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 193 | pub comma_token: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> src/state_machine/attributes.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct StackDepthAttr { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 8 | pub eq: Token![=], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackDepthAttr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semi_token` is never read [INFO] [stdout] --> src/state_machine/input.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 17 | pub crate_: Path, [INFO] [stdout] 18 | pub semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq_token` is never read [INFO] [stdout] --> src/state_machine/input.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct Var { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 135 | pub eq_token: Token![=], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `eq_token` and `semi_token` are never read [INFO] [stdout] --> src/state_machine/input.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct InitialState { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 152 | pub eq_token: Token![=], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitialState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comma_token` is never read [INFO] [stdout] --> src/state_machine/input.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 193 | pub comma_token: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state_machine/input.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | while let Ok(state) = input.clone().parse() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ParseBuffer<'_>` does not implement `Clone`, so calling `clone` on `&ParseBuffer<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 63 - while let Ok(state) = input.clone().parse() { [INFO] [stdout] 63 + while let Ok(state) = input.parse() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ParseBuffer<'_>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/parse.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252+ #[derive(Clone)] [INFO] [stdout] 253| pub struct ParseBuffer<'a> { [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:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn pat_to_ident(pat: &Pat, index: usize) -> 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] 20 | pub fn pat_to_ident(pat: &Pat, index: usize) -> Cow<'_, Ident> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/state_machine/input.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | while let Ok(state) = input.clone().parse() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ParseBuffer<'_>` does not implement `Clone`, so calling `clone` on `&ParseBuffer<'_>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 63 - while let Ok(state) = input.clone().parse() { [INFO] [stdout] 63 + while let Ok(state) = input.parse() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ParseBuffer<'_>`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/parse.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252+ #[derive(Clone)] [INFO] [stdout] 253| pub struct ParseBuffer<'a> { [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:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn pat_to_ident(pat: &Pat, index: usize) -> 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] 20 | pub fn pat_to_ident(pat: &Pat, index: usize) -> Cow<'_, Ident> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "05a822b42fb9ac7b7e876dcf5af951f81340dfce79e3e0a12426795db7b08312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05a822b42fb9ac7b7e876dcf5af951f81340dfce79e3e0a12426795db7b08312", kill_on_drop: false }` [INFO] [stdout] 05a822b42fb9ac7b7e876dcf5af951f81340dfce79e3e0a12426795db7b08312