[INFO] fetching crate styluszeppelin 0.1.5...
[INFO] checking styluszeppelin-0.1.5 against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] extracting crate styluszeppelin 0.1.5 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate styluszeppelin 0.1.5
[INFO] finished tweaking crates.io crate styluszeppelin 0.1.5
[INFO] tweaked toml for crates.io crate styluszeppelin 0.1.5 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate styluszeppelin 0.1.5 on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "generate-lockfile" "--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]      Locking 113 packages to highest compatible versions
[INFO] [stderr]       Adding alloy-primitives v0.3.3 (available: v1.7.3)
[INFO] [stderr]       Adding alloy-sol-macro v0.3.1 (available: v0.3.2)
[INFO] [stderr]       Adding alloy-sol-types v0.3.1 (available: v0.3.2)
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding stylus-proc v0.4.3 (available: v0.10.10)
[INFO] [stderr]       Adding stylus-sdk v0.4.3 (available: v0.10.10)
[INFO] [stderr]       Adding syn-solidity v0.3.1 (available: v0.3.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 127fb5d23dc1d165abecc9616c5f4f0190011d40ae9f59955e59288e9bf58371
[INFO] running `Command { std: "docker" "start" "127fb5d23dc1d165abecc9616c5f4f0190011d40ae9f59955e59288e9bf58371", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "127fb5d23dc1d165abecc9616c5f4f0190011d40ae9f59955e59288e9bf58371", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "127fb5d23dc1d165abecc9616c5f4f0190011d40ae9f59955e59288e9bf58371" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "127fb5d23dc1d165abecc9616c5f4f0190011d40ae9f59955e59288e9bf58371", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "127fb5d23dc1d165abecc9616c5f4f0190011d40ae9f59955e59288e9bf58371" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling ruint-macro v1.2.1
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling const-hex v1.19.3
[INFO] [stderr]    Compiling bytes v1.12.1
[INFO] [stderr]    Compiling hex-literal v0.4.1
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling syn v3.0.9
[INFO] [stderr]    Compiling syn-solidity v0.3.1
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling sha3 v0.10.9
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking keccak-const v0.2.0
[INFO] [stderr]     Checking memory_units v0.4.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking crossbeam v0.2.12
[INFO] [stderr]    Compiling ruint v1.20.1
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]    Compiling rustlearn v0.5.0
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]     Checking alloy-primitives v0.3.3
[INFO] [stderr]    Compiling alloy-sol-macro v0.3.1
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling alloy-sol-types v0.3.1
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling stylus-proc v0.4.3
[INFO] [stderr]     Checking stylus-sdk v0.4.3
[INFO] [stderr]     Checking styluszeppelin v0.1.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/access/pausable.rs:79:36
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn paused(&self) -> Result<(bool), PausableError> {
[INFO] [stdout]    |                                    ^    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 79 -     pub fn paused(&self) -> Result<(bool), PausableError> {
[INFO] [stdout] 79 +     pub fn paused(&self) -> Result<bool, PausableError> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::vec`
[INFO] [stdout]  --> src/token/erc20/extensions/erc4626.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use alloc::vec;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![no_main]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/proxy/proxy.rs:2:42
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![cfg_attr(not(feature = "export-abi"), no_main)]
[INFO] [stdout]   |                                          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `src/lib.rs`
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![no_main]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/token/erc20/extensions/erc4626.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(not(feature = "export-abi"), no_main, no_std)]
[INFO] [stdout]   |                                          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `src/lib.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/token/erc20/extensions/erc4626.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(not(feature = "export-abi"), no_main, no_std)]
[INFO] [stdout]   |                                                   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `src/lib.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/access/pausable.rs:79:36
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn paused(&self) -> Result<(bool), PausableError> {
[INFO] [stdout]    |                                    ^    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 79 -     pub fn paused(&self) -> Result<(bool), PausableError> {
[INFO] [stdout] 79 +     pub fn paused(&self) -> Result<bool, PausableError> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::vec`
[INFO] [stdout]  --> src/token/erc20/extensions/erc4626.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use alloc::vec;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![no_main]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/proxy/proxy.rs:2:42
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![cfg_attr(not(feature = "export-abi"), no_main)]
[INFO] [stdout]   |                                          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `src/lib.rs`
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![no_main]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/token/erc20/extensions/erc4626.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(not(feature = "export-abi"), no_main, no_std)]
[INFO] [stdout]   |                                          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `src/lib.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/token/erc20/extensions/erc4626.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(not(feature = "export-abi"), no_main, no_std)]
[INFO] [stdout]   |                                                   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `src/lib.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shares`
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let shares = if supply == U256::ZERO {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shares`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `assets`
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn afterDeposit(&mut self, assets: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_assets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> src/token/erc20/extensions/erc4626.rs:100:34
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn beforeWithdraw(&mut self, amount: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]     |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shares`
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let shares = if supply == U256::ZERO {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shares`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `assets`
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn afterDeposit(&mut self, assets: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_assets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> src/token/erc20/extensions/erc4626.rs:100:34
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn beforeWithdraw(&mut self, amount: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]     |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VaultParams` is never constructed
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct VaultParams;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/token/erc20/extensions/erc4626.rs:39:12
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl Vault {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  39 |     pub fn setAsset(&mut self, _asset: Address) -> Result<Address, Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  45 |     pub fn deposit(&mut self, amount: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  73 |     pub fn withdraw(&mut self, amount: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn asset(&self) -> Result<Address, Vec<u8>> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     fn afterDeposit(&mut self, assets: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn beforeWithdraw(&mut self, amount: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn totalAssets(&self) -> Result<U256, Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn rebalance(datafeeds: Vec<Vec<u32>>, strategies: Vec<i32>) -> Result<i32, Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `totalSupply` should have a snake case name
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |         uint totalSupply;
[INFO] [stdout]    |              ^^^^^^^^^^^ help: convert the identifier to snake case: `total_supply`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `setAsset` should have a snake case name
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn setAsset(&mut self, _asset: Address) -> Result<Address, Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case: `set_asset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         RawCall::new().call(self.asset.get(), &data);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let _ = RawCall::new().call(self.asset.get(), &data);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |         self.afterDeposit(amount);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let _ = self.afterDeposit(amount);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         self.beforeWithdraw(amount);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let _ = self.beforeWithdraw(amount);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `afterDeposit` should have a snake case name
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn afterDeposit(&mut self, assets: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `after_deposit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `beforeWithdraw` should have a snake case name
[INFO] [stdout]    --> src/token/erc20/extensions/erc4626.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn beforeWithdraw(&mut self, amount: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `before_withdraw`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `totalAssets` should have a snake case name
[INFO] [stdout]    --> src/token/erc20/extensions/erc4626.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub fn totalAssets(&self) -> Result<U256, Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^^^^ help: convert the identifier to snake case: `total_assets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VaultParams` is never constructed
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct VaultParams;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/token/erc20/extensions/erc4626.rs:39:12
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl Vault {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  39 |     pub fn setAsset(&mut self, _asset: Address) -> Result<Address, Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  45 |     pub fn deposit(&mut self, amount: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  73 |     pub fn withdraw(&mut self, amount: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn asset(&self) -> Result<Address, Vec<u8>> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     fn afterDeposit(&mut self, assets: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn beforeWithdraw(&mut self, amount: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn totalAssets(&self) -> Result<U256, Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn rebalance(datafeeds: Vec<Vec<u32>>, strategies: Vec<i32>) -> Result<i32, Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `totalSupply` should have a snake case name
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |         uint totalSupply;
[INFO] [stdout]    |              ^^^^^^^^^^^ help: convert the identifier to snake case: `total_supply`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `setAsset` should have a snake case name
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn setAsset(&mut self, _asset: Address) -> Result<Address, Vec<u8>> {
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case: `set_asset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         RawCall::new().call(self.asset.get(), &data);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let _ = RawCall::new().call(self.asset.get(), &data);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |         self.afterDeposit(amount);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let _ = self.afterDeposit(amount);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         self.beforeWithdraw(amount);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let _ = self.beforeWithdraw(amount);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `afterDeposit` should have a snake case name
[INFO] [stdout]   --> src/token/erc20/extensions/erc4626.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn afterDeposit(&mut self, assets: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `after_deposit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `beforeWithdraw` should have a snake case name
[INFO] [stdout]    --> src/token/erc20/extensions/erc4626.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn beforeWithdraw(&mut self, amount: U256) -> Result<(), Vec<u8>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `before_withdraw`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `totalAssets` should have a snake case name
[INFO] [stdout]    --> src/token/erc20/extensions/erc4626.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub fn totalAssets(&self) -> Result<U256, Vec<u8>> {
[INFO] [stdout]     |            ^^^^^^^^^^^ help: convert the identifier to snake case: `total_assets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.77s
[INFO] running `Command { std: "docker" "inspect" "127fb5d23dc1d165abecc9616c5f4f0190011d40ae9f59955e59288e9bf58371", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "127fb5d23dc1d165abecc9616c5f4f0190011d40ae9f59955e59288e9bf58371", kill_on_drop: false }`
[INFO] [stdout] 127fb5d23dc1d165abecc9616c5f4f0190011d40ae9f59955e59288e9bf58371
