Update indexmap to 2.0.2 #1000
Annotations
18 warnings
unused import: `removed_by_x9`:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-bidi-0.3.13/src/implicit.rs#L17
warning: unused import: `removed_by_x9`
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-bidi-0.3.13/src/implicit.rs:17:41
|
17 | use super::prepare::{not_removed_by_x9, removed_by_x9, IsolatingRunSequence};
| ^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
method `text_range` is never used:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-bidi-0.3.13/src/prepare.rs#L170
warning: method `text_range` is never used
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-bidi-0.3.13/src/prepare.rs:170:19
|
168 | impl IsolatingRunSequence {
| ------------------------- method in this implementation
169 | /// Returns the full range of text represented by this isolating run sequence
170 | pub(crate) fn text_range(&self) -> Range<usize> {
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
panic message is not a string literal:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro-error-1.0.4/src/lib.rs#L472
warning: panic message is not a string literal
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro-error-1.0.4/src/lib.rs:472:12
|
472 | panic!(AbortNow)
| ------ ^^^^^^^^
| |
| help: use std::panic::panic_any instead: `std::panic::panic_any`
|
= note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
= note: `#[warn(non_fmt_panics)]` on by default
|
use of deprecated method `os_str_bytes::RawOsStr::as_raw_bytes`: enable the 'conversions' feature:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_lex-0.3.0/src/lib.rs#L480
warning: use of deprecated method `os_str_bytes::RawOsStr::as_raw_bytes`: enable the 'conversions' feature
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_lex-0.3.0/src/lib.rs:480:33
|
480 | match std::str::from_utf8(b.as_raw_bytes()) {
| ^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated method `os_str_bytes::RawOsStr::as_raw_bytes`: enable the 'conversions' feature:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_lex-0.3.0/src/lib.rs#L484
warning: use of deprecated method `os_str_bytes::RawOsStr::as_raw_bytes`: enable the 'conversions' feature
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_lex-0.3.0/src/lib.rs:484:51
|
484 | let valid = std::str::from_utf8(valid.as_raw_bytes()).unwrap();
| ^^^^^^^^^^^^
|
calls to `std::mem::drop` with a value that implements `Copy` does nothing:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crc32fast-1.3.2/src/specialized/pclmulqdq.rs#L147
warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crc32fast-1.3.2/src/specialized/pclmulqdq.rs:147:5
|
147 | drop(K6);
| ^^^^^--^
| |
| argument has type `i64`
|
= note: use `let _ = ...` to ignore the expression or result
= note: `#[warn(dropping_copy_types)]` on by default
|
variable does not need to be mutable:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap-4.0.26/src/builder/command.rs#L4035
warning: variable does not need to be mutable
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap-4.0.26/src/builder/command.rs:4035:17
|
4035 | for mut sc in &mut self.subcommands {
| ----^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
use of deprecated macro `try`: use the `?` operator instead:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tee-0.1.0/src/lib.rs#L27
warning: use of deprecated macro `try`: use the `?` operator instead
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tee-0.1.0/src/lib.rs:27:9
|
27 | try!(self.writer.write_all(&buf[..n]));
| ^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated macro `try`: use the `?` operator instead:
Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tee-0.1.0/src/lib.rs#L26
warning: use of deprecated macro `try`: use the `?` operator instead
--> /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tee-0.1.0/src/lib.rs:26:17
|
26 | let n = try!(self.reader.read(buf));
| ^^^
|
panic message is not a string literal:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro-error-1.0.4/src/lib.rs#L472
warning: panic message is not a string literal
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro-error-1.0.4/src/lib.rs:472:12
|
472 | panic!(AbortNow)
| ------ ^^^^^^^^
| |
| help: use std::panic::panic_any instead: `std::panic::panic_any`
|
= note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
= note: `#[warn(non_fmt_panics)]` on by default
|
unused import: `removed_by_x9`:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-bidi-0.3.13/src/implicit.rs#L17
warning: unused import: `removed_by_x9`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-bidi-0.3.13/src/implicit.rs:17:41
|
17 | use super::prepare::{not_removed_by_x9, removed_by_x9, IsolatingRunSequence};
| ^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
method `text_range` is never used:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-bidi-0.3.13/src/prepare.rs#L170
warning: method `text_range` is never used
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-bidi-0.3.13/src/prepare.rs:170:19
|
168 | impl IsolatingRunSequence {
| ------------------------- method in this implementation
169 | /// Returns the full range of text represented by this isolating run sequence
170 | pub(crate) fn text_range(&self) -> Range<usize> {
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
use of deprecated method `os_str_bytes::RawOsStr::as_raw_bytes`: enable the 'conversions' feature:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_lex-0.3.0/src/lib.rs#L480
warning: use of deprecated method `os_str_bytes::RawOsStr::as_raw_bytes`: enable the 'conversions' feature
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_lex-0.3.0/src/lib.rs:480:33
|
480 | match std::str::from_utf8(b.as_raw_bytes()) {
| ^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated method `os_str_bytes::RawOsStr::as_raw_bytes`: enable the 'conversions' feature:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_lex-0.3.0/src/lib.rs#L484
warning: use of deprecated method `os_str_bytes::RawOsStr::as_raw_bytes`: enable the 'conversions' feature
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_lex-0.3.0/src/lib.rs:484:51
|
484 | let valid = std::str::from_utf8(valid.as_raw_bytes()).unwrap();
| ^^^^^^^^^^^^
|
calls to `std::mem::drop` with a value that implements `Copy` does nothing:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crc32fast-1.3.2/src/specialized/pclmulqdq.rs#L147
warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/crc32fast-1.3.2/src/specialized/pclmulqdq.rs:147:5
|
147 | drop(K6);
| ^^^^^--^
| |
| argument has type `i64`
|
= note: use `let _ = ...` to ignore the expression or result
= note: `#[warn(dropping_copy_types)]` on by default
|
variable does not need to be mutable:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap-4.0.26/src/builder/command.rs#L4035
warning: variable does not need to be mutable
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap-4.0.26/src/builder/command.rs:4035:17
|
4035 | for mut sc in &mut self.subcommands {
| ----^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
use of deprecated macro `try`: use the `?` operator instead:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tee-0.1.0/src/lib.rs#L27
warning: use of deprecated macro `try`: use the `?` operator instead
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tee-0.1.0/src/lib.rs:27:9
|
27 | try!(self.writer.write_all(&buf[..n]));
| ^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated macro `try`: use the `?` operator instead:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tee-0.1.0/src/lib.rs#L26
warning: use of deprecated macro `try`: use the `?` operator instead
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tee-0.1.0/src/lib.rs:26:17
|
26 | let n = try!(self.reader.read(buf));
| ^^^
|