Skip to content

Reference-Counted Host for SDK Storage Types #347

Reference-Counted Host for SDK Storage Types

Reference-Counted Host for SDK Storage Types #347

Triggered via pull request December 27, 2024 19:32
Status Failure
Total duration 48s
Artifacts

linux.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 67 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)
Process completed with exit code 101.
(x86_64-unknown-linux-gnu, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
missing documentation for a struct: stylus-sdk/src/testing/mod.rs#L48
warning: missing documentation for a struct --> stylus-sdk/src/testing/mod.rs:48:1 | 48 | pub struct MockHost; | ^^^^^^^^^^^^^^^^^^^
bounds on generic parameters in type aliases are not enforced: stylus-sdk/src/storage/mod.rs#L110
warning: bounds on generic parameters in type aliases are not enforced --> stylus-sdk/src/storage/mod.rs:110:31 | 110 | pub type $name<H: Host> = StorageFixedBytes<H, $bytes>; | --^^^^ | | | | | will not be checked at usage sites of the type alias | help: remove this bound ... 126 | / alias_bytes! { 127 | | StorageB8, 8, 1; 128 | | StorageB16, 16, 2; 129 | | StorageB32, 32, 4; ... | 136 | | StorageB256, 256, 32; 137 | | } | |_- in this macro invocation | = note: this is a known limitation of the type checker that may be lifted in a future edition. see issue #112792 <https://github.com/rust-lang/rust/issues/112792> for more information = note: this warning originates in the macro `alias_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
bounds on generic parameters in type aliases are not enforced: stylus-sdk/src/storage/mod.rs#L101
warning: bounds on generic parameters in type aliases are not enforced --> stylus-sdk/src/storage/mod.rs:101:38 | 101 | pub type $signed_name<H: Host> = StorageSigned<H, $bits, $limbs>; | --^^^^ | | | | | will not be checked at usage sites of the type alias | help: remove this bound ... 115 | / alias_ints! { 116 | | StorageU8, StorageI8, 8, 1; 117 | | StorageU16, StorageI16, 16, 1; 118 | | StorageU32, StorageI32, 32, 1; ... | 123 | | StorageU256, StorageI256, 256, 4; 124 | | } | |_- in this macro invocation | = note: this is a known limitation of the type checker that may be lifted in a future edition. see issue #112792 <https://github.com/rust-lang/rust/issues/112792> for more information = note: this warning originates in the macro `alias_ints` (in Nightly builds, run with -Z macro-backtrace for more info)
bounds on generic parameters in type aliases are not enforced: stylus-sdk/src/storage/mod.rs#L98
warning: bounds on generic parameters in type aliases are not enforced --> stylus-sdk/src/storage/mod.rs:98:31 | 98 | pub type $name<H: Host> = StorageUint<H, $bits, $limbs>; | --^^^^ | | | | | will not be checked at usage sites of the type alias | help: remove this bound ... 115 | / alias_ints! { 116 | | StorageU8, StorageI8, 8, 1; 117 | | StorageU16, StorageI16, 16, 1; 118 | | StorageU32, StorageI32, 32, 1; ... | 123 | | StorageU256, StorageI256, 256, 4; 124 | | } | |_- in this macro invocation | = note: this is a known limitation of the type checker that may be lifted in a future edition. see issue #112792 <https://github.com/rust-lang/rust/issues/112792> for more information = note: `#[warn(type_alias_bounds)]` on by default = note: this warning originates in the macro `alias_ints` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: stylus-sdk/src/host/wasm.rs#L5
warning: missing documentation for a struct --> stylus-sdk/src/host/wasm.rs:5:1 | 5 | pub struct WasmHost; | ^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> stylus-sdk/src/lib.rs:27:9 | 27 | #![warn(missing_docs)] | ^^^^^^^^^^^^
empty line after doc comment: stylus-sdk/src/testing/mod.rs#L13
warning: empty line after doc comment --> stylus-sdk/src/testing/mod.rs:13:1 | 13 | / /// with a host environment, such as the EVM. 14 | | | |_ 15 | /// Extends the host trait to implement Foundry-style cheatcodes. 16 | pub trait CheatcodeProvider: Host { | --------------------------------- the comment documents this trait | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default = help: if the empty line is unintentional remove it help: if the documentation should include the empty line include it in the comment | 14 | /// |
unused variable: `pages`: stylus-sdk/src/testing/mod.rs#L134
warning: unused variable: `pages` --> stylus-sdk/src/testing/mod.rs:134:35 | 134 | fn pay_for_memory_grow(&self, pages: u16) {} | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pages`
unused variable: `account`: stylus-sdk/src/testing/mod.rs#L128
warning: unused variable: `account` --> stylus-sdk/src/testing/mod.rs:128:24 | 128 | fn codehash(&self, account: Address) -> FixedBytes<32> { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
unused variable: `account`: stylus-sdk/src/testing/mod.rs#L125
warning: unused variable: `account` --> stylus-sdk/src/testing/mod.rs:125:25 | 125 | fn code_size(&self, account: Address) -> usize { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
unused variable: `account`: stylus-sdk/src/testing/mod.rs#L122
warning: unused variable: `account` --> stylus-sdk/src/testing/mod.rs:122:20 | 122 | fn code(&self, account: Address) -> Vec<u8> { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
unused variable: `account`: stylus-sdk/src/testing/mod.rs#L116
warning: unused variable: `account` --> stylus-sdk/src/testing/mod.rs:116:23 | 116 | fn balance(&self, account: Address) -> U256 { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
unused variable: `clear`: stylus-sdk/src/testing/mod.rs#L82
warning: unused variable: `clear` --> stylus-sdk/src/testing/mod.rs:82:27 | 82 | fn flush_cache(&self, clear: bool) {} | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clear`
unused variable: `value`: stylus-sdk/src/testing/mod.rs#L81
warning: unused variable: `value` --> stylus-sdk/src/testing/mod.rs:81:32 | 81 | fn cache(&self, key: U256, value: B256) {} | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
unused variable: `key`: stylus-sdk/src/testing/mod.rs#L81
warning: unused variable: `key` --> stylus-sdk/src/testing/mod.rs:81:21 | 81 | fn cache(&self, key: U256, value: B256) {} | ^^^ help: if this is intentional, prefix it with an underscore: `_key`
unused variable: `key`: stylus-sdk/src/testing/mod.rs#L78
warning: unused variable: `key` --> stylus-sdk/src/testing/mod.rs:78:20 | 78 | fn load(&self, key: U256) -> B256 { | ^^^ help: if this is intentional, prefix it with an underscore: `_key`
unused variable: `input`: stylus-sdk/src/testing/mod.rs#L77
warning: unused variable: `input` --> stylus-sdk/src/testing/mod.rs:77:24 | 77 | fn emit_log(&self, input: &[u8]) {} | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
unused variable: `data`: stylus-sdk/src/testing/mod.rs#L68
warning: unused variable: `data` --> stylus-sdk/src/testing/mod.rs:68:22 | 68 | fn output(&self, data: &[u8]) {} | ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
unused variable: `size`: stylus-sdk/src/testing/mod.rs#L62
warning: unused variable: `size` --> stylus-sdk/src/testing/mod.rs:62:47 | 62 | fn read_return_data(&self, offset: usize, size: Option<usize>) -> Vec<u8> { | ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
unused variable: `offset`: stylus-sdk/src/testing/mod.rs#L62
warning: unused variable: `offset` --> stylus-sdk/src/testing/mod.rs:62:32 | 62 | fn read_return_data(&self, offset: usize, size: Option<usize>) -> Vec<u8> { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
unused variable: `len`: stylus-sdk/src/testing/mod.rs#L59
warning: unused variable: `len` --> stylus-sdk/src/testing/mod.rs:59:20 | 59 | fn args(&self, len: usize) -> Vec<u8> { | ^^^ help: if this is intentional, prefix it with an underscore: `_len`
unused variable: `input`: stylus-sdk/src/testing/mod.rs#L53
warning: unused variable: `input` --> stylus-sdk/src/testing/mod.rs:53:32 | 53 | fn native_keccak256(&self, input: &[u8]) -> FixedBytes<32> { | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
unused variable: `host`: stylus-sdk/src/storage/mod.rs#L66
warning: unused variable: `host` --> stylus-sdk/src/storage/mod.rs:66:24 | 66 | unsafe fn set_word(host: Rc<H>, key: U256, value: B256) { | ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
unused variable: `host`: stylus-sdk/src/storage/mod.rs#L55
warning: unused variable: `host` --> stylus-sdk/src/storage/mod.rs:55:17 | 55 | fn get_word(host: Rc<H>, key: U256) -> B256 { | ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
unused variable: `input`: stylus-sdk/src/host/wasm.rs#L53
warning: unused variable: `input` --> stylus-sdk/src/host/wasm.rs:53:24 | 53 | fn emit_log(&self, input: &[u8]) {} | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
unused variable: `input`: stylus-sdk/src/host/wasm.rs#L10
warning: unused variable: `input` --> stylus-sdk/src/host/wasm.rs:10:32 | 10 | fn native_keccak256(&self, input: &[u8]) -> FixedBytes<32> { | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` | = note: `#[warn(unused_variables)]` on by default
this creates an owned instance just for comparison: stylus-proc/src/macros/storage.rs#L195
warning: this creates an owned instance just for comparison --> stylus-proc/src/macros/storage.rs:195:48 | 195 | if ty.to_token_stream().to_string() == "Rc < H >".to_string() { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `*"Rc < H >"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
this creates an owned instance just for comparison: stylus-proc/src/macros/storage.rs#L169
warning: this creates an owned instance just for comparison --> stylus-proc/src/macros/storage.rs:169:48 | 169 | if ty.to_token_stream().to_string() == "Rc < H >".to_string() { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `*"Rc < H >"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned = note: `#[warn(clippy::cmp_owned)]` on by default
unused variable: `name`: stylus-proc/src/macros/entrypoint.rs#L135
warning: unused variable: `name` --> stylus-proc/src/macros/entrypoint.rs:135:27 | 135 | fn assert_overrides_const(name: &Ident) -> syn::ItemConst { | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` | = note: `#[warn(unused_variables)]` on by default
unused import: `ASSERT_OVERRIDES_FN`: stylus-proc/src/macros/entrypoint.rs#L13
warning: unused import: `ASSERT_OVERRIDES_FN` --> stylus-proc/src/macros/entrypoint.rs:13:21 | 13 | use crate::consts::{ASSERT_OVERRIDES_FN, STRUCT_ENTRYPOINT_FN}; | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
this creates an owned instance just for comparison: stylus-proc/src/macros/storage.rs#L195
warning: this creates an owned instance just for comparison --> stylus-proc/src/macros/storage.rs:195:48 | 195 | if ty.to_token_stream().to_string() == "Rc < H >".to_string() { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `*"Rc < H >"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
this creates an owned instance just for comparison: stylus-proc/src/macros/storage.rs#L169
warning: this creates an owned instance just for comparison --> stylus-proc/src/macros/storage.rs:169:48 | 169 | if ty.to_token_stream().to_string() == "Rc < H >".to_string() { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `*"Rc < H >"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned = note: `#[warn(clippy::cmp_owned)]` on by default
unused variable: `name`: stylus-proc/src/macros/entrypoint.rs#L135
warning: unused variable: `name` --> stylus-proc/src/macros/entrypoint.rs:135:27 | 135 | fn assert_overrides_const(name: &Ident) -> syn::ItemConst { | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` | = note: `#[warn(unused_variables)]` on by default
unused import: `ASSERT_OVERRIDES_FN`: stylus-proc/src/macros/entrypoint.rs#L13
warning: unused import: `ASSERT_OVERRIDES_FN` --> stylus-proc/src/macros/entrypoint.rs:13:21 | 13 | use crate::consts::{ASSERT_OVERRIDES_FN, STRUCT_ENTRYPOINT_FN}; | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
missing documentation for a struct: stylus-sdk/src/testing/mod.rs#L48
warning: missing documentation for a struct --> stylus-sdk/src/testing/mod.rs:48:1 | 48 | pub struct MockHost; | ^^^^^^^^^^^^^^^^^^^
bounds on generic parameters in type aliases are not enforced: stylus-sdk/src/storage/mod.rs#L110
warning: bounds on generic parameters in type aliases are not enforced --> stylus-sdk/src/storage/mod.rs:110:31 | 110 | pub type $name<H: Host> = StorageFixedBytes<H, $bytes>; | --^^^^ | | | | | will not be checked at usage sites of the type alias | help: remove this bound ... 126 | / alias_bytes! { 127 | | StorageB8, 8, 1; 128 | | StorageB16, 16, 2; 129 | | StorageB32, 32, 4; ... | 136 | | StorageB256, 256, 32; 137 | | } | |_- in this macro invocation | = note: this is a known limitation of the type checker that may be lifted in a future edition. see issue #112792 <https://github.com/rust-lang/rust/issues/112792> for more information = note: this warning originates in the macro `alias_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
bounds on generic parameters in type aliases are not enforced: stylus-sdk/src/storage/mod.rs#L101
warning: bounds on generic parameters in type aliases are not enforced --> stylus-sdk/src/storage/mod.rs:101:38 | 101 | pub type $signed_name<H: Host> = StorageSigned<H, $bits, $limbs>; | --^^^^ | | | | | will not be checked at usage sites of the type alias | help: remove this bound ... 115 | / alias_ints! { 116 | | StorageU8, StorageI8, 8, 1; 117 | | StorageU16, StorageI16, 16, 1; 118 | | StorageU32, StorageI32, 32, 1; ... | 123 | | StorageU256, StorageI256, 256, 4; 124 | | } | |_- in this macro invocation | = note: this is a known limitation of the type checker that may be lifted in a future edition. see issue #112792 <https://github.com/rust-lang/rust/issues/112792> for more information = note: this warning originates in the macro `alias_ints` (in Nightly builds, run with -Z macro-backtrace for more info)
bounds on generic parameters in type aliases are not enforced: stylus-sdk/src/storage/mod.rs#L98
warning: bounds on generic parameters in type aliases are not enforced --> stylus-sdk/src/storage/mod.rs:98:31 | 98 | pub type $name<H: Host> = StorageUint<H, $bits, $limbs>; | --^^^^ | | | | | will not be checked at usage sites of the type alias | help: remove this bound ... 115 | / alias_ints! { 116 | | StorageU8, StorageI8, 8, 1; 117 | | StorageU16, StorageI16, 16, 1; 118 | | StorageU32, StorageI32, 32, 1; ... | 123 | | StorageU256, StorageI256, 256, 4; 124 | | } | |_- in this macro invocation | = note: this is a known limitation of the type checker that may be lifted in a future edition. see issue #112792 <https://github.com/rust-lang/rust/issues/112792> for more information = note: `#[warn(type_alias_bounds)]` on by default = note: this warning originates in the macro `alias_ints` (in Nightly builds, run with -Z macro-backtrace for more info)
missing documentation for a struct: stylus-sdk/src/host/wasm.rs#L5
warning: missing documentation for a struct --> stylus-sdk/src/host/wasm.rs:5:1 | 5 | pub struct WasmHost; | ^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> stylus-sdk/src/lib.rs:27:9 | 27 | #![warn(missing_docs)] | ^^^^^^^^^^^^
empty line after doc comment: stylus-sdk/src/testing/mod.rs#L13
warning: empty line after doc comment --> stylus-sdk/src/testing/mod.rs:13:1 | 13 | / /// with a host environment, such as the EVM. 14 | | | |_ 15 | /// Extends the host trait to implement Foundry-style cheatcodes. 16 | pub trait CheatcodeProvider: Host { | --------------------------------- the comment documents this trait | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default = help: if the empty line is unintentional remove it help: if the documentation should include the empty line include it in the comment | 14 | /// |
unused variable: `pages`: stylus-sdk/src/testing/mod.rs#L134
warning: unused variable: `pages` --> stylus-sdk/src/testing/mod.rs:134:35 | 134 | fn pay_for_memory_grow(&self, pages: u16) {} | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pages`
unused variable: `account`: stylus-sdk/src/testing/mod.rs#L128
warning: unused variable: `account` --> stylus-sdk/src/testing/mod.rs:128:24 | 128 | fn codehash(&self, account: Address) -> FixedBytes<32> { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
unused variable: `account`: stylus-sdk/src/testing/mod.rs#L125
warning: unused variable: `account` --> stylus-sdk/src/testing/mod.rs:125:25 | 125 | fn code_size(&self, account: Address) -> usize { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
unused variable: `account`: stylus-sdk/src/testing/mod.rs#L122
warning: unused variable: `account` --> stylus-sdk/src/testing/mod.rs:122:20 | 122 | fn code(&self, account: Address) -> Vec<u8> { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
unused variable: `account`: stylus-sdk/src/testing/mod.rs#L116
warning: unused variable: `account` --> stylus-sdk/src/testing/mod.rs:116:23 | 116 | fn balance(&self, account: Address) -> U256 { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
unused variable: `clear`: stylus-sdk/src/testing/mod.rs#L82
warning: unused variable: `clear` --> stylus-sdk/src/testing/mod.rs:82:27 | 82 | fn flush_cache(&self, clear: bool) {} | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clear`
unused variable: `value`: stylus-sdk/src/testing/mod.rs#L81
warning: unused variable: `value` --> stylus-sdk/src/testing/mod.rs:81:32 | 81 | fn cache(&self, key: U256, value: B256) {} | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
unused variable: `key`: stylus-sdk/src/testing/mod.rs#L81
warning: unused variable: `key` --> stylus-sdk/src/testing/mod.rs:81:21 | 81 | fn cache(&self, key: U256, value: B256) {} | ^^^ help: if this is intentional, prefix it with an underscore: `_key`
unused variable: `key`: stylus-sdk/src/testing/mod.rs#L78
warning: unused variable: `key` --> stylus-sdk/src/testing/mod.rs:78:20 | 78 | fn load(&self, key: U256) -> B256 { | ^^^ help: if this is intentional, prefix it with an underscore: `_key`
unused variable: `input`: stylus-sdk/src/testing/mod.rs#L77
warning: unused variable: `input` --> stylus-sdk/src/testing/mod.rs:77:24 | 77 | fn emit_log(&self, input: &[u8]) {} | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
unused variable: `data`: stylus-sdk/src/testing/mod.rs#L68
warning: unused variable: `data` --> stylus-sdk/src/testing/mod.rs:68:22 | 68 | fn output(&self, data: &[u8]) {} | ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
unused variable: `size`: stylus-sdk/src/testing/mod.rs#L62
warning: unused variable: `size` --> stylus-sdk/src/testing/mod.rs:62:47 | 62 | fn read_return_data(&self, offset: usize, size: Option<usize>) -> Vec<u8> { | ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
unused variable: `offset`: stylus-sdk/src/testing/mod.rs#L62
warning: unused variable: `offset` --> stylus-sdk/src/testing/mod.rs:62:32 | 62 | fn read_return_data(&self, offset: usize, size: Option<usize>) -> Vec<u8> { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
unused variable: `len`: stylus-sdk/src/testing/mod.rs#L59
warning: unused variable: `len` --> stylus-sdk/src/testing/mod.rs:59:20 | 59 | fn args(&self, len: usize) -> Vec<u8> { | ^^^ help: if this is intentional, prefix it with an underscore: `_len`
unused variable: `input`: stylus-sdk/src/testing/mod.rs#L53
warning: unused variable: `input` --> stylus-sdk/src/testing/mod.rs:53:32 | 53 | fn native_keccak256(&self, input: &[u8]) -> FixedBytes<32> { | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
unused variable: `host`: stylus-sdk/src/storage/mod.rs#L66
warning: unused variable: `host` --> stylus-sdk/src/storage/mod.rs:66:24 | 66 | unsafe fn set_word(host: Rc<H>, key: U256, value: B256) { | ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
unused variable: `host`: stylus-sdk/src/storage/mod.rs#L55
warning: unused variable: `host` --> stylus-sdk/src/storage/mod.rs:55:17 | 55 | fn get_word(host: Rc<H>, key: U256) -> B256 { | ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
unused variable: `input`: stylus-sdk/src/host/wasm.rs#L53
warning: unused variable: `input` --> stylus-sdk/src/host/wasm.rs:53:24 | 53 | fn emit_log(&self, input: &[u8]) {} | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
unused variable: `input`: stylus-sdk/src/host/wasm.rs#L10
warning: unused variable: `input` --> stylus-sdk/src/host/wasm.rs:10:32 | 10 | fn native_keccak256(&self, input: &[u8]) -> FixedBytes<32> { | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` | = note: `#[warn(unused_variables)]` on by default
this creates an owned instance just for comparison: stylus-proc/src/macros/storage.rs#L195
warning: this creates an owned instance just for comparison --> stylus-proc/src/macros/storage.rs:195:48 | 195 | if ty.to_token_stream().to_string() == "Rc < H >".to_string() { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `*"Rc < H >"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
this creates an owned instance just for comparison: stylus-proc/src/macros/storage.rs#L169
warning: this creates an owned instance just for comparison --> stylus-proc/src/macros/storage.rs:169:48 | 169 | if ty.to_token_stream().to_string() == "Rc < H >".to_string() { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `*"Rc < H >"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned = note: `#[warn(clippy::cmp_owned)]` on by default
unused variable: `name`: stylus-proc/src/macros/entrypoint.rs#L135
warning: unused variable: `name` --> stylus-proc/src/macros/entrypoint.rs:135:27 | 135 | fn assert_overrides_const(name: &Ident) -> syn::ItemConst { | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` | = note: `#[warn(unused_variables)]` on by default
this creates an owned instance just for comparison: stylus-proc/src/macros/storage.rs#L195
warning: this creates an owned instance just for comparison --> stylus-proc/src/macros/storage.rs:195:48 | 195 | if ty.to_token_stream().to_string() == "Rc < H >".to_string() { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `*"Rc < H >"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
this creates an owned instance just for comparison: stylus-proc/src/macros/storage.rs#L169
warning: this creates an owned instance just for comparison --> stylus-proc/src/macros/storage.rs:169:48 | 169 | if ty.to_token_stream().to_string() == "Rc < H >".to_string() { | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `*"Rc < H >"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned = note: `#[warn(clippy::cmp_owned)]` on by default
unused import: `ASSERT_OVERRIDES_FN`: stylus-proc/src/macros/entrypoint.rs#L13
warning: unused import: `ASSERT_OVERRIDES_FN` --> stylus-proc/src/macros/entrypoint.rs:13:21 | 13 | use crate::consts::{ASSERT_OVERRIDES_FN, STRUCT_ENTRYPOINT_FN}; | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused variable: `name`: stylus-proc/src/macros/entrypoint.rs#L135
warning: unused variable: `name` --> stylus-proc/src/macros/entrypoint.rs:135:27 | 135 | fn assert_overrides_const(name: &Ident) -> syn::ItemConst { | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` | = note: `#[warn(unused_variables)]` on by default
unused import: `ASSERT_OVERRIDES_FN`: stylus-proc/src/macros/entrypoint.rs#L13
warning: unused import: `ASSERT_OVERRIDES_FN` --> stylus-proc/src/macros/entrypoint.rs:13:21 | 13 | use crate::consts::{ASSERT_OVERRIDES_FN, STRUCT_ENTRYPOINT_FN}; | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default