Skip to content

Add ci

Add ci #4

Triggered via pull request December 18, 2024 16:51
@lowitealowitea
synchronize #15
12-ci
Status Skipped
Total duration 4s
Artifacts

auto_dependabot.yml

on: pull_request
dependabot
0s
dependabot
Fit to window
Zoom out
Zoom in

Annotations

6 errors
you seem to want to iterate on a map's values: src/commands/run.rs#L140
error: you seem to want to iterate on a map's values --> src/commands/run.rs:140:22 | 140 | for (_, tier) in &topology.tiers { | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map = note: `-D clippy::for-kv-map` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::for_kv_map)]` help: use the corresponding method | 140 | for tier in topology.tiers.values() { | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
you seem to want to iterate on a map's values: src/commands/run.rs#L140
error: you seem to want to iterate on a map's values --> src/commands/run.rs:140:22 | 140 | for (_, tier) in &topology.tiers { | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map = note: `-D clippy::for-kv-map` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::for_kv_map)]` help: use the corresponding method | 140 | for tier in topology.tiers.values() { | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
writing `&PathBuf` instead of `&Path` involves a new object where a slice will do: src/commands/plugin/new.rs#L74
error: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do --> src/commands/plugin/new.rs:74:30 | 74 | fn workspace_init(root_path: &PathBuf, project_name: &str) -> Result<()> { | ^^^^^^^^ help: change this to: `&Path` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `-D clippy::ptr-arg` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
writing `&PathBuf` instead of `&Path` involves a new object where a slice will do: src/commands/plugin/new.rs#L74
error: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do --> src/commands/plugin/new.rs:74:30 | 74 | fn workspace_init(root_path: &PathBuf, project_name: &str) -> Result<()> { | ^^^^^^^^ help: change this to: `&Path` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `-D clippy::ptr-arg` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
unnecessary use of `to_string`: tests/helpers/helpers.rs#L20
error: unnecessary use of `to_string` --> tests/helpers/helpers.rs:20:32 | 20 | run_pike(vec!["stop"], PLUGIN_DIR.to_string()).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^ help: use: `PLUGIN_DIR` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned = note: `-D clippy::unnecessary-to-owned` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::unnecessary_to_owned)]`
module has the same name as its containing module: tests/helpers/mod.rs#L1
error: module has the same name as its containing module --> tests/helpers/mod.rs:1:1 | 1 | pub(crate) mod helpers; | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception = note: `-D clippy::module-inception` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::module_inception)]`