Merge remote-tracking branch 'origin/develop' into develop #27
development.yml
on: push
Matrix: Test / Build & Test
Matrix: Coverage / Coverage
Analyze
/
Check | Clippy
28s
Analyze
/
Check | Audit
13s
Analyze
/
Format Code
12s
Release
/
Create Pre Release
0s
Release
/
Create Release Pull Request
0s
Annotations
8 warnings
you should consider adding a `Default` implementation for `Loader`:
compiler/src/interface.rs#L44
warning: you should consider adding a `Default` implementation for `Loader`
--> compiler/src/interface.rs:44:5
|
44 | / pub fn new() -> Self {
45 | | Self {
46 | | models: Vec::new(),
47 | | imported_models: Vec::new(),
48 | | }
49 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
help: try adding this
|
43 + impl Default for Loader {
44 + fn default() -> Self {
45 + Self::new()
46 + }
47 + }
|
|
all variants have the same postfix: `Case`:
compiler/src/gen/template/util.rs#L33
warning: all variants have the same postfix: `Case`
--> compiler/src/gen/template/util.rs:33:1
|
33 | / enum Convention {
34 | | PascalCase,
35 | | SnakeCase,
36 | | ScreamingCase,
37 | | }
| |_^
|
= help: remove the postfixes and use full paths to the variants instead of glob imports
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
= note: `#[warn(clippy::enum_variant_names)]` on by default
|
you should consider adding a `Default` implementation for `TypePathMap`:
compiler/src/compiler/util.rs#L44
warning: you should consider adding a `Default` implementation for `TypePathMap`
--> compiler/src/compiler/util.rs:44:5
|
44 | / pub fn new() -> Self {
45 | | Self {
46 | | type_path_by_name: HashMap::new(),
47 | | }
48 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
43 + impl Default for TypePathMap {
44 + fn default() -> Self {
45 + Self::new()
46 + }
47 + }
|
|
you should consider adding a `Default` implementation for `Loader`:
compiler/src/interface.rs#L44
warning: you should consider adding a `Default` implementation for `Loader`
--> compiler/src/interface.rs:44:5
|
44 | / pub fn new() -> Self {
45 | | Self {
46 | | models: Vec::new(),
47 | | imported_models: Vec::new(),
48 | | }
49 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
help: try adding this
|
43 + impl Default for Loader {
44 + fn default() -> Self {
45 + Self::new()
46 + }
47 + }
|
|
all variants have the same postfix: `Case`:
compiler/src/gen/template/util.rs#L33
warning: all variants have the same postfix: `Case`
--> compiler/src/gen/template/util.rs:33:1
|
33 | / enum Convention {
34 | | PascalCase,
35 | | SnakeCase,
36 | | ScreamingCase,
37 | | }
| |_^
|
= help: remove the postfixes and use full paths to the variants instead of glob imports
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
= note: `#[warn(clippy::enum_variant_names)]` on by default
|
you should consider adding a `Default` implementation for `TypePathMap`:
compiler/src/compiler/util.rs#L44
warning: you should consider adding a `Default` implementation for `TypePathMap`
--> compiler/src/compiler/util.rs:44:5
|
44 | / pub fn new() -> Self {
45 | | Self {
46 | | type_path_by_name: HashMap::new(),
47 | | }
48 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
43 + impl Default for TypePathMap {
44 + fn default() -> Self {
45 + Self::new()
46 + }
47 + }
|
|
unsafe function's docs miss `# Safety` section:
runtime/src/message/util/list_base.rs#L50
warning: unsafe function's docs miss `# Safety` section
--> runtime/src/message/util/list_base.rs:50:13
|
50 | pub unsafe fn from_raw_parts(data: B, len: usize) -> $t<B, T, Item> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: runtime/src/message/util/list.rs:42:1
|
42 | impl_list_base!(List);
| --------------------- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: this warning originates in the macro `impl_list_base` (in Nightly builds, run with -Z macro-backtrace for more info)
|
unsafe function's docs miss `# Safety` section:
runtime/src/message/util/list_base.rs#L50
warning: unsafe function's docs miss `# Safety` section
--> runtime/src/message/util/list_base.rs:50:13
|
50 | pub unsafe fn from_raw_parts(data: B, len: usize) -> $t<B, T, Item> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: runtime/src/message/util/array.rs:44:1
|
44 | impl_list_base!(Array);
| ---------------------- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: `#[warn(clippy::missing_safety_doc)]` on by default
= note: this warning originates in the macro `impl_list_base` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-macos-12
|
196 KB |
|
coverage-ubuntu-20.04
|
196 KB |
|
coverage-windows-2019
|
194 KB |
|