[INFO] fetching crate scanner-syn 0.2.0...
[INFO] building scanner-syn-0.2.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate scanner-syn 0.2.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate scanner-syn 0.2.0
[INFO] finished tweaking crates.io crate scanner-syn 0.2.0
[INFO] tweaked toml for crates.io crate scanner-syn 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate scanner-syn 0.2.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 10 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (available: v2.0.106)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a97f5d994c9334442e1d32d07ea032b384ae3e0a20974659b6f3615d1678a297
[INFO] running `Command { std: "docker" "start" "-a" "a97f5d994c9334442e1d32d07ea032b384ae3e0a20974659b6f3615d1678a297", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a97f5d994c9334442e1d32d07ea032b384ae3e0a20974659b6f3615d1678a297", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a97f5d994c9334442e1d32d07ea032b384ae3e0a20974659b6f3615d1678a297", kill_on_drop: false }`
[INFO] [stdout] a97f5d994c9334442e1d32d07ea032b384ae3e0a20974659b6f3615d1678a297
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ec2ffb23ad80d10c4e6a209c08d422f598103b59214d81a7ad04a8534e1a7413
[INFO] running `Command { std: "docker" "start" "-a" "ec2ffb23ad80d10c4e6a209c08d422f598103b59214d81a7ad04a8534e1a7413", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling scanner-syn v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `attr_sig_info::*`
[INFO] [stdout]  --> src/core_impl/code_generator/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use attr_sig_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `impl_item_method_info::*`
[INFO] [stdout]  --> src/core_impl/code_generator/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use impl_item_method_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `item_trait_info::*`
[INFO] [stdout]  --> src/core_impl/code_generator/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use item_trait_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trait_item_method_info::*`
[INFO] [stdout]   --> src/core_impl/code_generator/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use trait_item_method_info::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `item_impl_info::*`
[INFO] [stdout]   --> src/core_impl/code_generator/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use item_impl_info::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `item_struct_info::*`
[INFO] [stdout]   --> src/core_impl/code_generator/mod.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use item_struct_info::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `statements_parser::parse_statements`
[INFO] [stdout]   --> src/core_impl/info_extractor/mod.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub use statements_parser::parse_statements;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core_impl/metadata/metadata_visitor.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quote`
[INFO] [stdout]   --> src/core_impl/metadata/metadata_visitor.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use quote::{quote, ToTokens};
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `code_generator::*`
[INFO] [stdout]  --> src/core_impl/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use code_generator::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ident`
[INFO] [stdout]  --> src/contract_descriptor.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use proc_macro2::{Ident, Span};
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ItemStruct` and `Item`
[INFO] [stdout]  --> src/contract_descriptor.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | use syn::{Item, ItemStruct};
[INFO] [stdout]   |           ^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/core_impl/info_extractor/statements_parser.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |         syn::Expr::Call(c) => todo!(),
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `decomposition_pattern`, `constructor_expr`, `arg_list`, `pat_type_list`, `callback_deserialization`, and `callback_vec_deserialization` are never used
[INFO] [stdout]    --> src/core_impl/code_generator/attr_sig_info.rs:79:12
[INFO] [stdout]     |
[INFO] [stdout]   8 | impl AttrSigInfo {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub fn decomposition_pattern(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn constructor_expr(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn arg_list(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn pat_type_list(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn callback_deserialization(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn callback_vec_deserialization(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_data` is never used
[INFO] [stdout]    --> src/core_impl/code_generator/attr_sig_info.rs:243:8
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub fn deserialize_data(ty: &SerializerType) -> TokenStream2 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `method_wrapper` and `marshal_method` are never used
[INFO] [stdout]    --> src/core_impl/code_generator/impl_item_method_info.rs:10:12
[INFO] [stdout]     |
[INFO] [stdout]   8 | impl ImplItemMethodInfo {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout]   9 |     /// Generate wrapper method for the given method of the contract.
[INFO] [stdout]  10 |     pub fn method_wrapper(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn marshal_method(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `json_serialize` is never used
[INFO] [stdout]    --> src/core_impl/code_generator/impl_item_method_info.rs:251:4
[INFO] [stdout]     |
[INFO] [stdout] 251 | fn json_serialize(attr_signature_info: &AttrSigInfo) -> TokenStream2 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `wrapped_module` is never used
[INFO] [stdout]  --> src/core_impl/code_generator/item_trait_info.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl ItemTraitInfo {
[INFO] [stdout]   | ------------------ method in this implementation
[INFO] [stdout] 6 |     /// Generate code that wrapps external calls.
[INFO] [stdout] 7 |     pub fn wrapped_module(&self) -> TokenStream2 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `method_wrapper` and `generate_serialier` are never used
[INFO] [stdout]   --> src/core_impl/code_generator/trait_item_method_info.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl TraitItemMethodInfo {
[INFO] [stdout]    | ------------------------ associated items in this implementation
[INFO] [stdout]  9 |     /// Generate code that wraps the method.
[INFO] [stdout] 10 |     pub fn method_wrapper(&self) -> TokenStream2 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn generate_serialier(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `wrapper_code` and `marshall_code` are never used
[INFO] [stdout]   --> src/core_impl/code_generator/item_impl_info.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl ItemImplInfo {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout]  6 |     /// Generate the code that wraps
[INFO] [stdout]  7 |     pub fn wrapper_code(&self) -> TokenStream2 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn marshall_code(&self) -> TokenStream2 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_proxy_struct` is never used
[INFO] [stdout]  --> src/core_impl/code_generator/item_struct_info.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn generate_proxy_struct(input: &ItemStruct) -> proc_macro2::TokenStream {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Serialization` is never constructed
[INFO] [stdout]   --> src/core_impl/info_extractor/mod.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub enum InputStructType {
[INFO] [stdout]    |          --------------- variant in this enum
[INFO] [stdout] 52 |     Serialization,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `non_bindgen_attrs`, `pat_reference`, `pat_mutability`, `reference`, `mutability`, and `original` are never read
[INFO] [stdout]   --> src/core_impl/info_extractor/arg_info.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct ArgInfo {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 19 |     /// Attributes not related to bindgen.
[INFO] [stdout] 20 |     pub non_bindgen_attrs: Vec<Attribute>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub pat_reference: Option<Token![ref]>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 25 |     /// Whether pattern has a preceded `mut`.
[INFO] [stdout] 26 |     pub pat_mutability: Option<Token![mut]>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 27 |     /// Whether the `TYPE` starts with `&`.
[INFO] [stdout] 28 |     pub reference: Option<Token![&]>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 29 |     /// Whether `TYPE` starts with `&mut`. Can only be set together with the `reference`.
[INFO] [stdout] 30 |     pub mutability: Option<Token![mut]>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub original: PatType,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `non_bindgen_attrs`, `result_serializer`, and `original_sig` are never read
[INFO] [stdout]   --> src/core_impl/info_extractor/attr_sig_info.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct AttrSigInfo {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub non_bindgen_attrs: Vec<Attribute>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub result_serializer: SerializerType,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub original_sig: Signature,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TraitItemMethodInfo` is never constructed
[INFO] [stdout]  --> src/core_impl/info_extractor/trait_item_method_info.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct TraitItemMethodInfo {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/core_impl/info_extractor/trait_item_method_info.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TraitItemMethodInfo {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(original: &mut TraitItemMethod) -> syn::Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ItemTraitInfo` is never constructed
[INFO] [stdout]  --> src/core_impl/info_extractor/item_trait_info.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ItemTraitInfo {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/core_impl/info_extractor/item_trait_info.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl ItemTraitInfo {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 17 |     pub fn new(original: &mut ItemTrait, mod_name_override: Option<Ident>) -> syn::Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_trait_impl`, `has_near_sdk_attr`, and `ty` are never read
[INFO] [stdout]   --> src/core_impl/info_extractor/item_impl_info.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct ItemImplInfo {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout]  7 |     /// Whether this is a trait implementation.
[INFO] [stdout]  8 |     pub is_trait_impl: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]  9 |     /// Whether `impl` section decorated with `#[near_bindgen]`
[INFO] [stdout] 10 |     pub has_near_sdk_attr: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     /// The type for which this `impl` is written.
[INFO] [stdout] 12 |     pub ty: Type,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_statements` is never used
[INFO] [stdout]  --> src/core_impl/info_extractor/statements_parser.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn parse_statements(stmts: &[Stmt], functions_called: &mut Vec<Ident>) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_item` is never used
[INFO] [stdout]   --> src/core_impl/info_extractor/statements_parser.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn parse_item(it: &syn::Item, functions_called: &mut Vec<Ident>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_expr` is never used
[INFO] [stdout]   --> src/core_impl/info_extractor/statements_parser.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn parse_expr(expr: &Expr, functions_called: &mut Vec<Ident>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.39s
[INFO] running `Command { std: "docker" "inspect" "ec2ffb23ad80d10c4e6a209c08d422f598103b59214d81a7ad04a8534e1a7413", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec2ffb23ad80d10c4e6a209c08d422f598103b59214d81a7ad04a8534e1a7413", kill_on_drop: false }`
[INFO] [stdout] ec2ffb23ad80d10c4e6a209c08d422f598103b59214d81a7ad04a8534e1a7413
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 51574284927c1864d86f02bca6b88b7e5773b81eaa350a96411b3882c8fa67e8
[INFO] running `Command { std: "docker" "start" "-a" "51574284927c1864d86f02bca6b88b7e5773b81eaa350a96411b3882c8fa67e8", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `attr_sig_info::*`
[INFO] [stdout]  --> src/core_impl/code_generator/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use attr_sig_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `impl_item_method_info::*`
[INFO] [stdout]  --> src/core_impl/code_generator/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use impl_item_method_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `item_trait_info::*`
[INFO] [stdout]  --> src/core_impl/code_generator/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use item_trait_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trait_item_method_info::*`
[INFO] [stdout]   --> src/core_impl/code_generator/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use trait_item_method_info::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `item_impl_info::*`
[INFO] [stdout]   --> src/core_impl/code_generator/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use item_impl_info::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `item_struct_info::*`
[INFO] [stdout]   --> src/core_impl/code_generator/mod.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use item_struct_info::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `statements_parser::parse_statements`
[INFO] [stdout]   --> src/core_impl/info_extractor/mod.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub use statements_parser::parse_statements;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core_impl/metadata/metadata_visitor.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quote`
[INFO] [stdout]   --> src/core_impl/metadata/metadata_visitor.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use quote::{quote, ToTokens};
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `code_generator::*`
[INFO] [stdout]  --> src/core_impl/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use code_generator::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ident`
[INFO] [stdout]  --> src/contract_descriptor.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use proc_macro2::{Ident, Span};
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ItemStruct` and `Item`
[INFO] [stdout]  --> src/contract_descriptor.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | use syn::{Item, ItemStruct};
[INFO] [stdout]   |           ^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/core_impl/info_extractor/statements_parser.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |         syn::Expr::Call(c) => todo!(),
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `decomposition_pattern`, `constructor_expr`, `arg_list`, `pat_type_list`, `callback_deserialization`, and `callback_vec_deserialization` are never used
[INFO] [stdout]    --> src/core_impl/code_generator/attr_sig_info.rs:79:12
[INFO] [stdout]     |
[INFO] [stdout]   8 | impl AttrSigInfo {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub fn decomposition_pattern(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn constructor_expr(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn arg_list(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn pat_type_list(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn callback_deserialization(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn callback_vec_deserialization(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_data` is never used
[INFO] [stdout]    --> src/core_impl/code_generator/attr_sig_info.rs:243:8
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub fn deserialize_data(ty: &SerializerType) -> TokenStream2 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `method_wrapper` and `marshal_method` are never used
[INFO] [stdout]    --> src/core_impl/code_generator/impl_item_method_info.rs:10:12
[INFO] [stdout]     |
[INFO] [stdout]   8 | impl ImplItemMethodInfo {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout]   9 |     /// Generate wrapper method for the given method of the contract.
[INFO] [stdout]  10 |     pub fn method_wrapper(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn marshal_method(&self) -> TokenStream2 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `json_serialize` is never used
[INFO] [stdout]    --> src/core_impl/code_generator/impl_item_method_info.rs:251:4
[INFO] [stdout]     |
[INFO] [stdout] 251 | fn json_serialize(attr_signature_info: &AttrSigInfo) -> TokenStream2 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `wrapped_module` is never used
[INFO] [stdout]  --> src/core_impl/code_generator/item_trait_info.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl ItemTraitInfo {
[INFO] [stdout]   | ------------------ method in this implementation
[INFO] [stdout] 6 |     /// Generate code that wrapps external calls.
[INFO] [stdout] 7 |     pub fn wrapped_module(&self) -> TokenStream2 {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `method_wrapper` and `generate_serialier` are never used
[INFO] [stdout]   --> src/core_impl/code_generator/trait_item_method_info.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl TraitItemMethodInfo {
[INFO] [stdout]    | ------------------------ associated items in this implementation
[INFO] [stdout]  9 |     /// Generate code that wraps the method.
[INFO] [stdout] 10 |     pub fn method_wrapper(&self) -> TokenStream2 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn generate_serialier(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `wrapper_code` and `marshall_code` are never used
[INFO] [stdout]   --> src/core_impl/code_generator/item_impl_info.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl ItemImplInfo {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout]  6 |     /// Generate the code that wraps
[INFO] [stdout]  7 |     pub fn wrapper_code(&self) -> TokenStream2 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn marshall_code(&self) -> TokenStream2 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_proxy_struct` is never used
[INFO] [stdout]  --> src/core_impl/code_generator/item_struct_info.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn generate_proxy_struct(input: &ItemStruct) -> proc_macro2::TokenStream {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling scanner-syn v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `Serialization` is never constructed
[INFO] [stdout]   --> src/core_impl/info_extractor/mod.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub enum InputStructType {
[INFO] [stdout]    |          --------------- variant in this enum
[INFO] [stdout] 52 |     Serialization,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `non_bindgen_attrs`, `pat_reference`, `pat_mutability`, `reference`, `mutability`, and `original` are never read
[INFO] [stdout]   --> src/core_impl/info_extractor/arg_info.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct ArgInfo {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 19 |     /// Attributes not related to bindgen.
[INFO] [stdout] 20 |     pub non_bindgen_attrs: Vec<Attribute>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub pat_reference: Option<Token![ref]>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 25 |     /// Whether pattern has a preceded `mut`.
[INFO] [stdout] 26 |     pub pat_mutability: Option<Token![mut]>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 27 |     /// Whether the `TYPE` starts with `&`.
[INFO] [stdout] 28 |     pub reference: Option<Token![&]>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 29 |     /// Whether `TYPE` starts with `&mut`. Can only be set together with the `reference`.
[INFO] [stdout] 30 |     pub mutability: Option<Token![mut]>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub original: PatType,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `non_bindgen_attrs`, `result_serializer`, and `original_sig` are never read
[INFO] [stdout]   --> src/core_impl/info_extractor/attr_sig_info.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct AttrSigInfo {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub non_bindgen_attrs: Vec<Attribute>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub result_serializer: SerializerType,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub original_sig: Signature,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TraitItemMethodInfo` is never constructed
[INFO] [stdout]  --> src/core_impl/info_extractor/trait_item_method_info.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct TraitItemMethodInfo {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/core_impl/info_extractor/trait_item_method_info.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl TraitItemMethodInfo {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(original: &mut TraitItemMethod) -> syn::Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ItemTraitInfo` is never constructed
[INFO] [stdout]  --> src/core_impl/info_extractor/item_trait_info.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ItemTraitInfo {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/core_impl/info_extractor/item_trait_info.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl ItemTraitInfo {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 17 |     pub fn new(original: &mut ItemTrait, mod_name_override: Option<Ident>) -> syn::Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_trait_impl`, `has_near_sdk_attr`, and `ty` are never read
[INFO] [stdout]   --> src/core_impl/info_extractor/item_impl_info.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct ItemImplInfo {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout]  7 |     /// Whether this is a trait implementation.
[INFO] [stdout]  8 |     pub is_trait_impl: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]  9 |     /// Whether `impl` section decorated with `#[near_bindgen]`
[INFO] [stdout] 10 |     pub has_near_sdk_attr: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     /// The type for which this `impl` is written.
[INFO] [stdout] 12 |     pub ty: Type,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_statements` is never used
[INFO] [stdout]  --> src/core_impl/info_extractor/statements_parser.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn parse_statements(stmts: &[Stmt], functions_called: &mut Vec<Ident>) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_item` is never used
[INFO] [stdout]   --> src/core_impl/info_extractor/statements_parser.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn parse_item(it: &syn::Item, functions_called: &mut Vec<Ident>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_expr` is never used
[INFO] [stdout]   --> src/core_impl/info_extractor/statements_parser.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn parse_expr(expr: &Expr, functions_called: &mut Vec<Ident>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `attr_sig_info::*`
[INFO] [stdout]  --> src/core_impl/code_generator/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use attr_sig_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `impl_item_method_info::*`
[INFO] [stdout]  --> src/core_impl/code_generator/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use impl_item_method_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `item_trait_info::*`
[INFO] [stdout]  --> src/core_impl/code_generator/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use item_trait_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trait_item_method_info::*`
[INFO] [stdout]   --> src/core_impl/code_generator/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use trait_item_method_info::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `item_impl_info::*`
[INFO] [stdout]   --> src/core_impl/code_generator/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use item_impl_info::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `item_struct_info::*`
[INFO] [stdout]   --> src/core_impl/code_generator/mod.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use item_struct_info::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `statements_parser::parse_statements`
[INFO] [stdout]   --> src/core_impl/info_extractor/mod.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub use statements_parser::parse_statements;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core_impl/metadata/metadata_visitor.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quote`
[INFO] [stdout]   --> src/core_impl/metadata/metadata_visitor.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use quote::{quote, ToTokens};
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `code_generator::*`
[INFO] [stdout]  --> src/core_impl/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use code_generator::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ident`
[INFO] [stdout]  --> src/contract_descriptor.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use proc_macro2::{Ident, Span};
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ItemStruct` and `Item`
[INFO] [stdout]  --> src/contract_descriptor.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | use syn::{Item, ItemStruct};
[INFO] [stdout]   |           ^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/core_impl/info_extractor/statements_parser.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |         syn::Expr::Call(c) => todo!(),
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `wrapper_code` and `marshall_code` are never used
[INFO] [stdout]   --> src/core_impl/code_generator/item_impl_info.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl ItemImplInfo {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout]  6 |     /// Generate the code that wraps
[INFO] [stdout]  7 |     pub fn wrapper_code(&self) -> TokenStream2 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn marshall_code(&self) -> TokenStream2 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_proxy_struct` is never used
[INFO] [stdout]  --> src/core_impl/code_generator/item_struct_info.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn generate_proxy_struct(input: &ItemStruct) -> proc_macro2::TokenStream {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `non_bindgen_attrs`, `pat_reference`, and `pat_mutability` are never read
[INFO] [stdout]   --> src/core_impl/info_extractor/arg_info.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct ArgInfo {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 19 |     /// Attributes not related to bindgen.
[INFO] [stdout] 20 |     pub non_bindgen_attrs: Vec<Attribute>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub pat_reference: Option<Token![ref]>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 25 |     /// Whether pattern has a preceded `mut`.
[INFO] [stdout] 26 |     pub pat_mutability: Option<Token![mut]>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `original` is never read
[INFO] [stdout]   --> src/core_impl/info_extractor/trait_item_method_info.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct TraitItemMethodInfo {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub original: TraitItemMethod,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `original` is never read
[INFO] [stdout]   --> src/core_impl/info_extractor/item_trait_info.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct ItemTraitInfo {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub original: ItemTrait,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_trait_impl`, `has_near_sdk_attr`, and `ty` are never read
[INFO] [stdout]   --> src/core_impl/info_extractor/item_impl_info.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct ItemImplInfo {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout]  7 |     /// Whether this is a trait implementation.
[INFO] [stdout]  8 |     pub is_trait_impl: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]  9 |     /// Whether `impl` section decorated with `#[near_bindgen]`
[INFO] [stdout] 10 |     pub has_near_sdk_attr: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     /// The type for which this `impl` is written.
[INFO] [stdout] 12 |     pub ty: Type,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_statements` is never used
[INFO] [stdout]  --> src/core_impl/info_extractor/statements_parser.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn parse_statements(stmts: &[Stmt], functions_called: &mut Vec<Ident>) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_item` is never used
[INFO] [stdout]   --> src/core_impl/info_extractor/statements_parser.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn parse_item(it: &syn::Item, functions_called: &mut Vec<Ident>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_expr` is never used
[INFO] [stdout]   --> src/core_impl/info_extractor/statements_parser.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn parse_expr(expr: &Expr, functions_called: &mut Vec<Ident>) {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.10s
[INFO] running `Command { std: "docker" "inspect" "51574284927c1864d86f02bca6b88b7e5773b81eaa350a96411b3882c8fa67e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51574284927c1864d86f02bca6b88b7e5773b81eaa350a96411b3882c8fa67e8", kill_on_drop: false }`
[INFO] [stdout] 51574284927c1864d86f02bca6b88b7e5773b81eaa350a96411b3882c8fa67e8
