kata-irc-bot | <pmores> Hi! My PR is failing the static check due to clippy errors. I'd like to fix them but when I try to run clippy locally, basically doing what I believe CI is doing, i.e. running `make check` in `src/libs`, I'm getting errors: ```[pvl@localhost libs]$ make check INFO: cargo clippy... cargo clippy --all-targets --all-features --release \ -- \ -D warnings error: failed to run `rustc` to learn about target-specific information Caused by: | 09:02 |
---|---|---|
kata-irc-bot | process didn't exit successfully: `/home/pvl/.rustup/toolchains/1.58-x86_64-unknown-linux-gnu/bin/clippy-driver rustc - --crate-name ___ --print=file-names --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit status: 1) --- stderr error: multiple input filenames provided (first two filenames are `-` and `D`)``` Could someone please help me | 09:02 |
kata-irc-bot | figure out what the problem is? I have pretty much zero experience with clippy so far. :-( | 09:02 |
kata-irc-bot | <liubin0329> are you using the same version of Rust? | 09:31 |
kata-irc-bot | <pmores> I have 1.58 installed. | 09:32 |
kata-irc-bot | <liubin0329> I have tried, it really seems not fix tests code ;) | 10:02 |
kata-irc-bot | <pmores> That's no problem, I can do that, but I'd still like to be able to run clippy locally so that I can verify the result before being called out by CI again. | 10:08 |
kata-irc-bot | <fidencio> The target is October 10th | 17:13 |
kata-irc-bot | <fidencio> https://github.com/kata-containers/community/wiki/Release-Team-Rota | 17:14 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!