[Feature]: ERC721Wrapper extension #2395
check.yml
on: pull_request
nightly / fmt
24s
nightly / doc
1m 3s
ubuntu / stable / features
28s
ubuntu / stable / typos
6s
Matrix: clippy
Annotations
11 errors and 5 warnings
ubuntu / stable / typos
Process completed with exit code 2.
|
stable / clippy:
contracts/src/token/erc721/extensions/wrapper.rs#L146
[clippy] reported by reviewdog 🐶
error[E0412]: cannot find type `Bytes` in this scope
--> contracts/src/token/erc721/extensions/wrapper.rs:146:16
|
146 | data: &Bytes,
| ^^^^^ not found in this scope
|
help: consider importing one of these structs
|
6 + use crate::token::erc721::Bytes;
|
6 + use core::ffi::c_str::Bytes;
|
6 + use core::str::Bytes;
|
6 + use alloc::str::Bytes;
|
and 3 other candidates
Raw Output:
contracts/src/token/erc721/extensions/wrapper.rs:146:16:e:error[E0412]: cannot find type `Bytes` in this scope
--> contracts/src/token/erc721/extensions/wrapper.rs:146:16
|
146 | data: &Bytes,
| ^^^^^ not found in this scope
|
help: consider importing one of these structs
|
6 + use crate::token::erc721::Bytes;
|
6 + use core::ffi::c_str::Bytes;
|
6 + use core::str::Bytes;
|
6 + use alloc::str::Bytes;
|
and 3 other candidates
__END__
|
stable / clippy:
contracts/src/token/erc721/extensions/wrapper.rs#L156
[clippy] reported by reviewdog 🐶
error[E0425]: cannot find value `to` in this scope
--> contracts/src/token/erc721/extensions/wrapper.rs:156:32
|
156 | self.erc721._safe_mint(to, token_id, data);
| ^^ not found in this scope
Raw Output:
contracts/src/token/erc721/extensions/wrapper.rs:156:32:e:error[E0425]: cannot find value `to` in this scope
--> contracts/src/token/erc721/extensions/wrapper.rs:156:32
|
156 | self.erc721._safe_mint(to, token_id, data);
| ^^ not found in this scope
__END__
|
ubuntu / stable / features:
contracts/src/token/erc721/extensions/wrapper.rs#L146
cannot find type `Bytes` in this scope
|
ubuntu / stable / features:
contracts/src/token/erc721/extensions/wrapper.rs#L156
cannot find value `to` in this scope
|
ubuntu / stable / features
Process completed with exit code 1.
|
nightly / doc:
contracts/src/token/erc721/extensions/wrapper.rs#L146
cannot find type `Bytes` in this scope
|
nightly / doc:
contracts/src/token/erc721/extensions/wrapper.rs#L156
cannot find value `to` in this scope
|
nightly / doc
Process completed with exit code 101.
|
beta / clippy:
contracts/src/token/erc721/extensions/wrapper.rs#L146
[clippy] reported by reviewdog 🐶
error[E0412]: cannot find type `Bytes` in this scope
--> contracts/src/token/erc721/extensions/wrapper.rs:146:16
|
146 | data: &Bytes,
| ^^^^^ not found in this scope
|
help: consider importing one of these structs
|
6 + use crate::token::erc721::Bytes;
|
6 + use core::ffi::c_str::Bytes;
|
6 + use core::str::Bytes;
|
6 + use alloc::str::Bytes;
|
and 3 other candidates
Raw Output:
contracts/src/token/erc721/extensions/wrapper.rs:146:16:e:error[E0412]: cannot find type `Bytes` in this scope
--> contracts/src/token/erc721/extensions/wrapper.rs:146:16
|
146 | data: &Bytes,
| ^^^^^ not found in this scope
|
help: consider importing one of these structs
|
6 + use crate::token::erc721::Bytes;
|
6 + use core::ffi::c_str::Bytes;
|
6 + use core::str::Bytes;
|
6 + use alloc::str::Bytes;
|
and 3 other candidates
__END__
|
beta / clippy:
contracts/src/token/erc721/extensions/wrapper.rs#L156
[clippy] reported by reviewdog 🐶
error[E0425]: cannot find value `to` in this scope
--> contracts/src/token/erc721/extensions/wrapper.rs:156:32
|
156 | self.erc721._safe_mint(to, token_id, data);
| ^^ not found in this scope
Raw Output:
contracts/src/token/erc721/extensions/wrapper.rs:156:32:e:error[E0425]: cannot find value `to` in this scope
--> contracts/src/token/erc721/extensions/wrapper.rs:156:32
|
156 | self.erc721._safe_mint(to, token_id, data);
| ^^ not found in this scope
__END__
|
ubuntu / stable / typos:
contracts/src/token/erc721/extensions/wrapper.rs#L171
"taht" should be "that".
|
stable / clippy:
contracts/src/token/erc721/extensions/wrapper.rs#L18
[clippy] reported by reviewdog 🐶
warning: unused import: `RECEIVER_FN_SELECTOR`
--> contracts/src/token/erc721/extensions/wrapper.rs:18:47
|
18 | self, Erc721, IErc721 as IErc721Solidity, RECEIVER_FN_SELECTOR,
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Raw Output:
contracts/src/token/erc721/extensions/wrapper.rs:18:47:w:warning: unused import: `RECEIVER_FN_SELECTOR`
--> contracts/src/token/erc721/extensions/wrapper.rs:18:47
|
18 | self, Erc721, IErc721 as IErc721Solidity, RECEIVER_FN_SELECTOR,
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
__END__
|
ubuntu / stable / features:
contracts/src/token/erc721/extensions/wrapper.rs#L18
unused import: `RECEIVER_FN_SELECTOR`
|
nightly / doc:
contracts/src/token/erc721/extensions/wrapper.rs#L18
unused import: `RECEIVER_FN_SELECTOR`
|
beta / clippy:
contracts/src/token/erc721/extensions/wrapper.rs#L18
[clippy] reported by reviewdog 🐶
warning: unused import: `RECEIVER_FN_SELECTOR`
--> contracts/src/token/erc721/extensions/wrapper.rs:18:47
|
18 | self, Erc721, IErc721 as IErc721Solidity, RECEIVER_FN_SELECTOR,
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Raw Output:
contracts/src/token/erc721/extensions/wrapper.rs:18:47:w:warning: unused import: `RECEIVER_FN_SELECTOR`
--> contracts/src/token/erc721/extensions/wrapper.rs:18:47
|
18 | self, Erc721, IErc721 as IErc721Solidity, RECEIVER_FN_SELECTOR,
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
__END__
|