[INFO] fetching crate styluszeppelin 0.1.5... [INFO] checking styluszeppelin-0.1.5 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate styluszeppelin 0.1.5 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate styluszeppelin 0.1.5 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 110 packages to latest compatible versions [INFO] [stderr] Adding alloy-primitives v0.3.3 (available: v1.3.1) [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 stylus-proc v0.4.3 (available: v0.9.0) [INFO] [stderr] Adding stylus-sdk v0.4.3 (available: v0.9.0) [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4609ffa51437b9e395cc0bf537552277fd51d1493110d9e92fd71ab0ee698146 [INFO] running `Command { std: "docker" "start" "-a" "4609ffa51437b9e395cc0bf537552277fd51d1493110d9e92fd71ab0ee698146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4609ffa51437b9e395cc0bf537552277fd51d1493110d9e92fd71ab0ee698146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4609ffa51437b9e395cc0bf537552277fd51d1493110d9e92fd71ab0ee698146", kill_on_drop: false }` [INFO] [stdout] 4609ffa51437b9e395cc0bf537552277fd51d1493110d9e92fd71ab0ee698146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad336f07880e3d0be0654f05145a1e1e62721a41238432a566ffde78df19d392 [INFO] running `Command { std: "docker" "start" "-a" "ad336f07880e3d0be0654f05145a1e1e62721a41238432a566ffde78df19d392", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking const-hex v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ruint v1.16.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking keccak-const v0.2.0 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling rustlearn v0.5.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling syn-solidity v0.3.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling alloy-sol-macro v0.3.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling alloy-primitives v0.3.3 [INFO] [stderr] Checking alloy-sol-types v0.3.1 [INFO] [stderr] Compiling derivative v2.2.0 [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)]` 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 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [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] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [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] [INFO] [stdout] warning: crate-level attribute should be in the root module [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] [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)]` 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 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [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] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [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] [INFO] [stdout] warning: crate-level attribute should be in the root module [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] [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)]` 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> { [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> { [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)]` 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> { [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> { [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)]` 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> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn deposit(&mut self, amount: U256) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn withdraw(&mut self, amount: U256) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn asset(&self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn afterDeposit(&mut self, assets: U256) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn beforeWithdraw(&mut self, amount: U256) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn totalAssets(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn rebalance(datafeeds: Vec>, strategies: Vec) -> Result> { [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)]` 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> { [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)]` 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> { [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> { [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> { [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)]` 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> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn deposit(&mut self, amount: U256) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn withdraw(&mut self, amount: U256) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn asset(&self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn afterDeposit(&mut self, assets: U256) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn beforeWithdraw(&mut self, amount: U256) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn totalAssets(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn rebalance(datafeeds: Vec>, strategies: Vec) -> Result> { [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)]` 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> { [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)]` 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> { [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> { [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> { [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 37.46s [INFO] running `Command { std: "docker" "inspect" "ad336f07880e3d0be0654f05145a1e1e62721a41238432a566ffde78df19d392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad336f07880e3d0be0654f05145a1e1e62721a41238432a566ffde78df19d392", kill_on_drop: false }` [INFO] [stdout] ad336f07880e3d0be0654f05145a1e1e62721a41238432a566ffde78df19d392