[INFO] fetching crate cfn-guard 3.1.1... [INFO] checking cfn-guard-3.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate cfn-guard 3.1.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate cfn-guard 3.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cfn-guard 3.1.1 [INFO] finished tweaking crates.io crate cfn-guard 3.1.1 [INFO] tweaked toml for crates.io crate cfn-guard 3.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate cfn-guard 3.1.1 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memmap2 v0.5.8 [INFO] [stderr] Downloaded nom_locate v2.1.0 [INFO] [stderr] Downloaded serde_yaml v0.9.17 [INFO] [stderr] Downloaded clap_complete v4.1.2 [INFO] [stderr] Downloaded bstr v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df67519670d8c6f071329d53cc059c7d8999f04336ca7adbb46c2cfde582a947 [INFO] running `Command { std: "docker" "start" "-a" "df67519670d8c6f071329d53cc059c7d8999f04336ca7adbb46c2cfde582a947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df67519670d8c6f071329d53cc059c7d8999f04336ca7adbb46c2cfde582a947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df67519670d8c6f071329d53cc059c7d8999f04336ca7adbb46c2cfde582a947", kill_on_drop: false }` [INFO] [stdout] df67519670d8c6f071329d53cc059c7d8999f04336ca7adbb46c2cfde582a947 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ab331335824bd531bf4bcbc91ea7c6be2b64d8c4834546d65cece0ea4c633c3 [INFO] running `Command { std: "docker" "start" "-a" "8ab331335824bd531bf4bcbc91ea7c6be2b64d8c4834546d65cece0ea4c633c3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking futures-sink v0.3.26 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking ryu v1.0.12 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking once_cell v1.17.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking futures-io v0.3.26 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking clap_builder v4.5.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking grep-matcher v0.1.6 [INFO] [stderr] Checking bstr v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Checking bytecount v0.6.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling rstest_macros v0.14.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking memmap2 v0.5.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking urlencoding v2.1.2 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking string-builder v0.2.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking grep-searcher v0.1.11 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Checking nom_locate v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.7 [INFO] [stderr] Checking enumflags2 v0.7.7 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking grep-regex v0.1.11 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking clap v4.5.0 [INFO] [stderr] Checking clap_complete v4.1.2 [INFO] [stderr] Compiling futures-macro v0.3.26 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Checking futures-executor v0.3.26 [INFO] [stderr] Checking futures v0.3.26 [INFO] [stderr] Checking rstest v0.15.0 [INFO] [stderr] Checking serde_yaml v0.9.17 [INFO] [stderr] Checking cfn-guard v3.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/commands/reporters/validate/cfn.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'reporter> CfnAware<'reporter> { [INFO] [stdout] | --------- lifetime `'reporter` declared here [INFO] [stdout] 49 | pub(crate) fn new_with(next: &'reporter dyn Reporter) -> CfnAware { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'reporter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/commands/reporters/validate/tf.rs:21:62 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'reporter> TfAware<'reporter> { [INFO] [stdout] | --------- lifetime `'reporter` declared here [INFO] [stdout] 21 | pub(crate) fn new_with(next: &'reporter dyn Reporter) -> TfAware { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'reporter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:947:33 [INFO] [stdout] | [INFO] [stdout] 941 | fn clause_with_map<'loc, A, M, T: 'loc>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 947 | A: Fn(Span<'loc>) -> IResult, AccessQuery<'loc>>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:945:13 [INFO] [stdout] | [INFO] [stdout] 941 | fn clause_with_map<'loc, A, M, T: 'loc>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 945 | ) -> IResult, T> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1260:33 [INFO] [stdout] | [INFO] [stdout] 1253 | fn cnf_clauses<'loc, T, E, F, M>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1260 | F: Fn(Span<'loc>) -> IResult, E>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1258:13 [INFO] [stdout] | [INFO] [stdout] 1253 | fn cnf_clauses<'loc, T, E, F, M>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1258 | ) -> IResult, Conjunctions> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1302:33 [INFO] [stdout] | [INFO] [stdout] 1296 | fn disjunction_clauses<'loc, E, F>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1302 | F: Fn(Span<'loc>) -> IResult, E>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1300:13 [INFO] [stdout] | [INFO] [stdout] 1296 | fn disjunction_clauses<'loc, E, F>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1300 | ) -> IResult, Disjunctions> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1457:33 [INFO] [stdout] | [INFO] [stdout] 1453 | fn when_conditions<'loc, P>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1457 | P: Fn(Span<'loc>) -> IResult, Conjunctions>>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1455:36 [INFO] [stdout] | [INFO] [stdout] 1453 | fn when_conditions<'loc, P>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] 1454 | condition_parser: P, [INFO] [stdout] 1455 | ) -> impl Fn(Span<'loc>) -> IResult, Conjunctions>> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1484:33 [INFO] [stdout] | [INFO] [stdout] 1480 | fn block<'loc, T, P>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1484 | P: Fn(Span<'loc>) -> IResult, T>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1482:36 [INFO] [stdout] | [INFO] [stdout] 1480 | fn block<'loc, T, P>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] 1481 | clause_parser: P, [INFO] [stdout] 1482 | ) -> impl Fn(Span<'loc>) -> IResult, (Vec>, Conjunctions)> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1636:33 [INFO] [stdout] | [INFO] [stdout] 1630 | fn when_block<'loc, C, B, M, T, R>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1636 | C: Fn(Span<'loc>) -> IResult>>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1636:34 [INFO] [stdout] | [INFO] [stdout] 1630 | fn when_block<'loc, C, B, M, T, R>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1636 | C: Fn(Span<'loc>) -> IResult>>, [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1637:33 [INFO] [stdout] | [INFO] [stdout] 1630 | fn when_block<'loc, C, B, M, T, R>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1637 | B: Fn(Span<'loc>) -> IResult, T>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1634:36 [INFO] [stdout] | [INFO] [stdout] 1630 | fn when_block<'loc, C, B, M, T, R>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1634 | ) -> impl Fn(Span<'loc>) -> IResult, R> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1776:33 [INFO] [stdout] | [INFO] [stdout] 1772 | fn remove_whitespace_comments<'loc, P, R>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1776 | P: Fn(Span<'loc>) -> IResult, R>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1774:36 [INFO] [stdout] | [INFO] [stdout] 1772 | fn remove_whitespace_comments<'loc, P, R>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] 1773 | parser: P, [INFO] [stdout] 1774 | ) -> impl Fn(Span<'loc>) -> IResult, R> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/path_value/traversal.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn at<'traverse>( [INFO] [stdout] | --------- lifetime `'traverse` declared here [INFO] [stdout] ... [INFO] [stdout] 112 | ) -> crate::rules::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'traverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/commands/reporters/validate/cfn.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'reporter> CfnAware<'reporter> { [INFO] [stdout] | --------- lifetime `'reporter` declared here [INFO] [stdout] 49 | pub(crate) fn new_with(next: &'reporter dyn Reporter) -> CfnAware { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'reporter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/commands/reporters/validate/tf.rs:21:62 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'reporter> TfAware<'reporter> { [INFO] [stdout] | --------- lifetime `'reporter` declared here [INFO] [stdout] 21 | pub(crate) fn new_with(next: &'reporter dyn Reporter) -> TfAware { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'reporter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:947:33 [INFO] [stdout] | [INFO] [stdout] 941 | fn clause_with_map<'loc, A, M, T: 'loc>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 947 | A: Fn(Span<'loc>) -> IResult, AccessQuery<'loc>>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:945:13 [INFO] [stdout] | [INFO] [stdout] 941 | fn clause_with_map<'loc, A, M, T: 'loc>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 945 | ) -> IResult, T> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1260:33 [INFO] [stdout] | [INFO] [stdout] 1253 | fn cnf_clauses<'loc, T, E, F, M>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1260 | F: Fn(Span<'loc>) -> IResult, E>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1258:13 [INFO] [stdout] | [INFO] [stdout] 1253 | fn cnf_clauses<'loc, T, E, F, M>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1258 | ) -> IResult, Conjunctions> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1302:33 [INFO] [stdout] | [INFO] [stdout] 1296 | fn disjunction_clauses<'loc, E, F>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1302 | F: Fn(Span<'loc>) -> IResult, E>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1300:13 [INFO] [stdout] | [INFO] [stdout] 1296 | fn disjunction_clauses<'loc, E, F>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1300 | ) -> IResult, Disjunctions> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1457:33 [INFO] [stdout] | [INFO] [stdout] 1453 | fn when_conditions<'loc, P>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1457 | P: Fn(Span<'loc>) -> IResult, Conjunctions>>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1455:36 [INFO] [stdout] | [INFO] [stdout] 1453 | fn when_conditions<'loc, P>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] 1454 | condition_parser: P, [INFO] [stdout] 1455 | ) -> impl Fn(Span<'loc>) -> IResult, Conjunctions>> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1484:33 [INFO] [stdout] | [INFO] [stdout] 1480 | fn block<'loc, T, P>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1484 | P: Fn(Span<'loc>) -> IResult, T>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1482:36 [INFO] [stdout] | [INFO] [stdout] 1480 | fn block<'loc, T, P>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] 1481 | clause_parser: P, [INFO] [stdout] 1482 | ) -> impl Fn(Span<'loc>) -> IResult, (Vec>, Conjunctions)> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1636:33 [INFO] [stdout] | [INFO] [stdout] 1630 | fn when_block<'loc, C, B, M, T, R>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1636 | C: Fn(Span<'loc>) -> IResult>>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1636:34 [INFO] [stdout] | [INFO] [stdout] 1630 | fn when_block<'loc, C, B, M, T, R>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1636 | C: Fn(Span<'loc>) -> IResult>>, [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1637:33 [INFO] [stdout] | [INFO] [stdout] 1630 | fn when_block<'loc, C, B, M, T, R>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1637 | B: Fn(Span<'loc>) -> IResult, T>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1634:36 [INFO] [stdout] | [INFO] [stdout] 1630 | fn when_block<'loc, C, B, M, T, R>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1634 | ) -> impl Fn(Span<'loc>) -> IResult, R> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1776:33 [INFO] [stdout] | [INFO] [stdout] 1772 | fn remove_whitespace_comments<'loc, P, R>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] ... [INFO] [stdout] 1776 | P: Fn(Span<'loc>) -> IResult, R>, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/parser.rs:1774:36 [INFO] [stdout] | [INFO] [stdout] 1772 | fn remove_whitespace_comments<'loc, P, R>( [INFO] [stdout] | ---- lifetime `'loc` declared here [INFO] [stdout] 1773 | parser: P, [INFO] [stdout] 1774 | ) -> impl Fn(Span<'loc>) -> IResult, R> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rules/path_value/traversal.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 108 | pub(crate) fn at<'traverse>( [INFO] [stdout] | --------- lifetime `'traverse` declared here [INFO] [stdout] ... [INFO] [stdout] 112 | ) -> crate::rules::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'traverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report` is never used [INFO] [stdout] --> src/commands/validate.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) trait Reporter: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 112 | fn report( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetadataAppender` is never constructed [INFO] [stdout] --> src/commands/aws_meta_appender.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) struct MetadataAppender<'d> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DummyEval` is never constructed [INFO] [stdout] --> src/commands/common_test_helpers.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct DummyEval {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CfnReporter` is never constructed [INFO] [stdout] --> src/commands/reporters/validate/cfn_reporter.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) struct CfnReporter {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleLineReporter` is never constructed [INFO] [stdout] --> src/commands/reporters/validate/cfn_reporter.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | struct SingleLineReporter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StructureType` is never used [INFO] [stdout] --> src/commands/reporters/validate/common.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub(super) enum StructureType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructuredSummary` is never constructed [INFO] [stdout] --> src/commands/reporters/validate/common.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub(super) struct StructuredSummary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/commands/reporters/validate/common.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 88 | impl StructuredSummary { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 89 | pub(super) fn new(hierarchy_type: StructureType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataOutput` is never constructed [INFO] [stdout] --> src/commands/reporters/validate/common.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | struct DataOutput<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_name_info` is never used [INFO] [stdout] --> src/commands/reporters/validate/common.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | pub(super) fn extract_name_info<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_failing_clauses` is never used [INFO] [stdout] --> src/commands/reporters/validate/common.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 459 | pub(super) fn find_all_failing_clauses(context: &StatusContext) -> Vec<&StatusContext> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_compliant_skipped_info` is never used [INFO] [stdout] --> src/commands/reporters/validate/common.rs:482:15 [INFO] [stdout] | [INFO] [stdout] 482 | pub(super) fn print_compliant_skipped_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataOutputNewForm` is never constructed [INFO] [stdout] --> src/commands/reporters/validate/common.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | struct DataOutputNewForm<'a, 'v> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsoleReporter` is never constructed [INFO] [stdout] --> src/commands/reporters/validate/console_reporter.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct ConsoleReporter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pprint_failed_sub_tree` is never used [INFO] [stdout] --> src/commands/reporters/validate/console_reporter.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn pprint_failed_sub_tree( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_partition` is never used [INFO] [stdout] --> src/commands/reporters/validate/summary_table.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn print_partition( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusContext` is never constructed [INFO] [stdout] --> src/commands/tracker.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct StatusContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/commands/tracker.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl StatusContext { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 19 | fn new(eval_type: EvaluationType, context: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StackTracker` is never constructed [INFO] [stdout] --> src/commands/tracker.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct StackTracker<'r> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvaluationType` is never used [INFO] [stdout] --> src/rules/mod.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) enum EvaluationType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_variable_capture_index` is never used [INFO] [stdout] --> src/rules/mod.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 362 | pub(crate) trait EvalContext<'value, 'loc: 'value>: RecordTracer<'value> { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 377 | fn add_variable_capture_index(&mut self, _: &str, _: Rc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `resolve_variable`, `rule_status`, `end_evaluation`, and `start_evaluation` are never used [INFO] [stdout] --> src/rules/mod.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 382 | pub(crate) trait EvaluationContext { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] 383 | fn resolve_variable(&self, variable: &str) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 384 | [INFO] [stdout] 385 | fn rule_status(&self, rule_name: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn end_evaluation( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | fn start_evaluation(&self, eval_type: EvaluationType, context: &str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Evaluate` is never used [INFO] [stdout] --> src/rules/mod.rs:402:18 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) trait Evaluate { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UnaryComparator` is never used [INFO] [stdout] --> src/rules/eval/operators.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) trait UnaryComparator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_variable_query` is never used [INFO] [stdout] --> src/rules/evaluate.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub(super) fn resolve_variable_query<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_query` is never used [INFO] [stdout] --> src/rules/evaluate.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub(super) fn resolve_query<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert_status` is never used [INFO] [stdout] --> src/rules/evaluate.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn invert_status(status: Status, not: bool) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negation_status` is never used [INFO] [stdout] --> src/rules/evaluate.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn negation_status(r: bool, clause_not: bool, not: bool) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_loop_all` is never used [INFO] [stdout] --> src/rules/evaluate.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn compare_loop_all( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_loop` is never used [INFO] [stdout] --> src/rules/evaluate.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn compare_loop( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elevate_inner` is never used [INFO] [stdout] --> src/rules/evaluate.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn elevate_inner<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_mixed_values_results` is never used [INFO] [stdout] --> src/rules/evaluate.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn is_mixed_values_results(incoming: &[&PathAwareValue]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_mixed_results` is never used [INFO] [stdout] --> src/rules/evaluate.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn merge_mixed_results<'a>(incoming: &'a [&PathAwareValue]) -> Vec<&'a PathAwareValue> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare` is never used [INFO] [stdout] --> src/rules/evaluate.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn compare( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert_closure` is never used [INFO] [stdout] --> src/rules/evaluate.rs:293:15 [INFO] [stdout] | [INFO] [stdout] 293 | pub(super) fn invert_closure( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_variables` is never used [INFO] [stdout] --> src/rules/evaluate.rs:1046:4 [INFO] [stdout] | [INFO] [stdout] 1046 | fn extract_variables<'s, 'loc>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rules/evaluate.rs:1180:19 [INFO] [stdout] | [INFO] [stdout] 1179 | impl<'s, T> BlockScope<'s, T> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 1180 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AutoReport` is never constructed [INFO] [stdout] --> src/rules/evaluate.rs:1249:19 [INFO] [stdout] | [INFO] [stdout] 1249 | pub(super) struct AutoReport<'s> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rules/evaluate.rs:1271:19 [INFO] [stdout] | [INFO] [stdout] 1270 | impl<'s> AutoReport<'s> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 1271 | pub(super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1289 | pub(super) fn status(&mut self, status: Status) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1294 | pub(super) fn from(&mut self, from: Option) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1299 | pub(super) fn to(&mut self, to: Option) -> &mut Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 1304 | pub(super) fn cmp(&mut self, cmp: (CmpOperator, bool)) -> &mut Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1309 | pub(super) fn message(&mut self, msg: String) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1314 | pub(super) fn get_status(&self) -> Status { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `QueryResolver` is never used [INFO] [stdout] --> src/rules/path_value.rs:590:18 [INFO] [stdout] | [INFO] [stdout] 590 | pub(crate) trait QueryResolver { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `map_error_or_empty`, `map_some_or_error_all`, `retrieve_index`, and `accumulate` are never used [INFO] [stdout] --> src/rules/path_value.rs:933:8 [INFO] [stdout] | [INFO] [stdout] 888 | impl PathAwareValue { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 933 | fn map_error_or_empty(&self, all: bool, e: Error) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 945 | fn map_some_or_error_all( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1002 | pub(crate) fn retrieve_index<'v>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1020 | pub(crate) fn accumulate<'v>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `must_use` that must be used [INFO] [stdout] --> src/rules/errors.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | format!("{:?}", &vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![deny(unused_must_use)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cfn-guard` (lib) due to 2 previous errors; 60 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `report` is never used [INFO] [stdout] --> src/commands/validate.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) trait Reporter: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 112 | fn report( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DummyEval` is never constructed [INFO] [stdout] --> src/commands/common_test_helpers.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct DummyEval {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CfnReporter` is never constructed [INFO] [stdout] --> src/commands/reporters/validate/cfn_reporter.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) struct CfnReporter {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleLineReporter` is never constructed [INFO] [stdout] --> src/commands/reporters/validate/cfn_reporter.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | struct SingleLineReporter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StructureType` is never used [INFO] [stdout] --> src/commands/reporters/validate/common.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub(super) enum StructureType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructuredSummary` is never constructed [INFO] [stdout] --> src/commands/reporters/validate/common.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub(super) struct StructuredSummary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/commands/reporters/validate/common.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 88 | impl StructuredSummary { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 89 | pub(super) fn new(hierarchy_type: StructureType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataOutput` is never constructed [INFO] [stdout] --> src/commands/reporters/validate/common.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | struct DataOutput<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_name_info` is never used [INFO] [stdout] --> src/commands/reporters/validate/common.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | pub(super) fn extract_name_info<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_failing_clauses` is never used [INFO] [stdout] --> src/commands/reporters/validate/common.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 459 | pub(super) fn find_all_failing_clauses(context: &StatusContext) -> Vec<&StatusContext> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_compliant_skipped_info` is never used [INFO] [stdout] --> src/commands/reporters/validate/common.rs:482:15 [INFO] [stdout] | [INFO] [stdout] 482 | pub(super) fn print_compliant_skipped_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataOutputNewForm` is never constructed [INFO] [stdout] --> src/commands/reporters/validate/common.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | struct DataOutputNewForm<'a, 'v> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsoleReporter` is never constructed [INFO] [stdout] --> src/commands/reporters/validate/console_reporter.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct ConsoleReporter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pprint_failed_sub_tree` is never used [INFO] [stdout] --> src/commands/reporters/validate/console_reporter.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn pprint_failed_sub_tree( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_partition` is never used [INFO] [stdout] --> src/commands/reporters/validate/summary_table.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn print_partition( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusContext` is never constructed [INFO] [stdout] --> src/commands/tracker.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct StatusContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/commands/tracker.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl StatusContext { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 19 | fn new(eval_type: EvaluationType, context: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StackTracker` is never constructed [INFO] [stdout] --> src/commands/tracker.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct StackTracker<'r> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_variable_capture_index` is never used [INFO] [stdout] --> src/rules/mod.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 362 | pub(crate) trait EvalContext<'value, 'loc: 'value>: RecordTracer<'value> { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 377 | fn add_variable_capture_index(&mut self, _: &str, _: Rc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UnaryComparator` is never used [INFO] [stdout] --> src/rules/eval/operators.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) trait UnaryComparator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariableResolver` is never constructed [INFO] [stdout] --> src/rules/evaluate_tests.rs:899:8 [INFO] [stdout] | [INFO] [stdout] 899 | struct VariableResolver<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `must_use` that must be used [INFO] [stdout] --> src/rules/errors.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | format!("{:?}", &vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![deny(unused_must_use)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cfn-guard` (lib test) due to 2 previous errors; 40 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8ab331335824bd531bf4bcbc91ea7c6be2b64d8c4834546d65cece0ea4c633c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ab331335824bd531bf4bcbc91ea7c6be2b64d8c4834546d65cece0ea4c633c3", kill_on_drop: false }` [INFO] [stdout] 8ab331335824bd531bf4bcbc91ea7c6be2b64d8c4834546d65cece0ea4c633c3