Merge remote-tracking branch 'origin/develop' into develop #41
cargo test (macos-12)
There are 0 failures, 450 warnings, and 0 notice.
Details
Results
Compile result
Type | Count |
---|---|
error: internal compiler error | 0 |
error | 0 |
warning | 450 |
failure-note | 0 |
note | 0 |
help | 0 |
Test result
Name | Status |
---|---|
util::tests::fhsdiub | ok |
internal::tests::basic_test | ok |
logger/src/log_msg.rs:129 log_msg::LogMsg::clear | ok |
logger/src/builder.rs:69 builder::Builder | ok |
logger/src/builder.rs:59 builder::Builder | ok |
logger/src/log_msg.rs:52 log_msg::LogMsg | ok |
logger/src/log_msg.rs:106 log_msg::LogMsg::with_time | ok |
logger/src/log_msg.rs:169 log_msg::LogMsg::from_msg | ok |
logger/src/log_msg.rs:83 log_msg::LogMsg::new | ok |
core/src/lib.rs:119 setup | ok |
Annotations
Check warning on line 37 in core/src/profiler/thread/mod.rs
github-actions / cargo test (macos-12)
unused import: `ChannelsOut`
warning: unused import: `ChannelsOut`
--> core/src/profiler/thread/mod.rs:37:32
|
37 | pub use channels::{ChannelsIn, ChannelsOut};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Raw output
[
{
"children": [],
"code": null,
"level": "note",
"message": "`#[warn(unused_imports)]` on by default",
"rendered": null,
"spans": []
},
{
"children": [],
"code": null,
"level": "help",
"message": "remove the unused import",
"rendered": null,
"spans": [
{
"byte_end": 1698,
"byte_start": 1697,
"column_end": 20,
"column_start": 19,
"expansion": null,
"file_name": "core/src/profiler/thread/mod.rs",
"is_primary": true,
"label": null,
"line_end": 37,
"line_start": 37,
"suggested_replacement": "",
"suggestion_applicability": "MachineApplicable",
"text": [
{
"highlight_end": 20,
"highlight_start": 19,
"text": "pub use channels::{ChannelsIn, ChannelsOut};"
}
]
},
{
"byte_end": 1721,
"byte_start": 1708,
"column_end": 43,
"column_start": 30,
"expansion": null,
"file_name": "core/src/profiler/thread/mod.rs",
"is_primary": true,
"label": null,
"line_end": 37,
"line_start": 37,
"suggested_replacement": "",
"suggestion_applicability": "MachineApplicable",
"text": [
{
"highlight_end": 43,
"highlight_start": 30,
"text": "pub use channels::{ChannelsIn, ChannelsOut};"
}
]
},
{
"byte_end": 1722,
"byte_start": 1721,
"column_end": 44,
"column_start": 43,
"expansion": null,
"file_name": "core/src/profiler/thread/mod.rs",
"is_primary": true,
"label": null,
"line_end": 37,
"line_start": 37,
"suggested_replacement": "",
"suggestion_applicability": "MachineApplicable",
"text": [
{
"highlight_end": 44,
"highlight_start": 43,
"text": "pub use channels::{ChannelsIn, ChannelsOut};"
}
]
}
]
}
]
Check warning on line 51 in core/src/profiler/core2.rs
github-actions / cargo test (macos-12)
unused variable: `callsite`
warning: unused variable: `callsite`
--> core/src/profiler/core2.rs:51:19
|
51 | fn log(&self, callsite: &'static Callsite, msg: Arguments, fields: &[Field]) {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callsite`
|
= note: `#[warn(unused_variables)]` on by default
Raw output
[
{
"children": [],
"code": null,
"level": "note",
"message": "`#[warn(unused_variables)]` on by default",
"rendered": null,
"spans": []
},
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 2337,
"byte_start": 2329,
"column_end": 27,
"column_start": 19,
"expansion": null,
"file_name": "core/src/profiler/core2.rs",
"is_primary": true,
"label": null,
"line_end": 51,
"line_start": 51,
"suggested_replacement": "_callsite",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 27,
"highlight_start": 19,
"text": " fn log(&self, callsite: &'static Callsite, msg: Arguments, fields: &[Field]) {"
}
]
}
]
}
]
Check warning on line 51 in core/src/profiler/core2.rs
github-actions / cargo test (macos-12)
unused variable: `msg`
warning: unused variable: `msg`
--> core/src/profiler/core2.rs:51:48
|
51 | fn log(&self, callsite: &'static Callsite, msg: Arguments, fields: &[Field]) {
| ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 2361,
"byte_start": 2358,
"column_end": 51,
"column_start": 48,
"expansion": null,
"file_name": "core/src/profiler/core2.rs",
"is_primary": true,
"label": null,
"line_end": 51,
"line_start": 51,
"suggested_replacement": "_msg",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 51,
"highlight_start": 48,
"text": " fn log(&self, callsite: &'static Callsite, msg: Arguments, fields: &[Field]) {"
}
]
}
]
}
]
Check warning on line 51 in core/src/profiler/core2.rs
github-actions / cargo test (macos-12)
unused variable: `fields`
warning: unused variable: `fields`
--> core/src/profiler/core2.rs:51:64
|
51 | fn log(&self, callsite: &'static Callsite, msg: Arguments, fields: &[Field]) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 2380,
"byte_start": 2374,
"column_end": 70,
"column_start": 64,
"expansion": null,
"file_name": "core/src/profiler/core2.rs",
"is_primary": true,
"label": null,
"line_end": 51,
"line_start": 51,
"suggested_replacement": "_fields",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 70,
"highlight_start": 64,
"text": " fn log(&self, callsite: &'static Callsite, msg: Arguments, fields: &[Field]) {"
}
]
}
]
}
]
Check warning on line 81 in core/src/lib.rs
github-actions / cargo test (macos-12)
unused variable: `crate_name`
warning: unused variable: `crate_name`
--> core/src/lib.rs:81:5
|
81 | crate_name: T1,
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crate_name`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 3051,
"byte_start": 3041,
"column_end": 15,
"column_start": 5,
"expansion": null,
"file_name": "core/src/lib.rs",
"is_primary": true,
"label": null,
"line_end": 81,
"line_start": 81,
"suggested_replacement": "_crate_name",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 15,
"highlight_start": 5,
"text": " crate_name: T1,"
}
]
}
]
}
]
Check warning on line 82 in core/src/lib.rs
github-actions / cargo test (macos-12)
unused variable: `crate_version`
warning: unused variable: `crate_version`
--> core/src/lib.rs:82:5
|
82 | crate_version: T2,
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crate_version`
Raw output
[
{
"children": [],
"code": null,
"level": "help",
"message": "if this is intentional, prefix it with an underscore",
"rendered": null,
"spans": [
{
"byte_end": 3074,
"byte_start": 3061,
"column_end": 18,
"column_start": 5,
"expansion": null,
"file_name": "core/src/lib.rs",
"is_primary": true,
"label": null,
"line_end": 82,
"line_start": 82,
"suggested_replacement": "_crate_version",
"suggestion_applicability": "MaybeIncorrect",
"text": [
{
"highlight_end": 18,
"highlight_start": 5,
"text": " crate_version: T2,"
}
]
}
]
}
]
Check warning on line 133 in core/src/lib.rs
github-actions / cargo test (macos-12)
static `LOG_BUFFER_RC` is never used
warning: static `LOG_BUFFER_RC` is never used
--> core/src/lib.rs:133:8
|
133 | static LOG_BUFFER_RC: AtomicUsize = AtomicUsize::new(0);
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Raw output
[
{
"children": [],
"code": null,
"level": "note",
"message": "`#[warn(dead_code)]` on by default",
"rendered": null,
"spans": []
}
]
Check warning on line 32 in core/src/config/defaults.rs
github-actions / cargo test (macos-12)
constant `DEFAULT_COLOR` is never used
warning: constant `DEFAULT_COLOR` is never used
--> core/src/config/defaults.rs:32:11
|
32 | pub const DEFAULT_COLOR: Color = Color::Auto;
| ^^^^^^^^^^^^^
Raw output
[]
Check warning on line 33 in core/src/config/defaults.rs
github-actions / cargo test (macos-12)
constant `DEFAULT_LEVEL` is never used
warning: constant `DEFAULT_LEVEL` is never used
--> core/src/config/defaults.rs:33:11
|
33 | pub const DEFAULT_LEVEL: Level = Level::Debug;
| ^^^^^^^^^^^^^
Raw output
[]
Check warning on line 34 in core/src/config/defaults.rs
github-actions / cargo test (macos-12)
constant `DEFAULT_PORT` is never used
warning: constant `DEFAULT_PORT` is never used
--> core/src/config/defaults.rs:34:11
|
34 | pub const DEFAULT_PORT: u16 = 4026;
| ^^^^^^^^^^^^
Raw output
[]
Check warning on line 35 in core/src/config/defaults.rs
github-actions / cargo test (macos-12)
constant `DEFAULT_MAX_ROWS` is never used
warning: constant `DEFAULT_MAX_ROWS` is never used
--> core/src/config/defaults.rs:35:11
|
35 | pub const DEFAULT_MAX_ROWS: u32 = 1000000;
| ^^^^^^^^^^^^^^^^
Raw output
[]
Check warning on line 36 in core/src/config/defaults.rs
github-actions / cargo test (macos-12)
constant `DEFAULT_STDERR` is never used
warning: constant `DEFAULT_STDERR` is never used
--> core/src/config/defaults.rs:36:11
|
36 | pub const DEFAULT_STDERR: bool = true;
| ^^^^^^^^^^^^^^
Raw output
[]
Check warning on line 37 in core/src/config/defaults.rs
github-actions / cargo test (macos-12)
constant `DEFAULT_MIN_PERIOD` is never used
warning: constant `DEFAULT_MIN_PERIOD` is never used
--> core/src/config/defaults.rs:37:11
|
37 | pub const DEFAULT_MIN_PERIOD: u16 = 200;
| ^^^^^^^^^^^^^^^^^^
Raw output
[]
Check warning on line 39 in core/src/config/defaults.rs
github-actions / cargo test (macos-12)
constant `DEFAULT_LOGGER` is never used
warning: constant `DEFAULT_LOGGER` is never used
--> core/src/config/defaults.rs:39:11
|
39 | pub const DEFAULT_LOGGER: Logger = Logger {
| ^^^^^^^^^^^^^^
Raw output
[]
Check warning on line 48 in core/src/config/defaults.rs
github-actions / cargo test (macos-12)
constant `DEFAULT_PROFILER` is never used
warning: constant `DEFAULT_PROFILER` is never used
--> core/src/config/defaults.rs:48:11
|
48 | pub const DEFAULT_PROFILER: Profiler = Profiler {
| ^^^^^^^^^^^^^^^^
Raw output
[]
Check warning on line 55 in core/src/config/model.rs
github-actions / cargo test (macos-12)
method `to_bp3d_debug` is never used
warning: method `to_bp3d_debug` is never used
--> core/src/config/model.rs:55:12
|
54 | impl Level {
| ---------- method in this implementation
55 | pub fn to_bp3d_debug(&self) -> bp3d_debug::logger::Level {
| ^^^^^^^^^^^^^
Raw output
[]
Check warning on line 76 in core/src/config/model.rs
github-actions / cargo test (macos-12)
fields `color` and `stderr` are never read
warning: fields `color` and `stderr` are never read
--> core/src/config/model.rs:76:9
|
75 | pub struct Console {
| ------- fields in this struct
76 | pub color: Option<Color>,
| ^^^^^
77 | pub stderr: Option<bool>,
| ^^^^^^
Raw output
[]
Check warning on line 81 in core/src/config/model.rs
github-actions / cargo test (macos-12)
methods `get_color` and `get_stderr` are never used
warning: methods `get_color` and `get_stderr` are never used
--> core/src/config/model.rs:81:12
|
80 | impl Console {
| ------------ methods in this implementation
81 | pub fn get_color(&self) -> Color {
| ^^^^^^^^^
...
85 | pub fn get_stderr(&self) -> bool {
| ^^^^^^^^^^
Raw output
[]
Check warning on line 96 in core/src/config/model.rs
github-actions / cargo test (macos-12)
fields `level`, `console`, and `file` are never read
warning: fields `level`, `console`, and `file` are never read
--> core/src/config/model.rs:96:9
|
95 | pub struct Logger {
| ------ fields in this struct
96 | pub level: Option<Level>,
| ^^^^^
97 | pub console: Option<Console>,
| ^^^^^^^
98 | pub file: Option<File>,
| ^^^^
Raw output
[]
Check warning on line 102 in core/src/config/model.rs
github-actions / cargo test (macos-12)
method `get_level` is never used
warning: method `get_level` is never used
--> core/src/config/model.rs:102:12
|
101 | impl Logger {
| ----------- method in this implementation
102 | pub fn get_level(&self) -> Level {
| ^^^^^^^^^
Raw output
[]
Check warning on line 110 in core/src/config/model.rs
github-actions / cargo test (macos-12)
fields `port`, `max_rows`, and `min_period` are never read
warning: fields `port`, `max_rows`, and `min_period` are never read
--> core/src/config/model.rs:110:9
|
109 | pub struct Profiler {
| -------- fields in this struct
110 | pub port: Option<u16>,
| ^^^^
111 | pub max_rows: Option<u32>,
| ^^^^^^^^
112 | pub min_period: Option<u16>,
| ^^^^^^^^^^
Raw output
[]
Check warning on line 116 in core/src/config/model.rs
github-actions / cargo test (macos-12)
methods `get_port`, `get_max_rows`, and `get_min_period` are never used
warning: methods `get_port`, `get_max_rows`, and `get_min_period` are never used
--> core/src/config/model.rs:116:12
|
115 | impl Profiler {
| ------------- methods in this implementation
116 | pub fn get_port(&self) -> u16 {
| ^^^^^^^^
...
120 | pub fn get_max_rows(&self) -> u32 {
| ^^^^^^^^^^^^
...
124 | pub fn get_min_period(&self) -> u16 {
| ^^^^^^^^^^^^^^
Raw output
[]
Check warning on line 132 in core/src/config/model.rs
github-actions / cargo test (macos-12)
fields `logger` and `profiler` are never read
warning: fields `logger` and `profiler` are never read
--> core/src/config/model.rs:132:9
|
130 | pub struct Config {
| ------ fields in this struct
131 | pub mode: Option<Mode>,
132 | pub logger: Option<Logger>,
| ^^^^^^
133 | pub profiler: Option<Profiler>,
| ^^^^^^^^
Raw output
[]
Check warning on line 151 in core/src/config/model.rs
github-actions / cargo test (macos-12)
methods `get_logger` and `get_profiler` are never used
warning: methods `get_logger` and `get_profiler` are never used
--> core/src/config/model.rs:151:12
|
146 | impl Config {
| ----------- methods in this implementation
...
151 | pub fn get_logger(&self) -> &Logger {
| ^^^^^^^^^^
...
155 | pub fn get_profiler(&self) -> &Profiler {
| ^^^^^^^^^^^^
Raw output
[]
Check warning on line 41 in core/src/tracer_base.rs
github-actions / cargo test (macos-12)
field `callsite` is never read
warning: field `callsite` is never read
--> core/src/tracer_base.rs:41:5
|
40 | pub struct SpanData<T> {
| -------- field in this struct
41 | callsite: NonZeroU32,
| ^^^^^^^^
Raw output
[]