[INFO] fetching crate multiversx-sc 0.45.1...
[INFO] checking multiversx-sc-0.45.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate multiversx-sc 0.45.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate multiversx-sc 0.45.1 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate multiversx-sc 0.45.1
[INFO] finished tweaking crates.io crate multiversx-sc 0.45.1
[INFO] tweaked toml for crates.io crate multiversx-sc 0.45.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded multiversx-sc-derive v0.45.1
[INFO] [stderr]   Downloaded multiversx-sc-codec-derive v0.18.2
[INFO] [stderr]   Downloaded multiversx-sc-codec v0.18.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a01b8fc40728ff2d386138c338031c78101485f190c7a1797709d54799b74bbd
[INFO] running `Command { std: "docker" "start" "-a" "a01b8fc40728ff2d386138c338031c78101485f190c7a1797709d54799b74bbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a01b8fc40728ff2d386138c338031c78101485f190c7a1797709d54799b74bbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a01b8fc40728ff2d386138c338031c78101485f190c7a1797709d54799b74bbd", kill_on_drop: false }`
[INFO] [stdout] a01b8fc40728ff2d386138c338031c78101485f190c7a1797709d54799b74bbd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ce7530f6f17444bbf5a2cfc1e962e59115abdc41c02e88283a98ae0ec16f3951
[INFO] running `Command { std: "docker" "start" "-a" "ce7530f6f17444bbf5a2cfc1e962e59115abdc41c02e88283a98ae0ec16f3951", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking hex-literal v0.4.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling multiversx-sc-codec-derive v0.18.2
[INFO] [stderr]    Compiling multiversx-sc-derive v0.45.1
[INFO] [stderr]     Checking multiversx-sc-codec v0.18.2
[INFO] [stderr]     Checking multiversx-sc v0.45.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/non_zero_util.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{iter::Iterator, num::NonZeroUsize};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/types/heap/boxed_bytes.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     codec::*,
[INFO] [stdout]   |     -------- the item `Vec` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 8 |     vec::Vec,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/types/heap/h256.rs:5:25
[INFO] [stdout]     |
[INFO] [stdout] 5   | use alloc::{boxed::Box, vec::Vec};
[INFO] [stdout]     |                         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 | use crate::codec::*;
[INFO] [stdout]     |     --------------- the item `Vec` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/types/heap/h256_address.rs:6:25
[INFO] [stdout]     |
[INFO] [stdout] 6   | use alloc::{boxed::Box, vec::Vec};
[INFO] [stdout]     |                         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 | use crate::codec::*;
[INFO] [stdout]     |     --------------- the item `Vec` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/types/heap/queue.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     codec::*,
[INFO] [stdout]   |     -------- the item `Vec` is already imported here
[INFO] [stdout] 4 | };
[INFO] [stdout] 5 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/big_int.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{convert::TryInto, marker::PhantomData};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/big_num_cmp.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{cmp::Ordering, convert::TryInto};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/big_uint.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/cast_to_i64.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `FromIterator` is imported redundantly
[INFO] [stdout]   --> src/types/managed/multi_value/multi_value_encoded.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | use core::{iter::FromIterator, marker::PhantomData};
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `FromIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]  --> src/types/managed/wrapped/managed_address.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::{TryFrom, TryInto};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:30
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryFrom` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/wrapped/managed_address.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::{TryFrom, TryInto};
[INFO] [stdout]   |                              ^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]  --> src/types/managed/wrapped/managed_byte_array.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:30
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryFrom` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `FromIterator` is imported redundantly
[INFO] [stdout]   --> src/types/managed/wrapped/managed_vec.rs:15:55
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::{borrow::Borrow, cmp::Ordering, fmt::Debug, iter::FromIterator, marker::PhantomData};
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `FromIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/non_zero_util.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{iter::Iterator, num::NonZeroUsize};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/types/heap/boxed_bytes.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     codec::*,
[INFO] [stdout]   |     -------- the item `Vec` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 8 |     vec::Vec,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/types/heap/h256.rs:5:25
[INFO] [stdout]     |
[INFO] [stdout] 5   | use alloc::{boxed::Box, vec::Vec};
[INFO] [stdout]     |                         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 | use crate::codec::*;
[INFO] [stdout]     |     --------------- the item `Vec` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/types/heap/h256.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 235 |     use super::*;
[INFO] [stdout]     |         -------- the item `Vec` is already imported here
[INFO] [stdout] 236 |     use crate::codec::test_util::{check_top_encode, check_top_encode_decode};
[INFO] [stdout] 237 |     use alloc::vec::Vec;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/types/heap/h256_address.rs:6:25
[INFO] [stdout]     |
[INFO] [stdout] 6   | use alloc::{boxed::Box, vec::Vec};
[INFO] [stdout]     |                         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 | use crate::codec::*;
[INFO] [stdout]     |     --------------- the item `Vec` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/types/heap/h256_address.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |     use super::*;
[INFO] [stdout]     |         -------- the item `Vec` is already imported here
[INFO] [stdout] 214 |     use crate::codec::test_util::{check_top_encode, check_top_encode_decode};
[INFO] [stdout] 215 |     use alloc::vec::Vec;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/types/heap/queue.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     codec::*,
[INFO] [stdout]   |     -------- the item `Vec` is already imported here
[INFO] [stdout] 4 | };
[INFO] [stdout] 5 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/big_int.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{convert::TryInto, marker::PhantomData};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/big_num_cmp.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{cmp::Ordering, convert::TryInto};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/big_uint.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/cast_to_i64.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `FromIterator` is imported redundantly
[INFO] [stdout]   --> src/types/managed/multi_value/multi_value_encoded.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | use core::{iter::FromIterator, marker::PhantomData};
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `FromIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]  --> src/types/managed/wrapped/managed_address.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::{TryFrom, TryInto};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:30
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryFrom` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/wrapped/managed_address.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::{TryFrom, TryInto};
[INFO] [stdout]   |                              ^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]  --> src/types/managed/wrapped/managed_byte_array.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:46:30
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryFrom` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `FromIterator` is imported redundantly
[INFO] [stdout]   --> src/types/managed/wrapped/managed_vec.rs:15:55
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::{borrow::Borrow, cmp::Ordering, fmt::Debug, iter::FromIterator, marker::PhantomData};
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `FromIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/types/managed/wrapped/managed_vec.rs:435:39
[INFO] [stdout]     |
[INFO] [stdout] 435 |             slice.is_sorted_by(|a, b| compare(&a.decode(), &b.decode()))
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<Ordering>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `bool`
[INFO] [stdout]                found enum `Option<core::cmp::Ordering>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]     |
[INFO] [stdout] 435 |             slice.is_sorted_by(|a, b| compare(&a.decode(), &b.decode()).is_some())
[INFO] [stdout]     |                                                                        ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/types/managed/wrapped/managed_vec.rs:435:39
[INFO] [stdout]     |
[INFO] [stdout] 435 |             slice.is_sorted_by(|a, b| compare(&a.decode(), &b.decode()))
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<Ordering>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `bool`
[INFO] [stdout]                found enum `Option<core::cmp::Ordering>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]     |
[INFO] [stdout] 435 |             slice.is_sorted_by(|a, b| compare(&a.decode(), &b.decode()).is_some())
[INFO] [stdout]     |                                                                        ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `multiversx-sc` (lib) due to 2 previous errors; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `multiversx-sc` (lib test) due to 2 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ce7530f6f17444bbf5a2cfc1e962e59115abdc41c02e88283a98ae0ec16f3951", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce7530f6f17444bbf5a2cfc1e962e59115abdc41c02e88283a98ae0ec16f3951", kill_on_drop: false }`
[INFO] [stdout] ce7530f6f17444bbf5a2cfc1e962e59115abdc41c02e88283a98ae0ec16f3951
[INFO] checking multiversx-sc-0.45.1 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate multiversx-sc 0.45.1 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate multiversx-sc 0.45.1 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate multiversx-sc 0.45.1
[INFO] finished tweaking crates.io crate multiversx-sc 0.45.1
[INFO] tweaked toml for crates.io crate multiversx-sc 0.45.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f5268d2f18d2a30cb92ea2ef9ca739b4e6dafe8f4f5358b0d9a1557471c86aa4
[INFO] running `Command { std: "docker" "start" "-a" "f5268d2f18d2a30cb92ea2ef9ca739b4e6dafe8f4f5358b0d9a1557471c86aa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f5268d2f18d2a30cb92ea2ef9ca739b4e6dafe8f4f5358b0d9a1557471c86aa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5268d2f18d2a30cb92ea2ef9ca739b4e6dafe8f4f5358b0d9a1557471c86aa4", kill_on_drop: false }`
[INFO] [stdout] f5268d2f18d2a30cb92ea2ef9ca739b4e6dafe8f4f5358b0d9a1557471c86aa4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef6f54a281c8316f6519d693f63106467f01cab130e740e93899d5de37b9c7ec
[INFO] running `Command { std: "docker" "start" "-a" "ef6f54a281c8316f6519d693f63106467f01cab130e740e93899d5de37b9c7ec", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]     Checking hex-literal v0.4.1
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling multiversx-sc-codec-derive v0.18.2
[INFO] [stderr]    Compiling multiversx-sc-derive v0.45.1
[INFO] [stderr]     Checking multiversx-sc-codec v0.18.2
[INFO] [stderr]     Checking multiversx-sc v0.45.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/non_zero_util.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{iter::Iterator, num::NonZeroUsize};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/types/heap/boxed_bytes.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     codec::*,
[INFO] [stdout]   |     -------- the item `Vec` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 8 |     vec::Vec,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/types/heap/h256.rs:5:25
[INFO] [stdout]     |
[INFO] [stdout] 5   | use alloc::{boxed::Box, vec::Vec};
[INFO] [stdout]     |                         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 | use crate::codec::*;
[INFO] [stdout]     |     --------------- the item `Vec` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/types/heap/h256_address.rs:6:25
[INFO] [stdout]     |
[INFO] [stdout] 6   | use alloc::{boxed::Box, vec::Vec};
[INFO] [stdout]     |                         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 | use crate::codec::*;
[INFO] [stdout]     |     --------------- the item `Vec` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/types/heap/queue.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     codec::*,
[INFO] [stdout]   |     -------- the item `Vec` is already imported here
[INFO] [stdout] 4 | };
[INFO] [stdout] 5 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/big_int.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{convert::TryInto, marker::PhantomData};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/big_num_cmp.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{cmp::Ordering, convert::TryInto};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/big_uint.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/cast_to_i64.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `FromIterator` is imported redundantly
[INFO] [stdout]   --> src/types/managed/multi_value/multi_value_encoded.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | use core::{iter::FromIterator, marker::PhantomData};
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `FromIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]  --> src/types/managed/wrapped/managed_address.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::{TryFrom, TryInto};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:30
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryFrom` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/wrapped/managed_address.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::{TryFrom, TryInto};
[INFO] [stdout]   |                              ^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]  --> src/types/managed/wrapped/managed_byte_array.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:30
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryFrom` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `FromIterator` is imported redundantly
[INFO] [stdout]   --> src/types/managed/wrapped/managed_vec.rs:15:55
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::{borrow::Borrow, cmp::Ordering, fmt::Debug, iter::FromIterator, marker::PhantomData};
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `FromIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/non_zero_util.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{iter::Iterator, num::NonZeroUsize};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:38:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/types/heap/boxed_bytes.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     codec::*,
[INFO] [stdout]   |     -------- the item `Vec` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 8 |     vec::Vec,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/types/heap/h256.rs:5:25
[INFO] [stdout]     |
[INFO] [stdout] 5   | use alloc::{boxed::Box, vec::Vec};
[INFO] [stdout]     |                         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 | use crate::codec::*;
[INFO] [stdout]     |     --------------- the item `Vec` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/types/heap/h256.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 235 |     use super::*;
[INFO] [stdout]     |         -------- the item `Vec` is already imported here
[INFO] [stdout] 236 |     use crate::codec::test_util::{check_top_encode, check_top_encode_decode};
[INFO] [stdout] 237 |     use alloc::vec::Vec;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/types/heap/h256_address.rs:6:25
[INFO] [stdout]     |
[INFO] [stdout] 6   | use alloc::{boxed::Box, vec::Vec};
[INFO] [stdout]     |                         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 | use crate::codec::*;
[INFO] [stdout]     |     --------------- the item `Vec` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> src/types/heap/h256_address.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 213 |     use super::*;
[INFO] [stdout]     |         -------- the item `Vec` is already imported here
[INFO] [stdout] 214 |     use crate::codec::test_util::{check_top_encode, check_top_encode_decode};
[INFO] [stdout] 215 |     use alloc::vec::Vec;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]  --> src/types/heap/queue.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     codec::*,
[INFO] [stdout]   |     -------- the item `Vec` is already imported here
[INFO] [stdout] 4 | };
[INFO] [stdout] 5 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/big_int.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{convert::TryInto, marker::PhantomData};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/big_num_cmp.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{cmp::Ordering, convert::TryInto};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/big_uint.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/basic/cast_to_i64.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `FromIterator` is imported redundantly
[INFO] [stdout]   --> src/types/managed/multi_value/multi_value_encoded.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | use core::{iter::FromIterator, marker::PhantomData};
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `FromIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]  --> src/types/managed/wrapped/managed_address.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::{TryFrom, TryInto};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:30
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryFrom` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> src/types/managed/wrapped/managed_address.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::{TryFrom, TryInto};
[INFO] [stdout]   |                              ^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:39
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryFrom` is imported redundantly
[INFO] [stdout]  --> src/types/managed/wrapped/managed_byte_array.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:46:30
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryFrom` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `FromIterator` is imported redundantly
[INFO] [stdout]   --> src/types/managed/wrapped/managed_vec.rs:15:55
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::{borrow::Borrow, cmp::Ordering, fmt::Debug, iter::FromIterator, marker::PhantomData};
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `FromIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/types/managed/wrapped/managed_vec.rs:435:39
[INFO] [stdout]     |
[INFO] [stdout] 435 |             slice.is_sorted_by(|a, b| compare(&a.decode(), &b.decode()))
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<Ordering>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `bool`
[INFO] [stdout]                found enum `Option<core::cmp::Ordering>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]     |
[INFO] [stdout] 435 |             slice.is_sorted_by(|a, b| compare(&a.decode(), &b.decode()).is_some())
[INFO] [stdout]     |                                                                        ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/types/managed/wrapped/managed_vec.rs:435:39
[INFO] [stdout]     |
[INFO] [stdout] 435 |             slice.is_sorted_by(|a, b| compare(&a.decode(), &b.decode()))
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<Ordering>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `bool`
[INFO] [stdout]                found enum `Option<core::cmp::Ordering>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]     |
[INFO] [stdout] 435 |             slice.is_sorted_by(|a, b| compare(&a.decode(), &b.decode()).is_some())
[INFO] [stdout]     |                                                                        ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `multiversx-sc` (lib) due to 2 previous errors; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `multiversx-sc` (lib test) due to 2 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ef6f54a281c8316f6519d693f63106467f01cab130e740e93899d5de37b9c7ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef6f54a281c8316f6519d693f63106467f01cab130e740e93899d5de37b9c7ec", kill_on_drop: false }`
[INFO] [stdout] ef6f54a281c8316f6519d693f63106467f01cab130e740e93899d5de37b9c7ec
