[INFO] fetching crate vex-rt-macros 1.0.0-rc.5... [INFO] building vex-rt-macros-1.0.0-rc.5 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate vex-rt-macros 1.0.0-rc.5 into /workspace/builds/worker-2-tc1/source [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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vex-rt-macros 1.0.0-rc.5 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5653dea09f7621c5fee448f94258a4aaaa94b536cba314b839edb253d2aaea3d [INFO] running `Command { std: "docker" "start" "-a" "5653dea09f7621c5fee448f94258a4aaaa94b536cba314b839edb253d2aaea3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5653dea09f7621c5fee448f94258a4aaaa94b536cba314b839edb253d2aaea3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5653dea09f7621c5fee448f94258a4aaaa94b536cba314b839edb253d2aaea3d", kill_on_drop: false }` [INFO] [stdout] 5653dea09f7621c5fee448f94258a4aaaa94b536cba314b839edb253d2aaea3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1270389994d046efadbff91f51f7fb4cff7406d8c30b38e105e2c5b01d777eb0 [INFO] running `Command { std: "docker" "start" "-a" "1270389994d046efadbff91f51f7fb4cff7406d8c30b38e105e2c5b01d777eb0", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling itertools v0.10.5 [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 `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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: hiding a lifetime that's elided elsewhere is 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 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] 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 6.46s [INFO] running `Command { std: "docker" "inspect" "1270389994d046efadbff91f51f7fb4cff7406d8c30b38e105e2c5b01d777eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1270389994d046efadbff91f51f7fb4cff7406d8c30b38e105e2c5b01d777eb0", kill_on_drop: false }` [INFO] [stdout] 1270389994d046efadbff91f51f7fb4cff7406d8c30b38e105e2c5b01d777eb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c40abb1cc1d3c9b6448a73daa9cb42fe56d30ea2a436d9d02764925467ab953 [INFO] running `Command { std: "docker" "start" "-a" "2c40abb1cc1d3c9b6448a73daa9cb42fe56d30ea2a436d9d02764925467ab953", 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 `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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: hiding a lifetime that's elided elsewhere is 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 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] 20 | pub fn pat_to_ident(pat: &Pat, index: usize) -> Cow<'_, Ident> { [INFO] [stdout] | +++ [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 `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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: hiding a lifetime that's elided elsewhere is 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 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] 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.88s [INFO] running `Command { std: "docker" "inspect" "2c40abb1cc1d3c9b6448a73daa9cb42fe56d30ea2a436d9d02764925467ab953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c40abb1cc1d3c9b6448a73daa9cb42fe56d30ea2a436d9d02764925467ab953", kill_on_drop: false }` [INFO] [stdout] 2c40abb1cc1d3c9b6448a73daa9cb42fe56d30ea2a436d9d02764925467ab953