Skip to content

Change serde-cbor to minicbor #238

Change serde-cbor to minicbor

Change serde-cbor to minicbor #238

GitHub Actions / clippy failed Nov 21, 2024 in 1s

clippy

9 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 9
Warning 0
Note 0
Help 0

Versions

  • rustc 1.72.0-nightly (5ea666864 2023-06-27)
  • cargo 1.72.0-nightly (03bc66b55 2023-06-23)
  • clippy 0.1.72 (5ea6668 2023-06-27)

Annotations

Check failure on line 166 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/encode/write.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of unstable library feature 'error_in_core'

error[E0658]: use of unstable library feature 'error_in_core'
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/encode/write.rs:166:6
    |
166 | impl core::error::Error for EndOfArray {}
    |      ^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #103765 <https://github.com/rust-lang/rust/issues/103765> for more information
    = help: add `#![feature(error_in_core)]` to the crate attributes to enable

Check failure on line 154 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/encode/write.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of unstable library feature 'error_in_core'

error[E0658]: use of unstable library feature 'error_in_core'
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/encode/write.rs:154:6
    |
154 | impl core::error::Error for EndOfSlice {}
    |      ^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #103765 <https://github.com/rust-lang/rust/issues/103765> for more information
    = help: add `#![feature(error_in_core)]` to the crate attributes to enable

Check failure on line 131 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/encode/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of unstable library feature 'error_in_core'

error[E0658]: use of unstable library feature 'error_in_core'
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/encode/error.rs:131:38
    |
131 |     fn source(&self) -> Option<&(dyn core::error::Error + 'static)> {
    |                                      ^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #103765 <https://github.com/rust-lang/rust/issues/103765> for more information
    = help: add `#![feature(error_in_core)]` to the crate attributes to enable

Check failure on line 130 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/encode/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of unstable library feature 'error_in_core'

error[E0658]: use of unstable library feature 'error_in_core'
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/encode/error.rs:130:39
    |
130 | impl<E: core::error::Error + 'static> core::error::Error for Error<E> {
    |                                       ^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #103765 <https://github.com/rust-lang/rust/issues/103765> for more information
    = help: add `#![feature(error_in_core)]` to the crate attributes to enable

Check failure on line 130 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/encode/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of unstable library feature 'error_in_core'

error[E0658]: use of unstable library feature 'error_in_core'
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/encode/error.rs:130:9
    |
130 | impl<E: core::error::Error + 'static> core::error::Error for Error<E> {
    |         ^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #103765 <https://github.com/rust-lang/rust/issues/103765> for more information
    = help: add `#![feature(error_in_core)]` to the crate attributes to enable

Check failure on line 311 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/decode/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of unstable library feature 'error_in_core'

error[E0658]: use of unstable library feature 'error_in_core'
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/decode/error.rs:311:38
    |
311 |     fn source(&self) -> Option<&(dyn core::error::Error + 'static)> {
    |                                      ^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #103765 <https://github.com/rust-lang/rust/issues/103765> for more information
    = help: add `#![feature(error_in_core)]` to the crate attributes to enable

Check failure on line 310 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/decode/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of unstable library feature 'error_in_core'

error[E0658]: use of unstable library feature 'error_in_core'
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/decode/error.rs:310:6
    |
310 | impl core::error::Error for Error {
    |      ^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #103765 <https://github.com/rust-lang/rust/issues/103765> for more information
    = help: add `#![feature(error_in_core)]` to the crate attributes to enable

Check failure on line 582 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/data.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of unstable library feature 'error_in_core'

error[E0658]: use of unstable library feature 'error_in_core'
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/data.rs:582:6
    |
582 | impl core::error::Error for TryFromIntError {}
    |      ^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #103765 <https://github.com/rust-lang/rust/issues/103765> for more information
    = help: add `#![feature(error_in_core)]` to the crate attributes to enable

Check failure on line 295 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/data.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of unstable library feature 'error_in_core'

error[E0658]: use of unstable library feature 'error_in_core'
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minicbor-0.25.1/src/data.rs:295:6
    |
295 | impl core::error::Error for UnknownTag {}
    |      ^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #103765 <https://github.com/rust-lang/rust/issues/103765> for more information
    = help: add `#![feature(error_in_core)]` to the crate attributes to enable