Merge pull request #201 from FrancisRussell/dependabot/github_actions… #1229
ci.yml
on: push
Build and unit tests
1m 14s
Matrix: Functionality tests
Annotations
34 warnings and 1 notice
Build and unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Functionality tests (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, ./. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
cargo-clippy: the item `JsValue` is imported redundantly:
src/node/fs.rs#L330
warning: the item `JsValue` is imported redundantly
--> src/node/fs.rs:330:9
|
329 | use wasm_bindgen::prelude::*;
| ------------------------ the item `JsValue` is already imported here
330 | use wasm_bindgen::JsValue;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
cargo-clippy: the item `Into` is imported redundantly:
src/actions/cache.rs#L4
warning: the item `Into` is imported redundantly
--> src/actions/cache.rs:4:5
|
4 | use std::convert::Into;
| ^^^^^^^^^^^^^^^^^^
--> /rustc/9d79cd5f79e75bd0d2083260271307ce9acd9081/library/std/src/prelude/mod.rs:148:13
|
= note: the item `Into` is already defined here
|
cargo-clippy: the item `Into` is imported redundantly:
src/actions/tool_cache.rs#L5
warning: the item `Into` is imported redundantly
--> src/actions/tool_cache.rs:5:5
|
5 | use std::convert::Into;
| ^^^^^^^^^^^^^^^^^^
--> /rustc/9d79cd5f79e75bd0d2083260271307ce9acd9081/library/std/src/prelude/mod.rs:148:13
|
= note: the item `Into` is already defined here
|
cargo-clippy: use of deprecated function `shlex::quote`: replace with `try_quote(str)?` to avoid nul byte danger:
src/cargo_hooks/install.rs#L54
warning: use of deprecated function `shlex::quote`: replace with `try_quote(str)?` to avoid nul byte danger
--> src/cargo_hooks/install.rs:54:39
|
54 | arg_string += &shlex::quote(arg);
| ^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
cargo-clippy: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src/node/fs.rs#L257
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/node/fs.rs:257:36
|
257 | let naive = NaiveDateTime::from_timestamp_opt(secs, subsec_nanos).expect("File time out of bounds");
| ^^^^^^^^^^^^^^^^^^
|
cargo-clippy: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
src/node/fs.rs#L258
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> src/node/fs.rs:258:19
|
258 | DateTime::from_utc(naive, Utc)
| ^^^^^^^^
|
cargo-clippy: method `get_installed` is never used:
src/cargo.rs#L70
warning: method `get_installed` is never used
--> src/cargo.rs:70:18
|
53 | impl Cargo {
| ---------- method in this implementation
...
70 | pub async fn get_installed(&self) -> Result<Vec<String>, Error> {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
cargo-clippy: field `num_files` is never read:
src/cargo_lock_hashing.rs#L32
warning: field `num_files` is never read
--> src/cargo_lock_hashing.rs:32:9
|
31 | pub struct HashInfo {
| -------- field in this struct
32 | pub num_files: usize,
| ^^^^^^^^^
|
= note: `HashInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
|
cargo-clippy: field name starts with the struct's name:
src/cache_cargo_home.rs#L85
warning: field name starts with the struct's name
--> src/cache_cargo_home.rs:85:5
|
85 | cache_type: CacheType,
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#struct_field_names
note: the lint level is defined here
--> src/lib.rs:1:9
|
1 | #![warn(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::struct_field_names)]` implied by `#[warn(clippy::pedantic)]`
|
cargo-clippy: variant name ends with the enum's name:
src/error.rs#L11
warning: variant name ends with the enum's name
--> src/error.rs:11:5
|
11 | OptionParseError(String, String),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
= note: `#[warn(clippy::enum_variant_names)]` on by default
|
Functionality tests (macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, ./. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
cargo-clippy: the item `JsValue` is imported redundantly:
src/node/fs.rs#L330
warning: the item `JsValue` is imported redundantly
--> src/node/fs.rs:330:9
|
329 | use wasm_bindgen::prelude::*;
| ------------------------ the item `JsValue` is already imported here
330 | use wasm_bindgen::JsValue;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
cargo-clippy: the item `Into` is imported redundantly:
src/actions/cache.rs#L4
warning: the item `Into` is imported redundantly
--> src/actions/cache.rs:4:5
|
4 | use std::convert::Into;
| ^^^^^^^^^^^^^^^^^^
--> /rustc/9d79cd5f79e75bd0d2083260271307ce9acd9081/library/std/src/prelude/mod.rs:148:13
|
= note: the item `Into` is already defined here
|
cargo-clippy: the item `Into` is imported redundantly:
src/actions/tool_cache.rs#L5
warning: the item `Into` is imported redundantly
--> src/actions/tool_cache.rs:5:5
|
5 | use std::convert::Into;
| ^^^^^^^^^^^^^^^^^^
--> /rustc/9d79cd5f79e75bd0d2083260271307ce9acd9081/library/std/src/prelude/mod.rs:148:13
|
= note: the item `Into` is already defined here
|
cargo-clippy: use of deprecated function `shlex::quote`: replace with `try_quote(str)?` to avoid nul byte danger:
src/cargo_hooks/install.rs#L54
warning: use of deprecated function `shlex::quote`: replace with `try_quote(str)?` to avoid nul byte danger
--> src/cargo_hooks/install.rs:54:39
|
54 | arg_string += &shlex::quote(arg);
| ^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
cargo-clippy: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src/node/fs.rs#L257
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/node/fs.rs:257:36
|
257 | let naive = NaiveDateTime::from_timestamp_opt(secs, subsec_nanos).expect("File time out of bounds");
| ^^^^^^^^^^^^^^^^^^
|
cargo-clippy: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
src/node/fs.rs#L258
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> src/node/fs.rs:258:19
|
258 | DateTime::from_utc(naive, Utc)
| ^^^^^^^^
|
cargo-clippy: method `get_installed` is never used:
src/cargo.rs#L70
warning: method `get_installed` is never used
--> src/cargo.rs:70:18
|
53 | impl Cargo {
| ---------- method in this implementation
...
70 | pub async fn get_installed(&self) -> Result<Vec<String>, Error> {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
cargo-clippy: field `num_files` is never read:
src/cargo_lock_hashing.rs#L32
warning: field `num_files` is never read
--> src/cargo_lock_hashing.rs:32:9
|
31 | pub struct HashInfo {
| -------- field in this struct
32 | pub num_files: usize,
| ^^^^^^^^^
|
= note: `HashInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
|
cargo-clippy: field name starts with the struct's name:
src/cache_cargo_home.rs#L85
warning: field name starts with the struct's name
--> src/cache_cargo_home.rs:85:5
|
85 | cache_type: CacheType,
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#struct_field_names
note: the lint level is defined here
--> src/lib.rs:1:9
|
1 | #![warn(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::struct_field_names)]` implied by `#[warn(clippy::pedantic)]`
|
cargo-clippy: variant name ends with the enum's name:
src/error.rs#L11
warning: variant name ends with the enum's name
--> src/error.rs:11:5
|
11 | OptionParseError(String, String),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
= note: `#[warn(clippy::enum_variant_names)]` on by default
|
Functionality tests (windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, ./. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
cargo-clippy: the item `JsValue` is imported redundantly:
src\node\fs.rs#L330
warning: the item `JsValue` is imported redundantly
--> src\node\fs.rs:330:9
|
329 | use wasm_bindgen::prelude::*;
| ------------------------ the item `JsValue` is already imported here
330 | use wasm_bindgen::JsValue;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
cargo-clippy: the item `Into` is imported redundantly:
src\actions\cache.rs#L4
warning: the item `Into` is imported redundantly
--> src\actions\cache.rs:4:5
|
4 | use std::convert::Into;
| ^^^^^^^^^^^^^^^^^^
--> /rustc/9d79cd5f79e75bd0d2083260271307ce9acd9081/library/std/src/prelude/mod.rs:148:13
|
= note: the item `Into` is already defined here
|
cargo-clippy: the item `Into` is imported redundantly:
src\actions\tool_cache.rs#L5
warning: the item `Into` is imported redundantly
--> src\actions\tool_cache.rs:5:5
|
5 | use std::convert::Into;
| ^^^^^^^^^^^^^^^^^^
--> /rustc/9d79cd5f79e75bd0d2083260271307ce9acd9081/library/std/src/prelude/mod.rs:148:13
|
= note: the item `Into` is already defined here
|
cargo-clippy: use of deprecated function `shlex::quote`: replace with `try_quote(str)?` to avoid nul byte danger:
src\cargo_hooks\install.rs#L54
warning: use of deprecated function `shlex::quote`: replace with `try_quote(str)?` to avoid nul byte danger
--> src\cargo_hooks\install.rs:54:39
|
54 | arg_string += &shlex::quote(arg);
| ^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
cargo-clippy: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead:
src\node\fs.rs#L257
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src\node\fs.rs:257:36
|
257 | let naive = NaiveDateTime::from_timestamp_opt(secs, subsec_nanos).expect("File time out of bounds");
| ^^^^^^^^^^^^^^^^^^
|
cargo-clippy: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
src\node\fs.rs#L258
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> src\node\fs.rs:258:19
|
258 | DateTime::from_utc(naive, Utc)
| ^^^^^^^^
|
cargo-clippy: method `get_installed` is never used:
src\cargo.rs#L70
warning: method `get_installed` is never used
--> src\cargo.rs:70:18
|
53 | impl Cargo {
| ---------- method in this implementation
...
70 | pub async fn get_installed(&self) -> Result<Vec<String>, Error> {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
cargo-clippy: field `num_files` is never read:
src\cargo_lock_hashing.rs#L32
warning: field `num_files` is never read
--> src\cargo_lock_hashing.rs:32:9
|
31 | pub struct HashInfo {
| -------- field in this struct
32 | pub num_files: usize,
| ^^^^^^^^^
|
= note: `HashInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
|
cargo-clippy: field name starts with the struct's name:
src\cache_cargo_home.rs#L85
warning: field name starts with the struct's name
--> src\cache_cargo_home.rs:85:5
|
85 | cache_type: CacheType,
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#struct_field_names
note: the lint level is defined here
--> src\lib.rs:1:9
|
1 | #![warn(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::struct_field_names)]` implied by `#[warn(clippy::pedantic)]`
|
cargo-clippy: variant name ends with the enum's name:
src\error.rs#L11
warning: variant name ends with the enum's name
--> src\error.rs:11:5
|
11 | OptionParseError(String, String),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
= note: `#[warn(clippy::enum_variant_names)]` on by default
|
Functionality tests (windows-latest)
File access times not supported - cannot perform intelligent cache pruning. Likely this platform is Windows. The hash of all Cargo.lock files found in this folder will be used as part of the key for cached cargo home entries. This means certain caches will be rebuilt from scratch whenever a Cargo.lock file changes. This is to avoid cache entries growing monotonically. Note that enabling file access times on Windows is generally a bad idea since Microsoft never implemented relatime semantics.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
built-action
Expired
|
1.96 MB |
|