clippy::clone_on_copyClippy — Clone on Copy Type
The clone() method is called on a type that implements Copy.
panic-unwrapThe program panicked because unwrap() was called on a None or Err value.
unwrap() is called on an Option that is None or a Result that is Err. This is a runtime error that crashes the program. It indicates the code assumed a value would always be present, but it was not.
Use match or if let to handle None and Err cases gracefully. Use unwrap_or(), unwrap_or_default(), or unwrap_or_else() to provide fallback values. Use the ? operator to propagate errors instead of panicking.
let x: Option<i32> = None;
x.unwrap(); // panics!clippy::clone_on_copyThe clone() method is called on a type that implements Copy.
E0601The binary crate does not have a main function entry point.
E0392A generic type or lifetime parameter is declared but not used in the struct or enum.
E0433The module path used in a use statement or type path cannot be resolved.
E0106A reference in a function signature or struct is missing a lifetime parameter.
E0499A value is borrowed mutably more than once at the same time.