[INFO] fetching crate elrond-wasm 0.38.0... [INFO] checking elrond-wasm-0.38.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate elrond-wasm 0.38.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate elrond-wasm 0.38.0 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 elrond-wasm 0.38.0 [INFO] finished tweaking crates.io crate elrond-wasm 0.38.0 [INFO] tweaked toml for crates.io crate elrond-wasm 0.38.0 written to /workspace/builds/worker-5-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding endian-type v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding hashbrown v0.11.2 (latest: v0.14.3) [INFO] [stderr] Adding hex-literal v0.3.4 (latest: v0.4.1) [INFO] [stderr] Adding nibble_vec v0.0.4 (latest: v0.1.0) [INFO] [stderr] Adding radix_trie v0.1.6 (latest: v0.2.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded endian-type v0.1.2 [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] [stderr] Downloaded nibble_vec v0.0.4 [INFO] [stderr] Downloaded elrond-codec-derive v0.16.0 [INFO] [stderr] Downloaded elrond-codec v0.16.0 [INFO] [stderr] Downloaded elrond-wasm-derive v0.38.0 [INFO] [stderr] Downloaded hex-literal v0.3.4 [INFO] [stderr] Downloaded radix_trie v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c519e9aab12487dfa4b04793edef407c5e9831abe8efef611722f4cb00318ff0 [INFO] running `Command { std: "docker" "start" "-a" "c519e9aab12487dfa4b04793edef407c5e9831abe8efef611722f4cb00318ff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c519e9aab12487dfa4b04793edef407c5e9831abe8efef611722f4cb00318ff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c519e9aab12487dfa4b04793edef407c5e9831abe8efef611722f4cb00318ff0", kill_on_drop: false }` [INFO] [stdout] c519e9aab12487dfa4b04793edef407c5e9831abe8efef611722f4cb00318ff0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 0fe7a9264ca44e839c459a51f459479666055bfcb916a322adc8959caa5cc25d [INFO] running `Command { std: "docker" "start" "-a" "0fe7a9264ca44e839c459a51f459479666055bfcb916a322adc8959caa5cc25d", 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 hex v0.4.3 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling nibble_vec v0.0.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling radix_trie v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling elrond-codec-derive v0.16.0 [INFO] [stderr] Compiling elrond-wasm-derive v0.38.0 [INFO] [stderr] Checking elrond-codec v0.16.0 [INFO] [stderr] Checking elrond-wasm v0.38.0 (/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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | }; [INFO] [stdout] 7 | use elrond_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:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use alloc::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | use elrond_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] 154 | use elrond_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:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use elrond_codec::*; [INFO] [stdout] | --------------- the item `Vec` is already imported here [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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | 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:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use core::{borrow::Borrow, 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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | }; [INFO] [stdout] 7 | use elrond_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:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use alloc::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | use elrond_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:236:9 [INFO] [stdout] | [INFO] [stdout] 235 | use super::*; [INFO] [stdout] | -------- the item `Vec` is already imported here [INFO] [stdout] 236 | 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] 154 | use elrond_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:205:9 [INFO] [stdout] | [INFO] [stdout] 204 | use super::*; [INFO] [stdout] | -------- the item `Vec` is already imported here [INFO] [stdout] 205 | 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:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use elrond_codec::*; [INFO] [stdout] | --------------- the item `Vec` is already imported here [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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | 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:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use core::{borrow::Borrow, 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: struct `ManagedBufferSizeContext` is never constructed [INFO] [stdout] --> src/types/managed/wrapped/managed_address.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | pub(crate) struct ManagedBufferSizeContext(pub usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManagedBufferSizeContext` is never constructed [INFO] [stdout] --> src/types/managed/wrapped/managed_address.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | pub(crate) struct ManagedBufferSizeContext(pub usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.75s [INFO] running `Command { std: "docker" "inspect" "0fe7a9264ca44e839c459a51f459479666055bfcb916a322adc8959caa5cc25d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fe7a9264ca44e839c459a51f459479666055bfcb916a322adc8959caa5cc25d", kill_on_drop: false }` [INFO] [stdout] 0fe7a9264ca44e839c459a51f459479666055bfcb916a322adc8959caa5cc25d [INFO] checking elrond-wasm-0.38.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [INFO] extracting crate elrond-wasm 0.38.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate elrond-wasm 0.38.0 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 elrond-wasm 0.38.0 [INFO] finished tweaking crates.io crate elrond-wasm 0.38.0 [INFO] tweaked toml for crates.io crate elrond-wasm 0.38.0 written to /workspace/builds/worker-5-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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1adb0a9769173820a33738cb104104c8db23127af3005b9f6f190ec4378f8ddd [INFO] running `Command { std: "docker" "start" "-a" "1adb0a9769173820a33738cb104104c8db23127af3005b9f6f190ec4378f8ddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1adb0a9769173820a33738cb104104c8db23127af3005b9f6f190ec4378f8ddd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1adb0a9769173820a33738cb104104c8db23127af3005b9f6f190ec4378f8ddd", kill_on_drop: false }` [INFO] [stdout] 1adb0a9769173820a33738cb104104c8db23127af3005b9f6f190ec4378f8ddd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 0425ed98c1772c559870e947dc954957d0b0cba5bcb8b7b22b5101bcc331e112 [INFO] running `Command { std: "docker" "start" "-a" "0425ed98c1772c559870e947dc954957d0b0cba5bcb8b7b22b5101bcc331e112", 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 hex v0.4.3 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling nibble_vec v0.0.4 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling radix_trie v0.1.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling elrond-codec-derive v0.16.0 [INFO] [stderr] Compiling elrond-wasm-derive v0.38.0 [INFO] [stderr] Checking elrond-codec v0.16.0 [INFO] [stderr] Checking elrond-wasm v0.38.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/types/heap/boxed_bytes.rs (1 fix) [INFO] [stderr] Fixed src/types/managed/wrapped/managed_vec_item.rs (8 fixes) [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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | }; [INFO] [stdout] 7 | use elrond_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:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use alloc::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | use elrond_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:236:9 [INFO] [stdout] | [INFO] [stdout] 235 | use super::*; [INFO] [stdout] | -------- the item `Vec` is already imported here [INFO] [stdout] 236 | 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] 154 | use elrond_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:205:9 [INFO] [stdout] | [INFO] [stdout] 204 | use super::*; [INFO] [stdout] | -------- the item `Vec` is already imported here [INFO] [stdout] 205 | 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:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use elrond_codec::*; [INFO] [stdout] | --------------- the item `Vec` is already imported here [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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | 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:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use core::{borrow::Borrow, 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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: struct `ManagedBufferSizeContext` is never constructed [INFO] [stdout] --> src/types/managed/wrapped/managed_address.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | pub(crate) struct ManagedBufferSizeContext(pub usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [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/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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | }; [INFO] [stdout] 7 | use elrond_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:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use alloc::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | use elrond_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] 154 | use elrond_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:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use elrond_codec::*; [INFO] [stdout] | --------------- the item `Vec` is already imported here [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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | 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:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use core::{borrow::Borrow, 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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: struct `ManagedBufferSizeContext` is never constructed [INFO] [stdout] --> src/types/managed/wrapped/managed_address.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | pub(crate) struct ManagedBufferSizeContext(pub usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/formatter_test.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.43s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking elrond-wasm v0.38.0 (/tmp/fixit) [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:74: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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | }; [INFO] [stdout] 7 | use elrond_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:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use alloc::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | use elrond_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:236:9 [INFO] [stdout] | [INFO] [stdout] 235 | use super::*; [INFO] [stdout] | -------- the item `Vec` is already imported here [INFO] [stdout] 236 | 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] 154 | use elrond_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:205:9 [INFO] [stdout] | [INFO] [stdout] 204 | use super::*; [INFO] [stdout] | -------- the item `Vec` is already imported here [INFO] [stdout] 205 | 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:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use elrond_codec::*; [INFO] [stdout] | --------------- the item `Vec` is already imported here [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:82: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:82: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:82: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:82: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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use core::{iter::FromIterator, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:78: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:82: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:82: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:82: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:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use core::{borrow::Borrow, iter::FromIterator, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:78: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/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:74: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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | }; [INFO] [stdout] 7 | use elrond_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:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use alloc::{boxed::Box, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | use elrond_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] 154 | use elrond_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:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use elrond_codec::*; [INFO] [stdout] | --------------- the item `Vec` is already imported here [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:82: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:82: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:82: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:82: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:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use core::{iter::FromIterator, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:78: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:82: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:82: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:82: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:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use core::{borrow::Borrow, iter::FromIterator, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:78:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: struct `ManagedBufferSizeContext` is never constructed [INFO] [stdout] --> src/types/managed/wrapped/managed_address.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | pub(crate) struct ManagedBufferSizeContext(pub usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 198 | impl_managed_type! {ManagedBuffer} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 199 | impl_managed_type! {BigUint} [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 200 | impl_managed_type! {BigInt} [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 201 | impl_managed_type! {EllipticCurve} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 202 | impl_managed_type! {ManagedAddress} [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:61 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: unnecessary `unsafe` block [INFO] [stdout] --> src/types/managed/wrapped/managed_vec_item.rs:186:70 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> Self::Ref<'a> { unsafe { unsafe { unsafe { unsafe { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 203 | impl_managed_type! {TokenIdentifier} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [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: struct `ManagedBufferSizeContext` is never constructed [INFO] [stdout] --> src/types/managed/wrapped/managed_address.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | pub(crate) struct ManagedBufferSizeContext(pub usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.02s [INFO] running `Command { std: "docker" "inspect" "0425ed98c1772c559870e947dc954957d0b0cba5bcb8b7b22b5101bcc331e112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0425ed98c1772c559870e947dc954957d0b0cba5bcb8b7b22b5101bcc331e112", kill_on_drop: false }` [INFO] [stdout] 0425ed98c1772c559870e947dc954957d0b0cba5bcb8b7b22b5101bcc331e112