Skip to content

Changes to shapes_demo for automatic testing #609

Changes to shapes_demo for automatic testing

Changes to shapes_demo for automatic testing #609

Re-run triggered March 26, 2024 11:20
Status Failure
Total duration 2m 24s
Artifacts

CI.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 5 warnings
format
Process completed with exit code 1.
lint
reviewdog exited with status code: 1
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: src/rtps/dp_event_loop.rs#L49
[clippy] reported by reviewdog 🐶 warning: fields `domain_id` and `participant_id` are never read --> src/rtps/dp_event_loop.rs:51:7 | 49 | pub struct DomainInfo { | ---------- fields in this struct 50 | pub domain_participant_guid: GUID, 51 | pub domain_id: u16, | ^^^^^^^^^ 52 | pub participant_id: u16, | ^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default Raw Output: src/rtps/dp_event_loop.rs:49:12:w:warning: fields `domain_id` and `participant_id` are never read --> src/rtps/dp_event_loop.rs:51:7 | 49 | pub struct DomainInfo { | ---------- fields in this struct 50 | pub domain_participant_guid: GUID, 51 | pub domain_id: u16, | ^^^^^^^^^ 52 | pub participant_id: u16, | ^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default __END__
lint: src/rtps/message_receiver.rs#L69
[clippy] reported by reviewdog 🐶 warning: field `multicast_reply_locator_list` is never read --> src/rtps/message_receiver.rs:72:7 | 69 | pub struct MessageReceiverState { | -------------------- field in this struct ... 72 | pub multicast_reply_locator_list: Vec<Locator>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `MessageReceiverState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis Raw Output: src/rtps/message_receiver.rs:69:12:w:warning: field `multicast_reply_locator_list` is never read --> src/rtps/message_receiver.rs:72:7 | 69 | pub struct MessageReceiverState { | -------------------- field in this struct ... 72 | pub multicast_reply_locator_list: Vec<Locator>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `MessageReceiverState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis __END__
lint: examples/shapes_demo/main.rs#L329
[clippy] reported by reviewdog 🐶 warning: this match arm has an identical body to the `_` wildcard arm --> examples/shapes_demo/main.rs:329:19 | 329 | statusevents::DataReaderStatus::SampleLost {..} => {}, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the arm | = help: or try changing either arm body note: `_` wildcard arm here --> examples/shapes_demo/main.rs:330:19 | 330 | _ => {} | ^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_same_arms note: the lint level is defined here --> examples/shapes_demo/main.rs:4:9 | 4 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::match_same_arms)]` implied by `#[warn(clippy::pedantic)]` Raw Output: examples/shapes_demo/main.rs:329:19:w:warning: this match arm has an identical body to the `_` wildcard arm --> examples/shapes_demo/main.rs:329:19 | 329 | statusevents::DataReaderStatus::SampleLost {..} => {}, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the arm | = help: or try changing either arm body note: `_` wildcard arm here --> examples/shapes_demo/main.rs:330:19 | 330 | _ => {} | ^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_same_arms note: the lint level is defined here --> examples/shapes_demo/main.rs:4:9 | 4 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::match_same_arms)]` implied by `#[warn(clippy::pedantic)]` __END__
lint: examples/shapes_demo/main.rs#L330
[clippy] reported by reviewdog 🐶 warning: wildcard matches only a single variant and will also match any future added variants --> examples/shapes_demo/main.rs:330:19 | 330 | _ => {} | ^ help: try: `statusevents::DataReaderStatus::SampleRejected{ .. }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants = note: `#[warn(clippy::match_wildcard_for_single_variants)]` implied by `#[warn(clippy::pedantic)]` Raw Output: examples/shapes_demo/main.rs:330:19:w:warning: wildcard matches only a single variant and will also match any future added variants --> examples/shapes_demo/main.rs:330:19 | 330 | _ => {} | ^ help: try: `statusevents::DataReaderStatus::SampleRejected{ .. }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants = note: `#[warn(clippy::match_wildcard_for_single_variants)]` implied by `#[warn(clippy::pedantic)]` __END__