Skip to content

Contracts upgrade 0.54.0 (2) #519

Contracts upgrade 0.54.0 (2)

Contracts upgrade 0.54.0 (2) #519

Triggered via pull request November 18, 2024 21:54
Status Failure
Total duration 2m 35s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

1 error and 5 warnings
build / build
Process completed with exit code 1.
[clippy] contracts/dn404/tests/setup.rs#L35: contracts/dn404/tests/setup.rs#L35
warning: you should consider adding a `Default` implementation for `Dn404Setup` --> contracts/dn404/tests/setup.rs:35:5 | 35 | / pub fn new() -> Self { 36 | | let mut b_mock = world(); 37 | | 38 | | let roles = vec![ ... | 141 | | Dn404Setup { b_mock } 142 | | } | |_____^ | = 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 | 34 + impl Default for Dn404Setup { 35 + fn default() -> Self { 36 + Self::new() 37 + } 38 + } |
[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
[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. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/