Skip to content

Format experiment

Format experiment #159

Triggered via pull request July 27, 2023 08:05
Status Failure
Total duration 11m 23s
Artifacts

rust.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
field `id` of struct `components::constant::Constant` is private: src/gui_egui/components/constant.rs#L18
error[E0616]: field `id` of struct `components::constant::Constant` is private --> src/gui_egui/components/constant.rs:18:24 | 18 | Area::new(self.id.to_string()) | ^^ private field
build
Clippy had exited with the 101 exit code
this function has too many arguments (10/7): src/components/mem.rs#L60
warning: this function has too many arguments (10/7) --> src/components/mem.rs:60:5 | 60 | / pub fn rc_new( 61 | | id: &str, 62 | | pos: (f32, f32), 63 | | width: f32, ... | 70 | | size: Input, 71 | | ) -> Rc<Self> { | |_________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
this function has too many arguments (10/7): src/components/mem.rs#L33
warning: this function has too many arguments (10/7) --> src/components/mem.rs:33:5 | 33 | / pub fn new( 34 | | id: &str, 35 | | pos: (f32, f32), 36 | | width: f32, ... | 43 | | size: Input, 44 | | ) -> Self { | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments = note: `#[warn(clippy::too_many_arguments)]` on by default
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/