[INFO] cloning repository https://github.com/nizamawscloud/aws-cloudformation-cloudformation-guard
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nizamawscloud/aws-cloudformation-cloudformation-guard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnizamawscloud%2Faws-cloudformation-cloudformation-guard", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnizamawscloud%2Faws-cloudformation-cloudformation-guard'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ca562b92717448a68b720b3d7cb07f58d44de4d9
[INFO] documenting nizamawscloud/aws-cloudformation-cloudformation-guard against 1.69.0 for beta-1.70-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnizamawscloud%2Faws-cloudformation-cloudformation-guard" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nizamawscloud/aws-cloudformation-cloudformation-guard on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nizamawscloud/aws-cloudformation-cloudformation-guard
[INFO] finished tweaking git repo https://github.com/nizamawscloud/aws-cloudformation-cloudformation-guard
[INFO] tweaked toml for git repo https://github.com/nizamawscloud/aws-cloudformation-cloudformation-guard written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/nizamawscloud/aws-cloudformation-cloudformation-guard already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded enumflags2 v0.7.1
[INFO] [stderr]   Downloaded enumflags2_derive v0.7.0
[INFO] [stderr]   Downloaded nom_locate v2.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 89495765e88c9fb11e77e9c9303037b0602edd00d284dba2fc40a3052108527e
[INFO] running `Command { std: "docker" "start" "-a" "89495765e88c9fb11e77e9c9303037b0602edd00d284dba2fc40a3052108527e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89495765e88c9fb11e77e9c9303037b0602edd00d284dba2fc40a3052108527e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89495765e88c9fb11e77e9c9303037b0602edd00d284dba2fc40a3052108527e", kill_on_drop: false }`
[INFO] [stdout] 89495765e88c9fb11e77e9c9303037b0602edd00d284dba2fc40a3052108527e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e93232f7559c08b0f8e6e55dcdc977c975e11575a4823f6e62cdb41165005ef8
[INFO] running `Command { std: "docker" "start" "-a" "e93232f7559c08b0f8e6e55dcdc977c975e11575a4823f6e62cdb41165005ef8", 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/guard)` has the same output filename as the lib target `cfn_guard` in package `cfn-guard v2.0.3 (/opt/rustwide/workdir/guard)`.
[INFO] [stderr] Colliding filename is: /opt/rustwide/target/doc/cfn_guard/index.html
[INFO] [stderr] The output filenames should be unique.
[INFO] [stderr] This is a known bug where multiple crates with the same name use
[INFO] [stderr] the same path; see <https://github.com/rust-lang/cargo/issues/6313>.
[INFO] [stderr] If this looks unexpected, it may be a bug in Cargo. Please file a bug report at
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/ with as much information as you
[INFO] [stderr] can provide.
[INFO] [stderr] cargo 1.69.0 (6e9a83356 2023-04-12) running on `x86_64-unknown-linux-gnu` target `x86_64-unknown-linux-gnu`
[INFO] [stderr] First unit: Unit { pkg: Package { id: PackageId { name: "cfn-guard", version: "2.0.3", source: "/opt/rustwide/workdir/guard" }, ..: ".." }, target: TargetInner { name: "cfn-guard", doc: true, ..: with_path("/opt/rustwide/workdir/guard/src/main.rs", Edition2018) }, profile: Profile { incremental: false, ..: default_dev() }, kind: Host, mode: Doc { deps: false }, features: [], artifact: false, artifact_target_for_features: None, is_std: false, dep_hash: 14507679725292632799 }
[INFO] [stderr] Second unit: Unit { pkg: Package { id: PackageId { name: "cfn-guard", version: "2.0.3", source: "/opt/rustwide/workdir/guard" }, ..: ".." }, target: TargetInner { ..: lib_target("cfn_guard", ["rlib", "dylib"], "/opt/rustwide/workdir/guard/src/lib.rs", Edition2018) }, profile: Profile { incremental: false, ..: default_dev() }, kind: Host, mode: Doc { deps: false }, features: [], artifact: false, artifact_target_for_features: None, is_std: false, dep_hash: 15866816032402559169 }
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling futures-core v0.3.15
[INFO] [stderr]     Checking pin-project-lite v0.2.6
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling futures-macro v0.3.15
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling futures-task v0.3.15
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling futures-channel v0.3.15
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]     Checking futures-sink v0.3.15
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]    Compiling tokio v1.6.1
[INFO] [stderr]     Checking tracing-core v0.1.18
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking futures-io v0.3.15
[INFO] [stderr]     Checking slab v0.4.3
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking colored v1.9.3
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking mio v0.7.11
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking unicode-segmentation v1.7.1
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking bytecount v0.6.2
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling httparse v1.4.1
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking dtoa v0.4.8
[INFO] [stderr]     Checking http v0.2.4
[INFO] [stderr]     Checking heck v0.3.2
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking simple_logger v1.11.0
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking thread_local v1.1.3
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]     Checking sharded-slab v0.1.1
[INFO] [stderr]     Checking string-builder v0.2.0
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking itertools v0.4.19
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking socket2 v0.4.0
[INFO] [stderr]     Checking tracing-subscriber v0.2.18
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]     Checking http-body v0.4.2
[INFO] [stderr]     Checking httpdate v1.0.1
[INFO] [stderr]     Checking nom_locate v2.1.0
[INFO] [stderr]    Compiling enumflags2_derive v0.7.0
[INFO] [stderr]    Compiling tokio-macros v1.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.15
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling async-stream-impl v0.3.2
[INFO] [stderr]     Checking async-stream v0.3.2
[INFO] [stderr]     Checking enumflags2 v0.7.1
[INFO] [stderr]     Checking tracing v0.1.26
[INFO] [stderr]     Checking pin-project v1.0.7
[INFO] [stderr]     Checking tracing-error v0.1.2
[INFO] [stderr]     Checking futures-executor v0.3.15
[INFO] [stderr]     Checking tokio-stream v0.1.6
[INFO] [stderr]     Checking hyper v0.14.8
[INFO] [stderr]     Checking futures v0.3.15
[INFO] [stderr]     Checking serde_yaml v0.8.17
[INFO] [stderr]     Checking cfn-guard v2.0.3 (/opt/rustwide/workdir/guard)
[INFO] [stderr]     Checking lambda_runtime v0.3.0
[INFO] [stderr]  Documenting cfn-guard v2.0.3 (/opt/rustwide/workdir/guard)
[INFO] [stdout] warning: unused import: `WhenConditions`
[INFO] [stdout]  --> guard/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]    --> guard/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]  --> guard/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]   --> guard/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]   --> guard/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]  --> guard/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]  --> guard/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]   --> guard/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]  --> guard/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]  --> guard/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]  --> guard/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]  --> guard/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]   --> guard/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: unused import: `std::cell::Ref`
[INFO] [stdout]  --> guard/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]  --> guard/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]   --> guard/src/migrate/parser.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> guard/src/commands/validate.rs:45:28
[INFO] [stdout]    |
[INFO] [stdout] 45 |               writer: &mut Write,
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout]    |
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |               writer: &mut dyn Write,
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `crate::rules::common::walk_type`
[INFO] [stdout]   --> guard/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: unused import: `colored::Colorize`
[INFO] [stdout]  --> guard/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]   --> guard/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]   --> guard/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]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `longest_rule_len`
[INFO] [stdout]    --> guard/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] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rules` is never read
[INFO] [stdout]    --> guard/src/rules/evaluate.rs:936:5
[INFO] [stdout]     |
[INFO] [stdout] 935 | pub(crate) struct RootScope<'s, 'loc> {
[INFO] [stdout]     |                   --------- field in this struct
[INFO] [stdout] 936 |     rules: &'s RulesFile<'loc>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RootScope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `block_type` is never read
[INFO] [stdout]     --> guard/src/rules/evaluate.rs:1034:5
[INFO] [stdout]      |
[INFO] [stdout] 1033 | pub(crate) struct BlockScope<'s, T> {
[INFO] [stdout]      |                   ---------- field in this struct
[INFO] [stdout] 1034 |     block_type: &'s Block<'s, T>,
[INFO] [stdout]      |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `comparison` is never used
[INFO] [stdout]     --> guard/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: method `context` is never used
[INFO] [stdout]   --> guard/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: method `span` is never used
[INFO] [stdout]   --> guard/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: method `kind` is never used
[INFO] [stdout]   --> guard/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 `make_linked_hashmap` is never used
[INFO] [stdout]    --> guard/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: method `is_binary` is never used
[INFO] [stdout]   --> guard/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: method `drop_last` is never used
[INFO] [stdout]   --> guard/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: method `extend_with_value` is never used
[INFO] [stdout]    --> guard/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: method `is_scalar` is never used
[INFO] [stdout]    --> guard/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: constant `RULES` is never used
[INFO] [stdout]   --> guard/src/commands/mod.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub(crate) const RULES: (&str, &str) = ("rules", "r");
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA` is never used
[INFO] [stdout]   --> guard/src/commands/mod.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) const DATA: (&str, &str) = ("data", "d");
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_and_return_json` is never used
[INFO] [stdout]    --> guard/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: field `data_file_name` is never read
[INFO] [stdout]    --> guard/src/commands/validate.rs:274:5
[INFO] [stdout]     |
[INFO] [stdout] 270 | pub(crate) struct ConsoleReporter<'r> {
[INFO] [stdout]     |                   --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 274 |     data_file_name: &'r str,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConsoleReporter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> guard/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: field `output_format_type` is never read
[INFO] [stdout]   --> guard/src/commands/validate/generic_summary.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) struct GenericSummary<'a> {
[INFO] [stdout]    |                   -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     output_format_type: OutputFormatType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GenericSummary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `output_format_type` is never read
[INFO] [stdout]   --> guard/src/commands/validate/cfn_reporter.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub(crate) struct CfnReporter<'a> {
[INFO] [stdout]    |                   ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     output_format_type: OutputFormatType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CfnReporter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> guard/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 `new` is never used
[INFO] [stdout]   --> guard/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 `new` is never used
[INFO] [stdout]   --> guard/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: function `get_resource_types_in_ruleset` is never used
[INFO] [stdout]    --> guard/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: associated function `new` is never used
[INFO] [stdout]   --> guard/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: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> guard/src/lib.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |     data: &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]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> guard/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]   --> guard/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]    --> guard/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: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]     --> guard/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]    --> guard/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]    --> guard/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]    --> guard/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]   --> guard/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]   --> guard/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]   --> guard/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]   --> guard/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]    --> guard/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]    --> guard/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]   --> guard/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]   --> guard/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]    --> guard/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]    --> guard/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]    --> guard/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]    --> guard/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]   --> guard/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]    --> guard/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]    --> guard/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: 67 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  Documenting cfn-guard-lambda v2.0.3 (/opt/rustwide/workdir/guard-lambda)
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> guard-lambda/src/main.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Err(e) => (e.to_string()),
[INFO] [stdout]    |                       ^             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -             Err(e) => (e.to_string()),
[INFO] [stdout] 39 +             Err(e) => e.to_string(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unresolved link to `crate::rules::common::walk_type`
[INFO] [stdout]   --> guard/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 15.18s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "e93232f7559c08b0f8e6e55dcdc977c975e11575a4823f6e62cdb41165005ef8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e93232f7559c08b0f8e6e55dcdc977c975e11575a4823f6e62cdb41165005ef8", kill_on_drop: false }`
[INFO] [stdout] e93232f7559c08b0f8e6e55dcdc977c975e11575a4823f6e62cdb41165005ef8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7de55ca1c1bb9ccf7dfdbaef394534f289b77278f45bbd9225a2755e78981f65
[INFO] running `Command { std: "docker" "start" "-a" "7de55ca1c1bb9ccf7dfdbaef394534f289b77278f45bbd9225a2755e78981f65", kill_on_drop: false }`
[INFO] [stderr] error: manifest path `/opt/rustwide/workdir/Cargo.toml` is a virtual manifest, but this command requires running against an actual package in this workspace
[INFO] running `Command { std: "docker" "inspect" "7de55ca1c1bb9ccf7dfdbaef394534f289b77278f45bbd9225a2755e78981f65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7de55ca1c1bb9ccf7dfdbaef394534f289b77278f45bbd9225a2755e78981f65", kill_on_drop: false }`
[INFO] [stdout] 7de55ca1c1bb9ccf7dfdbaef394534f289b77278f45bbd9225a2755e78981f65
