Bump owo-colors from 4.2.0 to 4.2.1 #8
Closed
Annotations
7 errors and 10 warnings
|
src/main.rs#L3
error[E0583]: file not found for module `vlfd`
--> src/main.rs:3:1
|
3 | mod vlfd; // VeriComm driver
| ^^^^^^^^^
|
= help: to create the module `vlfd`, create file "src/vlfd.rs" or "src/vlfd/mod.rs"
= note: if there is a `mod vlfd` elsewhere in the crate already, import it with `use crate::...` instead
|
|
src/cli.rs#L33
error[E0425]: cannot find function `print_usb_devices` in this scope
--> src/cli.rs:33:13
|
33 | print_usb_devices()?;
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
|
src/cli.rs#L38
error[E0425]: cannot find function `ls_usb_smims` in this scope
--> src/cli.rs:38:31
|
38 | let fde_devices = ls_usb_smims()?;
| ^^^^^^^^^^^^ not found in this scope
|
|
src/cli.rs#L79
error[E0425]: cannot find function `get_usb_handle` in this scope
--> src/cli.rs:79:34
|
79 | let usb_handle = get_usb_handle(
| ^^^^^^^^^^^^^^ not found in this scope
|
|
src/cli.rs#L87
error[E0425]: cannot find function `libusb_get_context` in this scope
--> src/cli.rs:87:95
|
87 | handles.insert(fde_usb_device.clone(), UsbHandle{ handle:usb_handle, context: libusb_get_context() });
| ^^^^^^^^^^^^^^^^^^ not found in this scope
|
|
src/cli.rs#L305
error[E0425]: cannot find function `ls_usb_smims` in this scope
--> src/cli.rs:305:31
|
305 | for usb_device in ls_usb_smims()? {
| ^^^^^^^^^^^^ not found in this scope
|
|
|
|
src/cli.rs#L702
warning: this `if` statement can be collapsed
--> src/cli.rs:702:17
|
702 | / if !command.trim().is_empty() {
703 | | if !handle_command(&command, &mut app_context)? {
704 | | // returning false -> exit
705 | | break;
706 | | }
707 | | }
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
702 ~ if !command.trim().is_empty() && !handle_command(&command, &mut app_context)? {
703 + // returning false -> exit
704 + break;
705 + }
|
|
|
src/ports/mod.rs#L1
warning: empty line after doc comment
--> src/ports/mod.rs:1:1
|
1 | / /**
2 | | * Filename: mod.rs
3 | | * Desciprtion: The entry folder that contains all the main components for "port" functionality
4 | | */
5 | |
| |_^
6 | use std::collections::HashMap;
| - the comment documents this `use` import
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default
= help: if the empty line is unintentional, remove it
help: if the comment should document the parent module use an inner doc comment
|
1 - /**
1 + /*!
|
|
|
src/ports/mod.rs#L58
warning: redundant field names in struct initialization
--> src/ports/mod.rs:58:9
|
58 | pin_index: pin_index,
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `pin_index`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `#[warn(clippy::redundant_field_names)]` on by default
|
|
src/ports/parse.rs#L1
warning: empty line after doc comment
--> src/ports/parse.rs:1:1
|
1 | / /**
2 | | * Filename: parse.rs
3 | | * Desciprtion: Helper functions for parsing the constraints (.xml) file
4 | | */
5 | |
| |_^
6 | use serde::{Deserialize, Serialize};
| - the comment documents this `use` import
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= help: if the empty line is unintentional, remove it
help: if the comment should document the parent module use an inner doc comment
|
1 - /**
1 + /*!
|
|
|
src/ports/parse.rs#L8
warning: this import is redundant
--> src/ports/parse.rs:8:1
|
8 | use serde_json;
| ^^^^^^^^^^^^^^^ help: remove it entirely
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
= note: `#[warn(clippy::single_component_path_imports)]` on by default
|
|
src/ports/table.rs#L1
warning: empty line after doc comment
--> src/ports/table.rs:1:1
|
1 | / /**
2 | | * Filename: table.rs
3 | | * Desciprtion: A helper class that outputs a "printable" table for the Tabled library
4 | | */
5 | |
| |_^
6 | use tabled::Tabled;
| - the comment documents this `use` import
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= help: if the empty line is unintentional, remove it
help: if the comment should document the parent module use an inner doc comment
|
1 - /**
1 + /*!
|
|
|
src/helper/smims_cfg.rs#L1
warning: empty line after doc comment
--> src/helper/smims_cfg.rs:1:1
|
1 | / /**
2 | | * Filename: smims_cfg.rs
3 | | * Desciprtion: A helper class that outputs a "printable" table for the Tabled library
4 | | */
5 | |
| |_^
6 | use tabled::Tabled;
| - the comment documents this `use` import
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= help: if the empty line is unintentional, remove it
help: if the comment should document the parent module use an inner doc comment
|
1 - /**
1 + /*!
|
|
|
src/helper/constraints.rs#L1
warning: empty line after doc comment
--> src/helper/constraints.rs:1:1
|
1 | / /**
2 | | * Filename: constraints.rs
3 | | * Desciprtion: Handles the reading and parsing of the constriant .xml file
4 | | * Checking if the required ports are matched, and matched correctly
5 | | */
6 | |
| |_^
7 | use std::fs::File;
| - the comment documents this `use` import
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= help: if the empty line is unintentional, remove it
help: if the comment should document the parent module use an inner doc comment
|
1 - /**
1 + /*!
|
|
|
src/helper/bitstream.rs#L1
warning: empty line after doc comment
--> src/helper/bitstream.rs:1:1
|
1 | / /**
2 | | * Filename: bitstream.rs
3 | | * Description: Handles the reading & parsing of the bitstream (.bit) file
4 | | */
5 | |
| |_^
6 | use std::fs::File;
| - the comment documents this `use` import
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= help: if the empty line is unintentional, remove it
help: if the comment should document the parent module use an inner doc comment
|
1 - /**
1 + /*!
|
|
|
src/utilities/fifo.rs#L1
warning: unused import: `self`
--> src/utilities/fifo.rs:1:20
|
1 | use crate::ports::{self, IOPort};
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
The logs for this run have expired and are no longer available.
Loading