Skip to content

Add ci

Add ci #5

Triggered via pull request December 18, 2024 16:59
@lowitealowitea
synchronize #15
12-ci
Status Failure
Total duration 2m 46s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 13 warnings
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)]`
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)]`
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)]`
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() { | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
lint_check
Clippy has exited with exit code 101
tests
test failed, to rerun pass `--test run`
tests
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
pre_job
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint_check
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
tests
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
lint_check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/