Skip to content

Initial commit

Initial commit #1

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy failed Oct 9, 2023 in 0s

clippy

24 errors

Details

Results

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

Versions

  • rustc 1.61.0-nightly (4ce374923 2022-02-28)
  • cargo 1.61.0-nightly (d6cdde5 2022-02-22)
  • clippy 0.1.61 (4ce3749 2022-02-28)

Annotations

Check failure on line 262 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:262:5
    |
262 |     type Ref<'a> = ManagedRef<'a, M, Self>;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable

Check failure on line 236 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:236:5
    |
236 |     type Ref<'a> = Self;
    |     ^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable

Check failure on line 211 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:211:5
    |
211 |     type Ref<'a> = ManagedRef<'a, M, Self>;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable

Check failure on line 177 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:177:13
    |
177 |             type Ref<'a> = ManagedRef<'a, M, Self>;
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
203 | impl_managed_type! {TokenIdentifier}
    | ------------------------------------ in this macro invocation
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
    = note: this error originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 177 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:177:13
    |
177 |             type Ref<'a> = ManagedRef<'a, M, Self>;
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
202 | impl_managed_type! {ManagedAddress}
    | ----------------------------------- in this macro invocation
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
    = note: this error originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 177 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:177:13
    |
177 |             type Ref<'a> = ManagedRef<'a, M, Self>;
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
201 | impl_managed_type! {EllipticCurve}
    | ---------------------------------- in this macro invocation
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
    = note: this error originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 177 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:177:13
    |
177 |             type Ref<'a> = ManagedRef<'a, M, Self>;
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
200 | impl_managed_type! {BigInt}
    | --------------------------- in this macro invocation
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
    = note: this error originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 177 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:177:13
    |
177 |             type Ref<'a> = ManagedRef<'a, M, Self>;
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
199 | impl_managed_type! {BigUint}
    | ---------------------------- in this macro invocation
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
    = note: this error originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 177 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:177:13
    |
177 |             type Ref<'a> = ManagedRef<'a, M, Self>;
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
198 | impl_managed_type! {ManagedBuffer}
    | ---------------------------------- in this macro invocation
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
    = note: this error originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 138 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:138:5
    |
138 |     type Ref<'a> = Self;
    |     ^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable

Check failure on line 112 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:112:5
    |
112 |     type Ref<'a> = Self;
    |     ^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable

Check failure on line 89 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:89:5
   |
89 |     type Ref<'a> = Self;
   |     ^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
   = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable

Check failure on line 60 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:60:13
   |
60 |             type Ref<'a> = Self;
   |             ^^^^^^^^^^^^^^^^^^^^
...
84 | impl_int! {i64, 8}
   | ------------------ in this macro invocation
   |
   = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
   = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
   = note: this error originates in the macro `impl_int` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 60 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:60:13
   |
60 |             type Ref<'a> = Self;
   |             ^^^^^^^^^^^^^^^^^^^^
...
83 | impl_int! {i32, 4}
   | ------------------ in this macro invocation
   |
   = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
   = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
   = note: this error originates in the macro `impl_int` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 60 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:60:13
   |
60 |             type Ref<'a> = Self;
   |             ^^^^^^^^^^^^^^^^^^^^
...
82 | impl_int! {u64, 8}
   | ------------------ in this macro invocation
   |
   = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
   = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
   = note: this error originates in the macro `impl_int` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 60 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:60:13
   |
60 |             type Ref<'a> = Self;
   |             ^^^^^^^^^^^^^^^^^^^^
...
81 | impl_int! {u32, 4}
   | ------------------ in this macro invocation
   |
   = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
   = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
   = note: this error originates in the macro `impl_int` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 60 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:60:13
   |
60 |             type Ref<'a> = Self;
   |             ^^^^^^^^^^^^^^^^^^^^
...
80 | impl_int! {u16, 2}
   | ------------------ in this macro invocation
   |
   = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
   = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
   = note: this error originates in the macro `impl_int` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 60 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:60:13
   |
60 |             type Ref<'a> = Self;
   |             ^^^^^^^^^^^^^^^^^^^^
...
79 | impl_int! {u8, 1}
   | ----------------- in this macro invocation
   |
   = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
   = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
   = note: this error originates in the macro `impl_int` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 38 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_vec_item.rs:38:5
   |
38 |     type Ref<'a>: Borrow<Self>;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
   = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable

Check failure on line 188 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_option.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/managed_option.rs:188:5
    |
188 |     type Ref<'a> = Self;
    |     ^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable

Check failure on line 168 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/esdt_token_payment.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/esdt_token_payment.rs:168:5
    |
168 |     type Ref<'a> = Self;
    |     ^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable

Check failure on line 27 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/egld_or_esdt_token_identifier.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/wrapped/egld_or_esdt_token_identifier.rs:27:10
   |
27 | #[derive(ManagedVecItem, Clone)]
   |          ^^^^^^^^^^^^^^
   |
   = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
   = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
   = note: this error originates in the derive macro `ManagedVecItem` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 42 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/multi_value/esdt_token_payment_multi_arg.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/managed/multi_value/esdt_token_payment_multi_arg.rs:42:5
   |
42 |     type Ref<'a> = Self;
   |     ^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
   = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable

Check failure on line 140 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/flags/esdt_local_role.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

generic associated types are unstable

error[E0658]: generic associated types are unstable
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-0.36.1/src/types/flags/esdt_local_role.rs:140:5
    |
140 |     type Ref<'a> = Self;
    |     ^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable