Skip to content

fix(cli): downgrade env_logger to 0.10 to satisfy MSRV, fix CI #3836

fix(cli): downgrade env_logger to 0.10 to satisfy MSRV, fix CI

fix(cli): downgrade env_logger to 0.10 to satisfy MSRV, fix CI #3836

Triggered via push August 23, 2024 16:13
Status Success
Total duration 4m 34s
Artifacts

lint-core.yml

on: push
Matrix: clippy
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 30 warnings
no method named `bold` found for struct `env_logger::fmt::Style` in the current scope: src/lib.rs#L140
error[E0599]: no method named `bold` found for struct `env_logger::fmt::Style` in the current scope --> src/lib.rs:140:59 | 140 | let style = f.default_level_style(record.level()).bold(); | ^^^^ | help: there is a method `set_bold` with a similar name, but with different arguments --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/env_logger-0.10.2/src/fmt/style.rs:114:5 | 114 | pub fn set_bold(&mut self, yes: bool) -> &mut Style { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
no method named `bold` found for struct `env_logger::fmt::Style` in the current scope: src/lib.rs#L140
error[E0599]: no method named `bold` found for struct `env_logger::fmt::Style` in the current scope --> src/lib.rs:140:59 | 140 | let style = f.default_level_style(record.level()).bold(); | ^^^^ | help: there is a method `set_bold` with a similar name, but with different arguments --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/env_logger-0.10.2/src/fmt/style.rs:114:5 | 114 | pub fn set_bold(&mut self, yes: bool) -> &mut Style { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
module `style` is private: src/lib.rs#L19
error[E0603]: module `style` is private --> src/lib.rs:19:22 | 19 | use env_logger::fmt::style::{AnsiColor, Style}; | ^^^^^ private module | note: the module `style` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/env_logger-0.10.2/src/fmt/mod.rs:47:1 | 47 | mod style; | ^^^^^^^^^
module `style` is private: src/lib.rs#L19
error[E0603]: module `style` is private --> src/lib.rs:19:22 | 19 | use env_logger::fmt::style::{AnsiColor, Style}; | ^^^^^ private module | note: the module `style` is defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/env_logger-0.10.2/src/fmt/mod.rs:47:1 | 47 | mod style; | ^^^^^^^^^
unresolved import `env_logger::fmt::style::AnsiColor`: src/lib.rs#L19
error[E0432]: unresolved import `env_logger::fmt::style::AnsiColor` --> src/lib.rs:19:30 | 19 | use env_logger::fmt::style::{AnsiColor, Style}; | ^^^^^^^^^ no `AnsiColor` in `fmt::style` | = help: consider importing this enum instead: clap::builder::styling::AnsiColor
unresolved import `env_logger::fmt::style::AnsiColor`: src/lib.rs#L19
error[E0432]: unresolved import `env_logger::fmt::style::AnsiColor` --> src/lib.rs:19:30 | 19 | use env_logger::fmt::style::{AnsiColor, Style}; | ^^^^^^^^^ no `AnsiColor` in `fmt::style` | = help: consider importing this enum instead: clap::builder::styling::AnsiColor
fmt
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/
fmt
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/
fmt
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/
fmt
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/
fmt
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/
fmt
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 (--features api-all, api-all)
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 (--features api-all, api-all)
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 (--features api-all, api-all)
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 (--features api-all, api-all)
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 (--features api-all, api-all)
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 (--features api-all, api-all)
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 (empty)
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 (empty)
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 (empty)
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 (empty)
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 (empty)
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 (empty)
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 (--features custom-protocol, custom-protocol)
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 (--features custom-protocol, custom-protocol)
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 (--features custom-protocol, custom-protocol)
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 (--features custom-protocol, custom-protocol)
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 (--features custom-protocol, custom-protocol)
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 (--features custom-protocol, custom-protocol)
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 (--features compression,wry,linux-protocol-headers,isolation,custom-protocol,api-all,cli,u...
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 (--features compression,wry,linux-protocol-headers,isolation,custom-protocol,api-all,cli,u...
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 (--features compression,wry,linux-protocol-headers,isolation,custom-protocol,api-all,cli,u...
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 (--features compression,wry,linux-protocol-headers,isolation,custom-protocol,api-all,cli,u...
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 (--features compression,wry,linux-protocol-headers,isolation,custom-protocol,api-all,cli,u...
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 (--features compression,wry,linux-protocol-headers,isolation,custom-protocol,api-all,cli,u...
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/