Contracts upgrade 0.54.0 (2) #535
on_pull_request_build_contracts.yml
on: pull_request
build
/
build
3m 44s
Annotations
5 warnings
[clippy] contracts/mystery-box/tests/mystery_box_mod.rs#L80:
contracts/mystery-box/tests/mystery_box_mod.rs#L80
warning: very complex type used. Consider factoring parts into `type` definitions
--> contracts/mystery-box/tests/mystery_box_mod.rs:80:31
|
80 | let mut rewards_list: MultiValueEncoded<
| _______________________________^
81 | | StaticApi,
82 | | MultiValue6<
83 | | mystery_box_proxy::RewardType,
... |
89 | | >,
90 | | > = MultiValueEncoded::new();
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
[clippy] contracts/mystery-box/tests/mystery_box_mod.rs#L32:
contracts/mystery-box/tests/mystery_box_mod.rs#L32
warning: you should consider adding a `Default` implementation for `MysteryBoxSetup`
--> contracts/mystery-box/tests/mystery_box_mod.rs:32:5
|
32 | / pub fn new() -> Self {
33 | | let mut mystery_box = MysteryBoxSetup { world: world() };
34 | |
35 | | mystery_box.world.account(OWNER).nonce(1);
... |
59 | | mystery_box
60 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
31 + impl Default for MysteryBoxSetup {
32 + fn default() -> Self {
33 + Self::new()
34 + }
35 + }
|
|
[clippy] contracts/mystery-box/tests/mystery_box_mod.rs#L80:
contracts/mystery-box/tests/mystery_box_mod.rs#L80
warning: very complex type used. Consider factoring parts into `type` definitions
--> contracts/mystery-box/tests/mystery_box_mod.rs:80:31
|
80 | let mut rewards_list: MultiValueEncoded<
| _______________________________^
81 | | StaticApi,
82 | | MultiValue6<
83 | | mystery_box_proxy::RewardType,
... |
89 | | >,
90 | | > = MultiValueEncoded::new();
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
build / build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "build-output".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-output
|
69.1 MB |
|