Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: bump Stylus to v0.7.0-beta.0 and alloy to v0.8.13 #430

Closed
wants to merge 15 commits into from

fix: Erc1155MetadataUri extension

4783f23
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

build: bump Stylus to v0.7.0-beta.0 and alloy to v0.8.13 #430

fix: Erc1155MetadataUri extension
4783f23
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Dec 3, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (8)

contracts/src/token/erc721/extensions/consecutive.rs|149 col 5| warning: docs for function returning Result missing # Errors section
--> contracts/src/token/erc721/extensions/consecutive.rs:149:5
|
149 | fn balance_of(&self, owner: Address) -> Result<U256, Error>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
= note: -W clippy::missing-errors-doc implied by -W clippy::pedantic
= help: to override -W clippy::pedantic add #[allow(clippy::missing_errors_doc)]
contracts/src/token/erc721/extensions/consecutive.rs|154 col 5| warning: docs for function returning Result missing # Errors section
--> contracts/src/token/erc721/extensions/consecutive.rs:154:5
|
154 | fn owner_of(&self, token_id: U256) -> Result<Address, Error>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
contracts/src/token/erc721/extensions/consecutive.rs|161 col 5| warning: docs for function returning Result missing # Errors section
--> contracts/src/token/erc721/extensions/consecutive.rs:161:5
|
161 | / fn safe_transfer_from(
162 | | &mut self,
163 | | from: Address,
164 | | to: Address,
165 | | token_id: U256,
166 | | ) -> Result<(), Error>;
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
contracts/src/token/erc721/extensions/consecutive.rs|172 col 5| warning: docs for function returning Result missing # Errors section
--> contracts/src/token/erc721/extensions/consecutive.rs:172:5
|
172 | / fn safe_transfer_from_with_data(
173 | | &mut self,
174 | | from: Address,
175 | | to: Address,
176 | | token_id: U256,
177 | | data: Bytes,
178 | | ) -> Result<(), Error>;
| |
^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
contracts/src/token/erc721/extensions/consecutive.rs|183 col 5| warning: docs for function returning Result missing # Errors section
--> contracts/src/token/erc721/extensions/consecutive.rs:183:5
|
183 | / fn transfer_from(
184 | | &mut self,
185 | | from: Address,
186 | | to: Address,
187 | | token_id: U256,
188 | | ) -> Result<(), Error>;
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
contracts/src/token/erc721/extensions/consecutive.rs|194 col 5| warning: docs for function returning Result missing # Errors section
--> contracts/src/token/erc721/extensions/consecutive.rs:194:5
|
194 | fn approve(&mut self, to: Address, token_id: U256) -> Result<(), Error>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
contracts/src/token/erc721/extensions/consecutive.rs|199 col 5| warning: docs for function returning Result missing # Errors section
--> contracts/src/token/erc721/extensions/consecutive.rs:199:5
|
199 | / fn set_approval_for_all(
200 | | &mut self,
201 | | operator: Address,
202 | | approved: bool,
203 | | ) -> Result<(), Error>;
| |
^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
contracts/src/token/erc721/extensions/consecutive.rs|208 col 5| warning: docs for function returning Result missing # Errors section
--> contracts/src/token/erc721/extensions/consecutive.rs:208:5
|
208 | fn get_approved(&self, token_id: U256) -> Result<Address, Error>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc

Filtered Findings (0)

Annotations

Check warning on line 149 in contracts/src/token/erc721/extensions/consecutive.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/src/token/erc721/extensions/consecutive.rs#L149

warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:149:5
    |
149 |     fn balance_of(&self, owner: Address) -> Result<U256, Error>;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
    = note: `-W clippy::missing-errors-doc` implied by `-W clippy::pedantic`
    = help: to override `-W clippy::pedantic` add `#[allow(clippy::missing_errors_doc)]`
Raw output
contracts/src/token/erc721/extensions/consecutive.rs:149:5:w:warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:149:5
    |
149 |     fn balance_of(&self, owner: Address) -> Result<U256, Error>;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
    = note: `-W clippy::missing-errors-doc` implied by `-W clippy::pedantic`
    = help: to override `-W clippy::pedantic` add `#[allow(clippy::missing_errors_doc)]`


__END__

Check warning on line 154 in contracts/src/token/erc721/extensions/consecutive.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/src/token/erc721/extensions/consecutive.rs#L154

warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:154:5
    |
154 |     fn owner_of(&self, token_id: U256) -> Result<Address, Error>;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
Raw output
contracts/src/token/erc721/extensions/consecutive.rs:154:5:w:warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:154:5
    |
154 |     fn owner_of(&self, token_id: U256) -> Result<Address, Error>;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc


__END__

Check warning on line 161 in contracts/src/token/erc721/extensions/consecutive.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/src/token/erc721/extensions/consecutive.rs#L161

warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:161:5
    |
161 | /     fn safe_transfer_from(
162 | |         &mut self,
163 | |         from: Address,
164 | |         to: Address,
165 | |         token_id: U256,
166 | |     ) -> Result<(), Error>;
    | |___________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
Raw output
contracts/src/token/erc721/extensions/consecutive.rs:161:5:w:warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:161:5
    |
161 | /     fn safe_transfer_from(
162 | |         &mut self,
163 | |         from: Address,
164 | |         to: Address,
165 | |         token_id: U256,
166 | |     ) -> Result<(), Error>;
    | |___________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc


__END__

Check warning on line 172 in contracts/src/token/erc721/extensions/consecutive.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/src/token/erc721/extensions/consecutive.rs#L172

warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:172:5
    |
172 | /     fn safe_transfer_from_with_data(
173 | |         &mut self,
174 | |         from: Address,
175 | |         to: Address,
176 | |         token_id: U256,
177 | |         data: Bytes,
178 | |     ) -> Result<(), Error>;
    | |___________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
Raw output
contracts/src/token/erc721/extensions/consecutive.rs:172:5:w:warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:172:5
    |
172 | /     fn safe_transfer_from_with_data(
173 | |         &mut self,
174 | |         from: Address,
175 | |         to: Address,
176 | |         token_id: U256,
177 | |         data: Bytes,
178 | |     ) -> Result<(), Error>;
    | |___________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc


__END__

Check warning on line 183 in contracts/src/token/erc721/extensions/consecutive.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/src/token/erc721/extensions/consecutive.rs#L183

warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:183:5
    |
183 | /     fn transfer_from(
184 | |         &mut self,
185 | |         from: Address,
186 | |         to: Address,
187 | |         token_id: U256,
188 | |     ) -> Result<(), Error>;
    | |___________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
Raw output
contracts/src/token/erc721/extensions/consecutive.rs:183:5:w:warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:183:5
    |
183 | /     fn transfer_from(
184 | |         &mut self,
185 | |         from: Address,
186 | |         to: Address,
187 | |         token_id: U256,
188 | |     ) -> Result<(), Error>;
    | |___________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc


__END__

Check warning on line 194 in contracts/src/token/erc721/extensions/consecutive.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/src/token/erc721/extensions/consecutive.rs#L194

warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:194:5
    |
194 |     fn approve(&mut self, to: Address, token_id: U256) -> Result<(), Error>;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
Raw output
contracts/src/token/erc721/extensions/consecutive.rs:194:5:w:warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:194:5
    |
194 |     fn approve(&mut self, to: Address, token_id: U256) -> Result<(), Error>;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc


__END__

Check warning on line 199 in contracts/src/token/erc721/extensions/consecutive.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/src/token/erc721/extensions/consecutive.rs#L199

warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:199:5
    |
199 | /     fn set_approval_for_all(
200 | |         &mut self,
201 | |         operator: Address,
202 | |         approved: bool,
203 | |     ) -> Result<(), Error>;
    | |___________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
Raw output
contracts/src/token/erc721/extensions/consecutive.rs:199:5:w:warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:199:5
    |
199 | /     fn set_approval_for_all(
200 | |         &mut self,
201 | |         operator: Address,
202 | |         approved: bool,
203 | |     ) -> Result<(), Error>;
    | |___________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc


__END__

Check warning on line 208 in contracts/src/token/erc721/extensions/consecutive.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/src/token/erc721/extensions/consecutive.rs#L208

warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:208:5
    |
208 |     fn get_approved(&self, token_id: U256) -> Result<Address, Error>;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
Raw output
contracts/src/token/erc721/extensions/consecutive.rs:208:5:w:warning: docs for function returning `Result` missing `# Errors` section
   --> contracts/src/token/erc721/extensions/consecutive.rs:208:5
    |
208 |     fn get_approved(&self, token_id: U256) -> Result<Address, Error>;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc


__END__