Skip to content

in tests, make use of cond_sync rather than std::sync::CondVar directly #161

in tests, make use of cond_sync rather than std::sync::CondVar directly

in tests, make use of cond_sync rather than std::sync::CondVar directly #161

GitHub Actions / clippy failed Sep 22, 2024 in 0s

clippy

12 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 12
Warning 0
Note 0
Help 0

Versions

  • rustc 1.83.0-nightly (1d68e6dd1 2024-09-21)
  • cargo 1.83.0-nightly (eaee77dc1 2024-09-19)
  • clippy 0.1.82 (1d68e6dd 2024-09-21)

Annotations

Check failure on line 5 in src/writers.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

first doc comment paragraph is too long

error: first doc comment paragraph is too long
 --> src/writers.rs:1:1
  |
1 | / //! Describes how to extend `flexi_logger` with additional log writers
2 | | //! (implementations of the trait [`LogWriter`]), and contains two ready-to-use log writers,
3 | | //! one for writing to files ([`FileLogWriter`]), one for writing to the syslog ([`SyslogWriter`]).
4 | | //!
5 | | //! Log writers can be used in two ways:
  | |_
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph

Check failure on line 5 in src/writers.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

first doc comment paragraph is too long

error: first doc comment paragraph is too long
 --> src/writers.rs:1:1
  |
1 | / //! Describes how to extend `flexi_logger` with additional log writers
2 | | //! (implementations of the trait [`LogWriter`]), and contains two ready-to-use log writers,
3 | | //! one for writing to files ([`FileLogWriter`]), one for writing to the syslog ([`SyslogWriter`]).
4 | | //!
5 | | //! Log writers can be used in two ways:
  | |_
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph

Check failure on line 456 in src/formats.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

first doc comment paragraph is too long

error: first doc comment paragraph is too long
   --> src/formats.rs:451:1
    |
451 | / /// Can be used in
452 | | /// [`Logger::adaptive_format_for_stderr`](crate::Logger::adaptive_format_for_stderr) and
453 | | /// [`Logger::adaptive_format_for_stdout`](crate::Logger::adaptive_format_for_stdout)
454 | | /// to use coloring only if the output goes to a tty.
455 | | ///
456 | | /// This is helpful if the output is sometimes piped into other programs, which usually
    | |_
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph

Check failure on line 236 in src/formats.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

first doc comment paragraph is too long

error: first doc comment paragraph is too long
   --> src/formats.rs:230:1
    |
230 | / /// A logline-formatter that produces log lines like
231 | | /// <br>
232 | | /// ```[2016-01-13 15:25:01.640870 +01:00] T[taskreader] INFO [src/foo/bar:26] Task successfully read from conf.json```
233 | | /// <br>
234 | | /// i.e. with timestamp, thread name and file location.
235 | | ///
236 | | /// # Errors
    | |_
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph

Check failure on line 175 in src/formats.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

first doc comment paragraph is too long

error: first doc comment paragraph is too long
   --> src/formats.rs:169:1
    |
169 | / /// A logline-formatter that produces log lines like
170 | | /// <br>
171 | | /// ```[2016-01-13 15:25:01.640870 +01:00] INFO [foo::bar] src/foo/bar.rs:26: Task successfully read from conf.json```
172 | | /// <br>
173 | | /// i.e. with timestamp, module path and file location.
174 | | ///
175 | | /// # Errors
    | |_
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph

Check failure on line 85 in src/formats.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

first doc comment paragraph is too long

error: first doc comment paragraph is too long
  --> src/formats.rs:80:1
   |
80 | / /// A colored version of the logline-formatter `default_format`
81 | | /// that produces log lines like <br>
82 | | /// <code><span style="color:red">ERROR</span> &#91;`my_prog::some_submodule`&#93; <span
83 | | /// style="color:red">File not found</span></code>
84 | | ///
85 | | /// See method `[style](crate::style)` if you want to influence coloring.
   | |_
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph

