Implement nft escrow contract example. #113
Annotations
2 errors and 10 warnings
Run giraffate/clippy-action@v1
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
|
Run giraffate/clippy-action@v1
reviewdog exited with status code: 1
|
Run giraffate/clippy-action@v1:
contracts/nft-escrow/src/lib.rs#L168
[clippy] reported by reviewdog 🐶
warning: returning the result of a `let` binding from a block
--> contracts/nft-escrow/src/lib.rs:170:9
|
168 | let offer_result = MultiValue2::from((offer_id, offer));
| -------------------------------------------------------- unnecessary `let` binding
169 |
170 | offer_result
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `#[warn(clippy::let_and_return)]` on by default
help: return the expression directly
|
168 ~
169 |
170 ~ MultiValue2::from((offer_id, offer))
|
Raw Output:
contracts/nft-escrow/src/lib.rs:168:9:w:warning: returning the result of a `let` binding from a block
--> contracts/nft-escrow/src/lib.rs:170:9
|
168 | let offer_result = MultiValue2::from((offer_id, offer));
| -------------------------------------------------------- unnecessary `let` binding
169 |
170 | offer_result
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `#[warn(clippy::let_and_return)]` on by default
help: return the expression directly
|
168 ~
169 |
170 ~ MultiValue2::from((offer_id, offer))
|
__END__
|
Run giraffate/clippy-action@v1:
contracts/nft-escrow/src/lib.rs#L168
[clippy] reported by reviewdog 🐶
warning: returning the result of a `let` binding from a block
--> contracts/nft-escrow/src/lib.rs:170:9
|
168 | let offer_result = MultiValue2::from((offer_id, offer));
| -------------------------------------------------------- unnecessary `let` binding
169 |
170 | offer_result
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `#[warn(clippy::let_and_return)]` on by default
help: return the expression directly
|
168 ~
169 |
170 ~ MultiValue2::from((offer_id, offer))
|
Raw Output:
contracts/nft-escrow/src/lib.rs:168:9:w:warning: returning the result of a `let` binding from a block
--> contracts/nft-escrow/src/lib.rs:170:9
|
168 | let offer_result = MultiValue2::from((offer_id, offer));
| -------------------------------------------------------- unnecessary `let` binding
169 |
170 | offer_result
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `#[warn(clippy::let_and_return)]` on by default
help: return the expression directly
|
168 ~
169 |
170 ~ MultiValue2::from((offer_id, offer))
|
__END__
|
Run giraffate/clippy-action@v1:
contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs#L3
[clippy] reported by reviewdog 🐶
warning: use of deprecated function `multiversx_sc_scenario::run_go`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:3:29
|
3 | multiversx_sc_scenario::run_go("scenarios/accept.scen.json");
| ^^^^^^
|
= note: `#[warn(deprecated)]` on by default
Raw Output:
contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:3:29:w:warning: use of deprecated function `multiversx_sc_scenario::run_go`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:3:29
|
3 | multiversx_sc_scenario::run_go("scenarios/accept.scen.json");
| ^^^^^^
|
= note: `#[warn(deprecated)]` on by default
__END__
|
Run giraffate/clippy-action@v1:
contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs#L8
[clippy] reported by reviewdog 🐶
warning: use of deprecated function `multiversx_sc_scenario::run_go`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:8:29
|
8 | multiversx_sc_scenario::run_go("scenarios/cancel.scen.json");
| ^^^^^^
Raw Output:
contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:8:29:w:warning: use of deprecated function `multiversx_sc_scenario::run_go`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:8:29
|
8 | multiversx_sc_scenario::run_go("scenarios/cancel.scen.json");
| ^^^^^^
__END__
|
Run giraffate/clippy-action@v1:
contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs#L13
[clippy] reported by reviewdog 🐶
warning: use of deprecated function `multiversx_sc_scenario::run_go`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:13:29
|
13 | multiversx_sc_scenario::run_go("scenarios/escrow.scen.json");
| ^^^^^^
Raw Output:
contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:13:29:w:warning: use of deprecated function `multiversx_sc_scenario::run_go`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:13:29
|
13 | multiversx_sc_scenario::run_go("scenarios/escrow.scen.json");
| ^^^^^^
__END__
|
Run giraffate/clippy-action@v1:
contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs#L18
[clippy] reported by reviewdog 🐶
warning: use of deprecated function `multiversx_sc_scenario::run_go`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:18:29
|
18 | multiversx_sc_scenario::run_go("scenarios/init.scen.json");
| ^^^^^^
Raw Output:
contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:18:29:w:warning: use of deprecated function `multiversx_sc_scenario::run_go`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:18:29
|
18 | multiversx_sc_scenario::run_go("scenarios/init.scen.json");
| ^^^^^^
__END__
|
Run giraffate/clippy-action@v1:
contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs#L23
[clippy] reported by reviewdog 🐶
warning: use of deprecated function `multiversx_sc_scenario::run_go`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:23:29
|
23 | multiversx_sc_scenario::run_go("scenarios/views.scen.json");
| ^^^^^^
Raw Output:
contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:23:29:w:warning: use of deprecated function `multiversx_sc_scenario::run_go`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_go_test.rs:23:29
|
23 | multiversx_sc_scenario::run_go("scenarios/views.scen.json");
| ^^^^^^
__END__
|
Run giraffate/clippy-action@v1:
contracts/nft-escrow/tests/nft_escrow_scenario_rs_test.rs#L10
[clippy] reported by reviewdog 🐶
warning: use of deprecated function `multiversx_sc_scenario::run_rs`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_rs_test.rs:10:29
|
10 | multiversx_sc_scenario::run_rs("scenarios/accept.scen.json", world());
| ^^^^^^
|
= note: `#[warn(deprecated)]` on by default
Raw Output:
contracts/nft-escrow/tests/nft_escrow_scenario_rs_test.rs:10:29:w:warning: use of deprecated function `multiversx_sc_scenario::run_rs`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_rs_test.rs:10:29
|
10 | multiversx_sc_scenario::run_rs("scenarios/accept.scen.json", world());
| ^^^^^^
|
= note: `#[warn(deprecated)]` on by default
__END__
|
Run giraffate/clippy-action@v1:
contracts/nft-escrow/tests/nft_escrow_scenario_rs_test.rs#L16
[clippy] reported by reviewdog 🐶
warning: use of deprecated function `multiversx_sc_scenario::run_rs`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_rs_test.rs:16:29
|
16 | multiversx_sc_scenario::run_rs("scenarios/cancel.scen.json", world());
| ^^^^^^
Raw Output:
contracts/nft-escrow/tests/nft_escrow_scenario_rs_test.rs:16:29:w:warning: use of deprecated function `multiversx_sc_scenario::run_rs`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_rs_test.rs:16:29
|
16 | multiversx_sc_scenario::run_rs("scenarios/cancel.scen.json", world());
| ^^^^^^
__END__
|
Run giraffate/clippy-action@v1:
contracts/nft-escrow/tests/nft_escrow_scenario_rs_test.rs#L22
[clippy] reported by reviewdog 🐶
warning: use of deprecated function `multiversx_sc_scenario::run_rs`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_rs_test.rs:22:29
|
22 | multiversx_sc_scenario::run_rs("scenarios/escrow.scen.json", world());
| ^^^^^^
Raw Output:
contracts/nft-escrow/tests/nft_escrow_scenario_rs_test.rs:22:29:w:warning: use of deprecated function `multiversx_sc_scenario::run_rs`: Call `sc-meta test-gen` in the project folder to automatically upgrade all scenario tests.
--> contracts/nft-escrow/tests/nft_escrow_scenario_rs_test.rs:22:29
|
22 | multiversx_sc_scenario::run_rs("scenarios/escrow.scen.json", world());
| ^^^^^^
__END__
|
The logs for this run have expired and are no longer available.
Loading