[INFO] fetching crate cfn-guard 2.0.2... [INFO] checking cfn-guard-2.0.2 against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] extracting crate cfn-guard 2.0.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate cfn-guard 2.0.2 on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cfn-guard 2.0.2 [INFO] finished tweaking crates.io crate cfn-guard 2.0.2 [INFO] tweaked toml for crates.io crate cfn-guard 2.0.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate cfn-guard 2.0.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b36403a245dd7a2c419ce8506556aa40819bad43ee23599200f2a8db38744a34 [INFO] running `Command { std: "docker" "start" "-a" "b36403a245dd7a2c419ce8506556aa40819bad43ee23599200f2a8db38744a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b36403a245dd7a2c419ce8506556aa40819bad43ee23599200f2a8db38744a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b36403a245dd7a2c419ce8506556aa40819bad43ee23599200f2a8db38744a34", kill_on_drop: false }` [INFO] [stdout] b36403a245dd7a2c419ce8506556aa40819bad43ee23599200f2a8db38744a34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8a6fccce9fc563f62ef34ebb2df0a4abd6a9ff71f76a2e7787d8e5368961e43 [INFO] running `Command { std: "docker" "start" "-a" "f8a6fccce9fc563f62ef34ebb2df0a4abd6a9ff71f76a2e7787d8e5368961e43", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking string-builder v0.2.0 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking nom_locate v2.1.0 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking cfn-guard v2.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/rules/evaluate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WhenConditions` [INFO] [stdout] --> src/rules/evaluate.rs:9:114 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rules::exprs::{GuardClause, GuardNamedRuleClause, QueryPart, RuleClause, TypeBlock, BlockGuardClause, WhenConditions, WhenGuar... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/rules/evaluate.rs:657:12 [INFO] [stdout] | [INFO] [stdout] 657 | Ok('outer: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALPHABETICAL`, `LAST_MODIFIED` [INFO] [stdout] --> src/commands/validate.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::commands::{ALPHABETICAL, LAST_MODIFIED}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regular_ordering` [INFO] [stdout] --> src/commands/validate.rs:8:69 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::commands::files::{alpabetical, get_files, last_modified, regular_ordering, iterate_over}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/commands/validate.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{BufReader, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/commands/validate.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryPart` [INFO] [stdout] --> src/commands/aws_meta_appender.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::rules::exprs::{QueryPart, AccessQuery}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/migrate/parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WhenConditions` [INFO] [stdout] --> src/rules/evaluate.rs:9:114 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rules::exprs::{GuardClause, GuardNamedRuleClause, QueryPart, RuleClause, TypeBlock, BlockGuardClause, WhenConditions, WhenGuar... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/rules/evaluate.rs:657:12 [INFO] [stdout] | [INFO] [stdout] 657 | Ok('outer: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/rules/values_tests.rs:124:6 [INFO] [stdout] | [INFO] [stdout] 124 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/rules/values_tests.rs:217:27 [INFO] [stdout] | [INFO] [stdout] 217 | struct DummyResolver{}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALPHABETICAL`, `LAST_MODIFIED` [INFO] [stdout] --> src/commands/validate.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::commands::{ALPHABETICAL, LAST_MODIFIED}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regular_ordering` [INFO] [stdout] --> src/commands/validate.rs:8:69 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::commands::files::{alpabetical, get_files, last_modified, regular_ordering, iterate_over}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/commands/validate.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{BufReader, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/commands/validate.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryPart` [INFO] [stdout] --> src/commands/aws_meta_appender.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::rules::exprs::{QueryPart, AccessQuery}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::common_test_helpers::DummyEval` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::super::common_test_helpers::DummyEval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | struct Capture {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/migrate/parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rules::values::Value::Bool` [INFO] [stdout] --> src/migrate/parser_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::rules::values::Value::Bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clause` [INFO] [stdout] --> src/rules/parser_tests.rs:4121:17 [INFO] [stdout] | [INFO] [stdout] 4121 | let (_span, clause) = rule_block_clause(from_str2(when_inside_when))?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clause` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn resolve_variable(&self, variable: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule_name` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | fn rule_status(&self, rule_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval_type` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | ... fn end_evaluation(&self, eval_type: EvaluationType, context: &str, msg: String, from: Option, to: Option src/commands/aws_meta_appender_tests.rs:50:61 [INFO] [stdout] | [INFO] [stdout] 50 | ... eval_type: EvaluationType, context: &str, msg: String, from: Option, to: Option, status: Option src/commands/aws_meta_appender_tests.rs:50:89 [INFO] [stdout] | [INFO] [stdout] 50 | ...e, context: &str, msg: String, from: Option, to: Option, status: Option) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:50:119 [INFO] [stdout] | [INFO] [stdout] 50 | ...g, from: Option, to: Option, status: Option) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:50:147 [INFO] [stdout] | [INFO] [stdout] 50 | ... to: Option, status: Option) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval_type` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | fn start_evaluation(&self, eval_type: EvaluationType, context: &str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eval_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:57:63 [INFO] [stdout] | [INFO] [stdout] 57 | fn start_evaluation(&self, eval_type: EvaluationType, context: &str) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_type` [INFO] [stdout] --> src/rules/evaluate.rs:1006:5 [INFO] [stdout] | [INFO] [stdout] 1006 | block_type: &'s Block<'s, T>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to` [INFO] [stdout] --> src/rules/evaluate.rs:1125:19 [INFO] [stdout] | [INFO] [stdout] 1125 | pub(super) fn to(&mut self, to: Option) -> &mut Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `context` [INFO] [stdout] --> src/rules/parser.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn context(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `span` [INFO] [stdout] --> src/rules/parser.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn span(&self) -> &Span<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kind` [INFO] [stdout] --> src/rules/parser.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn kind(&self) -> nom::error::ErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_linked_hashmap` [INFO] [stdout] --> src/rules/values.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 294 | pub(super) fn make_linked_hashmap<'a, I>(values: I) -> IndexMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drop_last` [INFO] [stdout] --> src/rules/path_value.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn drop_last(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extend_with_value` [INFO] [stdout] --> src/rules/path_value.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn extend_with_value(&self, part: &Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_scalar` [INFO] [stdout] --> src/rules/path_value.rs:606:19 [INFO] [stdout] | [INFO] [stdout] 606 | pub(crate) fn is_scalar(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/commands/validate.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_and_return_json` [INFO] [stdout] --> src/commands/validate.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn validate_and_return_json( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/commands/rulegen.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/commands/test.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/commands/parse_tree.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/commands/migrate.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_resource_types_in_ruleset` [INFO] [stdout] --> src/commands/migrate.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | pub (crate) fn get_resource_types_in_ruleset(rules: &Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RULES` [INFO] [stdout] --> src/commands/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) const RULES: (&str, &str) = ("rules", "r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DATA` [INFO] [stdout] --> src/commands/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) const DATA: (&str, &str) = ("data", "d"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | data: &str, [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | rules: &str, [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> crate::rules::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rules/evaluate.rs:923:9 [INFO] [stdout] | [INFO] [stdout] 923 | / extract_variables(&rules.assignments, [INFO] [stdout] 924 | | &mut literals, [INFO] [stdout] 925 | | &mut pending); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rules/evaluate.rs:1018:9 [INFO] [stdout] | [INFO] [stdout] 1018 | / extract_variables(&block_type.assignments, [INFO] [stdout] 1019 | | &mut literals, [INFO] [stdout] 1020 | | &mut pending); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rules/values.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | write!(f, "{},{}", range.lower, range.upper); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/validate.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | reader.read_to_string(&mut context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/rulegen.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | write!(writer,"{}", generated_rules); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | writeln!(&mut migrated, "{}", assignment); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | writeln!(&mut migrated, "let {} = Resources.*[ Type == \"{}\" ]", each_type, each_type.type_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | writeln!(&mut migrated, "rule {name}_checks WHEN %{name} NOT EMPTY {{", name=each_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | writeln!(&mut migrated, " %{} {{", each_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | writeln!(&mut migrated, " {}", *each_clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | writeln!(&mut migrated, " }}\n}}\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `query:` in this pattern is redundant [INFO] [stdout] --> src/commands/aws_meta_appender.rs:32:59 [INFO] [stdout] | [INFO] [stdout] 32 | ... 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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/migrate/parser.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | writeln!(f, "when {} {{", self.when_condition); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/migrate/parser.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | writeln!(f, " {}", self.check_condition); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WhenConditions` [INFO] [stdout] --> src/rules/evaluate.rs:9:114 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rules::exprs::{GuardClause, GuardNamedRuleClause, QueryPart, RuleClause, TypeBlock, BlockGuardClause, WhenConditions, WhenGuar... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/rules/evaluate.rs:657:12 [INFO] [stdout] | [INFO] [stdout] 657 | Ok('outer: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/rules/values_tests.rs:124:6 [INFO] [stdout] | [INFO] [stdout] 124 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/rules/values_tests.rs:217:27 [INFO] [stdout] | [INFO] [stdout] 217 | struct DummyResolver{}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALPHABETICAL`, `LAST_MODIFIED` [INFO] [stdout] --> src/commands/validate.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::commands::{ALPHABETICAL, LAST_MODIFIED}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regular_ordering` [INFO] [stdout] --> src/commands/validate.rs:8:69 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::commands::files::{alpabetical, get_files, last_modified, regular_ordering, iterate_over}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/commands/validate.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{BufReader, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/commands/validate.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryPart` [INFO] [stdout] --> src/commands/aws_meta_appender.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::rules::exprs::{QueryPart, AccessQuery}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::common_test_helpers::DummyEval` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::super::common_test_helpers::DummyEval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | struct Capture {}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/migrate/parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rules::values::Value::Bool` [INFO] [stdout] --> src/migrate/parser_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::rules::values::Value::Bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/rules/evaluate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WhenConditions` [INFO] [stdout] --> src/rules/evaluate.rs:9:114 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rules::exprs::{GuardClause, GuardNamedRuleClause, QueryPart, RuleClause, TypeBlock, BlockGuardClause, WhenConditions, WhenGuar... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/rules/evaluate.rs:657:12 [INFO] [stdout] | [INFO] [stdout] 657 | Ok('outer: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ALPHABETICAL`, `LAST_MODIFIED` [INFO] [stdout] --> src/commands/validate.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::commands::{ALPHABETICAL, LAST_MODIFIED}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regular_ordering` [INFO] [stdout] --> src/commands/validate.rs:8:69 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::commands::files::{alpabetical, get_files, last_modified, regular_ordering, iterate_over}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/commands/validate.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{BufReader, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/commands/validate.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryPart` [INFO] [stdout] --> src/commands/aws_meta_appender.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::rules::exprs::{QueryPart, AccessQuery}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/migrate/parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_type` [INFO] [stdout] --> src/rules/evaluate.rs:1006:5 [INFO] [stdout] | [INFO] [stdout] 1006 | block_type: &'s Block<'s, T>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to` [INFO] [stdout] --> src/rules/evaluate.rs:1125:19 [INFO] [stdout] | [INFO] [stdout] 1125 | pub(super) fn to(&mut self, to: Option) -> &mut Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `context` [INFO] [stdout] --> src/rules/parser.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn context(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `span` [INFO] [stdout] --> src/rules/parser.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn span(&self) -> &Span<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kind` [INFO] [stdout] --> src/rules/parser.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn kind(&self) -> nom::error::ErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drop_last` [INFO] [stdout] --> src/rules/path_value.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn drop_last(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extend_with_value` [INFO] [stdout] --> src/rules/path_value.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn extend_with_value(&self, part: &Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_scalar` [INFO] [stdout] --> src/rules/path_value.rs:606:19 [INFO] [stdout] | [INFO] [stdout] 606 | pub(crate) fn is_scalar(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SAMPLE_MULTIPLE` [INFO] [stdout] --> src/rules/path_value_tests.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / const SAMPLE_MULTIPLE : &str = r#"{ [INFO] [stdout] 21 | | "Resources": { [INFO] [stdout] 22 | | "vpc": { [INFO] [stdout] 23 | | "Type": "AWS::EC2::VPC", [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | "#; [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/commands/validate.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_and_return_json` [INFO] [stdout] --> src/commands/validate.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn validate_and_return_json( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/commands/rulegen.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/commands/test.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/commands/parse_tree.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/commands/migrate.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RULES` [INFO] [stdout] --> src/commands/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) const RULES: (&str, &str) = ("rules", "r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DATA` [INFO] [stdout] --> src/commands/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) const DATA: (&str, &str) = ("data", "d"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | data: &str, [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | rules: &str, [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> crate::rules::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rules/evaluate.rs:923:9 [INFO] [stdout] | [INFO] [stdout] 923 | / extract_variables(&rules.assignments, [INFO] [stdout] 924 | | &mut literals, [INFO] [stdout] 925 | | &mut pending); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rules/evaluate.rs:1018:9 [INFO] [stdout] | [INFO] [stdout] 1018 | / extract_variables(&block_type.assignments, [INFO] [stdout] 1019 | | &mut literals, [INFO] [stdout] 1020 | | &mut pending); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rules/values.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | write!(f, "{},{}", range.lower, range.upper); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/validate.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | reader.read_to_string(&mut context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/rulegen.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | write!(writer,"{}", generated_rules); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | writeln!(&mut migrated, "{}", assignment); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | writeln!(&mut migrated, "let {} = Resources.*[ Type == \"{}\" ]", each_type, each_type.type_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | writeln!(&mut migrated, "rule {name}_checks WHEN %{name} NOT EMPTY {{", name=each_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | writeln!(&mut migrated, " %{} {{", each_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | writeln!(&mut migrated, " {}", *each_clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | writeln!(&mut migrated, " }}\n}}\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `query:` in this pattern is redundant [INFO] [stdout] --> src/commands/aws_meta_appender.rs:32:59 [INFO] [stdout] | [INFO] [stdout] 32 | ... 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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/migrate/parser.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | writeln!(f, "when {} {{", self.when_condition); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/migrate/parser.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | writeln!(f, " {}", self.check_condition); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clause` [INFO] [stdout] --> src/rules/parser_tests.rs:4121:17 [INFO] [stdout] | [INFO] [stdout] 4121 | let (_span, clause) = rule_block_clause(from_str2(when_inside_when))?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_clause` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | fn resolve_variable(&self, variable: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule_name` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | fn rule_status(&self, rule_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rule_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval_type` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | ... fn end_evaluation(&self, eval_type: EvaluationType, context: &str, msg: String, from: Option, to: Option src/commands/aws_meta_appender_tests.rs:50:61 [INFO] [stdout] | [INFO] [stdout] 50 | ... eval_type: EvaluationType, context: &str, msg: String, from: Option, to: Option, status: Option src/commands/aws_meta_appender_tests.rs:50:89 [INFO] [stdout] | [INFO] [stdout] 50 | ...e, context: &str, msg: String, from: Option, to: Option, status: Option) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:50:119 [INFO] [stdout] | [INFO] [stdout] 50 | ...g, from: Option, to: Option, status: Option) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:50:147 [INFO] [stdout] | [INFO] [stdout] 50 | ... to: Option, status: Option) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval_type` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | fn start_evaluation(&self, eval_type: EvaluationType, context: &str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eval_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/commands/aws_meta_appender_tests.rs:57:63 [INFO] [stdout] | [INFO] [stdout] 57 | fn start_evaluation(&self, eval_type: EvaluationType, context: &str) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingProperty` [INFO] [stdout] --> src/rules/errors.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | MissingProperty(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MultipleValues` [INFO] [stdout] --> src/rules/errors.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | MultipleValues(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Errors` [INFO] [stdout] --> src/rules/errors.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | Errors(Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_type` [INFO] [stdout] --> src/rules/evaluate.rs:1006:5 [INFO] [stdout] | [INFO] [stdout] 1006 | block_type: &'s Block<'s, T>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to` [INFO] [stdout] --> src/rules/evaluate.rs:1125:19 [INFO] [stdout] | [INFO] [stdout] 1125 | pub(super) fn to(&mut self, to: Option) -> &mut Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `context` [INFO] [stdout] --> src/rules/parser.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn context(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `span` [INFO] [stdout] --> src/rules/parser.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn span(&self) -> &Span<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kind` [INFO] [stdout] --> src/rules/parser.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn kind(&self) -> nom::error::ErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_linked_hashmap` [INFO] [stdout] --> src/rules/values.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 294 | pub(super) fn make_linked_hashmap<'a, I>(values: I) -> IndexMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drop_last` [INFO] [stdout] --> src/rules/path_value.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn drop_last(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extend_with_value` [INFO] [stdout] --> src/rules/path_value.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn extend_with_value(&self, part: &Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_scalar` [INFO] [stdout] --> src/rules/path_value.rs:606:19 [INFO] [stdout] | [INFO] [stdout] 606 | pub(crate) fn is_scalar(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_and_return_json` [INFO] [stdout] --> src/commands/validate.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn validate_and_return_json( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_result_json` [INFO] [stdout] --> src/commands/validate.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn get_result_json(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_and_return_json` [INFO] [stdout] --> src/commands/helper.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn validate_and_return_json( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_resource_types_in_ruleset` [INFO] [stdout] --> src/commands/migrate.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | pub (crate) fn get_resource_types_in_ruleset(rules: &Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RULES` [INFO] [stdout] --> src/commands/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) const RULES: (&str, &str) = ("rules", "r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DATA` [INFO] [stdout] --> src/commands/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) const DATA: (&str, &str) = ("data", "d"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rules/evaluate.rs:923:9 [INFO] [stdout] | [INFO] [stdout] 923 | / extract_variables(&rules.assignments, [INFO] [stdout] 924 | | &mut literals, [INFO] [stdout] 925 | | &mut pending); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rules/evaluate.rs:1018:9 [INFO] [stdout] | [INFO] [stdout] 1018 | / extract_variables(&block_type.assignments, [INFO] [stdout] 1019 | | &mut literals, [INFO] [stdout] 1020 | | &mut pending); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rules/values.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | write!(f, "{},{}", range.lower, range.upper); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/validate.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | reader.read_to_string(&mut context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/rulegen.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | write!(writer,"{}", generated_rules); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | writeln!(&mut migrated, "{}", assignment); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | writeln!(&mut migrated, "let {} = Resources.*[ Type == \"{}\" ]", each_type, each_type.type_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | writeln!(&mut migrated, "rule {name}_checks WHEN %{name} NOT EMPTY {{", name=each_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | writeln!(&mut migrated, " %{} {{", each_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | writeln!(&mut migrated, " {}", *each_clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | writeln!(&mut migrated, " }}\n}}\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `query:` in this pattern is redundant [INFO] [stdout] --> src/commands/aws_meta_appender.rs:32:59 [INFO] [stdout] | [INFO] [stdout] 32 | ... 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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/migrate/parser.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | writeln!(f, "when {} {{", self.when_condition); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/migrate/parser.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | writeln!(f, " {}", self.check_condition); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingProperty` [INFO] [stdout] --> src/rules/errors.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | MissingProperty(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MultipleValues` [INFO] [stdout] --> src/rules/errors.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | MultipleValues(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Errors` [INFO] [stdout] --> src/rules/errors.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | Errors(Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_type` [INFO] [stdout] --> src/rules/evaluate.rs:1006:5 [INFO] [stdout] | [INFO] [stdout] 1006 | block_type: &'s Block<'s, T>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to` [INFO] [stdout] --> src/rules/evaluate.rs:1125:19 [INFO] [stdout] | [INFO] [stdout] 1125 | pub(super) fn to(&mut self, to: Option) -> &mut Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `context` [INFO] [stdout] --> src/rules/parser.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn context(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `span` [INFO] [stdout] --> src/rules/parser.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn span(&self) -> &Span<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kind` [INFO] [stdout] --> src/rules/parser.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn kind(&self) -> nom::error::ErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drop_last` [INFO] [stdout] --> src/rules/path_value.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) fn drop_last(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extend_with_value` [INFO] [stdout] --> src/rules/path_value.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) fn extend_with_value(&self, part: &Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_scalar` [INFO] [stdout] --> src/rules/path_value.rs:606:19 [INFO] [stdout] | [INFO] [stdout] 606 | pub(crate) fn is_scalar(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SAMPLE_MULTIPLE` [INFO] [stdout] --> src/rules/path_value_tests.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / const SAMPLE_MULTIPLE : &str = r#"{ [INFO] [stdout] 21 | | "Resources": { [INFO] [stdout] 22 | | "vpc": { [INFO] [stdout] 23 | | "Type": "AWS::EC2::VPC", [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | "#; [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_and_return_json` [INFO] [stdout] --> src/commands/validate.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn validate_and_return_json( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_result_json` [INFO] [stdout] --> src/commands/validate.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn get_result_json(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_and_return_json` [INFO] [stdout] --> src/commands/helper.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn validate_and_return_json( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RULES` [INFO] [stdout] --> src/commands/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) const RULES: (&str, &str) = ("rules", "r"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DATA` [INFO] [stdout] --> src/commands/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) const DATA: (&str, &str) = ("data", "d"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rules/evaluate.rs:923:9 [INFO] [stdout] | [INFO] [stdout] 923 | / extract_variables(&rules.assignments, [INFO] [stdout] 924 | | &mut literals, [INFO] [stdout] 925 | | &mut pending); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rules/evaluate.rs:1018:9 [INFO] [stdout] | [INFO] [stdout] 1018 | / extract_variables(&block_type.assignments, [INFO] [stdout] 1019 | | &mut literals, [INFO] [stdout] 1020 | | &mut pending); [INFO] [stdout] | |________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rules/values.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | write!(f, "{},{}", range.lower, range.upper); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/validate.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | reader.read_to_string(&mut context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/rulegen.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | write!(writer,"{}", generated_rules); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | writeln!(&mut migrated, "{}", assignment); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | writeln!(&mut migrated, "let {} = Resources.*[ Type == \"{}\" ]", each_type, each_type.type_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | writeln!(&mut migrated, "rule {name}_checks WHEN %{name} NOT EMPTY {{", name=each_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | writeln!(&mut migrated, " %{} {{", each_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | writeln!(&mut migrated, " {}", *each_clause); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands/migrate.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | writeln!(&mut migrated, " }}\n}}\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `query:` in this pattern is redundant [INFO] [stdout] --> src/commands/aws_meta_appender.rs:32:59 [INFO] [stdout] | [INFO] [stdout] 32 | ... 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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/migrate/parser.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | writeln!(f, "when {} {{", self.when_condition); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/migrate/parser.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | writeln!(f, " {}", self.check_condition); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.96s [INFO] running `Command { std: "docker" "inspect" "f8a6fccce9fc563f62ef34ebb2df0a4abd6a9ff71f76a2e7787d8e5368961e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a6fccce9fc563f62ef34ebb2df0a4abd6a9ff71f76a2e7787d8e5368961e43", kill_on_drop: false }` [INFO] [stdout] f8a6fccce9fc563f62ef34ebb2df0a4abd6a9ff71f76a2e7787d8e5368961e43