[INFO] fetching crate cfn-guard 3.1.2...
[INFO] testing cfn-guard-3.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate cfn-guard 3.1.2 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate cfn-guard 3.1.2
[INFO] finished tweaking crates.io crate cfn-guard 3.1.2
[INFO] tweaked toml for crates.io crate cfn-guard 3.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate cfn-guard 3.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate cfn-guard 3.1.2 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 89eb1b1d40de3d4d033059a96179fd4fecb4889602e10de9ef29bbb50b871577
[INFO] running `Command { std: "docker" "start" "-a" "89eb1b1d40de3d4d033059a96179fd4fecb4889602e10de9ef29bbb50b871577", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89eb1b1d40de3d4d033059a96179fd4fecb4889602e10de9ef29bbb50b871577", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89eb1b1d40de3d4d033059a96179fd4fecb4889602e10de9ef29bbb50b871577", kill_on_drop: false }`
[INFO] [stdout] 89eb1b1d40de3d4d033059a96179fd4fecb4889602e10de9ef29bbb50b871577
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2e4e45629d9d5e0a032952a5f1173f57e98921ecf6e332375f05c07b4b27de3d
[INFO] running `Command { std: "docker" "start" "-a" "2e4e45629d9d5e0a032952a5f1173f57e98921ecf6e332375f05c07b4b27de3d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling futures-core v0.3.26
[INFO] [stderr]    Compiling futures-task v0.3.26
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.92
[INFO] [stderr]    Compiling futures-channel v0.3.26
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling semver v1.0.16
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling futures-util v0.3.26
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling futures-sink v0.3.26
[INFO] [stderr]    Compiling ryu v1.0.12
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling anstyle-parse v0.2.3
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling futures-io v0.3.26
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling anstyle-query v1.0.2
[INFO] [stderr]    Compiling anstyle v1.0.6
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling strsim v0.11.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling anstream v0.6.11
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]    Compiling itoa v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.93
[INFO] [stderr]    Compiling bytecount v0.6.3
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling memmap2 v0.5.8
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling rstest_macros v0.14.0
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.10
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling grep-matcher v0.1.6
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling bstr v1.2.0
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling clap_builder v4.5.0
[INFO] [stderr]    Compiling quick-xml v0.30.0
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling syn v2.0.55
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling vte_generate_state_changes v0.1.1
[INFO] [stderr]    Compiling urlencoding v2.1.2
[INFO] [stderr]    Compiling itertools v0.4.19
[INFO] [stderr]    Compiling vte v0.10.1
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling string-builder v0.2.0
[INFO] [stderr]    Compiling indoc v1.0.9
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling encoding_rs_io v0.1.7
[INFO] [stderr]    Compiling grep-searcher v0.1.11
[INFO] [stderr]    Compiling strip-ansi-escapes v0.1.1
[INFO] [stderr]    Compiling nom_locate v2.1.0
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[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]    Compiling enumflags2 v0.7.7
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling fancy-regex v0.13.0
[INFO] [stderr]    Compiling clap v4.5.0
[INFO] [stderr]    Compiling clap_complete v4.1.2
[INFO] [stderr]    Compiling futures-macro v0.3.26
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]    Compiling cruet v0.14.0
[INFO] [stderr]    Compiling grep-regex v0.1.11
[INFO] [stderr]    Compiling futures-executor v0.3.26
[INFO] [stderr]    Compiling futures v0.3.26
[INFO] [stderr]    Compiling rstest v0.15.0
[INFO] [stderr]    Compiling serde_yaml v0.9.17
[INFO] [stderr]    Compiling cfn-guard v3.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `report` is never used
[INFO] [stdout]    --> src/commands/validate.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub(crate) trait Reporter: Debug {
[INFO] [stdout]     |                  -------- method in this trait
[INFO] [stdout] 115 |     fn report(
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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: struct `SarifRule` is never constructed
[INFO] [stdout]    --> src/commands/reporters/validate/sarif.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 183 | struct SarifRule {
[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<PathAwareValue>) -> 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<Vec<&PathAwareValue>>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 384 |
[INFO] [stdout] 385 |     fn rule_status(&self, rule_name: &str) -> Result<Status>;
[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<F>(
[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<F>(
[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<F>(
[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<F>(
[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<PathAwareValue>) -> &mut Self {
[INFO] [stdout]      |                   ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1299 |     pub(super) fn to(&mut self, to: Option<PathAwareValue>) -> &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: struct `WhenGuardBlockClause` is never constructed
[INFO] [stdout]    --> src/rules/exprs.rs:206:19
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub(crate) struct WhenGuardBlockClause<'loc> {
[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<Vec<&PathAwareValue>, 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] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/commands/files.rs:71:41
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub(crate) fn iterate_over<T, C>(files: &[PathBuf], converter: C) -> Iter<T, C>
[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] 71 | pub(crate) fn iterate_over<T, C>(files: &[PathBuf], converter: C) -> Iter<'_, T, C>
[INFO] [stdout]    |                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/commands/reporters/test/structured.rs:69:29
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn build_test_suite(&self) -> TestSuite {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn build_test_suite(&self) -> TestSuite<'_> {
[INFO] [stdout]    |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/commands/reporters/test/structured.rs:139:31
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn build_junit_test_cases(&self) -> Vec<JunitTestCase> {
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn build_junit_test_cases(&self) -> Vec<JunitTestCase<'_>> {
[INFO] [stdout]     |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/commands/reporters/validate/cfn.rs:49:62
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub(crate) fn new_with(next: &'reporter dyn Reporter) -> CfnAware {
[INFO] [stdout]    |                                   ---------                  ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                   |
[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] help: consistently use `'reporter`
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub(crate) fn new_with(next: &'reporter dyn Reporter) -> CfnAware<'reporter> {
[INFO] [stdout]    |                                                                      +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/commands/reporters/validate/tf.rs:21:62
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub(crate) fn new_with(next: &'reporter dyn Reporter) -> TfAware {
[INFO] [stdout]    |                                   ---------                  ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                   |
[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] help: consistently use `'reporter`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub(crate) fn new_with(next: &'reporter dyn Reporter) -> TfAware<'reporter> {
[INFO] [stdout]    |                                                                     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]   --> src/rules/libyaml/parser.rs:48:16
[INFO] [stdout]    |
[INFO] [stdout] 48 |             if (*parser).error != sys::YAML_NO_ERROR {
[INFO] [stdout]    |                ^^------^^^^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  this raw pointer has type `*mut yaml_parser_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout]    = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations
[INFO] [stdout]    = note: `#[deny(dangerous_implicit_autorefs)]` on by default
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]    |
[INFO] [stdout] 48 |             if (&(*parser)).error != sys::YAML_NO_ERROR {
[INFO] [stdout]    |                ++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/rules/parser.rs:35:33
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub(crate) fn from_str2(in_str: &str) -> Span {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub(crate) fn from_str2(in_str: &str) -> Span<'_> {
[INFO] [stdout]    |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rules/parser.rs:684:27
[INFO] [stdout]     |
[INFO] [stdout] 684 | fn extract_message(input: Span) -> IResult<Span, &str> {
[INFO] [stdout]     |                           ^^^^     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |        |       |     |
[INFO] [stdout]     |                           |        |       |     the same lifetime is elided here
[INFO] [stdout]     |                           |        |       the same lifetime is hidden here
[INFO] [stdout]     |                           |        the same lifetime is hidden here
[INFO] [stdout]     |                           the lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 684 | fn extract_message(input: Span<'_>) -> IResult<'_, Span<'_>, &str> {
[INFO] [stdout]     |                               ++++             +++     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rules/parser.rs:698:26
[INFO] [stdout]     |
[INFO] [stdout] 698 | fn custom_message(input: Span) -> IResult<Span, &str> {
[INFO] [stdout]     |                          ^^^^     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                          |        |       |     |
[INFO] [stdout]     |                          |        |       |     the same lifetime is elided here
[INFO] [stdout]     |                          |        |       the same lifetime is hidden here
[INFO] [stdout]     |                          |        the same lifetime is hidden here
[INFO] [stdout]     |                          the lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 698 | fn custom_message(input: Span<'_>) -> IResult<'_, Span<'_>, &str> {
[INFO] [stdout]     |                              ++++             +++     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/rules/parser.rs:946:6
[INFO] [stdout]     |
[INFO] [stdout] 943 |     input: Span<'loc>,
[INFO] [stdout]     |                 ---- the lifetime is named here
[INFO] [stdout] ...
[INFO] [stdout] 946 | ) -> IResult<Span<'loc>, T>
[INFO] [stdout]     |      ^^^^^^^^^^^^^----^^^^^
[INFO] [stdout]     |      |            |
[INFO] [stdout]     |      |            the same lifetime is named here
[INFO] [stdout]     |      the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'loc`
[INFO] [stdout]     |
[INFO] [stdout] 946 | ) -> IResult<'loc, Span<'loc>, T>
[INFO] [stdout]     |              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]     --> src/rules/parser.rs:1277:6
[INFO] [stdout]      |
[INFO] [stdout] 1273 |     input: Span<'loc>,
[INFO] [stdout]      |                 ---- the lifetime is named here
[INFO] [stdout] ...
[INFO] [stdout] 1277 | ) -> IResult<Span<'loc>, Conjunctions<E>>
[INFO] [stdout]      |      ^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |      |            |
[INFO] [stdout]      |      |            the same lifetime is named here
[INFO] [stdout]      |      the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'loc`
[INFO] [stdout]      |
[INFO] [stdout] 1277 | ) -> IResult<'loc, Span<'loc>, Conjunctions<E>>
[INFO] [stdout]      |              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]     --> src/rules/parser.rs:1319:6
[INFO] [stdout]      |
[INFO] [stdout] 1316 |     input: Span<'loc>,
[INFO] [stdout]      |                 ---- the lifetime is named here
[INFO] [stdout] ...
[INFO] [stdout] 1319 | ) -> IResult<Span<'loc>, Disjunctions<E>>
[INFO] [stdout]      |      ^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |      |            |
[INFO] [stdout]      |      |            the same lifetime is named here
[INFO] [stdout]      |      the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'loc`
[INFO] [stdout]      |
[INFO] [stdout] 1319 | ) -> IResult<'loc, Span<'loc>, Disjunctions<E>>
[INFO] [stdout]      |              +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rules/path_value/traversal.rs:104:24
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub(crate) fn root(&self) -> Option<&Node> {
[INFO] [stdout]     |                        ^^^^^            ^^^^^
[INFO] [stdout]     |                        |                ||
[INFO] [stdout]     |                        |                |the same lifetime is hidden here
[INFO] [stdout]     |                        |                the same lifetime is elided here
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub(crate) fn root(&self) -> Option<&Node<'_>> {
[INFO] [stdout]     |                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/rules/path_value/traversal.rs:112:31
[INFO] [stdout]     |
[INFO] [stdout] 109 |         &'traverse self,
[INFO] [stdout]     |          --------- the lifetime is named here
[INFO] [stdout] 110 |         pointer: &str,
[INFO] [stdout] 111 |         node: &'traverse Node,
[INFO] [stdout]     |                --------- the lifetime is named here
[INFO] [stdout] 112 |     ) -> crate::rules::Result<TraversalResult> {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               the same lifetime is hidden here
[INFO] [stdout]     |                               the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'traverse`
[INFO] [stdout]     |
[INFO] [stdout] 112 |     ) -> crate::rules::Result<TraversalResult<'traverse>> {
[INFO] [stdout]     |                                              +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/utils/mod.rs:14:31
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub(crate) fn new(buffer: &str) -> ReadCursor {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub(crate) fn new(buffer: &str) -> ReadCursor<'_> {
[INFO] [stdout]    |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cfn-guard` (lib) due to 1 previous error; 57 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2e4e45629d9d5e0a032952a5f1173f57e98921ecf6e332375f05c07b4b27de3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e4e45629d9d5e0a032952a5f1173f57e98921ecf6e332375f05c07b4b27de3d", kill_on_drop: false }`
[INFO] [stdout] 2e4e45629d9d5e0a032952a5f1173f57e98921ecf6e332375f05c07b4b27de3d
