[INFO] fetching crate phanalist 0.1.21... [INFO] checking phanalist-0.1.21 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate phanalist 0.1.21 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate phanalist 0.1.21 [INFO] finished tweaking crates.io crate phanalist 0.1.21 [INFO] tweaked toml for crates.io crate phanalist 0.1.21 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate phanalist 0.1.21 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate phanalist 0.1.21 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schemars_derive v0.8.12 [INFO] [stderr] Downloaded exitcode v1.1.2 [INFO] [stderr] Downloaded ariadne v0.1.5 [INFO] [stderr] Downloaded clap v4.3.3 [INFO] [stderr] Downloaded memory-stats v1.1.0 [INFO] [stderr] Downloaded serde_yaml v0.9.21 [INFO] [stderr] Downloaded prettyplease v0.2.6 [INFO] [stderr] Downloaded schemars v0.8.12 [INFO] [stderr] Downloaded clap_builder v4.3.3 [INFO] [stderr] Downloaded php-parser-rs v0.1.3 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee70eaafe0b357af951a64bfeb294963b5f240e45c10e98ddff6804433c75e0b [INFO] running `Command { std: "docker" "start" "-a" "ee70eaafe0b357af951a64bfeb294963b5f240e45c10e98ddff6804433c75e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee70eaafe0b357af951a64bfeb294963b5f240e45c10e98ddff6804433c75e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee70eaafe0b357af951a64bfeb294963b5f240e45c10e98ddff6804433c75e0b", kill_on_drop: false }` [INFO] [stdout] ee70eaafe0b357af951a64bfeb294963b5f240e45c10e98ddff6804433c75e0b [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fdcc5ca3daa472aecd1c90f1f266b5e1475af3a281e90dc6145ef83c142f03b [INFO] running `Command { std: "docker" "start" "-a" "0fdcc5ca3daa472aecd1c90f1f266b5e1475af3a281e90dc6145ef83c142f03b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling schemars v0.8.12 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking dyn-clone v1.0.11 [INFO] [stderr] Checking ariadne v0.1.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking clap_builder v4.3.3 [INFO] [stderr] Checking memory-stats v1.1.0 [INFO] [stderr] Checking human_bytes v0.4.3 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling cli-table-derive v0.4.5 [INFO] [stderr] Compiling schemars_derive v0.8.12 [INFO] [stderr] Checking jwalk v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking clap v4.3.3 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking serde_yaml v0.9.21 [INFO] [stderr] Checking cli-table v0.4.7 [INFO] [stderr] Checking php-parser-rs v0.1.3 [INFO] [stderr] Checking phanalist v0.1.21 (/opt/rustwide/workdir) [INFO] [stdout] warning: static `CODE` is never used [INFO] [stdout] --> src/rules/e0.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static CODE: &str = "E0000"; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DESCRIPTION` is never used [INFO] [stdout] --> src/rules/e0.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static DESCRIPTION: &str = "Example rule"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rule` is never constructed [INFO] [stdout] --> src/rules/e0.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Rule {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/mod.rs:77:44 [INFO] [stdout] | [INFO] [stdout] 77 | fn flatten_statements_to_validate<'a>(&'a self, statement: &'a Statement) -> Vec<&Statement> { [INFO] [stdout] | ^^ ^^ ---------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 77 | fn flatten_statements_to_validate<'a>(&'a self, statement: &'a Statement) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/mod.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 85 | mut flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 86 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 87 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 87 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/mod.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 113 | mut flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 114 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 115 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e1.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 69 | mut flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 70 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 71 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 71 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e10.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 80 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 81 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 82 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 82 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e12.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 128 | mut flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 129 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 130 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 130 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e12.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 213 | mut flatten_property_expressions: Vec<&'a Expression>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 214 | expression: &'a Expression, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 215 | ) -> Vec<&Expression> { [INFO] [stdout] | ----------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 215 | ) -> Vec<&'a Expression> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e12.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 257 | short_array: &'a ShortArrayExpression, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 258 | ) -> Vec<&Expression> { [INFO] [stdout] | ----------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 258 | ) -> Vec<&'a Expression> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e12.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 279 | method_call: &'a MethodCallExpression, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 280 | ) -> Vec<&Expression> { [INFO] [stdout] | ----------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 280 | ) -> Vec<&'a Expression> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e3.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 59 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 60 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 61 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e4.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 46 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 47 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 48 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 48 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e5.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 36 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 37 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 38 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e6.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 44 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 45 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 46 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 46 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e7.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 87 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 88 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 89 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e8.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 45 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 46 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 47 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e9.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 79 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 80 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 81 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 81 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DESCRIPTION` is never used [INFO] [stdout] --> src/rules/e0.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static DESCRIPTION: &str = "Example rule"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rule` is never constructed [INFO] [stdout] --> src/rules/e0.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Rule {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/mod.rs:77:44 [INFO] [stdout] | [INFO] [stdout] 77 | fn flatten_statements_to_validate<'a>(&'a self, statement: &'a Statement) -> Vec<&Statement> { [INFO] [stdout] | ^^ ^^ ---------- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 77 | fn flatten_statements_to_validate<'a>(&'a self, statement: &'a Statement) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/mod.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 85 | mut flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 86 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 87 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 87 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/mod.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 113 | mut flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 114 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 115 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e1.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 69 | mut flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 70 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 71 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 71 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e10.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 80 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 81 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 82 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 82 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e12.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 128 | mut flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 129 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 130 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 130 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e12.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 213 | mut flatten_property_expressions: Vec<&'a Expression>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 214 | expression: &'a Expression, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 215 | ) -> Vec<&Expression> { [INFO] [stdout] | ----------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 215 | ) -> Vec<&'a Expression> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e12.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 257 | short_array: &'a ShortArrayExpression, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 258 | ) -> Vec<&Expression> { [INFO] [stdout] | ----------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 258 | ) -> Vec<&'a Expression> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e12.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 279 | method_call: &'a MethodCallExpression, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 280 | ) -> Vec<&Expression> { [INFO] [stdout] | ----------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 280 | ) -> Vec<&'a Expression> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e3.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 59 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 60 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 61 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e4.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 46 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 47 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 48 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 48 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e5.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 36 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 37 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 38 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e6.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 44 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 45 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 46 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 46 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e7.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 87 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 88 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 89 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e8.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 45 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 46 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 47 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rules/e9.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 79 | flatten_statements: Vec<&'a Statement>, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 80 | statement: &'a Statement, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 81 | ) -> Vec<&Statement> { [INFO] [stdout] | ---------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 81 | ) -> Vec<&'a Statement> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.71s [INFO] running `Command { std: "docker" "inspect" "0fdcc5ca3daa472aecd1c90f1f266b5e1475af3a281e90dc6145ef83c142f03b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fdcc5ca3daa472aecd1c90f1f266b5e1475af3a281e90dc6145ef83c142f03b", kill_on_drop: false }` [INFO] [stdout] 0fdcc5ca3daa472aecd1c90f1f266b5e1475af3a281e90dc6145ef83c142f03b