[INFO] fetching crate multiversx-sc 0.45.1... [INFO] checking multiversx-sc-0.45.1 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate multiversx-sc 0.45.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate multiversx-sc 0.45.1 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded endian-type v0.1.2 [INFO] [stderr] Downloaded multiversx-sc-codec-derive v0.18.2 [INFO] [stderr] Downloaded multiversx-sc-derive v0.45.1 [INFO] [stderr] Downloaded hex-literal v0.4.1 [INFO] [stderr] Downloaded num-integer v0.1.46 [INFO] [stderr] Downloaded hex v0.4.3 [INFO] [stderr] Downloaded zerocopy-derive v0.7.32 [INFO] [stderr] Downloaded ahash v0.8.11 [INFO] [stderr] Downloaded zerocopy v0.7.32 [INFO] [stderr] Downloaded hashbrown v0.14.3 [INFO] [stderr] Downloaded radix_trie v0.2.1 [INFO] [stderr] Downloaded num-bigint v0.4.4 [INFO] [stderr] Downloaded allocator-api2 v0.2.16 [INFO] [stderr] Downloaded multiversx-sc-codec v0.18.2 [INFO] [stderr] Downloaded nibble_vec v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 263618755d0fd0d9bdd1dfea5757b3cc365f5bbacbe37a2a5e52c96aba135320 [INFO] running `Command { std: "docker" "start" "-a" "263618755d0fd0d9bdd1dfea5757b3cc365f5bbacbe37a2a5e52c96aba135320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "263618755d0fd0d9bdd1dfea5757b3cc365f5bbacbe37a2a5e52c96aba135320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "263618755d0fd0d9bdd1dfea5757b3cc365f5bbacbe37a2a5e52c96aba135320", kill_on_drop: false }` [INFO] [stdout] 263618755d0fd0d9bdd1dfea5757b3cc365f5bbacbe37a2a5e52c96aba135320 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a9e1dc44b4f80af2fc8d913ae5c50dad1c60721c0e2830efc3f1e6f22d7d91f [INFO] running `Command { std: "docker" "start" "-a" "0a9e1dc44b4f80af2fc8d913ae5c50dad1c60721c0e2830efc3f1e6f22d7d91f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [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 endian-type v0.1.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking arrayvec v0.7.4 [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 nibble_vec v0.1.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling ahash v0.8.11 [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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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` [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" "0a9e1dc44b4f80af2fc8d913ae5c50dad1c60721c0e2830efc3f1e6f22d7d91f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a9e1dc44b4f80af2fc8d913ae5c50dad1c60721c0e2830efc3f1e6f22d7d91f", kill_on_drop: false }` [INFO] [stdout] 0a9e1dc44b4f80af2fc8d913ae5c50dad1c60721c0e2830efc3f1e6f22d7d91f [INFO] checking multiversx-sc-0.45.1 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate multiversx-sc 0.45.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate multiversx-sc 0.45.1 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "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" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cf5ebb037e403254e338e1bea4aa9209dac9efb3721e84b48df01284c444b05 [INFO] running `Command { std: "docker" "start" "-a" "9cf5ebb037e403254e338e1bea4aa9209dac9efb3721e84b48df01284c444b05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cf5ebb037e403254e338e1bea4aa9209dac9efb3721e84b48df01284c444b05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cf5ebb037e403254e338e1bea4aa9209dac9efb3721e84b48df01284c444b05", kill_on_drop: false }` [INFO] [stdout] 9cf5ebb037e403254e338e1bea4aa9209dac9efb3721e84b48df01284c444b05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 539386f67b85ebbe207650dd63e57a87caf2bf5d60508fa5b8ef12fc9fd80bee [INFO] running `Command { std: "docker" "start" "-a" "539386f67b85ebbe207650dd63e57a87caf2bf5d60508fa5b8ef12fc9fd80bee", 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 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] Compiling endian-type v0.1.2 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling ahash v0.8.11 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] error: could not compile `multiversx-sc` (lib) due to 2 previous errors; 25 warnings emitted [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/9ae1860851f3fbc1435a1698e572252c0076f413/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] [stderr] warning: build failed, waiting for other jobs to finish... [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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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` [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] [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] [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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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/9ae1860851f3fbc1435a1698e572252c0076f413/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` [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] [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] [stderr] error: could not compile `multiversx-sc` (lib test) due to 2 previous errors; 27 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] 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] [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" "539386f67b85ebbe207650dd63e57a87caf2bf5d60508fa5b8ef12fc9fd80bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "539386f67b85ebbe207650dd63e57a87caf2bf5d60508fa5b8ef12fc9fd80bee", kill_on_drop: false }` [INFO] [stdout] 539386f67b85ebbe207650dd63e57a87caf2bf5d60508fa5b8ef12fc9fd80bee