Skip to content

Merge pull request #84 from dimpolo/error-serialize #104

Merge pull request #84 from dimpolo/error-serialize

Merge pull request #84 from dimpolo/error-serialize #104

Triggered via push July 24, 2024 14:18
Status Failure
Total duration 36s
Artifacts

clippy.yml

on: push
clippy_check
25s
clippy_check
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 6 warnings
usage of a legacy numeric method: src/ser/mod.rs#L190
error: usage of a legacy numeric method --> src/ser/mod.rs:190:26 | 190 | (true, $ixx::max_value() as $uxx + 1) | ^^^^^^^^^^^ ... 281 | serialize_signed!(self, 20, v, i64, u64) | ---------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) help: use the associated constant instead | 190 | (true, $ixx::MAX as $uxx + 1) | ~~~
usage of a legacy numeric method: src/ser/mod.rs#L189
error: usage of a legacy numeric method --> src/ser/mod.rs:189:45 | 189 | let (signed, mut v) = if v == $ixx::min_value() { | ^^^^^^^^^^^ ... 281 | serialize_signed!(self, 20, v, i64, u64) | ---------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) help: use the associated constant instead | 189 | let (signed, mut v) = if v == $ixx::MIN { | ~~~
usage of a legacy numeric method: src/ser/mod.rs#L190
error: usage of a legacy numeric method --> src/ser/mod.rs:190:26 | 190 | (true, $ixx::max_value() as $uxx + 1) | ^^^^^^^^^^^ ... 276 | serialize_signed!(self, 11, v, i32, u32) | ---------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) help: use the associated constant instead | 190 | (true, $ixx::MAX as $uxx + 1) | ~~~
usage of a legacy numeric method: src/ser/mod.rs#L189
error: usage of a legacy numeric method --> src/ser/mod.rs:189:45 | 189 | let (signed, mut v) = if v == $ixx::min_value() { | ^^^^^^^^^^^ ... 276 | serialize_signed!(self, 11, v, i32, u32) | ---------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) help: use the associated constant instead | 189 | let (signed, mut v) = if v == $ixx::MIN { | ~~~
usage of a legacy numeric method: src/ser/mod.rs#L190
error: usage of a legacy numeric method --> src/ser/mod.rs:190:26 | 190 | (true, $ixx::max_value() as $uxx + 1) | ^^^^^^^^^^^ ... 271 | serialize_signed!(self, 6, v, i16, u16) | --------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) help: use the associated constant instead | 190 | (true, $ixx::MAX as $uxx + 1) | ~~~
usage of a legacy numeric method: src/ser/mod.rs#L189
error: usage of a legacy numeric method --> src/ser/mod.rs:189:45 | 189 | let (signed, mut v) = if v == $ixx::min_value() { | ^^^^^^^^^^^ ... 271 | serialize_signed!(self, 6, v, i16, u16) | --------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) help: use the associated constant instead | 189 | let (signed, mut v) = if v == $ixx::MIN { | ~~~
usage of a legacy numeric method: src/ser/mod.rs#L190
error: usage of a legacy numeric method --> src/ser/mod.rs:190:26 | 190 | (true, $ixx::max_value() as $uxx + 1) | ^^^^^^^^^^^ ... 266 | serialize_signed!(self, 4, v, i8, u8) | ------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) help: use the associated constant instead | 190 | (true, $ixx::MAX as $uxx + 1) | ~~~
usage of a legacy numeric method: src/ser/mod.rs#L189
error: usage of a legacy numeric method --> src/ser/mod.rs:189:45 | 189 | let (signed, mut v) = if v == $ixx::min_value() { | ^^^^^^^^^^^ ... 266 | serialize_signed!(self, 4, v, i8, u8) | ------------------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: `#[deny(clippy::legacy_numeric_constants)]` implied by `#[deny(warnings)]` = note: this error originates in the macro `serialize_signed` (in Nightly builds, run with -Z macro-backtrace for more info) help: use the associated constant instead | 189 | let (signed, mut v) = if v == $ixx::MIN { | ~~~
bound is defined in more than one place: src/ser/mod.rs#L444
error: bound is defined in more than one place --> src/ser/mod.rs:444:20 | 444 | fn collect_str<T: ?Sized>(self, value: &T) -> Result<Self::Ok> | ^ 445 | where 446 | T: fmt::Display, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
bound is defined in more than one place: src/ser/mod.rs#L373
error: bound is defined in more than one place --> src/ser/mod.rs:373:34 | 373 | fn serialize_newtype_variant<T: ?Sized>( | ^ ... 381 | T: ser::Serialize, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
bound is defined in more than one place: src/ser/mod.rs#L366
error: bound is defined in more than one place --> src/ser/mod.rs:366:33 | 366 | fn serialize_newtype_struct<T: ?Sized>(self, _name: &'static str, value: &T) -> Result<Self::Ok> | ^ 367 | where 368 | T: ser::Serialize, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
bound is defined in more than one place: src/ser/mod.rs#L342
error: bound is defined in more than one place --> src/ser/mod.rs:342:23 | 342 | fn serialize_some<T: ?Sized>(self, value: &T) -> Result<Self::Ok> | ^ 343 | where 344 | T: ser::Serialize, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
bound is defined in more than one place: src/ser/struct_.rs#L60
error: bound is defined in more than one place --> src/ser/struct_.rs:60:24 | 60 | fn serialize_field<T: ?Sized>(&mut self, key: &'static str, value: &T) -> Result<()> | ^ 61 | where 62 | T: ser::Serialize, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
bound is defined in more than one place: src/ser/struct_.rs#L20
error: bound is defined in more than one place --> src/ser/struct_.rs:20:24 | 20 | fn serialize_field<T: ?Sized>(&mut self, key: &'static str, value: &T) -> Result<()> | ^ 21 | where 22 | T: ser::Serialize, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
bound is defined in more than one place: src/ser/seq.rs#L59
error: bound is defined in more than one place --> src/ser/seq.rs:59:24 | 59 | fn serialize_field<T: ?Sized>(&mut self, value: &T) -> Result<()> | ^ 60 | where 61 | T: ser::Serialize, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
bound is defined in more than one place: src/ser/seq.rs#L43
error: bound is defined in more than one place --> src/ser/seq.rs:43:26 | 43 | fn serialize_element<T: ?Sized>(&mut self, value: &T) -> Result<()> | ^ 44 | where 45 | T: ser::Serialize, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
bound is defined in more than one place: src/ser/seq.rs#L20
error: bound is defined in more than one place --> src/ser/seq.rs:20:26 | 20 | fn serialize_element<T: ?Sized>(&mut self, value: &T) -> Result<()> | ^ 21 | where 22 | T: ser::Serialize, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
bound is defined in more than one place: src/ser/map.rs#L38
error: bound is defined in more than one place --> src/ser/map.rs:38:24 | 38 | fn serialize_value<T: ?Sized>(&mut self, value: &T) -> Result<()> | ^ 39 | where 40 | T: ser::Serialize, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
bound is defined in more than one place: src/ser/map.rs#L25
error: bound is defined in more than one place --> src/ser/map.rs:25:22 | 25 | fn serialize_key<T: ?Sized>(&mut self, key: &T) -> Result<()> | ^ 26 | where 27 | T: ser::Serialize, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations note: the lint level is defined here --> src/lib.rs:61:9 | 61 | #![deny(warnings)] | ^^^^^^^^ = note: `#[deny(clippy::multiple_bound_locations)]` implied by `#[deny(warnings)]`
clippy_check
Clippy had exited with the 101 exit code
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy_check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
clippy_check
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/
clippy_check
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/
clippy_check
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/
clippy_check
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/