[INFO] fetching crate cfn-guard 2.0.3...
[INFO] documenting cfn-guard-2.0.3 against beta-2021-08-01 for beta-1.55-rustdoc-1
[INFO] extracting crate cfn-guard 2.0.3 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate cfn-guard 2.0.3 on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cfn-guard 2.0.3
[INFO] finished tweaking crates.io crate cfn-guard 2.0.3
[INFO] tweaked toml for crates.io crate cfn-guard 2.0.3 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate crates.io crate cfn-guard 2.0.3 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f370ecda5cfda236f35a01776944acd1a8d77c14e4286b8530dc578b446abe80
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f370ecda5cfda236f35a01776944acd1a8d77c14e4286b8530dc578b446abe80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f370ecda5cfda236f35a01776944acd1a8d77c14e4286b8530dc578b446abe80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f370ecda5cfda236f35a01776944acd1a8d77c14e4286b8530dc578b446abe80", kill_on_drop: false }`
[INFO] [stdout] f370ecda5cfda236f35a01776944acd1a8d77c14e4286b8530dc578b446abe80
[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" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a432e1937d8b6f8346ba6018ced2634dd9d7be16c6d6ee2394fa7f75d3b01499
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a432e1937d8b6f8346ba6018ced2634dd9d7be16c6d6ee2394fa7f75d3b01499", kill_on_drop: false }`
[INFO] [stderr] warning: output filename collision.
[INFO] [stderr] The bin target `cfn-guard` in package `cfn-guard v2.0.3 (/opt/rustwide/workdir)` has the same output filename as the lib target `cfn_guard` in package `cfn-guard v2.0.3 (/opt/rustwide/workdir)`.
[INFO] [stderr] Colliding filename is: /opt/rustwide/target/doc/cfn_guard/index.html
[INFO] [stderr] The output filenames should be unique.
[INFO] [stderr] This is a known bug where multiple crates with the same name use
[INFO] [stderr] the same path; see <https://github.com/rust-lang/cargo/issues/6313>.
[INFO] [stderr] If this looks unexpected, it may be a bug in Cargo. Please file a bug report at
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/ with as much information as you
[INFO] [stderr] can provide.
[INFO] [stderr] cargo 1.55.0-beta (1f76a218b 2021-07-29) running on `x86_64-unknown-linux-gnu` target `x86_64-unknown-linux-gnu`
[INFO] [stderr] First unit: Unit { pkg: Package { id: PackageId { name: "cfn-guard", version: "2.0.3", source: "/opt/rustwide/workdir" }, ..: ".." }, target: TargetInner { name: "cfn-guard", doc: true, ..: with_path("/opt/rustwide/workdir/src/main.rs", Edition2018) }, profile: Profile { name: "doc", debuginfo: Some(2), debug_assertions: true, overflow_checks: true, ..: default() }, kind: Host, mode: Doc { deps: false }, features: [], is_std: false, dep_hash: 14587665823232012748 }
[INFO] [stderr] Second unit: Unit { pkg: Package { id: PackageId { name: "cfn-guard", version: "2.0.3", source: "/opt/rustwide/workdir" }, ..: ".." }, target: TargetInner { ..: lib_target("cfn_guard", ["rlib", "dylib"], "/opt/rustwide/workdir/src/lib.rs", Edition2018) }, profile: Profile { name: "doc", debuginfo: Some(2), debug_assertions: true, overflow_checks: true, ..: default() }, kind: Host, mode: Doc { deps: false }, features: [], is_std: false, dep_hash: 24334054323253476 }
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking bytecount v0.6.2
[INFO] [stderr]     Checking itertools v0.4.19
[INFO] [stderr]     Checking string-builder v0.2.0
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]     Checking heck v0.3.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling enumflags2_derive v0.7.0
[INFO] [stderr]     Checking colored v1.9.3
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking simple_logger v1.11.0
[INFO] [stderr]     Checking enumflags2 v0.7.1
[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 cfn-guard v2.0.3 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting cfn-guard v2.0.3 (/opt/rustwide/workdir)
[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:684:12
[INFO] [stdout]     |
[INFO] [stdout] 684 |         Ok('outer: loop {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Write`
[INFO] [stdout]  --> src/rules/path_value.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::fmt::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ALPHABETICAL`, `LAST_MODIFIED`
[INFO] [stdout]   --> src/commands/validate.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | 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:12:83
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::commands::files::{alpabetical, get_files, iterate_over, last_modified, regular_ordering};
[INFO] [stdout]    |                                                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::*`
[INFO] [stdout]  --> src/commands/validate/generic_summary.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use colored::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/commands/validate/generic_summary.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]   --> src/commands/validate/generic_summary.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use itertools::Itertools;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path_value`
[INFO] [stdout]  --> src/commands/validate/common.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::rules::{EvaluationType, path_value, Status};
[INFO] [stdout]   |                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::rules::path_value::Path`
[INFO] [stdout]  --> src/commands/validate/common.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::rules::path_value::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::*`
[INFO] [stdout]  --> src/commands/validate/cfn_reporter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use colored::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/commands/validate/cfn_reporter.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`
[INFO] [stdout]   --> src/commands/validate/cfn_reporter.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::rules::errors::{Error, ErrorKind};
[INFO] [stdout]    |                            ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/validate.rs:45:28
[INFO] [stdout]    |
[INFO] [stdout] 45 |               writer: &mut Write,
[INFO] [stdout]    |                            ^^^^^ help: use `dyn`: `dyn Write`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Ref`
[INFO] [stdout]  --> src/commands/tracker.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cell::Ref;
[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: `colored::Colorize`
[INFO] [stdout]  --> src/rules/evaluate.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use colored::Colorize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BitFlag`
[INFO] [stdout]   --> src/commands/validate.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 | use enumflags2::{BitFlag, BitFlags};
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `longest_rule_len`
[INFO] [stdout]    --> src/commands/validate/common.rs:222:5
[INFO] [stdout]     |
[INFO] [stdout] 222 |     longest_rule_len: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest_rule_len`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `longest_rule_len`
[INFO] [stdout]   --> src/commands/validate/common.rs:86:41
[INFO] [stdout]    |
[INFO] [stdout] 86 |               skipped: HashSet<String>, longest_rule_len: usize) -> crate::rules::Result<()>
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_longest_rule_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `self::rules::common::walk_type`
[INFO] [stdout]   --> src/rules/exprs.rs:32:32
[INFO] [stdout]    |
[INFO] [stdout] 32 | /// match specific selections [crate::rules::common::walk_type]
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `common` in module `rules`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `block_type`
[INFO] [stdout]     --> src/rules/evaluate.rs:1034:5
[INFO] [stdout]      |
[INFO] [stdout] 1034 |     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: `comparison`
[INFO] [stdout]     --> src/rules/evaluate.rs:1151:19
[INFO] [stdout]      |
[INFO] [stdout] 1151 |     pub(super) fn comparison(&mut self, status: Status, from: Option<PathAwareValue>, to: Option<PathAwareValue>, cmp: (CmpOperator, bool...
[INFO] [stdout]      |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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: `is_binary`
[INFO] [stdout]   --> src/rules/values.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub(crate) fn is_binary(&self) -> bool { !self.is_unary() }
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `make_linked_hashmap`
[INFO] [stdout]    --> src/rules/values.rs:309:15
[INFO] [stdout]     |
[INFO] [stdout] 309 | pub(super) fn make_linked_hashmap<'a, I>(values: I) -> IndexMap<String, Value>
[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<Path, Error> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_scalar`
[INFO] [stdout]    --> src/rules/path_value.rs:675:19
[INFO] [stdout]     |
[INFO] [stdout] 675 |     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:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |     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:238:8
[INFO] [stdout]     |
[INFO] [stdout] 238 | 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:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |     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<RuleLineType>) -> Result<Vec<TypeName>> {
[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<std::string::String, errors::Error>`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | ) -> crate::rules::Result<String> {
[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:950:9
[INFO] [stdout]     |
[INFO] [stdout] 950 | /         extract_variables(&rules.assignments,
[INFO] [stdout] 951 | |                           &mut literals,
[INFO] [stdout] 952 | |                           &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:1046:9
[INFO] [stdout]      |
[INFO] [stdout] 1046 | /         extract_variables(&block_type.assignments,
[INFO] [stdout] 1047 | |                           &mut literals,
[INFO] [stdout] 1048 | |                           &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:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 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:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 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/validate/generic_summary.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |             writeln!(writer, "--");
[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/validate/common.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 | /         match &self.hierarchy_type {
[INFO] [stdout] 97 | |             StructureType::JSON => writeln!(writer, "{}", serde_json::to_string(&value)?),
[INFO] [stdout] 98 | |             StructureType::YAML => writeln!(writer, "{}", serde_yaml::to_string(&value)?),
[INFO] [stdout] 99 | |         };
[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/validate/summary_table.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             writeln!(writer, "{}", "SKIP rules".bold());
[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/validate/summary_table.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |             writeln!(writer, "{}", "PASS rules".bold());
[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/validate/summary_table.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             writeln!(writer, "{}", "FAILED rules".bold());
[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/validate/cfn_reporter.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |             writeln!(writer, "--");
[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/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:42:59
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   let AccessQuery { query: query, match_all: all } =
[INFO] [stdout]    |                                         ^^^^^^^^^^^^ help: use shorthand field pattern: `query`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_shorthand_field_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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: 63 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `self::rules::common::walk_type`
[INFO] [stdout]   --> src/rules/exprs.rs:32:32
[INFO] [stdout]    |
[INFO] [stdout] 32 | /// match specific selections [crate::rules::common::walk_type]
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `common` in module `rules`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 22.95s
[INFO] running `Command { std: "docker" "inspect" "a432e1937d8b6f8346ba6018ced2634dd9d7be16c6d6ee2394fa7f75d3b01499", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a432e1937d8b6f8346ba6018ced2634dd9d7be16c6d6ee2394fa7f75d3b01499", kill_on_drop: false }`
[INFO] [stdout] a432e1937d8b6f8346ba6018ced2634dd9d7be16c6d6ee2394fa7f75d3b01499
