[INFO] cloning repository https://github.com/RyoMasumura1201/rust-sam
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RyoMasumura1201/rust-sam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyoMasumura1201%2Frust-sam", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyoMasumura1201%2Frust-sam'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c5e0b8a778201214c573dba3dc1fffb95896931b
[INFO] checking RyoMasumura1201/rust-sam against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyoMasumura1201%2Frust-sam" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/RyoMasumura1201/rust-sam
[INFO] finished tweaking git repo https://github.com/RyoMasumura1201/rust-sam
[INFO] tweaked toml for git repo https://github.com/RyoMasumura1201/rust-sam written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RyoMasumura1201/rust-sam on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/RyoMasumura1201/rust-sam 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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.193
[INFO] [stderr]   Downloaded slug v0.1.4
[INFO] [stderr]   Downloaded serde v1.0.193
[INFO] [stderr]   Downloaded scratch v1.0.5
[INFO] [stderr]   Downloaded fragile v2.0.0
[INFO] [stderr]   Downloaded phf v0.10.1
[INFO] [stderr]   Downloaded siphasher v0.3.10
[INFO] [stderr]   Downloaded termtree v0.4.1
[INFO] [stderr]   Downloaded chrono-tz-build v0.0.2
[INFO] [stderr]   Downloaded phf_codegen v0.10.0
[INFO] [stderr]   Downloaded phf_generator v0.10.0
[INFO] [stderr]   Downloaded globwalk v0.8.1
[INFO] [stderr]   Downloaded cxxbridge-flags v1.0.94
[INFO] [stderr]   Downloaded uncased v0.9.7
[INFO] [stderr]   Downloaded link-cplusplus v1.0.8
[INFO] [stderr]   Downloaded quote v1.0.33
[INFO] [stderr]   Downloaded digest v0.10.6
[INFO] [stderr]   Downloaded dirs v5.0.0
[INFO] [stderr]   Downloaded iana-time-zone-haiku v0.1.1
[INFO] [stderr]   Downloaded predicates-tree v1.0.9
[INFO] [stderr]   Downloaded anstyle v1.0.4
[INFO] [stderr]   Downloaded predicates-core v1.0.6
[INFO] [stderr]   Downloaded dirs-sys v0.4.0
[INFO] [stderr]   Downloaded hermit-abi v0.3.1
[INFO] [stderr]   Downloaded clap_lex v0.3.2
[INFO] [stderr]   Downloaded proc-macro2 v1.0.70
[INFO] [stderr]   Downloaded pest_meta v2.5.7
[INFO] [stderr]   Downloaded getrandom v0.2.8
[INFO] [stderr]   Downloaded deunicode v0.4.3
[INFO] [stderr]   Downloaded cpufeatures v0.2.6
[INFO] [stderr]   Downloaded globset v0.4.10
[INFO] [stderr]   Downloaded tempfile v3.4.0
[INFO] [stderr]   Downloaded is-terminal v0.4.4
[INFO] [stderr]   Downloaded tera v1.18.1
[INFO] [stderr]   Downloaded predicates v3.0.4
[INFO] [stderr]   Downloaded pest_derive v2.5.7
[INFO] [stderr]   Downloaded either v1.9.0
[INFO] [stderr]   Downloaded zeroize v1.6.0
[INFO] [stderr]   Downloaded iana-time-zone v0.1.56
[INFO] [stderr]   Downloaded mockall v0.12.0
[INFO] [stderr]   Downloaded io-lifetimes v1.0.6
[INFO] [stderr]   Downloaded mockall_derive v0.12.0
[INFO] [stderr]   Downloaded os_str_bytes v6.4.1
[INFO] [stderr]   Downloaded console v0.15.5
[INFO] [stderr]   Downloaded clap_derive v4.1.8
[INFO] [stderr]   Downloaded pest_generator v2.5.7
[INFO] [stderr]   Downloaded serde_yaml v0.9.27
[INFO] [stderr]   Downloaded indexmap v2.1.0
[INFO] [stderr]   Downloaded cxxbridge-macro v1.0.94
[INFO] [stderr]   Downloaded parse-zoneinfo v0.3.0
[INFO] [stderr]   Downloaded ignore v0.4.20
[INFO] [stderr]   Downloaded unsafe-libyaml v0.2.10
[INFO] [stderr]   Downloaded cxx-build v1.0.94
[INFO] [stderr]   Downloaded pest v2.5.7
[INFO] [stderr]   Downloaded libm v0.2.6
[INFO] [stderr]   Downloaded chrono v0.4.24
[INFO] [stderr]   Downloaded cxx v1.0.94
[INFO] [stderr]   Downloaded clap v4.1.8
[INFO] [stderr]   Downloaded syn v2.0.41
[INFO] [stderr]   Downloaded rustix v0.36.9
[INFO] [stderr]   Downloaded bstr v1.4.0
[INFO] [stderr]   Downloaded chrono-tz v0.6.1
[INFO] [stderr]   Downloaded libc v0.2.140
[INFO] [stderr]   Downloaded linux-raw-sys v0.1.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7b7ee5913ce30cc9952f6c03568d72d2e4016973c4f8459306dd21b89dbaf433
[INFO] running `Command { std: "docker" "start" "-a" "7b7ee5913ce30cc9952f6c03568d72d2e4016973c4f8459306dd21b89dbaf433", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b7ee5913ce30cc9952f6c03568d72d2e4016973c4f8459306dd21b89dbaf433", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b7ee5913ce30cc9952f6c03568d72d2e4016973c4f8459306dd21b89dbaf433", kill_on_drop: false }`
[INFO] [stdout] 7b7ee5913ce30cc9952f6c03568d72d2e4016973c4f8459306dd21b89dbaf433
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e85f6c249dbc791dd6e9906f2a5e0ce49258789cc08c12ac9eccdf9325fdff32
[INFO] running `Command { std: "docker" "start" "-a" "e85f6c249dbc791dd6e9906f2a5e0ce49258789cc08c12ac9eccdf9325fdff32", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]    Compiling uncased v0.9.7
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling io-lifetimes v1.0.6
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling rustix v0.36.9
[INFO] [stderr]    Compiling syn v2.0.41
[INFO] [stderr]    Compiling phf v0.10.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking once_cell v1.17.1
[INFO] [stderr]    Compiling ucd-trie v0.1.5
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking linux-raw-sys v0.1.4
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking bstr v1.4.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex v1.7.3
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]    Compiling libm v0.2.6
[INFO] [stderr]     Checking unic-common v0.9.0
[INFO] [stderr]     Checking unic-char-range v0.9.0
[INFO] [stderr]     Checking unic-ucd-version v0.9.0
[INFO] [stderr]     Checking walkdir v2.3.3
[INFO] [stderr]     Checking unic-char-property v0.9.0
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling phf_codegen v0.10.0
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.0
[INFO] [stderr]     Checking thread_local v1.1.4
[INFO] [stderr]     Checking itoa v1.0.6
[INFO] [stderr]    Compiling serde_json v1.0.95
[INFO] [stderr]     Checking ryu v1.0.13
[INFO] [stderr]     Checking iana-time-zone v0.1.56
[INFO] [stderr]     Checking chrono v0.4.24
[INFO] [stderr]     Checking globset v0.4.10
[INFO] [stderr]    Compiling chrono-tz-build v0.0.2
[INFO] [stderr]     Checking unic-ucd-segment v0.9.0
[INFO] [stderr]     Checking ignore v0.4.20
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking deunicode v0.4.3
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling chrono-tz v0.6.1
[INFO] [stderr]     Checking predicates-core v1.0.6
[INFO] [stderr]     Checking os_str_bytes v6.4.1
[INFO] [stderr]     Checking unicode-width v0.1.10
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking humansize v2.1.3
[INFO] [stderr]     Checking console v0.15.5
[INFO] [stderr]     Checking slug v0.1.4
[INFO] [stderr]     Checking clap_lex v0.3.2
[INFO] [stderr]     Checking globwalk v0.8.1
[INFO] [stderr]     Checking tempfile v3.4.0
[INFO] [stderr]     Checking unic-segment v0.9.0
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking is-terminal v0.4.4
[INFO] [stderr]     Checking dirs-sys v0.4.0
[INFO] [stderr]     Checking termcolor v1.2.0
[INFO] [stderr]     Checking zeroize v1.6.0
[INFO] [stderr]     Checking anstyle v1.0.4
[INFO] [stderr]     Checking unsafe-libyaml v0.2.10
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]     Checking termtree v0.4.1
[INFO] [stderr]     Checking dialoguer v0.10.4
[INFO] [stderr]     Checking predicates-tree v1.0.9
[INFO] [stderr]     Checking dirs v5.0.0
[INFO] [stderr]     Checking downcast v0.11.0
[INFO] [stderr]     Checking fs_extra v1.3.0
[INFO] [stderr]     Checking glob v0.3.1
[INFO] [stderr]     Checking fragile v2.0.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking predicates v3.0.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling mockall_derive v0.12.0
[INFO] [stderr]    Compiling clap_derive v4.1.8
[INFO] [stderr]    Compiling pest v2.5.7
[INFO] [stderr]    Compiling pest_meta v2.5.7
[INFO] [stderr]     Checking clap v4.1.8
[INFO] [stderr]    Compiling pest_generator v2.5.7
[INFO] [stderr]     Checking mockall v0.12.0
[INFO] [stderr]    Compiling pest_derive v2.5.7
[INFO] [stderr]     Checking serde_yaml v0.9.27
[INFO] [stderr]     Checking tera v1.18.1
[INFO] [stderr]     Checking rust-sam v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `stacks`
[INFO] [stdout]    --> src/build.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let stacks = get_stacks(template_file);
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stacks`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `template_data`
[INFO] [stdout]    --> src/build.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let template_data = get_template_data(template_file);
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/build.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Function {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 11 |     // Function id, can be Logical ID or any function identifier to define a function in specific IaC
[INFO] [stdout] 12 |     function_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 13 |     // Function's logical ID (used as Function name below if Property `FunctionName` is not defined)
[INFO] [stdout] 14 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 15 |     // Function name (used in place of logical ID)
[INFO] [stdout] 16 |     functionname: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 17 |     // Runtime/language
[INFO] [stdout] 18 |     runtime: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     // Memory in MBs
[INFO] [stdout] 20 |     memory: Option<i32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 21 |     // Function Timeout in seconds
[INFO] [stdout] 22 |     timeout: Option<i32>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 23 |     // Name of the handler
[INFO] [stdout] 24 |     handler: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 25 |     // Image Uri
[INFO] [stdout] 26 |     imageuri: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 27 |     // Package Type
[INFO] [stdout] 28 |     packagetype: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 29 |     // Image Configuration
[INFO] [stdout] 30 |     imageconfig: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 31 |     // Path to the code. This could be a S3 URI or local path or a dictionary of S3 Bucket, Key, Version
[INFO] [stdout] 32 |     codeuri: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     environment: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     rolearn: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     metadata: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 45 |     // InlineCode
[INFO] [stdout] 46 |     inlinecode: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 47 |     // Code Signing config ARN
[INFO] [stdout] 48 |     codesign_config_arn: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 49 |     // Architecture Type
[INFO] [stdout] 50 |     architectures: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 51 |     // The function url configuration
[INFO] [stdout] 52 |     function_url_config: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     stack_path: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 57 |     // Configuration for runtime management. Includes the fields `UpdateRuntimeOn` and `RuntimeVersionArn` (optional).
[INFO] [stdout] 58 |     runtime_management_config: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 59 |     // LoggingConfig for Advanced logging
[INFO] [stdout] 60 |     logging_config: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `functions` is never read
[INFO] [stdout]   --> src/build.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct ResourcesToBuildCollector {
[INFO] [stdout]    |        ------------------------- field in this struct
[INFO] [stdout] 65 |     functions: Vec<Function>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ResourcesToBuildCollector` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `parent_stack_path`, `name`, `location`, `parameters`, `template_dict`, and `metadata` are never read
[INFO] [stdout]   --> src/build.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Stack {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 70 |     parent_stack_path: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 71 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 72 |     location: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 73 |     parameters: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 74 |     template_dict: HashMap<String, String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 75 |     metadata: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stack` 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 `0` is never read
[INFO] [stdout]   --> src/init.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |     IoError(io::Error),
[INFO] [stdout]    |     ------- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CloneError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 43 -     IoError(io::Error),
[INFO] [stdout] 43 +     IoError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/init.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |     FsError(fs_extra_error::Error),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CloneError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 44 -     FsError(fs_extra_error::Error),
[INFO] [stdout] 44 +     FsError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stacks`
[INFO] [stdout]    --> src/build.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let stacks = get_stacks(template_file);
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stacks`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `template_data`
[INFO] [stdout]    --> src/build.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let template_data = get_template_data(template_file);
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/build.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Function {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 11 |     // Function id, can be Logical ID or any function identifier to define a function in specific IaC
[INFO] [stdout] 12 |     function_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 13 |     // Function's logical ID (used as Function name below if Property `FunctionName` is not defined)
[INFO] [stdout] 14 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 15 |     // Function name (used in place of logical ID)
[INFO] [stdout] 16 |     functionname: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 17 |     // Runtime/language
[INFO] [stdout] 18 |     runtime: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     // Memory in MBs
[INFO] [stdout] 20 |     memory: Option<i32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 21 |     // Function Timeout in seconds
[INFO] [stdout] 22 |     timeout: Option<i32>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 23 |     // Name of the handler
[INFO] [stdout] 24 |     handler: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 25 |     // Image Uri
[INFO] [stdout] 26 |     imageuri: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 27 |     // Package Type
[INFO] [stdout] 28 |     packagetype: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 29 |     // Image Configuration
[INFO] [stdout] 30 |     imageconfig: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 31 |     // Path to the code. This could be a S3 URI or local path or a dictionary of S3 Bucket, Key, Version
[INFO] [stdout] 32 |     codeuri: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     environment: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     rolearn: Option<String>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     metadata: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 45 |     // InlineCode
[INFO] [stdout] 46 |     inlinecode: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 47 |     // Code Signing config ARN
[INFO] [stdout] 48 |     codesign_config_arn: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 49 |     // Architecture Type
[INFO] [stdout] 50 |     architectures: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 51 |     // The function url configuration
[INFO] [stdout] 52 |     function_url_config: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     stack_path: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 57 |     // Configuration for runtime management. Includes the fields `UpdateRuntimeOn` and `RuntimeVersionArn` (optional).
[INFO] [stdout] 58 |     runtime_management_config: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 59 |     // LoggingConfig for Advanced logging
[INFO] [stdout] 60 |     logging_config: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `functions` is never read
[INFO] [stdout]   --> src/build.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct ResourcesToBuildCollector {
[INFO] [stdout]    |        ------------------------- field in this struct
[INFO] [stdout] 65 |     functions: Vec<Function>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ResourcesToBuildCollector` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `parent_stack_path`, `name`, `location`, `parameters`, `template_dict`, and `metadata` are never read
[INFO] [stdout]   --> src/build.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 69 | struct Stack {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 70 |     parent_stack_path: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 71 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 72 |     location: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 73 |     parameters: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 74 |     template_dict: HashMap<String, String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 75 |     metadata: Option<HashMap<String, String>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stack` 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 `0` is never read
[INFO] [stdout]   --> src/init.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |     IoError(io::Error),
[INFO] [stdout]    |     ------- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CloneError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 43 -     IoError(io::Error),
[INFO] [stdout] 43 +     IoError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/init.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |     FsError(fs_extra_error::Error),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CloneError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 44 -     FsError(fs_extra_error::Error),
[INFO] [stdout] 44 +     FsError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.22s
[INFO] running `Command { std: "docker" "inspect" "e85f6c249dbc791dd6e9906f2a5e0ce49258789cc08c12ac9eccdf9325fdff32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e85f6c249dbc791dd6e9906f2a5e0ce49258789cc08c12ac9eccdf9325fdff32", kill_on_drop: false }`
[INFO] [stdout] e85f6c249dbc791dd6e9906f2a5e0ce49258789cc08c12ac9eccdf9325fdff32
