[INFO] fetching crate cfn-guard 3.0.2... [INFO] checking cfn-guard-3.0.2 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate cfn-guard 3.0.2 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate cfn-guard 3.0.2 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cfn-guard 3.0.2 [INFO] finished tweaking crates.io crate cfn-guard 3.0.2 [INFO] tweaked toml for crates.io crate cfn-guard 3.0.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate cfn-guard 3.0.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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoding v2.1.2 [INFO] [stderr] Downloaded walkdir v2.3.2 [INFO] [stderr] Downloaded utf8parse v0.2.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.38 [INFO] [stderr] Downloaded thiserror v1.0.38 [INFO] [stderr] Downloaded grep-matcher v0.1.6 [INFO] [stderr] Downloaded string-builder v0.2.0 [INFO] [stderr] Downloaded windows-targets v0.42.1 [INFO] [stderr] Downloaded futures-core v0.3.26 [INFO] [stderr] Downloaded colored v2.0.0 [INFO] [stderr] Downloaded is-terminal v0.4.4 [INFO] [stderr] Downloaded futures-sink v0.3.26 [INFO] [stderr] Downloaded log v0.4.17 [INFO] [stderr] Downloaded Inflector v0.11.4 [INFO] [stderr] Downloaded errno v0.2.8 [INFO] [stderr] Downloaded os_str_bytes v6.4.1 [INFO] [stderr] Downloaded clap v4.1.6 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.1 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.1 [INFO] [stderr] Downloaded linux-raw-sys v0.1.4 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.1 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.1 [INFO] [stderr] Downloaded encoding_rs v0.8.32 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.1 [INFO] [stderr] Downloaded libc v0.2.139 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.1 [INFO] [stderr] Downloaded regex-syntax v0.6.28 [INFO] [stderr] Downloaded bstr v1.2.0 [INFO] [stderr] Downloaded regex v1.7.1 [INFO] [stderr] Downloaded rustix v0.36.8 [INFO] [stderr] Downloaded clap_complete v4.1.2 [INFO] [stderr] Downloaded enumflags2 v0.7.7 [INFO] [stderr] Downloaded fancy-regex v0.11.0 [INFO] [stderr] Downloaded aho-corasick v0.7.20 [INFO] [stderr] Downloaded syn v1.0.107 [INFO] [stderr] Downloaded io-lifetimes v1.0.5 [INFO] [stderr] Downloaded thread_local v1.1.4 [INFO] [stderr] Downloaded once_cell v1.17.0 [INFO] [stderr] Downloaded memmap2 v0.5.8 [INFO] [stderr] Downloaded grep-searcher v0.1.11 [INFO] [stderr] Downloaded itertools v0.4.19 [INFO] [stderr] Downloaded bytecount v0.6.3 [INFO] [stderr] Downloaded nom v5.1.2 [INFO] [stderr] Downloaded futures-util v0.3.26 [INFO] [stderr] Downloaded futures v0.3.26 [INFO] [stderr] Downloaded rstest_macros v0.14.0 [INFO] [stderr] Downloaded serde_json v1.0.93 [INFO] [stderr] Downloaded indexmap v1.9.2 [INFO] [stderr] Downloaded ryu v1.0.12 [INFO] [stderr] Downloaded serde_derive v1.0.152 [INFO] [stderr] Downloaded serde v1.0.152 [INFO] [stderr] Downloaded serde_yaml v0.9.17 [INFO] [stderr] Downloaded clap_lex v0.3.2 [INFO] [stderr] Downloaded enumflags2_derive v0.7.7 [INFO] [stderr] Downloaded grep-regex v0.1.11 [INFO] [stderr] Downloaded encoding_rs_io v0.1.7 [INFO] [stderr] Downloaded futures-channel v0.3.26 [INFO] [stderr] Downloaded futures-macro v0.3.26 [INFO] [stderr] Downloaded nom_locate v2.1.0 [INFO] [stderr] Downloaded futures-executor v0.3.26 [INFO] [stderr] Downloaded futures-io v0.3.26 [INFO] [stderr] Downloaded semver v1.0.16 [INFO] [stderr] Downloaded itoa v1.0.5 [INFO] [stderr] Downloaded futures-task v0.3.26 [INFO] [stderr] Downloaded futures-timer v3.0.2 [INFO] [stderr] Downloaded rstest v0.15.0 [INFO] [stderr] Downloaded slab v0.4.7 [INFO] [stderr] Downloaded unicode-ident v1.0.6 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7603137a434113673f273f3c4f2fc3d817023e5bf08b416ca9ee4a836853625d [INFO] running `Command { std: "docker" "start" "-a" "7603137a434113673f273f3c4f2fc3d817023e5bf08b416ca9ee4a836853625d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7603137a434113673f273f3c4f2fc3d817023e5bf08b416ca9ee4a836853625d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7603137a434113673f273f3c4f2fc3d817023e5bf08b416ca9ee4a836853625d", kill_on_drop: false }` [INFO] [stdout] 7603137a434113673f273f3c4f2fc3d817023e5bf08b416ca9ee4a836853625d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bff21f084a5d7e44946606c5a803aed5f0618c2f613fca5298ea1b9628a305fb [INFO] running `Command { std: "docker" "start" "-a" "bff21f084a5d7e44946606c5a803aed5f0618c2f613fca5298ea1b9628a305fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling io-lifetimes v1.0.5 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling rustix v0.36.8 [INFO] [stderr] Checking futures-sink v0.3.26 [INFO] [stderr] Checking ryu v1.0.12 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Checking once_cell v1.17.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking futures-io v0.3.26 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling rstest_macros v0.14.0 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking clap_lex v0.3.2 [INFO] [stderr] Checking bstr v1.2.0 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking grep-matcher v0.1.6 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking bytecount v0.6.3 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.5.8 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking is-terminal v0.4.4 [INFO] [stderr] Checking clap v4.1.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.5 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking grep-searcher v0.1.11 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Checking grep-regex v0.1.11 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking urlencoding v2.1.2 [INFO] [stderr] Checking string-builder v0.2.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking nom_locate v2.1.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.7 [INFO] [stderr] Checking clap_complete v4.1.2 [INFO] [stderr] Checking enumflags2 v0.7.7 [INFO] [stderr] Compiling futures-macro v0.3.26 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Checking futures-executor v0.3.26 [INFO] [stderr] Checking futures v0.3.26 [INFO] [stderr] Checking rstest v0.15.0 [INFO] [stderr] Checking serde_yaml v0.9.17 [INFO] [stderr] Checking cfn-guard v3.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `find_all_failing_clauses` is imported redundantly [INFO] [stdout] --> src/commands/validate/generic_summary.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::commands::validate::common::find_all_failing_clauses; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::common::*; [INFO] [stdout] | ---------------- the item `find_all_failing_clauses` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/rules/eval.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `find_all_failing_clauses` is imported redundantly [INFO] [stdout] --> src/commands/validate/generic_summary.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::commands::validate::common::find_all_failing_clauses; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::common::*; [INFO] [stdout] | ---------------- the item `find_all_failing_clauses` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/rules/eval.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/rules/eval_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/rules/evaluate_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `TryFrom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WithinRange` is imported redundantly [INFO] [stdout] --> src/rules/parser_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::rules::values::WithinRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `WithinRange` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LetValue` is imported redundantly [INFO] [stdout] --> src/rules/path_value_tests.rs:2:87 [INFO] [stdout] | [INFO] [stdout] 2 | AccessClause, AccessQuery, FileLocation, GuardAccessClause, GuardClause, LetExpr, LetValue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `LetValue` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/rules/values_tests.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `TryFrom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/rules/values_tests.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::rules::{Error, Evaluate, EvaluationContext, EvaluationType, Result, Status}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report` is never used [INFO] [stdout] --> src/commands/validate.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) trait Reporter: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 87 | fn report( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_name_info` is never used [INFO] [stdout] --> src/commands/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/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: struct `DataOutputNewForm` is never constructed [INFO] [stdout] --> src/commands/validate/common.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | struct DataOutputNewForm<'a, 'v> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_partition` is never used [INFO] [stdout] --> src/commands/validate/summary_table.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn print_partition( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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 `StatusContext` is never constructed [INFO] [stdout] --> src/commands/tracker.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct StatusContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/commands/tracker.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl StatusContext { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 19 | fn new(eval_type: EvaluationType, context: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StackTracker` is never constructed [INFO] [stdout] --> src/commands/tracker.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct StackTracker<'r> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvaluationType` is never used [INFO] [stdout] --> src/rules/mod.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) enum EvaluationType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_variable_capture_index` is never used [INFO] [stdout] --> src/rules/mod.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 362 | pub(crate) trait EvalContext<'value, 'loc: 'value>: RecordTracer<'value> { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 377 | fn add_variable_capture_index(&mut self, _: &str, _: Rc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `resolve_variable`, `rule_status`, `end_evaluation`, and `start_evaluation` are never used [INFO] [stdout] --> src/rules/mod.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 382 | pub(crate) trait EvaluationContext { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] 383 | fn resolve_variable(&self, variable: &str) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 384 | [INFO] [stdout] 385 | fn rule_status(&self, rule_name: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn end_evaluation( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | fn start_evaluation(&self, eval_type: EvaluationType, context: &str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Evaluate` is never used [INFO] [stdout] --> src/rules/mod.rs:402:18 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) trait Evaluate { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UnaryComparator` is never used [INFO] [stdout] --> src/rules/eval/operators.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) trait UnaryComparator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_variable_query` is never used [INFO] [stdout] --> src/rules/evaluate.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub(super) fn resolve_variable_query<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_query` is never used [INFO] [stdout] --> src/rules/evaluate.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub(super) fn resolve_query<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert_status` is never used [INFO] [stdout] --> src/rules/evaluate.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn invert_status(status: Status, not: bool) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negation_status` is never used [INFO] [stdout] --> src/rules/evaluate.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn negation_status(r: bool, clause_not: bool, not: bool) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_loop_all` is never used [INFO] [stdout] --> src/rules/evaluate.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn compare_loop_all( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_loop` is never used [INFO] [stdout] --> src/rules/evaluate.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn compare_loop( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elevate_inner` is never used [INFO] [stdout] --> src/rules/evaluate.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn elevate_inner<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_mixed_values_results` is never used [INFO] [stdout] --> src/rules/evaluate.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn is_mixed_values_results(incoming: &[&PathAwareValue]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_mixed_results` is never used [INFO] [stdout] --> src/rules/evaluate.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn merge_mixed_results<'a>(incoming: &'a [&PathAwareValue]) -> Vec<&'a PathAwareValue> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare` is never used [INFO] [stdout] --> src/rules/evaluate.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn compare( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert_closure` is never used [INFO] [stdout] --> src/rules/evaluate.rs:293:15 [INFO] [stdout] | [INFO] [stdout] 293 | pub(super) fn invert_closure( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_variables` is never used [INFO] [stdout] --> src/rules/evaluate.rs:1046:4 [INFO] [stdout] | [INFO] [stdout] 1046 | fn extract_variables<'s, 'loc>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rules/evaluate.rs:1180:19 [INFO] [stdout] | [INFO] [stdout] 1179 | impl<'s, T> BlockScope<'s, T> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 1180 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AutoReport` is never constructed [INFO] [stdout] --> src/rules/evaluate.rs:1249:19 [INFO] [stdout] | [INFO] [stdout] 1249 | pub(super) struct AutoReport<'s> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rules/evaluate.rs:1271:19 [INFO] [stdout] | [INFO] [stdout] 1270 | impl<'s> AutoReport<'s> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 1271 | pub(super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1289 | pub(super) fn status(&mut self, status: Status) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1294 | pub(super) fn from(&mut self, from: Option) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1299 | pub(super) fn to(&mut self, to: Option) -> &mut Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 1304 | pub(super) fn cmp(&mut self, cmp: (CmpOperator, bool)) -> &mut Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1309 | pub(super) fn message(&mut self, msg: String) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1314 | pub(super) fn get_status(&self) -> Status { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rules/libyaml/event.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | Alias(Anchor), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Alias(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rules/libyaml/event.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | MappingStart(MappingStart), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | MappingStart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rules/parser.rs:1931:43 [INFO] [stdout] | [INFO] [stdout] 1931 | pub(crate) struct ConjunctionsWrapper<'a>(pub(crate) Conjunctions>); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1931 | pub(crate) struct ConjunctionsWrapper<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `QueryResolver` is never used [INFO] [stdout] --> src/rules/path_value.rs:590:18 [INFO] [stdout] | [INFO] [stdout] 590 | pub(crate) trait QueryResolver { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `map_error_or_empty`, `map_some_or_error_all`, `retrieve_index`, and `accumulate` are never used [INFO] [stdout] --> src/rules/path_value.rs:933:8 [INFO] [stdout] | [INFO] [stdout] 888 | impl PathAwareValue { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 933 | fn map_error_or_empty(&self, all: bool, e: Error) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 945 | fn map_some_or_error_all( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1002 | pub(crate) fn retrieve_index<'v>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1020 | pub(crate) fn accumulate<'v>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `find_all_failing_clauses` is imported redundantly [INFO] [stdout] --> src/commands/validate/generic_summary.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::commands::validate::common::find_all_failing_clauses; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::common::*; [INFO] [stdout] | ---------------- the item `find_all_failing_clauses` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/rules/eval.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `find_all_failing_clauses` is imported redundantly [INFO] [stdout] --> src/commands/validate/generic_summary.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::commands::validate::common::find_all_failing_clauses; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | use super::common::*; [INFO] [stdout] | ---------------- the item `find_all_failing_clauses` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/rules/eval.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/rules/eval_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/rules/evaluate_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `TryFrom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WithinRange` is imported redundantly [INFO] [stdout] --> src/rules/parser_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::rules::values::WithinRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use super::*; [INFO] [stdout] | -------- the item `WithinRange` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LetValue` is imported redundantly [INFO] [stdout] --> src/rules/path_value_tests.rs:2:87 [INFO] [stdout] | [INFO] [stdout] 2 | AccessClause, AccessQuery, FileLocation, GuardAccessClause, GuardClause, LetExpr, LetValue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | -------- the item `LetValue` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/rules/values_tests.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `TryFrom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/rules/values_tests.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::rules::{Error, Evaluate, EvaluationContext, EvaluationType, Result, Status}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report` is never used [INFO] [stdout] --> src/commands/validate.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) trait Reporter: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 87 | fn report( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_name_info` is never used [INFO] [stdout] --> src/commands/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/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: struct `DataOutputNewForm` is never constructed [INFO] [stdout] --> src/commands/validate/common.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | struct DataOutputNewForm<'a, 'v> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_partition` is never used [INFO] [stdout] --> src/commands/validate/summary_table.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn print_partition( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_variable_capture_index` is never used [INFO] [stdout] --> src/rules/mod.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 362 | pub(crate) trait EvalContext<'value, 'loc: 'value>: RecordTracer<'value> { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 377 | fn add_variable_capture_index(&mut self, _: &str, _: Rc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UnaryComparator` is never used [INFO] [stdout] --> src/rules/eval/operators.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) trait UnaryComparator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rules/libyaml/event.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | Alias(Anchor), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Alias(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rules/libyaml/event.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | MappingStart(MappingStart), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | MappingStart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rules/parser.rs:1931:43 [INFO] [stdout] | [INFO] [stdout] 1931 | pub(crate) struct ConjunctionsWrapper<'a>(pub(crate) Conjunctions>); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1931 | pub(crate) struct ConjunctionsWrapper<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report` is never used [INFO] [stdout] --> src/commands/validate.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) trait Reporter: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 87 | fn report( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_name_info` is never used [INFO] [stdout] --> src/commands/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/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: struct `DataOutputNewForm` is never constructed [INFO] [stdout] --> src/commands/validate/common.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | struct DataOutputNewForm<'a, 'v> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_partition` is never used [INFO] [stdout] --> src/commands/validate/summary_table.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn print_partition( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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 `StatusContext` is never constructed [INFO] [stdout] --> src/commands/tracker.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct StatusContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/commands/tracker.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl StatusContext { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 19 | fn new(eval_type: EvaluationType, context: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StackTracker` is never constructed [INFO] [stdout] --> src/commands/tracker.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct StackTracker<'r> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvaluationType` is never used [INFO] [stdout] --> src/rules/mod.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) enum EvaluationType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_variable_capture_index` is never used [INFO] [stdout] --> src/rules/mod.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 362 | pub(crate) trait EvalContext<'value, 'loc: 'value>: RecordTracer<'value> { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 377 | fn add_variable_capture_index(&mut self, _: &str, _: Rc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `resolve_variable`, `rule_status`, `end_evaluation`, and `start_evaluation` are never used [INFO] [stdout] --> src/rules/mod.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 382 | pub(crate) trait EvaluationContext { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] 383 | fn resolve_variable(&self, variable: &str) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 384 | [INFO] [stdout] 385 | fn rule_status(&self, rule_name: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn end_evaluation( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | fn start_evaluation(&self, eval_type: EvaluationType, context: &str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Evaluate` is never used [INFO] [stdout] --> src/rules/mod.rs:402:18 [INFO] [stdout] | [INFO] [stdout] 402 | pub(crate) trait Evaluate { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UnaryComparator` is never used [INFO] [stdout] --> src/rules/eval/operators.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) trait UnaryComparator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_variable_query` is never used [INFO] [stdout] --> src/rules/evaluate.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub(super) fn resolve_variable_query<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_query` is never used [INFO] [stdout] --> src/rules/evaluate.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub(super) fn resolve_query<'s>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert_status` is never used [INFO] [stdout] --> src/rules/evaluate.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn invert_status(status: Status, not: bool) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negation_status` is never used [INFO] [stdout] --> src/rules/evaluate.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn negation_status(r: bool, clause_not: bool, not: bool) -> Status { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_loop_all` is never used [INFO] [stdout] --> src/rules/evaluate.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn compare_loop_all( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_loop` is never used [INFO] [stdout] --> src/rules/evaluate.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn compare_loop( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elevate_inner` is never used [INFO] [stdout] --> src/rules/evaluate.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn elevate_inner<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_mixed_values_results` is never used [INFO] [stdout] --> src/rules/evaluate.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn is_mixed_values_results(incoming: &[&PathAwareValue]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_mixed_results` is never used [INFO] [stdout] --> src/rules/evaluate.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn merge_mixed_results<'a>(incoming: &'a [&PathAwareValue]) -> Vec<&'a PathAwareValue> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare` is never used [INFO] [stdout] --> src/rules/evaluate.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn compare( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert_closure` is never used [INFO] [stdout] --> src/rules/evaluate.rs:293:15 [INFO] [stdout] | [INFO] [stdout] 293 | pub(super) fn invert_closure( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_variables` is never used [INFO] [stdout] --> src/rules/evaluate.rs:1046:4 [INFO] [stdout] | [INFO] [stdout] 1046 | fn extract_variables<'s, 'loc>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rules/evaluate.rs:1180:19 [INFO] [stdout] | [INFO] [stdout] 1179 | impl<'s, T> BlockScope<'s, T> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 1180 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AutoReport` is never constructed [INFO] [stdout] --> src/rules/evaluate.rs:1249:19 [INFO] [stdout] | [INFO] [stdout] 1249 | pub(super) struct AutoReport<'s> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/rules/evaluate.rs:1271:19 [INFO] [stdout] | [INFO] [stdout] 1270 | impl<'s> AutoReport<'s> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 1271 | pub(super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1289 | pub(super) fn status(&mut self, status: Status) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1294 | pub(super) fn from(&mut self, from: Option) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1299 | pub(super) fn to(&mut self, to: Option) -> &mut Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 1304 | pub(super) fn cmp(&mut self, cmp: (CmpOperator, bool)) -> &mut Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1309 | pub(super) fn message(&mut self, msg: String) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1314 | pub(super) fn get_status(&self) -> Status { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rules/libyaml/event.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | Alias(Anchor), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Alias(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rules/libyaml/event.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | MappingStart(MappingStart), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | MappingStart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rules/parser.rs:1931:43 [INFO] [stdout] | [INFO] [stdout] 1931 | pub(crate) struct ConjunctionsWrapper<'a>(pub(crate) Conjunctions>); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1931 | pub(crate) struct ConjunctionsWrapper<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `QueryResolver` is never used [INFO] [stdout] --> src/rules/path_value.rs:590:18 [INFO] [stdout] | [INFO] [stdout] 590 | pub(crate) trait QueryResolver { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `map_error_or_empty`, `map_some_or_error_all`, `retrieve_index`, and `accumulate` are never used [INFO] [stdout] --> src/rules/path_value.rs:933:8 [INFO] [stdout] | [INFO] [stdout] 888 | impl PathAwareValue { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 933 | fn map_error_or_empty(&self, all: bool, e: Error) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 945 | fn map_some_or_error_all( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1002 | pub(crate) fn retrieve_index<'v>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1020 | pub(crate) fn accumulate<'v>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report` is never used [INFO] [stdout] --> src/commands/validate.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) trait Reporter: Debug { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 87 | fn report( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_name_info` is never used [INFO] [stdout] --> src/commands/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/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: struct `DataOutputNewForm` is never constructed [INFO] [stdout] --> src/commands/validate/common.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | struct DataOutputNewForm<'a, 'v> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_partition` is never used [INFO] [stdout] --> src/commands/validate/summary_table.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn print_partition( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_variable_capture_index` is never used [INFO] [stdout] --> src/rules/mod.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 362 | pub(crate) trait EvalContext<'value, 'loc: 'value>: RecordTracer<'value> { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 377 | fn add_variable_capture_index(&mut self, _: &str, _: Rc) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UnaryComparator` is never used [INFO] [stdout] --> src/rules/eval/operators.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) trait UnaryComparator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rules/libyaml/event.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | Alias(Anchor), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Alias(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rules/libyaml/event.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | MappingStart(MappingStart), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | MappingStart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rules/parser.rs:1931:43 [INFO] [stdout] | [INFO] [stdout] 1931 | pub(crate) struct ConjunctionsWrapper<'a>(pub(crate) Conjunctions>); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1931 | pub(crate) struct ConjunctionsWrapper<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [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 1` [INFO] running `Command { std: "docker" "inspect" "bff21f084a5d7e44946606c5a803aed5f0618c2f613fca5298ea1b9628a305fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bff21f084a5d7e44946606c5a803aed5f0618c2f613fca5298ea1b9628a305fb", kill_on_drop: false }` [INFO] [stdout] bff21f084a5d7e44946606c5a803aed5f0618c2f613fca5298ea1b9628a305fb