Check failure on line 59 in src/formats.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

first doc comment paragraph is too long

error: first doc comment paragraph is too long
  --> src/formats.rs:53:1
   |
53 | / /// A logline-formatter that produces log lines like <br>
54 | | /// ```INFO [my_prog::some_submodule] Task successfully read from conf.json```,
55 | | /// or
56 | | /// ```INFO [my_prog::some_submodule] {a=17, b="foo"} Task successfully read from conf.json```
57 | | /// if the kv-feature is used.
58 | | ///
59 | | /// # Errors
   | |_
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
note: the lint level is defined here
  --> src/lib.rs:4:9
   |
4  | #![deny(clippy::all)]
   |         ^^^^^^^^^^^
   = note: `#[deny(clippy::too_long_first_doc_paragraph)]` implied by `#[deny(clippy::all)]`

Check failure on line 456 in src/formats.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

first doc comment paragraph is too long

error: first doc comment paragraph is too long
   --> src/formats.rs:451:1
    |
451 | / /// Can be used in
452 | | /// [`Logger::adaptive_format_for_stderr`](crate::Logger::adaptive_format_for_stderr) and
453 | | /// [`Logger::adaptive_format_for_stdout`](crate::Logger::adaptive_format_for_stdout)
454 | | /// to use coloring only if the output goes to a tty.
455 | | ///
456 | | /// This is helpful if the output is sometimes piped into other programs, which usually
    | |_
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph

Check failure on line 236 in src/formats.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

first doc comment paragraph is too long

error: first doc comment paragraph is too long
   --> src/formats.rs:230:1
    |
230 | / /// A logline-formatter that produces log lines like
231 | | /// <br>
232 | | /// ```[2016-01-13 15:25:01.640870 +01:00] T[taskreader] INFO [src/foo/bar:26] Task successfully read from conf.json```
233 | | /// <br>
234 | | /// i.e. with timestamp, thread name and file location.
235 | | ///
236 | | /// # Errors
    | |_
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph

Check failure on line 175 in src/formats.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

first doc comment paragraph is too long

error: first doc comment paragraph is too long
   --> src/formats.rs:169:1
    |
169 | / /// A logline-formatter that produces log lines like
170 | | /// <br>
171 | | /// ```[2016-01-13 15:25:01.640870 +01:00] INFO [foo::bar] src/foo/bar.rs:26: Task successfully read from conf.json```
172 | | /// <br>
173 | | /// i.e. with timestamp, module path and file location.
174 | | ///
175 | | /// # Errors
    | |_
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph

Check failure on line 85 in src/formats.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

first doc comment paragraph is too long

error: first doc comment paragraph is too long
  --> src/formats.rs:80:1
   |
80 | / /// A colored version of the logline-formatter `default_format`
81 | | /// that produces log lines like <br>
82 | | /// <code><span style="color:red">ERROR</span> &#91;`my_prog::some_submodule`&#93; <span
83 | | /// style="color:red">File not found</span></code>
84 | | ///
85 | | /// See method `[style](crate::style)` if you want to influence coloring.
   | |_
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph

Check failure on line 59 in src/formats.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

first doc comment paragraph is too long

error: first doc comment paragraph is too long
  --> src/formats.rs:53:1
   |
53 | / /// A logline-formatter that produces log lines like <br>
54 | | /// ```INFO [my_prog::some_submodule] Task successfully read from conf.json```,
55 | | /// or
56 | | /// ```INFO [my_prog::some_submodule] {a=17, b="foo"} Task successfully read from conf.json```
57 | | /// if the kv-feature is used.
58 | | ///
59 | | /// # Errors
   | |_
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
note: the lint level is defined here
  --> src/lib.rs:4:9
   |
4  | #![deny(clippy::all)]
   |         ^^^^^^^^^^^
   = note: `#[deny(clippy::too_long_first_doc_paragraph)]` implied by `#[deny(clippy::all)]`