Identify size bloat host trait #455
Annotations
3 errors and 80 warnings
(x86_64-unknown-linux-gnu, stable)
Process completed with exit code 101.
|
(x86_64-unknown-linux-gnu, nightly)
The job was canceled because "x86_64-unknown-linux-gn_2" failed.
|
(x86_64-unknown-linux-gnu, nightly)
The operation was canceled.
|
missing documentation for a module:
stylus-sdk/src/host/mod.rs#L13
warning: missing documentation for a module
--> stylus-sdk/src/host/mod.rs:13:1
|
13 | pub mod deploy;
| ^^^^^^^^^^^^^^
|
missing documentation for a module:
stylus-sdk/src/host/mod.rs#L12
warning: missing documentation for a module
--> stylus-sdk/src/host/mod.rs:12:1
|
12 | pub mod calls;
| ^^^^^^^^^^^^^
|
note: the lint level is defined here
--> stylus-sdk/src/lib.rs:27:9
|
27 | #![warn(missing_docs)]
| ^^^^^^^^^^^^
|
function `static_call_contract` is never used:
stylus-sdk/src/hostio.rs#L368
warning: function `static_call_contract` is never used
--> stylus-sdk/src/hostio.rs:368:12
|
368 | pub fn static_call_contract(
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the macro `vm_hooks` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function `delegate_call_contract` is never used:
stylus-sdk/src/hostio.rs#L258
warning: function `delegate_call_contract` is never used
--> stylus-sdk/src/hostio.rs:258:12
|
258 | pub fn delegate_call_contract(
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the macro `vm_hooks` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function `call_contract` is never used:
stylus-sdk/src/hostio.rs#L182
warning: function `call_contract` is never used
--> stylus-sdk/src/hostio.rs:182:12
|
182 | pub fn call_contract(
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
= note: this warning originates in the macro `vm_hooks` (in Nightly builds, run with -Z macro-backtrace for more info)
|
variable does not need to be mutable:
stylus-sdk/src/host/deploy.rs#L59
warning: variable does not need to be mutable
--> stylus-sdk/src/host/deploy.rs:59:13
|
59 | let mut contract = Address::default();
| ----^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
unused variable: `salt`:
stylus-sdk/src/host/deploy.rs#L57
warning: unused variable: `salt`
--> stylus-sdk/src/host/deploy.rs:57:9
|
57 | salt: Option<B256>,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_salt`
|
unused variable: `endowment`:
stylus-sdk/src/host/deploy.rs#L56
warning: unused variable: `endowment`
--> stylus-sdk/src/host/deploy.rs:56:9
|
56 | endowment: U256,
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endowment`
|
unused variable: `code`:
stylus-sdk/src/host/deploy.rs#L55
warning: unused variable: `code`
--> stylus-sdk/src/host/deploy.rs:55:9
|
55 | code: &[u8],
| ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
|
unused variable: `amount`:
stylus-sdk/src/host/calls.rs#L135
warning: unused variable: `amount`
--> stylus-sdk/src/host/calls.rs:135:41
|
135 | fn transfer_eth(&self, to: Address, amount: U256) -> Result<(), Vec<u8>> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
|
unused variable: `to`:
stylus-sdk/src/host/calls.rs#L135
warning: unused variable: `to`
--> stylus-sdk/src/host/calls.rs:135:28
|
135 | fn transfer_eth(&self, to: Address, amount: U256) -> Result<(), Vec<u8>> {
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `data`:
stylus-sdk/src/host/calls.rs#L77
warning: unused variable: `data`
--> stylus-sdk/src/host/calls.rs:77:9
|
77 | data: &[u8],
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
unused variable: `to`:
stylus-sdk/src/host/calls.rs#L76
warning: unused variable: `to`
--> stylus-sdk/src/host/calls.rs:76:9
|
76 | to: alloy_primitives::Address,
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `context`:
stylus-sdk/src/host/calls.rs#L75
warning: unused variable: `context`
--> stylus-sdk/src/host/calls.rs:75:9
|
75 | context: &dyn StaticCallContext,
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
|
unused variable: `data`:
stylus-sdk/src/host/calls.rs#L59
warning: unused variable: `data`
--> stylus-sdk/src/host/calls.rs:59:9
|
59 | data: &[u8],
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
unused variable: `to`:
stylus-sdk/src/host/calls.rs#L58
warning: unused variable: `to`
--> stylus-sdk/src/host/calls.rs:58:9
|
58 | to: alloy_primitives::Address,
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `context`:
stylus-sdk/src/host/calls.rs#L57
warning: unused variable: `context`
--> stylus-sdk/src/host/calls.rs:57:9
|
57 | context: &dyn MutatingCallContext,
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
|
unused variable: `data`:
stylus-sdk/src/host/calls.rs#L32
warning: unused variable: `data`
--> stylus-sdk/src/host/calls.rs:32:9
|
32 | data: &[u8],
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
unused variable: `to`:
stylus-sdk/src/host/calls.rs#L31
warning: unused variable: `to`
--> stylus-sdk/src/host/calls.rs:31:9
|
31 | to: alloy_primitives::Address,
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `context`:
stylus-sdk/src/host/calls.rs#L30
warning: unused variable: `context`
--> stylus-sdk/src/host/calls.rs:30:9
|
30 | context: &dyn MutatingCallContext,
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
|
unused variable: `data`:
stylus-sdk/src/call/mod.rs#L100
warning: unused variable: `data`
--> stylus-sdk/src/call/mod.rs:100:61
|
100 | pub fn call(context: impl MutatingCallContext, to: Address, data: &[u8]) -> Result<Vec<u8>, Error> {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
unused variable: `to`:
stylus-sdk/src/call/mod.rs#L100
warning: unused variable: `to`
--> stylus-sdk/src/call/mod.rs:100:48
|
100 | pub fn call(context: impl MutatingCallContext, to: Address, data: &[u8]) -> Result<Vec<u8>, Error> {
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `context`:
stylus-sdk/src/call/mod.rs#L100
warning: unused variable: `context`
--> stylus-sdk/src/call/mod.rs:100:13
|
100 | pub fn call(context: impl MutatingCallContext, to: Address, data: &[u8]) -> Result<Vec<u8>, Error> {
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
|
unused variable: `data`:
stylus-sdk/src/call/mod.rs#L82
warning: unused variable: `data`
--> stylus-sdk/src/call/mod.rs:82:5
|
82 | data: &[u8],
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
unused variable: `to`:
stylus-sdk/src/call/mod.rs#L81
warning: unused variable: `to`
--> stylus-sdk/src/call/mod.rs:81:5
|
81 | to: Address,
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `context`:
stylus-sdk/src/call/mod.rs#L80
warning: unused variable: `context`
--> stylus-sdk/src/call/mod.rs:80:5
|
80 | context: impl MutatingCallContext,
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
|
unused variable: `data`:
stylus-sdk/src/call/mod.rs#L53
warning: unused variable: `data`
--> stylus-sdk/src/call/mod.rs:53:5
|
53 | data: &[u8],
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
unused variable: `to`:
stylus-sdk/src/call/mod.rs#L52
warning: unused variable: `to`
--> stylus-sdk/src/call/mod.rs:52:5
|
52 | to: Address,
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `context`:
stylus-sdk/src/call/mod.rs#L51
warning: unused variable: `context`
--> stylus-sdk/src/call/mod.rs:51:5
|
51 | context: impl StaticCallContext,
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
|
unused variable: `amount`:
stylus-sdk/src/call/transfer.rs#L65
warning: unused variable: `amount`
--> stylus-sdk/src/call/transfer.rs:65:34
|
65 | pub fn transfer_eth(to: Address, amount: U256) -> Result<(), Vec<u8>> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
|
unused variable: `to`:
stylus-sdk/src/call/transfer.rs#L65
warning: unused variable: `to`
--> stylus-sdk/src/call/transfer.rs:65:21
|
65 | pub fn transfer_eth(to: Address, amount: U256) -> Result<(), Vec<u8>> {
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
= note: `#[warn(unused_variables)]` on by default
|
unused import: `host::Host`:
stylus-sdk/src/abi/mod.rs#L21
warning: unused import: `host::Host`
--> stylus-sdk/src/abi/mod.rs:21:19
|
21 | use stylus_core::{host::Host, storage::TopLevelStorage};
| ^^^^^^^^^^
|
use of deprecated function `msg::value`: Use the .vm() method available on Stylus contracts instead to access host environment methods:
stylus-sdk/src/abi/internal.rs#L53
warning: use of deprecated function `msg::value`: Use the .vm() method available on Stylus contracts instead to access host environment methods
--> stylus-sdk/src/abi/internal.rs:53:13
|
53 | if msg::value() == U256::ZERO {
| ^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
unused imports: `CalldataAccess` and `UnsafeDeploymentAccess`:
stylus-sdk/src/host/deploy.rs#L4
warning: unused imports: `CalldataAccess` and `UnsafeDeploymentAccess`
--> stylus-sdk/src/host/deploy.rs:4:25
|
4 | use stylus_core::host::{CalldataAccess, UnsafeDeploymentAccess};
| ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^
|
unused macro definition: `unsafe_reentrant`:
stylus-sdk/src/host/calls.rs#L14
warning: unused macro definition: `unsafe_reentrant`
--> stylus-sdk/src/host/calls.rs:14:14
|
14 | macro_rules! unsafe_reentrant {
| ^^^^^^^^^^^^^^^^
|
unused import: `crate::call::RawCall`:
stylus-sdk/src/host/calls.rs#L10
warning: unused import: `crate::call::RawCall`
--> stylus-sdk/src/host/calls.rs:10:5
|
10 | use crate::call::RawCall;
| ^^^^^^^^^^^^^^^^^^^^
|
unused macro definition: `unsafe_reentrant`:
stylus-sdk/src/call/mod.rs#L32
warning: unused macro definition: `unsafe_reentrant`
--> stylus-sdk/src/call/mod.rs:32:14
|
32 | macro_rules! unsafe_reentrant {
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_macros)]` on by default
|
unused import: `crate::host::VM`:
stylus-sdk/src/call/transfer.rs#L5
warning: unused import: `crate::host::VM`
--> stylus-sdk/src/call/transfer.rs:5:5
|
5 | use crate::host::VM;
| ^^^^^^^^^^^^^^^
|
unused import: `crate::call::RawCall`:
stylus-sdk/src/call/transfer.rs#L4
warning: unused import: `crate::call::RawCall`
--> stylus-sdk/src/call/transfer.rs:4:5
|
4 | use crate::call::RawCall;
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::host::VM`:
stylus-sdk/src/call/mod.rs#L22
warning: unused import: `crate::host::VM`
--> stylus-sdk/src/call/mod.rs:22:5
|
22 | use crate::host::VM;
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
missing documentation for a module:
stylus-sdk/src/host/mod.rs#L13
warning: missing documentation for a module
--> stylus-sdk/src/host/mod.rs:13:1
|
13 | pub mod deploy;
| ^^^^^^^^^^^^^^
|
missing documentation for a module:
stylus-sdk/src/host/mod.rs#L12
warning: missing documentation for a module
--> stylus-sdk/src/host/mod.rs:12:1
|
12 | pub mod calls;
| ^^^^^^^^^^^^^
|
note: the lint level is defined here
--> stylus-sdk/src/lib.rs:27:9
|
27 | #![warn(missing_docs)]
| ^^^^^^^^^^^^
|
function `static_call_contract` is never used:
stylus-sdk/src/hostio.rs#L368
warning: function `static_call_contract` is never used
--> stylus-sdk/src/hostio.rs:368:12
|
368 | pub fn static_call_contract(
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the macro `vm_hooks` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function `delegate_call_contract` is never used:
stylus-sdk/src/hostio.rs#L258
warning: function `delegate_call_contract` is never used
--> stylus-sdk/src/hostio.rs:258:12
|
258 | pub fn delegate_call_contract(
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the macro `vm_hooks` (in Nightly builds, run with -Z macro-backtrace for more info)
|
function `call_contract` is never used:
stylus-sdk/src/hostio.rs#L182
warning: function `call_contract` is never used
--> stylus-sdk/src/hostio.rs:182:12
|
182 | pub fn call_contract(
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
= note: this warning originates in the macro `vm_hooks` (in Nightly builds, run with -Z macro-backtrace for more info)
|
variable does not need to be mutable:
stylus-sdk/src/host/deploy.rs#L59
warning: variable does not need to be mutable
--> stylus-sdk/src/host/deploy.rs:59:13
|
59 | let mut contract = Address::default();
| ----^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
unused variable: `salt`:
stylus-sdk/src/host/deploy.rs#L57
warning: unused variable: `salt`
--> stylus-sdk/src/host/deploy.rs:57:9
|
57 | salt: Option<B256>,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_salt`
|
unused variable: `endowment`:
stylus-sdk/src/host/deploy.rs#L56
warning: unused variable: `endowment`
--> stylus-sdk/src/host/deploy.rs:56:9
|
56 | endowment: U256,
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endowment`
|
unused variable: `code`:
stylus-sdk/src/host/deploy.rs#L55
warning: unused variable: `code`
--> stylus-sdk/src/host/deploy.rs:55:9
|
55 | code: &[u8],
| ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
|
unused variable: `amount`:
stylus-sdk/src/host/calls.rs#L135
warning: unused variable: `amount`
--> stylus-sdk/src/host/calls.rs:135:41
|
135 | fn transfer_eth(&self, to: Address, amount: U256) -> Result<(), Vec<u8>> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
|
unused variable: `to`:
stylus-sdk/src/host/calls.rs#L135
warning: unused variable: `to`
--> stylus-sdk/src/host/calls.rs:135:28
|
135 | fn transfer_eth(&self, to: Address, amount: U256) -> Result<(), Vec<u8>> {
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `data`:
stylus-sdk/src/host/calls.rs#L77
warning: unused variable: `data`
--> stylus-sdk/src/host/calls.rs:77:9
|
77 | data: &[u8],
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
unused variable: `to`:
stylus-sdk/src/host/calls.rs#L76
warning: unused variable: `to`
--> stylus-sdk/src/host/calls.rs:76:9
|
76 | to: alloy_primitives::Address,
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `context`:
stylus-sdk/src/host/calls.rs#L75
warning: unused variable: `context`
--> stylus-sdk/src/host/calls.rs:75:9
|
75 | context: &dyn StaticCallContext,
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
|
unused variable: `data`:
stylus-sdk/src/host/calls.rs#L59
warning: unused variable: `data`
--> stylus-sdk/src/host/calls.rs:59:9
|
59 | data: &[u8],
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
unused variable: `to`:
stylus-sdk/src/host/calls.rs#L58
warning: unused variable: `to`
--> stylus-sdk/src/host/calls.rs:58:9
|
58 | to: alloy_primitives::Address,
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `context`:
stylus-sdk/src/host/calls.rs#L57
warning: unused variable: `context`
--> stylus-sdk/src/host/calls.rs:57:9
|
57 | context: &dyn MutatingCallContext,
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
|
unused variable: `data`:
stylus-sdk/src/host/calls.rs#L32
warning: unused variable: `data`
--> stylus-sdk/src/host/calls.rs:32:9
|
32 | data: &[u8],
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
unused variable: `to`:
stylus-sdk/src/host/calls.rs#L31
warning: unused variable: `to`
--> stylus-sdk/src/host/calls.rs:31:9
|
31 | to: alloy_primitives::Address,
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `context`:
stylus-sdk/src/host/calls.rs#L30
warning: unused variable: `context`
--> stylus-sdk/src/host/calls.rs:30:9
|
30 | context: &dyn MutatingCallContext,
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
|
unused variable: `data`:
stylus-sdk/src/call/mod.rs#L100
warning: unused variable: `data`
--> stylus-sdk/src/call/mod.rs:100:61
|
100 | pub fn call(context: impl MutatingCallContext, to: Address, data: &[u8]) -> Result<Vec<u8>, Error> {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
unused variable: `to`:
stylus-sdk/src/call/mod.rs#L100
warning: unused variable: `to`
--> stylus-sdk/src/call/mod.rs:100:48
|
100 | pub fn call(context: impl MutatingCallContext, to: Address, data: &[u8]) -> Result<Vec<u8>, Error> {
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `context`:
stylus-sdk/src/call/mod.rs#L100
warning: unused variable: `context`
--> stylus-sdk/src/call/mod.rs:100:13
|
100 | pub fn call(context: impl MutatingCallContext, to: Address, data: &[u8]) -> Result<Vec<u8>, Error> {
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
|
unused variable: `data`:
stylus-sdk/src/call/mod.rs#L82
warning: unused variable: `data`
--> stylus-sdk/src/call/mod.rs:82:5
|
82 | data: &[u8],
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
unused variable: `to`:
stylus-sdk/src/call/mod.rs#L81
warning: unused variable: `to`
--> stylus-sdk/src/call/mod.rs:81:5
|
81 | to: Address,
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `context`:
stylus-sdk/src/call/mod.rs#L80
warning: unused variable: `context`
--> stylus-sdk/src/call/mod.rs:80:5
|
80 | context: impl MutatingCallContext,
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
|
unused variable: `data`:
stylus-sdk/src/call/mod.rs#L53
warning: unused variable: `data`
--> stylus-sdk/src/call/mod.rs:53:5
|
53 | data: &[u8],
| ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
|
unused variable: `to`:
stylus-sdk/src/call/mod.rs#L52
warning: unused variable: `to`
--> stylus-sdk/src/call/mod.rs:52:5
|
52 | to: Address,
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
unused variable: `context`:
stylus-sdk/src/call/mod.rs#L51
warning: unused variable: `context`
--> stylus-sdk/src/call/mod.rs:51:5
|
51 | context: impl StaticCallContext,
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
|
unused variable: `amount`:
stylus-sdk/src/call/transfer.rs#L65
warning: unused variable: `amount`
--> stylus-sdk/src/call/transfer.rs:65:34
|
65 | pub fn transfer_eth(to: Address, amount: U256) -> Result<(), Vec<u8>> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
|
unused variable: `to`:
stylus-sdk/src/call/transfer.rs#L65
warning: unused variable: `to`
--> stylus-sdk/src/call/transfer.rs:65:21
|
65 | pub fn transfer_eth(to: Address, amount: U256) -> Result<(), Vec<u8>> {
| ^^ help: if this is intentional, prefix it with an underscore: `_to`
|
= note: `#[warn(unused_variables)]` on by default
|
unused import: `host::Host`:
stylus-sdk/src/abi/mod.rs#L21
warning: unused import: `host::Host`
--> stylus-sdk/src/abi/mod.rs:21:19
|
21 | use stylus_core::{host::Host, storage::TopLevelStorage};
| ^^^^^^^^^^
|
use of deprecated function `msg::value`: Use the .vm() method available on Stylus contracts instead to access host environment methods:
stylus-sdk/src/abi/internal.rs#L53
warning: use of deprecated function `msg::value`: Use the .vm() method available on Stylus contracts instead to access host environment methods
--> stylus-sdk/src/abi/internal.rs:53:13
|
53 | if msg::value() == U256::ZERO {
| ^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
unused imports: `CalldataAccess` and `UnsafeDeploymentAccess`:
stylus-sdk/src/host/deploy.rs#L4
warning: unused imports: `CalldataAccess` and `UnsafeDeploymentAccess`
--> stylus-sdk/src/host/deploy.rs:4:25
|
4 | use stylus_core::host::{CalldataAccess, UnsafeDeploymentAccess};
| ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^
|
unused macro definition: `unsafe_reentrant`:
stylus-sdk/src/host/calls.rs#L14
warning: unused macro definition: `unsafe_reentrant`
--> stylus-sdk/src/host/calls.rs:14:14
|
14 | macro_rules! unsafe_reentrant {
| ^^^^^^^^^^^^^^^^
|
unused import: `crate::call::RawCall`:
stylus-sdk/src/host/calls.rs#L10
warning: unused import: `crate::call::RawCall`
--> stylus-sdk/src/host/calls.rs:10:5
|
10 | use crate::call::RawCall;
| ^^^^^^^^^^^^^^^^^^^^
|
unused macro definition: `unsafe_reentrant`:
stylus-sdk/src/call/mod.rs#L32
warning: unused macro definition: `unsafe_reentrant`
--> stylus-sdk/src/call/mod.rs:32:14
|
32 | macro_rules! unsafe_reentrant {
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_macros)]` on by default
|
unused import: `crate::host::VM`:
stylus-sdk/src/call/transfer.rs#L5
warning: unused import: `crate::host::VM`
--> stylus-sdk/src/call/transfer.rs:5:5
|
5 | use crate::host::VM;
| ^^^^^^^^^^^^^^^
|
unused import: `crate::call::RawCall`:
stylus-sdk/src/call/transfer.rs#L4
warning: unused import: `crate::call::RawCall`
--> stylus-sdk/src/call/transfer.rs:4:5
|
4 | use crate::call::RawCall;
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::host::VM`:
stylus-sdk/src/call/mod.rs#L22
warning: unused import: `crate::host::VM`
--> stylus-sdk/src/call/mod.rs:22:5
|
22 | use crate::host::VM;
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|