Update Rust crate indextree to 4.6.1 - autoclosed #62
Annotations
26 warnings
file opened with `create`, but `truncate` behavior not defined:
src/sync/cache.rs#L93
warning: file opened with `create`, but `truncate` behavior not defined
--> src/sync/cache.rs:93:14
|
93 | .create(true)
| ^^^^^^^^^^^^- help: add: `.truncate(true)`
|
= help: if you intend to overwrite an existing file entirely, call `.truncate(true)`
= help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)`
= help: alternatively, use `.append(true)` to append to the file instead of overwriting it
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options
|
file opened with `create`, but `truncate` behavior not defined:
src/sync/cache.rs#L27
warning: file opened with `create`, but `truncate` behavior not defined
--> src/sync/cache.rs:27:14
|
27 | .create(true)
| ^^^^^^^^^^^^- help: add: `.truncate(true)`
|
= help: if you intend to overwrite an existing file entirely, call `.truncate(true)`
= help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)`
= help: alternatively, use `.append(true)` to append to the file instead of overwriting it
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options
= note: `#[warn(clippy::suspicious_open_options)]` on by default
|
matching over `()` is more explicit:
src/util.rs#L18
warning: matching over `()` is more explicit
--> src/util.rs:18:16
|
18 | Ok(_) => Ok(()),
| ^ help: use `()` instead of `_`: `()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns
note: the lint level is defined here
--> src/main.rs:2:9
|
2 | #![warn(clippy::pedantic, clippy::cargo)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::ignored_unit_patterns)]` implied by `#[warn(clippy::pedantic)]`
|
accessing first element with `list_fuzzy(&timezones, timezone, 1).get(0)`:
src/util/time.rs#L46
warning: accessing first element with `list_fuzzy(&timezones, timezone, 1).get(0)`
--> src/util/time.rs:46:19
|
46 | Err(match list_fuzzy(&timezones, timezone, 1).get(0) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `list_fuzzy(&timezones, timezone, 1).first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` on by default
|
redundant guard:
src/directory.rs#L245
warning: redundant guard
--> src/directory.rs:245:24
|
245 | Some(e) if e == "metadata" => (),
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards
= note: `#[warn(clippy::redundant_guards)]` on by default
help: try
|
245 - Some(e) if e == "metadata" => (),
245 + Some("metadata") => (),
|
|
multiple versions for dependency `windows_x86_64_msvc`: 0.48.5, 0.52.5:
src/main.rs#L1
warning: multiple versions for dependency `windows_x86_64_msvc`: 0.48.5, 0.52.5
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `windows_x86_64_gnullvm`: 0.48.5, 0.52.5:
src/main.rs#L1
warning: multiple versions for dependency `windows_x86_64_gnullvm`: 0.48.5, 0.52.5
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `windows_x86_64_gnu`: 0.48.5, 0.52.5:
src/main.rs#L1
warning: multiple versions for dependency `windows_x86_64_gnu`: 0.48.5, 0.52.5
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `windows_i686_msvc`: 0.48.5, 0.52.5:
src/main.rs#L1
warning: multiple versions for dependency `windows_i686_msvc`: 0.48.5, 0.52.5
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `windows_i686_gnu`: 0.48.5, 0.52.5:
src/main.rs#L1
warning: multiple versions for dependency `windows_i686_gnu`: 0.48.5, 0.52.5
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `windows_aarch64_msvc`: 0.48.5, 0.52.5:
src/main.rs#L1
warning: multiple versions for dependency `windows_aarch64_msvc`: 0.48.5, 0.52.5
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `windows_aarch64_gnullvm`: 0.48.5, 0.52.5:
src/main.rs#L1
warning: multiple versions for dependency `windows_aarch64_gnullvm`: 0.48.5, 0.52.5
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `windows-targets`: 0.48.5, 0.52.5:
src/main.rs#L1
warning: multiple versions for dependency `windows-targets`: 0.48.5, 0.52.5
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `windows-sys`: 0.48.0, 0.52.0:
src/main.rs#L1
warning: multiple versions for dependency `windows-sys`: 0.48.0, 0.52.0
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `time-macros`: 0.1.1, 0.2.18:
src/main.rs#L1
warning: multiple versions for dependency `time-macros`: 0.1.1, 0.2.18
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `time`: 0.2.27, 0.3.36:
src/main.rs#L1
warning: multiple versions for dependency `time`: 0.2.27, 0.3.36
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `syn`: 1.0.109, 2.0.60:
src/main.rs#L1
warning: multiple versions for dependency `syn`: 1.0.109, 2.0.60
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `itoa`: 0.4.8, 1.0.11:
src/main.rs#L1
warning: multiple versions for dependency `itoa`: 0.4.8, 1.0.11
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `idna`: 0.4.0, 0.5.0:
src/main.rs#L1
warning: multiple versions for dependency `idna`: 0.4.0, 0.5.0
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `heck`: 0.4.1, 0.5.0:
src/main.rs#L1
warning: multiple versions for dependency `heck`: 0.4.1, 0.5.0
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
note: the lint level is defined here
--> src/main.rs:2:27
|
2 | #![warn(clippy::pedantic, clippy::cargo)]
| ^^^^^^^^^^^^^
= note: `#[warn(clippy::multiple_crate_versions)]` implied by `#[warn(clippy::cargo)]`
|
tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions/cache@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
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/
|