Skip to content

fix: complete extra render example #2540

fix: complete extra render example

fix: complete extra render example #2540

Triggered via push July 29, 2023 01:18
Status Success
Total duration 1m 44s
Artifacts

linux.yml

on: push
Matrix: build_and_test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 6 warnings
incorrect implementation of `clone` on a `Copy` type: yarte_helpers/src/at_helpers.rs#L38
error: incorrect implementation of `clone` on a `Copy` type --> yarte_helpers/src/at_helpers.rs:38:33 | 38 | fn clone(&self) -> Self { | _________________________________^ 39 | | JsonPretty(self.0) 40 | | } | |_________^ help: change this to: `{ *self }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_clone_impl_on_copy_type
incorrect implementation of `clone` on a `Copy` type: yarte_helpers/src/at_helpers.rs#L13
error: incorrect implementation of `clone` on a `Copy` type --> yarte_helpers/src/at_helpers.rs:13:33 | 13 | fn clone(&self) -> Self { | _________________________________^ 14 | | Json(self.0) 15 | | } | |_________^ help: change this to: `{ *self }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_clone_impl_on_copy_type = note: `#[deny(clippy::incorrect_clone_impl_on_copy_type)]` on by default
methods with the following characteristics: (`to_*` and `*_mut`) usually take `self` by mutable reference: yarte_helpers/src/helpers/ser_json/mod.rs#L18
warning: methods with the following characteristics: (`to_*` and `*_mut`) usually take `self` by mutable reference --> yarte_helpers/src/helpers/ser_json/mod.rs:18:32 | 18 | fn to_bytes_mut<B: Buffer>(&self, buf: &mut B); | ^^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention = note: `#[warn(clippy::wrong_self_convention)]` on by default
nightly - x86_64-unknown-linux-gnu
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
nightly - x86_64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
nightly - x86_64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
nightly - x86_64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
nightly - x86_64-unknown-linux-gnu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/