[INFO] fetching crate cfn-guard 2.1.3...
[INFO] documenting cfn-guard-2.1.3 against 1.69.0 for beta-1.70-rustdoc-1
[INFO] extracting crate cfn-guard 2.1.3 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate cfn-guard 2.1.3 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cfn-guard 2.1.3
[INFO] finished tweaking crates.io crate cfn-guard 2.1.3
[INFO] tweaked toml for crates.io crate cfn-guard 2.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate crates.io crate cfn-guard 2.1.3 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" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rstest v0.15.0
[INFO] [stderr]   Downloaded rstest_macros v0.14.0
[INFO] [stderr]   Downloaded nom_locate v2.1.0
[INFO] [stderr]   Downloaded grep-searcher v0.1.10
[INFO] [stderr]   Downloaded string-builder v0.2.0
[INFO] [stderr]   Downloaded serde_yaml v0.9.14
[INFO] [stderr]   Downloaded grep-regex v0.1.10
[INFO] [stderr]   Downloaded encoding_rs_io v0.1.7
[INFO] [stderr]   Downloaded grep-matcher v0.1.5
[INFO] [stderr]   Downloaded memmap2 v0.5.8
[INFO] [stderr]   Downloaded itertools v0.4.19
[INFO] [stderr]   Downloaded unsafe-libyaml v0.2.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5a2983638c6d5ada1d8a6f1dc09f45915495c30cd4d3fd6d58b10bfcbc0a3947
[INFO] running `Command { std: "docker" "start" "-a" "5a2983638c6d5ada1d8a6f1dc09f45915495c30cd4d3fd6d58b10bfcbc0a3947", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a2983638c6d5ada1d8a6f1dc09f45915495c30cd4d3fd6d58b10bfcbc0a3947", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a2983638c6d5ada1d8a6f1dc09f45915495c30cd4d3fd6d58b10bfcbc0a3947", kill_on_drop: false }`
[INFO] [stdout] 5a2983638c6d5ada1d8a6f1dc09f45915495c30cd4d3fd6d58b10bfcbc0a3947
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9f71bcf3b7a8cc24385e95492b6fc3458bea55a9c830a68150000aa25f3e1695
[INFO] running `Command { std: "docker" "start" "-a" "9f71bcf3b7a8cc24385e95492b6fc3458bea55a9c830a68150000aa25f3e1695", kill_on_drop: false }`
[INFO] [stderr] warning: output filename collision.
[INFO] [stderr] The bin target `cfn-guard` in package `cfn-guard v2.1.3 (/opt/rustwide/workdir)` has the same output filename as the lib target `cfn_guard` in package `cfn-guard v2.1.3 (/opt/rustwide/workdir)`.
[INFO] [stderr] Colliding filename is: /opt/rustwide/target/doc/cfn_guard/index.html
[INFO] [stderr] The output filenames should be unique.
[INFO] [stderr] This is a known bug where multiple crates with the same name use
[INFO] [stderr] the same path; see <https://github.com/rust-lang/cargo/issues/6313>.
[INFO] [stderr] If this looks unexpected, it may be a bug in Cargo. Please file a bug report at
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/ with as much information as you
[INFO] [stderr] can provide.
[INFO] [stderr] cargo 1.69.0 (6e9a83356 2023-04-12) running on `x86_64-unknown-linux-gnu` target `x86_64-unknown-linux-gnu`
[INFO] [stderr] First unit: Unit { pkg: Package { id: PackageId { name: "cfn-guard", version: "2.1.3", source: "/opt/rustwide/workdir" }, ..: ".." }, target: TargetInner { name: "cfn-guard", doc: true, ..: with_path("/opt/rustwide/workdir/src/main.rs", Edition2018) }, profile: Profile { incremental: false, ..: default_dev() }, kind: Host, mode: Doc { deps: false }, features: [], artifact: false, artifact_target_for_features: None, is_std: false, dep_hash: 12944502763734374367 }
[INFO] [stderr] Second unit: Unit { pkg: Package { id: PackageId { name: "cfn-guard", version: "2.1.3", source: "/opt/rustwide/workdir" }, ..: ".." }, target: TargetInner { ..: lib_target("cfn_guard", ["rlib"], "/opt/rustwide/workdir/src/lib.rs", Edition2018) }, profile: Profile { incremental: false, ..: default_dev() }, kind: Host, mode: Doc { deps: false }, features: [], artifact: false, artifact_target_for_features: None, is_std: false, dep_hash: 11701270245278851138 }
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling semver v1.0.14
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling serde_derive v1.0.147
[INFO] [stderr]     Checking futures-sink v0.3.25
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling serde v1.0.147
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]     Checking futures-io v0.3.25
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]    Compiling serde_json v1.0.87
[INFO] [stderr]     Checking once_cell v1.16.0
[INFO] [stderr]     Checking bytecount v0.6.3
[INFO] [stderr]     Checking itoa v1.0.4
[INFO] [stderr]     Checking unicode-segmentation v1.10.0
[INFO] [stderr]     Checking thread_local v1.1.4
[INFO] [stderr]     Checking unsafe-libyaml v0.2.4
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking itertools v0.4.19
[INFO] [stderr]     Checking urlencoding v2.1.2
[INFO] [stderr]     Checking string-builder v0.2.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking aho-corasick v0.7.19
[INFO] [stderr]     Checking grep-matcher v0.1.5
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking heck v0.3.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking memmap2 v0.5.8
[INFO] [stderr]    Compiling rstest_macros v0.14.0
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]     Checking regex v1.7.0
[INFO] [stderr]     Checking encoding_rs_io v0.1.7
[INFO] [stderr]     Checking grep-searcher v0.1.10
[INFO] [stderr]     Checking Inflector v0.11.4
[INFO] [stderr]     Checking grep-regex v0.1.10
[INFO] [stderr]     Checking nom_locate v2.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.25
[INFO] [stderr]    Compiling enumflags2_derive v0.7.4
[INFO] [stderr]     Checking enumflags2 v0.7.5
[INFO] [stderr]     Checking futures-executor v0.3.25
[INFO] [stderr]     Checking futures v0.3.25
[INFO] [stderr]     Checking rstest v0.15.0
[INFO] [stderr]     Checking serde_yaml v0.9.14
[INFO] [stderr]  Documenting cfn-guard v2.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking cfn-guard v2.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `InComparisonCheck`
[INFO] [stdout]  --> src/commands/validate/common.rs:5:107
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::rules::{EvaluationType, Status, RecordType, ClauseCheck, QueryResult, NamedStatus, UnResolved, InComparisonCheck};
[INFO] [stdout]   |                                                                                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::rules::evaluate::RootScope`
[INFO] [stdout]  --> src/commands/helper.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::rules::evaluate::RootScope;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::commands::tracker::StackTracker`
[INFO] [stdout]  --> src/commands/helper.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::commands::tracker::StackTracker;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ConsoleReporter`
[INFO] [stdout]  --> src/commands/helper.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::commands::validate::{ConsoleReporter, OutputFormatType, Reporter};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Evaluate`
[INFO] [stdout]  --> src/commands/helper.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::rules::{Evaluate, Result};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `crate::rules::common::walk_type`
[INFO] [stdout]   --> src/rules/exprs.rs:35:32
[INFO] [stdout]    |
[INFO] [stdout] 35 | /// match specific selections [crate::rules::common::walk_type]
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `common` in module `rules`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: Rust code block is empty
[INFO] [stdout]    --> src/commands/validate/cfn.rs:434:5
[INFO] [stdout]     |
[INFO] [stdout] 434 | /// ```
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default
[INFO] [stdout] help: mark blocks that do not contain Rust code as text
[INFO] [stdout]     |
[INFO] [stdout] 434 | /// ```text
[INFO] [stdout]     |        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/rules/eval_context.rs:1474:29
[INFO] [stdout]      |
[INFO] [stdout] 1473 | ...                   IsFloat => if *not { "was float" } else { "was not float" },
[INFO] [stdout]      |                       ------- matches any value
[INFO] [stdout] 1474 | ...                   Eq | In | Gt | Lt | Le | Ge => unreachable!()
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/rules/libyaml/loader.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 46 |                         _ => todo!()
[INFO] [stdout]    |                         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/commands/validate/common.rs:541:38
[INFO] [stdout]     |
[INFO] [stdout] 540 | ...                   IsFloat => if !not { "was not a float" } else { "was float" },
[INFO] [stdout]     |                       ------- matches any value
[INFO] [stdout] 541 | ...                   Eq | In | Gt | Lt | Le | Ge => unreachable!()
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/commands/validate/console_reporter.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         Some(RecordType::TypeBlock(Status::FAIL))                                           |
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rest`
[INFO] [stdout]    --> src/rules/eval_context.rs:430:53
[INFO] [stdout]     |
[INFO] [stdout] 430 | ...                   rest => {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_rest`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IsFloat`
[INFO] [stdout]     --> src/rules/eval_context.rs:1473:29
[INFO] [stdout]      |
[INFO] [stdout] 1473 | ...                   IsFloat => if *not { "was float" } else { "was not float" },
[INFO] [stdout]      |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IsFloat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]     --> src/rules/eval_context.rs:1695:65
[INFO] [stdout]      |
[INFO] [stdout] 1695 |                 RecordType::FileCheck(NamedStatus{name, status, message}) => {
[INFO] [stdout]      |                                                                 ^^^^^^^ help: try ignoring the field: `message: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]     --> src/rules/eval_context.rs:1700:80
[INFO] [stdout]      |
[INFO] [stdout] 1700 | ...                   if let RecordType::RuleCheck(NamedStatus { status, message, name }) = rule {
[INFO] [stdout]      |                                                                          ^^^^^^^ help: try ignoring the field: `message: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]    --> src/rules/eval.rs:576:17
[INFO] [stdout]     |
[INFO] [stdout] 576 |                 reason,
[INFO] [stdout]     |                 ^^^^^^ help: try ignoring the field: `reason: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ur`
[INFO] [stdout]    --> src/rules/eval.rs:680:48
[INFO] [stdout]     |
[INFO] [stdout] 680 |                 if let QueryResult::UnResolved(ur) = rhs {
[INFO] [stdout]     |                                                ^^ help: if this is intentional, prefix it with an underscore: `_ur`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cr`
[INFO] [stdout]    --> src/rules/eval.rs:703:57
[INFO] [stdout]     |
[INFO] [stdout] 703 |                 let to_collected = results.iter().map(|(cr, rhs)|
[INFO] [stdout]     |                                                         ^^ help: if this is intentional, prefix it with an underscore: `_cr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `original`
[INFO] [stdout]    --> src/rules/eval.rs:918:9
[INFO] [stdout]     |
[INFO] [stdout] 918 |     let original = cmp;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]    --> src/rules/eval.rs:924:10
[INFO] [stdout]     |
[INFO] [stdout] 924 |     for (idx, each) in lhs.iter().enumerate() {
[INFO] [stdout]     |          ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_literal`
[INFO] [stdout]     --> src/rules/eval.rs:1041:19
[INFO] [stdout]      |
[INFO] [stdout] 1041 |         let (rhs, is_literal) = match &gac.access_clause.compare_with {
[INFO] [stdout]      |                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_literal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `variable_name`
[INFO] [stdout]    --> src/rules/mod.rs:306:46
[INFO] [stdout]     |
[INFO] [stdout] 306 |     fn add_variable_capture_index(&mut self, variable_name: &str, index: &'value PathAwareValue) -> Result<()> { Ok(()) }
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/rules/mod.rs:306:67
[INFO] [stdout]     |
[INFO] [stdout] 306 |     fn add_variable_capture_index(&mut self, variable_name: &str, index: &'value PathAwareValue) -> Result<()> { Ok(()) }
[INFO] [stdout]     |                                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cr`
[INFO] [stdout]    --> src/commands/validate/cfn.rs:271:25
[INFO] [stdout]     |
[INFO] [stdout] 271 |                         cr: &ClauseReport<'_>,
[INFO] [stdout]     |                         ^^ help: if this is intentional, prefix it with an underscore: `_cr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cr`
[INFO] [stdout]    --> src/commands/validate/cfn.rs:296:25
[INFO] [stdout]     |
[INFO] [stdout] 296 |                         cr: &ClauseReport<'_>,
[INFO] [stdout]     |                         ^^ help: if this is intentional, prefix it with an underscore: `_cr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `longest_rule_len`
[INFO] [stdout]    --> src/commands/validate/common.rs:103:41
[INFO] [stdout]     |
[INFO] [stdout] 103 |               skipped: HashSet<String>, longest_rule_len: usize) -> crate::rules::Result<()>
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest_rule_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `failed`
[INFO] [stdout]    --> src/commands/validate/common.rs:307:25
[INFO] [stdout]     |
[INFO] [stdout] 307 |                 let mut failed = EventRecord {
[INFO] [stdout]     |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_failed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rest`
[INFO] [stdout]    --> src/commands/validate/common.rs:319:13
[INFO] [stdout]     |
[INFO] [stdout] 319 |             rest => {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_rest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]    --> src/commands/validate/common.rs:339:69
[INFO] [stdout]     |
[INFO] [stdout] 339 |         if let Some(RecordType::RuleCheck(NamedStatus{status, name, message})) = &each_rule.container {
[INFO] [stdout]     |                                                                     ^^^^^^^ help: try ignoring the field: `message: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmp`
[INFO] [stdout]    --> src/commands/validate/common.rs:500:14
[INFO] [stdout]     |
[INFO] [stdout] 500 |         let (cmp, not) = match &each.comparison {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_cmp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `not`
[INFO] [stdout]    --> src/commands/validate/common.rs:500:19
[INFO] [stdout]     |
[INFO] [stdout] 500 |         let (cmp, not) = match &each.comparison {
[INFO] [stdout]     |                   ^^^ help: if this is intentional, prefix it with an underscore: `_not`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IsFloat`
[INFO] [stdout]    --> src/commands/validate/common.rs:540:38
[INFO] [stdout]     |
[INFO] [stdout] 540 | ...                   IsFloat => if !not { "was not a float" } else { "was float" },
[INFO] [stdout]     |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IsFloat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `longest_rule_len`
[INFO] [stdout]    --> src/commands/validate/common.rs:489:5
[INFO] [stdout]     |
[INFO] [stdout] 489 |     longest_rule_len: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest_rule_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/commands/validate/generic_summary.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         status: Option<Status>,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/commands/validate/generic_summary.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         data: &Traversal<'_>,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `writer`
[INFO] [stdout]    --> src/commands/validate/tf.rs:249:55
[INFO] [stdout]     |
[INFO] [stdout] 249 | ...   fn binary_error_in_msg(&mut self, writer: &mut dyn Write, cr: &ClauseReport<'_>, bc: &InComparison<'_>, prefix: &str) -> crate::rul...
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cr`
[INFO] [stdout]    --> src/commands/validate/tf.rs:249:79
[INFO] [stdout]     |
[INFO] [stdout] 249 | ...   fn binary_error_in_msg(&mut self, writer: &mut dyn Write, cr: &ClauseReport<'_>, bc: &InComparison<'_>, prefix: &str) -> crate::rul...
[INFO] [stdout]     |                                                                 ^^ help: if this is intentional, prefix it with an underscore: `_cr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bc`
[INFO] [stdout]    --> src/commands/validate/tf.rs:249:102
[INFO] [stdout]     |
[INFO] [stdout] 249 | ...yn Write, cr: &ClauseReport<'_>, bc: &InComparison<'_>, prefix: &str) -> crate::rules::Result<usize> {
[INFO] [stdout]     |                                     ^^ help: if this is intentional, prefix it with an underscore: `_bc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prefix`
[INFO] [stdout]    --> src/commands/validate/tf.rs:249:125
[INFO] [stdout]     |
[INFO] [stdout] 249 | ...<'_>, bc: &InComparison<'_>, prefix: &str) -> crate::rules::Result<usize> {
[INFO] [stdout]     |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]    --> src/commands/validate/tf.rs:260:29
[INFO] [stdout]     |
[INFO] [stdout] 260 |                         let width = "PropertyPath".len() + 4;
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/commands/helper.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |        Err(e) => {
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/commands/validate/common.rs:301:9
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let mut failed = Vec::with_capacity(root_record.children.len());
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/commands/validate/common.rs:303:9
[INFO] [stdout]     |
[INFO] [stdout] 303 |     let mut passed = Vec::with_capacity(root_record.children.len());
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/commands/validate/common.rs:307:21
[INFO] [stdout]     |
[INFO] [stdout] 307 |                 let mut failed = EventRecord {
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/commands/validate/common.rs:577:9
[INFO] [stdout]     |
[INFO] [stdout] 577 |     let mut report = simplifed_json_from_root(root)?;
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ParameterRuleResult` is never constructed
[INFO] [stdout]    --> src/rules/mod.rs:289:8
[INFO] [stdout]     |
[INFO] [stdout] 289 | struct ParameterRuleResult<'value, 'loc> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rules` is never read
[INFO] [stdout]    --> src/rules/evaluate.rs:933:5
[INFO] [stdout]     |
[INFO] [stdout] 932 | pub(crate) struct RootScope<'s, 'loc> {
[INFO] [stdout]     |                   --------- field in this struct
[INFO] [stdout] 933 |     rules: &'s RulesFile<'loc>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RootScope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `block_type` is never read
[INFO] [stdout]     --> src/rules/evaluate.rs:1031:5
[INFO] [stdout]      |
[INFO] [stdout] 1030 | pub(crate) struct BlockScope<'s, T> {
[INFO] [stdout]      |                   ---------- field in this struct
[INFO] [stdout] 1031 |     block_type: &'s Block<'s, T>,
[INFO] [stdout]      |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `comparison` is never used
[INFO] [stdout]     --> src/rules/evaluate.rs:1148:19
[INFO] [stdout]      |
[INFO] [stdout] 1148 |     pub(super) fn comparison(&mut self, status: Status, from: Option<PathAwareValue>, to: Option<PathAwareValue>, cmp: (CmpOperator, bool...
[INFO] [stdout]      |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `context` is never used
[INFO] [stdout]   --> src/rules/parser.rs:47:19
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub(crate) fn context(&self) -> &str {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `span` is never used
[INFO] [stdout]   --> src/rules/parser.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub(crate) fn span(&self) -> &Span<'a> {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `kind` is never used
[INFO] [stdout]   --> src/rules/parser.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub(crate) fn kind(&self) -> ErrorKind {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Regex`, `Char`, `RangeInt`, `RangeFloat`, and `RangeChar` are never constructed
[INFO] [stdout]    --> src/rules/values.rs:387:5
[INFO] [stdout]     |
[INFO] [stdout] 383 | pub(crate) enum MarkedValue {
[INFO] [stdout]     |                 ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 387 |     Regex(String, Location),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 391 |     Char(char, Location),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 394 |     RangeInt(RangeType<i64>, Location),
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 395 |     RangeFloat(RangeType<f64>, Location),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 396 |     RangeChar(RangeType<char>, Location)
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MarkedValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_linked_hashmap` is never used
[INFO] [stdout]    --> src/rules/values.rs:431:15
[INFO] [stdout]     |
[INFO] [stdout] 431 | pub(super) fn make_linked_hashmap<'a, I>(values: I) -> IndexMap<String, Value>
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_binary` is never used
[INFO] [stdout]   --> src/rules/values.rs:52:19
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub(crate) fn is_binary(&self) -> bool { !self.is_unary() }
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/rules/path_value.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub(crate) fn new(line: usize, col: usize) -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/rules/path_value.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub(crate) fn new(path: String, line: usize, col: usize) -> Path {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `extend_str_with_location` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:132:19
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub(crate) fn extend_str_with_location(&self, part: &str, loc: Location) -> Path {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `drop_last` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:148:19
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub(crate) fn drop_last(&mut self) -> &mut Self {
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `extend_with_value` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:157:19
[INFO] [stdout]     |
[INFO] [stdout] 157 |     pub(crate) fn extend_with_value(&self, part: &Value) -> Result<Path, Error> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:174:19
[INFO] [stdout]     |
[INFO] [stdout] 174 |     pub(crate) fn new() -> MapValue {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_string` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:224:19
[INFO] [stdout]     |
[INFO] [stdout] 224 |     pub(crate) fn as_string(&self) -> Option<&str> {
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_regex` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:231:19
[INFO] [stdout]     |
[INFO] [stdout] 231 |     pub(crate) fn as_regex(&self) -> Option<&str> {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_bool` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:238:19
[INFO] [stdout]     |
[INFO] [stdout] 238 |     pub(crate) fn as_bool(&self) -> Option<bool> {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_int` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:245:19
[INFO] [stdout]     |
[INFO] [stdout] 245 |     pub(crate) fn as_int(&self) -> Option<i64> {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_float` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:252:19
[INFO] [stdout]     |
[INFO] [stdout] 252 |     pub(crate) fn as_float(&self) -> Option<f64> {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_list` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:259:19
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub(crate) fn as_list(&self) -> Option<&Vec<PathAwareValue>> {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_map` is never used
[INFO] [stdout]    --> src/rules/path_value.rs:266:19
[INFO] [stdout]     |
[INFO] [stdout] 266 |     pub(crate) fn as_map(&self) -> Option<&MapValue> {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_string` is never used
[INFO] [stdout]     --> src/rules/path_value.rs:1000:19
[INFO] [stdout]      |
[INFO] [stdout] 1000 |     pub(crate) fn is_string(&self) -> bool {
[INFO] [stdout]      |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `self_path_mut` is never used
[INFO] [stdout]     --> src/rules/path_value.rs:1008:19
[INFO] [stdout]      |
[INFO] [stdout] 1008 |     pub(crate) fn self_path_mut(&mut self) -> &mut Path {
[INFO] [stdout]      |                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_value` is never used
[INFO] [stdout]   --> src/rules/path_value/traversal.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub(crate) fn as_value(&self) -> Option<&Node<'_>> {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_key` is never used
[INFO] [stdout]   --> src/rules/path_value/traversal.rs:47:19
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub(crate) fn as_key(&self) -> Option<&str> {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reset_with` is never used
[INFO] [stdout]   --> src/rules/eval_context.rs:56:15
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub(crate) fn reset_with<'value, 'loc: 'value>(
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset_root` is never used
[INFO] [stdout]   --> src/rules/eval_context.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn reset_root(self, new_root: &'value PathAwareValue) -> Result<RootScope<'value, 'loc>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/rules/eval_context.rs:834:19
[INFO] [stdout]     |
[INFO] [stdout] 834 |     pub(crate) fn new() -> RecordTracker<'value> {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_rule` is never used
[INFO] [stdout]     --> src/rules/eval_context.rs:1255:19
[INFO] [stdout]      |
[INFO] [stdout] 1255 |     pub(crate) fn is_rule(&self) -> bool {
[INFO] [stdout]      |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_block` is never used
[INFO] [stdout]     --> src/rules/eval_context.rs:1259:19
[INFO] [stdout]      |
[INFO] [stdout] 1259 |     pub(crate) fn is_block(&self) -> bool {
[INFO] [stdout]      |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_disjunctions` is never used
[INFO] [stdout]     --> src/rules/eval_context.rs:1263:19
[INFO] [stdout]      |
[INFO] [stdout] 1263 |     pub(crate) fn is_disjunctions(&self) -> bool {
[INFO] [stdout]      |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_clause` is never used
[INFO] [stdout]     --> src/rules/eval_context.rs:1267:19
[INFO] [stdout]      |
[INFO] [stdout] 1267 |     pub(crate) fn is_clause(&self) -> bool {
[INFO] [stdout]      |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `rule` is never used
[INFO] [stdout]     --> src/rules/eval_context.rs:1271:19
[INFO] [stdout]      |
[INFO] [stdout] 1271 |     pub(crate) fn rule(&self) -> Option<&RuleReport> {
[INFO] [stdout]      |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `block` is never used
[INFO] [stdout]     --> src/rules/eval_context.rs:1275:19
[INFO] [stdout]      |
[INFO] [stdout] 1275 |     pub(crate) fn block(&self) -> Option<&GuardBlockReport> {
[INFO] [stdout]      |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `disjunctions` is never used
[INFO] [stdout]     --> src/rules/eval_context.rs:1279:19
[INFO] [stdout]      |
[INFO] [stdout] 1279 |     pub(crate) fn disjunctions(&self) -> Option<&DisjunctionsReport> {
[INFO] [stdout]      |                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clause` is never used
[INFO] [stdout]     --> src/rules/eval_context.rs:1283:19
[INFO] [stdout]      |
[INFO] [stdout] 1283 |     pub(crate) fn clause(&self) -> Option<&GuardClauseReport> {
[INFO] [stdout]      |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_float_operation` is never used
[INFO] [stdout]   --> src/rules/eval.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 | is_type_fn!(is_float_operation, PathAwareValue::Float(_));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `is_type_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_char_range_operation` is never used
[INFO] [stdout]   --> src/rules/eval.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 | is_type_fn!(is_char_range_operation, PathAwareValue::RangeChar(_));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `is_type_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_int_range_operation` is never used
[INFO] [stdout]   --> src/rules/eval.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 | is_type_fn!(is_int_range_operation, PathAwareValue::RangeInt(_));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `is_type_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_float_range_operation` is never used
[INFO] [stdout]   --> src/rules/eval.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 | is_type_fn!(is_float_range_operation, PathAwareValue::RangeFloat(_));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `is_type_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `not_cmp` is never used
[INFO] [stdout]    --> src/rules/eval.rs:502:4
[INFO] [stdout]     |
[INFO] [stdout] 502 | fn not_cmp<F>(cmp: F) -> impl Fn(&PathAwareValue, &PathAwareValue) -> Result<bool>
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Success`, `Fail`, `SuccessWith`, and `FailWith` are never constructed
[INFO] [stdout]   --> src/rules/eval/operators.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub(crate) enum UnaryResult<'r> {
[INFO] [stdout]    |                 ----------- variants in this enum
[INFO] [stdout] 7  |     Success,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 8  |     Fail,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 9  |     SuccessWith(&'r PathAwareValue),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 10 |     FailWith(&'r PathAwareValue),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UnaryResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnaryResult` is never constructed
[INFO] [stdout]   --> src/rules/eval/operators.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub(crate) enum ValueEvalResult<'value> {
[INFO] [stdout]    |                 --------------- variant in this enum
[INFO] [stdout] 74 |     LhsUnresolved(UnResolved<'value>),
[INFO] [stdout] 75 |     UnaryResult(UnaryResult<'value>),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ValueEvalResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolved` is never used
[INFO] [stdout]    --> src/rules/eval/operators.rs:115:15
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub(super) fn resolved<'value, E, R>(
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `success` is never used
[INFO] [stdout]   --> src/rules/eval/operators.rs:80:19
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub(crate) fn success<C>(self, c: C) -> ValueEvalResult<'value>
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `url_decode` is never used
[INFO] [stdout]  --> src/rules/functions/strings.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) fn url_decode(args: &[QueryResult<'_>]) -> crate::rules::Result<Vec<Option<PathAwareValue>>> {
[INFO] [stdout]   |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `json_parse` is never used
[INFO] [stdout]   --> src/rules/functions/strings.rs:35:15
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub(crate) fn json_parse(args: &[QueryResult<'_>]) -> crate::rules::Result<Vec<Option<PathAwareValue>>> {
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `regex_replace` is never used
[INFO] [stdout]   --> src/rules/functions/strings.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub(crate) fn regex_replace(args: &[QueryResult<'_>], extract_expr: &str, replace_expr: &str) -> crate::rules::Result<Vec<Option<PathAwar...
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `substring` is never used
[INFO] [stdout]   --> src/rules/functions/strings.rs:84:15
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub(crate) fn substring(args: &[QueryResult<'_>], from: usize, to: usize) -> crate::rules::Result<Vec<Option<PathAwareValue>>> {
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_upper` is never used
[INFO] [stdout]    --> src/rules/functions/strings.rs:116:15
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub(crate) fn to_upper(args: &[QueryResult<'_>]) -> crate::rules::Result<Vec<Option<PathAwareValue>>> {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_lower` is never used
[INFO] [stdout]    --> src/rules/functions/strings.rs:136:15
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub(crate) fn to_lower(args: &[QueryResult<'_>]) -> crate::rules::Result<Vec<Option<PathAwareValue>>> {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `join` is never used
[INFO] [stdout]    --> src/rules/functions/strings.rs:156:15
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub(crate) fn join(args: &[QueryResult<'_>], delimiter: &str) -> crate::rules::Result<PathAwareValue> {
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count` is never used
[INFO] [stdout]  --> src/rules/functions/collections.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) fn count(args: &[QueryResult<'_>]) -> u32 {
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `repr` is never read
[INFO] [stdout]   --> src/rules/libyaml/event.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub(crate) struct Scalar<'input> {
[INFO] [stdout]    |                   ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub repr: Option<&'input [u8]>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `anchor` is never read
[INFO] [stdout]   --> src/rules/libyaml/event.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub(crate) struct SequenceStart {
[INFO] [stdout]    |                   ------------- field in this struct
[INFO] [stdout] 84 |     pub anchor: Option<Anchor>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SequenceStart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `anchor` and `tag` are never read
[INFO] [stdout]   --> src/rules/libyaml/event.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub(crate) struct MappingStart {
[INFO] [stdout]    |                   ------------ fields in this struct
[INFO] [stdout] 90 |     pub anchor: Option<Anchor>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 91 |     pub tag: Option<Tag>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MappingStart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_files` is never used
[INFO] [stdout]   --> src/commands/files.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) fn get_files<F>(file: &str, sort: F) -> Result<Vec<PathBuf>, Error>
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_result_json` is never used
[INFO] [stdout]    --> src/commands/validate.rs:676:12
[INFO] [stdout]     |
[INFO] [stdout] 676 |     pub fn get_result_json(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `binary_err_msg` is never used
[INFO] [stdout]    --> src/commands/validate/cfn.rs:110:4
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn binary_err_msg(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/validate/cfn.rs:49:19
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub(crate) fn new() -> CfnAware<'reporter> {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/validate/cfn_reporter.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_event_records` is never used
[INFO] [stdout]    --> src/commands/validate/common.rs:298:15
[INFO] [stdout]     |
[INFO] [stdout] 298 | pub(crate) fn extract_event_records<'value>(root_record: EventRecord<'value>)
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `report_structured` is never used
[INFO] [stdout]    --> src/commands/validate/common.rs:573:15
[INFO] [stdout]     |
[INFO] [stdout] 573 | pub(super) fn report_structured<'value>(root: &EventRecord<'value>,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `parent` is never read
[INFO] [stdout]    --> src/commands/validate/common.rs:617:16
[INFO] [stdout]     |
[INFO] [stdout] 616 | pub(super) struct Node<'report, 'value: 'report> {
[INFO] [stdout]     |                   ---- field in this struct
[INFO] [stdout] 617 |     pub(super) parent: std::rc::Rc<String>,
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `BinaryComparisonErrorFn` is never used
[INFO] [stdout]    --> src/commands/validate/common.rs:718:17
[INFO] [stdout]     |
[INFO] [stdout] 718 | pub(super) type BinaryComparisonErrorFn =
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `UnaryComparisonErrorFn` is never used
[INFO] [stdout]    --> src/commands/validate/common.rs:725:17
[INFO] [stdout]     |
[INFO] [stdout] 725 | pub(super) type UnaryComparisonErrorFn = dyn Fn
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PropertyError` is never constructed
[INFO] [stdout]   --> src/commands/validate/tf.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | struct PropertyError<'report, 'value: 'report> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResourceView` is never constructed
[INFO] [stdout]   --> src/commands/validate/tf.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | struct ResourceView<'report, 'value: 'report> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/validate/tf.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub(crate) fn new() -> TfAware<'reporter> {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/rulegen.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/parse_tree.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_resource_types_in_ruleset` is never used
[INFO] [stdout]    --> src/commands/migrate.rs:133:16
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub (crate) fn get_resource_types_in_ruleset(rules: &Vec<RuleLineType>) -> Result<Vec<TypeName>> {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commands/migrate.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub(crate) fn new() -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `prev` is never used
[INFO] [stdout]   --> src/utils/mod.rs:32:19
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub(crate) fn prev(&mut self) -> Option<(usize, &'buffer str)> {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IsFloat` should have a snake case name
[INFO] [stdout]     --> src/rules/eval_context.rs:1473:29
[INFO] [stdout]      |
[INFO] [stdout] 1473 | ...                   IsFloat => if *not { "was float" } else { "was not float" },
[INFO] [stdout]      |                       ^^^^^^^ help: convert the identifier to snake case: `is_float`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IsFloat` should have a snake case name
[INFO] [stdout]    --> src/commands/validate/common.rs:540:38
[INFO] [stdout]     |
[INFO] [stdout] 540 | ...                   IsFloat => if !not { "was not a float" } else { "was float" },
[INFO] [stdout]     |                       ^^^^^^^ help: convert the identifier to snake case: `is_float`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `query:` in this pattern is redundant
[INFO] [stdout]   --> src/commands/aws_meta_appender.rs:42:59
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   let AccessQuery { query: query, match_all: all } =
[INFO] [stdout]    |                                         ^^^^^^^^^^^^ help: use shorthand field pattern: `query`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_shorthand_field_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 122 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `crate::rules::common::walk_type`
[INFO] [stdout]   --> src/rules/exprs.rs:35:32
[INFO] [stdout]    |
[INFO] [stdout] 35 | /// match specific selections [crate::rules::common::walk_type]
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `common` in module `rules`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: Rust code block is empty
[INFO] [stdout]    --> src/commands/validate/cfn.rs:434:5
[INFO] [stdout]     |
[INFO] [stdout] 434 | /// ```
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default
[INFO] [stdout] help: mark blocks that do not contain Rust code as text
[INFO] [stdout]     |
[INFO] [stdout] 434 | /// ```text
[INFO] [stdout]     |        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 18.90s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "9f71bcf3b7a8cc24385e95492b6fc3458bea55a9c830a68150000aa25f3e1695", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f71bcf3b7a8cc24385e95492b6fc3458bea55a9c830a68150000aa25f3e1695", kill_on_drop: false }`
[INFO] [stdout] 9f71bcf3b7a8cc24385e95492b6fc3458bea55a9c830a68150000aa25f3e1695
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3425820e8725af757cbc8f4074e0f9d2d95876468e5ceb7050802fe9b2b38431
[INFO] running `Command { std: "docker" "start" "-a" "3425820e8725af757cbc8f4074e0f9d2d95876468e5ceb7050802fe9b2b38431", kill_on_drop: false }`
[INFO] [stderr]  Documenting cfn-guard v2.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.29s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "3425820e8725af757cbc8f4074e0f9d2d95876468e5ceb7050802fe9b2b38431", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3425820e8725af757cbc8f4074e0f9d2d95876468e5ceb7050802fe9b2b38431", kill_on_drop: false }`
[INFO] [stdout] 3425820e8725af757cbc8f4074e0f9d2d95876468e5ceb7050802fe9b2b38431
