[INFO] fetching crate multiversx-sc 0.45.1... [INFO] checking multiversx-sc-0.45.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [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 af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding endian-type v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding multiversx-sc-codec v0.18.2 (latest: v0.18.6) [INFO] [stderr] Adding multiversx-sc-codec-derive v0.18.2 (latest: v0.18.6) [INFO] [stderr] Adding multiversx-sc-derive v0.45.1 (latest: v0.47.8) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded endian-type v0.1.2 [INFO] [stderr] Downloaded hex-literal v0.4.1 [INFO] [stderr] Downloaded nibble_vec v0.1.0 [INFO] [stderr] Downloaded multiversx-sc-codec-derive v0.18.2 [INFO] [stderr] Downloaded multiversx-sc-codec v0.18.2 [INFO] [stderr] Downloaded multiversx-sc-derive v0.45.1 [INFO] [stderr] Downloaded radix_trie v0.2.1 [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3edd308de05445b58387801c4f6083867161403e17a81ed87ccb5ff68b51dadb [INFO] running `Command { std: "docker" "start" "-a" "3edd308de05445b58387801c4f6083867161403e17a81ed87ccb5ff68b51dadb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3edd308de05445b58387801c4f6083867161403e17a81ed87ccb5ff68b51dadb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3edd308de05445b58387801c4f6083867161403e17a81ed87ccb5ff68b51dadb", kill_on_drop: false }` [INFO] [stdout] 3edd308de05445b58387801c4f6083867161403e17a81ed87ccb5ff68b51dadb [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef77546249f4b6a7c0ad6fe43ff6200953961341208af01dfd6fcea33ca0ffc0 [INFO] running `Command { std: "docker" "start" "-a" "ef77546249f4b6a7c0ad6fe43ff6200953961341208af01dfd6fcea33ca0ffc0", 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 autocfg v1.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling quote v1.0.35 [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:57: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:61: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:61: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:57: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:61: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:65: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:61: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` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option` [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` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option` [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" "ef77546249f4b6a7c0ad6fe43ff6200953961341208af01dfd6fcea33ca0ffc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef77546249f4b6a7c0ad6fe43ff6200953961341208af01dfd6fcea33ca0ffc0", kill_on_drop: false }` [INFO] [stdout] ef77546249f4b6a7c0ad6fe43ff6200953961341208af01dfd6fcea33ca0ffc0 [INFO] checking multiversx-sc-0.45.1 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [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 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d11fce2f1ba98f17f0c50431e7ad8176e61318518e52773191413ffc06a51a93 [INFO] running `Command { std: "docker" "start" "-a" "d11fce2f1ba98f17f0c50431e7ad8176e61318518e52773191413ffc06a51a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d11fce2f1ba98f17f0c50431e7ad8176e61318518e52773191413ffc06a51a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d11fce2f1ba98f17f0c50431e7ad8176e61318518e52773191413ffc06a51a93", kill_on_drop: false }` [INFO] [stdout] d11fce2f1ba98f17f0c50431e7ad8176e61318518e52773191413ffc06a51a93 [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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fdd0063fdb78bf498676f9f8815daaf16754baf3c4068f397e16692bfe4d744 [INFO] running `Command { std: "docker" "start" "-a" "3fdd0063fdb78bf498676f9f8815daaf16754baf3c4068f397e16692bfe4d744", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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] Compiling endian-type v0.1.2 [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 ahash v0.8.11 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.18 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:57: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:61: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:61: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` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option` [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] warning: call to unsafe function `alloc::alloc::alloc` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/heap/boxed_bytes.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let bytes_ptr = alloc(layout); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/heap/boxed_bytes.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn allocate(len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multiversx-sc` (lib test) due to 2 previous errors; 27 warnings emitted [INFO] [stdout] warning: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/heap/boxed_bytes.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let bytes_box = Box::from_raw(core::slice::from_raw_parts_mut(bytes_ptr, len)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: call to unsafe function `core::slice::from_raw_parts_mut` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/heap/boxed_bytes.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | let bytes_box = Box::from_raw(core::slice::from_raw_parts_mut(bytes_ptr, len)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 192 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 179 | | reader: Reader, [INFO] [stdout] 180 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 192 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 193 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 179 | | reader: Reader, [INFO] [stdout] 180 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 193 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 194 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 179 | | reader: Reader, [INFO] [stdout] 180 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 194 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 195 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 179 | | reader: Reader, [INFO] [stdout] 180 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 195 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 196 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 179 | | reader: Reader, [INFO] [stdout] 180 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 196 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 197 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 179 | | reader: Reader, [INFO] [stdout] 180 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 197 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 213 | | reader: Reader, [INFO] [stdout] 214 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 286 | | reader: Reader, [INFO] [stdout] 287 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:57: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:61: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:65: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:61: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` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option` [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] warning: call to unsafe function `alloc::alloc::alloc` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/heap/boxed_bytes.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let bytes_ptr = alloc(layout); [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/heap/boxed_bytes.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn allocate(len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `alloc::boxed::Box::::from_raw` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/heap/boxed_bytes.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let bytes_box = Box::from_raw(core::slice::from_raw_parts_mut(bytes_ptr, len)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `core::slice::from_raw_parts_mut` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/heap/boxed_bytes.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | let bytes_box = Box::from_raw(core::slice::from_raw_parts_mut(bytes_ptr, len)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 192 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 179 | | reader: Reader, [INFO] [stdout] 180 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 192 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 193 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 179 | | reader: Reader, [INFO] [stdout] 180 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 193 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multiversx-sc` (lib) due to 2 previous errors; 25 warnings emitted [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 194 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 179 | | reader: Reader, [INFO] [stdout] 180 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 194 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 195 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 179 | | reader: Reader, [INFO] [stdout] 180 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 195 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 196 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 179 | | reader: Reader, [INFO] [stdout] 180 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 196 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 197 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 179 | | reader: Reader, [INFO] [stdout] 180 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] ... [INFO] [stdout] 197 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_managed_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 213 | | reader: Reader, [INFO] [stdout] 214 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `types::managed::wrapped::managed_ref::ManagedRef::<'a, M, T>::wrap_handle` is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | ManagedRef::wrap_handle(handle) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | / unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( [INFO] [stdout] 286 | | reader: Reader, [INFO] [stdout] 287 | | ) -> Self::Ref<'a> { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3fdd0063fdb78bf498676f9f8815daaf16754baf3c4068f397e16692bfe4d744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fdd0063fdb78bf498676f9f8815daaf16754baf3c4068f397e16692bfe4d744", kill_on_drop: false }` [INFO] [stdout] 3fdd0063fdb78bf498676f9f8815daaf16754baf3c4068f397e16692bfe4d744