Skip to content

Dependency Management #176

Dependency Management

Dependency Management #176

Triggered via pull request September 20, 2024 18:20
Status Failure
Total duration 46s
Artifacts

check-and-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 19 warnings
no variant or associated item named `from_str` found for enum `versions::Versioning` in the current scope: src/package/mod.rs#L354
error[E0599]: no variant or associated item named `from_str` found for enum `versions::Versioning` in the current scope --> src/package/mod.rs:354:38 | 354 | version: Versioning::from_str("0.1.0").unwrap(), | ^^^^^^^^ variant or associated item not found in `Versioning` | note: if you're trying to build a new `versions::Versioning` consider using one of the following associated functions: versions::Versioning::new versions::Versioning::deserialize_pretty --> /home/runner/.cargo/git/checkouts/rs-versions-0f453f115a4484a6/7802574/src/lib.rs:1355:5 | 1355 | pub fn new(s: &str) -> Option<Versioning> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 1461 | / pub fn deserialize_pretty<'de, D>(deserializer: D) -> Result<Versioning, D::Error> 1462 | | where 1463 | | D: Deserializer<'de>, | |_____________________________^ = help: items from traits can only be used if the trait is in scope help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it | 1 + use std::str::FromStr; | help: there is an associated function `from` with a similar name | 354 | version: Versioning::from("0.1.0").unwrap(), | ~~~~
no variant or associated item named `from_str` found for enum `versions::Versioning` in the current scope: src/package/mod.rs#L297
error[E0599]: no variant or associated item named `from_str` found for enum `versions::Versioning` in the current scope --> src/package/mod.rs:297:21 | 297 | Versioning::from_str(v).map_err(|_| E::custom("not a valid version")) | ^^^^^^^^ variant or associated item not found in `Versioning` | note: if you're trying to build a new `versions::Versioning` consider using one of the following associated functions: versions::Versioning::new versions::Versioning::deserialize_pretty --> /home/runner/.cargo/git/checkouts/rs-versions-0f453f115a4484a6/7802574/src/lib.rs:1355:5 | 1355 | pub fn new(s: &str) -> Option<Versioning> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 1461 | / pub fn deserialize_pretty<'de, D>(deserializer: D) -> Result<Versioning, D::Error> 1462 | | where 1463 | | D: Deserializer<'de>, | |_____________________________^ = help: items from traits can only be used if the trait is in scope help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it | 1 + use std::str::FromStr; | help: there is an associated function `from` with a similar name | 297 | Versioning::from(v).map_err(|_| E::custom("not a valid version")) | ~~~~
Check: src/package/mod.rs#L297
no variant or associated item named `from_str` found for enum `Versioning` in the current scope
Check: src/package/mod.rs#L354
no variant or associated item named `from_str` found for enum `Versioning` in the current scope
Check
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Clippy
Clippy had exited with the 101 exit code
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Rustfmt
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/
Rustfmt
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/
Rustfmt
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/
Rustfmt
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/
Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check
unused manifest key: bin.0.publish
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/
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/
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/
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/
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, 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/
Clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Clippy
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/
Clippy
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/
Clippy
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/
Clippy
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/