Skip to content

Add config file including all options

Sign in for the full log view
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy failed Jan 16, 2024 in 0s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check failure on line 332 in pkcs11/src/config/config_file.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing field `max_idle_connections` in initializer of `config::config_file::InstanceConfig`

error[E0063]: missing field `max_idle_connections` in initializer of `config::config_file::InstanceConfig`
   --> pkcs11/src/config/config_file.rs:332:33
    |
332 |                 instances: vec![InstanceConfig {
    |                                 ^^^^^^^^^^^^^^ missing `max_idle_connections`

Check failure on line 335 in pkcs11/src/config/config_file.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `config::config_file::HexFingerprint: std::convert::From<&str>` is not satisfied

error[E0277]: the trait bound `config::config_file::HexFingerprint: std::convert::From<&str>` is not satisfied
   --> pkcs11/src/config/config_file.rs:335:145
    |
335 | ...C4:2F:3A:3B:6E".into()],
    |                    ^^^^ the trait `std::convert::From<&str>` is not implemented for `config::config_file::HexFingerprint`
    |
    = note: required for `&str` to implement `std::convert::Into<config::config_file::HexFingerprint>`