[INFO] fetching crate dharitri-chain-vm 1.17.2... [INFO] testing dharitri-chain-vm-1.17.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate dharitri-chain-vm 1.17.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate dharitri-chain-vm 1.17.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dharitri-chain-vm 1.17.2 [INFO] tweaked toml for crates.io crate dharitri-chain-vm 1.17.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dharitri-chain-vm 1.17.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dharitri-chain-vm 1.17.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded rand_seeder v0.3.0 [INFO] [stderr] Downloaded dharitri-chain-core v1.17.2 [INFO] [stderr] Downloaded dharitri-sc-codec v1.17.2 [INFO] [stderr] Downloaded dharitri-sc-codec-derive v1.17.2 [INFO] [stderr] Downloaded dharitri-vm-executor v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ad885e4fdbdc28813d521325693aa531d724af61c0f73de6456871bb4ac2e60 [INFO] running `Command { std: "docker" "start" "-a" "4ad885e4fdbdc28813d521325693aa531d724af61c0f73de6456871bb4ac2e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ad885e4fdbdc28813d521325693aa531d724af61c0f73de6456871bb4ac2e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ad885e4fdbdc28813d521325693aa531d724af61c0f73de6456871bb4ac2e60", kill_on_drop: false }` [INFO] [stdout] 4ad885e4fdbdc28813d521325693aa531d724af61c0f73de6456871bb4ac2e60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cab7e5950b88c8f36315ea882c5f1039675b6f30b8647ee35f2172cbf68b8e63 [INFO] running `Command { std: "docker" "start" "-a" "cab7e5950b88c8f36315ea882c5f1039675b6f30b8647ee35f2172cbf68b8e63", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unwrap-infallible v0.1.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling rand_seeder v0.3.0 [INFO] [stderr] Compiling dharitri-vm-executor v1.0.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling dharitri-sc-codec-derive v1.17.2 [INFO] [stderr] Compiling dharitri-sc-codec v1.17.2 [INFO] [stderr] Compiling dharitri-chain-core v1.17.2 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling dharitri-chain-vm v1.17.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: never type fallback affects this call to an `unsafe` function [INFO] [stdout] --> src/vm_hooks/vh_dispatcher.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | / mem_conv::with_bytes(message_offset, message_length, |message| { [INFO] [stdout] 64 | | self.handler.signal_error(message); [INFO] [stdout] 65 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the type explicitly [INFO] [stdout] = note: `#[warn(never_type_fallback_flowing_into_unsafe)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 63 | mem_conv::with_bytes::<_, ()>(message_offset, message_length, |message| { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MigrateUserName` is never constructed [INFO] [stdout] --> src/tx_execution/builtin_function_mocks/general/migrate_username_mock.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MigrateUserName; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BlockchainResult` is never used [INFO] [stdout] --> src/tx_execution/builtin_function_mocks/general/migrate_username_mock.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type BlockchainResult = Result<(TxResult, BlockchainUpdate), TxResult>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute_with_result` is never used [INFO] [stdout] --> src/tx_execution/builtin_function_mocks/general/migrate_username_mock.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl MigrateUserName { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 32 | #[allow(clippy::result_large_err)] [INFO] [stdout] 33 | fn execute_with_result(&self, tx_input: TxInput, tx_cache: TxCache) -> BlockchainResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tx_mock/tx_context.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tx_mock/tx_context.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 132 | pub fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tx_mock/tx_context.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tx_mock/tx_context.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn rng_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn rng_lock(&self) -> MutexGuard<'_, BlockchainRng> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_debug_api.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_debug_api.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_debug_api.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 86 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_single_tx_api.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_single_tx_api.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 74 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_single_tx_api.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 98 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_static_api.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_static_api.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 49 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_static_api.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_source.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | fn m_types_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 13 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_source.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | fn result_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | fn result_lock(&self) -> MutexGuard<'_, TxResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_source.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | fn back_transfers_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 52 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world_mock/dcdt_data.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn iter(&self) -> Iter, DcdtData> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn iter(&self) -> Iter<'_, Vec, DcdtData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: dharitri-chain-vm v1.17.2 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "cab7e5950b88c8f36315ea882c5f1039675b6f30b8647ee35f2172cbf68b8e63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cab7e5950b88c8f36315ea882c5f1039675b6f30b8647ee35f2172cbf68b8e63", kill_on_drop: false }` [INFO] [stdout] cab7e5950b88c8f36315ea882c5f1039675b6f30b8647ee35f2172cbf68b8e63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d724505ac339846f253d16e41cbcbf96a827bfa1af24dd2668998baaed65bcb2 [INFO] running `Command { std: "docker" "start" "-a" "d724505ac339846f253d16e41cbcbf96a827bfa1af24dd2668998baaed65bcb2", kill_on_drop: false }` [INFO] [stdout] warning: never type fallback affects this call to an `unsafe` function [INFO] [stdout] --> src/vm_hooks/vh_dispatcher.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | / mem_conv::with_bytes(message_offset, message_length, |message| { [INFO] [stdout] 64 | | self.handler.signal_error(message); [INFO] [stdout] 65 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the type explicitly [INFO] [stdout] = note: `#[warn(never_type_fallback_flowing_into_unsafe)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 63 | mem_conv::with_bytes::<_, ()>(message_offset, message_length, |message| { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MigrateUserName` is never constructed [INFO] [stdout] --> src/tx_execution/builtin_function_mocks/general/migrate_username_mock.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MigrateUserName; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BlockchainResult` is never used [INFO] [stdout] --> src/tx_execution/builtin_function_mocks/general/migrate_username_mock.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type BlockchainResult = Result<(TxResult, BlockchainUpdate), TxResult>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute_with_result` is never used [INFO] [stdout] --> src/tx_execution/builtin_function_mocks/general/migrate_username_mock.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl MigrateUserName { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 32 | #[allow(clippy::result_large_err)] [INFO] [stdout] 33 | fn execute_with_result(&self, tx_input: TxInput, tx_cache: TxCache) -> BlockchainResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tx_mock/tx_context.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tx_mock/tx_context.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 132 | pub fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tx_mock/tx_context.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tx_mock/tx_context.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn rng_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn rng_lock(&self) -> MutexGuard<'_, BlockchainRng> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_debug_api.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dharitri-chain-vm v1.17.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_debug_api.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_debug_api.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 86 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_single_tx_api.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_single_tx_api.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 74 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_single_tx_api.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 98 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_static_api.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_static_api.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 49 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_static_api.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_source.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | fn m_types_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 13 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_source.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | fn result_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | fn result_lock(&self) -> MutexGuard<'_, TxResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_source.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | fn back_transfers_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 52 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world_mock/dcdt_data.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn iter(&self) -> Iter, DcdtData> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn iter(&self) -> Iter<'_, Vec, DcdtData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: never type fallback affects this call to an `unsafe` function [INFO] [stdout] --> src/vm_hooks/vh_dispatcher.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | / mem_conv::with_bytes(message_offset, message_length, |message| { [INFO] [stdout] 64 | | self.handler.signal_error(message); [INFO] [stdout] 65 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the type explicitly [INFO] [stdout] = note: `#[warn(never_type_fallback_flowing_into_unsafe)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 63 | mem_conv::with_bytes::<_, ()>(message_offset, message_length, |message| { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MigrateUserName` is never constructed [INFO] [stdout] --> src/tx_execution/builtin_function_mocks/general/migrate_username_mock.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MigrateUserName; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BlockchainResult` is never used [INFO] [stdout] --> src/tx_execution/builtin_function_mocks/general/migrate_username_mock.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type BlockchainResult = Result<(TxResult, BlockchainUpdate), TxResult>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute_with_result` is never used [INFO] [stdout] --> src/tx_execution/builtin_function_mocks/general/migrate_username_mock.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl MigrateUserName { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 32 | #[allow(clippy::result_large_err)] [INFO] [stdout] 33 | fn execute_with_result(&self, tx_input: TxInput, tx_cache: TxCache) -> BlockchainResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tx_mock/tx_context.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tx_mock/tx_context.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 132 | pub fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tx_mock/tx_context.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tx_mock/tx_context.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn rng_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | pub fn rng_lock(&self) -> MutexGuard<'_, BlockchainRng> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_debug_api.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 38 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_debug_api.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_debug_api.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 86 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_single_tx_api.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_single_tx_api.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 74 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_single_tx_api.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 98 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_static_api.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 29 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_static_api.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 49 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_impl/vh_static_api.rs:73:28 [INFO] [stdout] | [INFO] [stdout] 73 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_source.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | fn m_types_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 13 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_source.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | fn result_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | fn result_lock(&self) -> MutexGuard<'_, TxResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm_hooks/vh_source.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | fn back_transfers_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 52 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world_mock/dcdt_data.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn iter(&self) -> Iter, DcdtData> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn iter(&self) -> Iter<'_, Vec, DcdtData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: dharitri-chain-vm v1.17.2 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "d724505ac339846f253d16e41cbcbf96a827bfa1af24dd2668998baaed65bcb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d724505ac339846f253d16e41cbcbf96a827bfa1af24dd2668998baaed65bcb2", kill_on_drop: false }` [INFO] [stdout] d724505ac339846f253d16e41cbcbf96a827bfa1af24dd2668998baaed65bcb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5ee6d81fb869bfac50866d59fdd2f845371a6459f2512991dbb38ed1a12ecff9 [INFO] running `Command { std: "docker" "start" "-a" "5ee6d81fb869bfac50866d59fdd2f845371a6459f2512991dbb38ed1a12ecff9", kill_on_drop: false }` [INFO] [stderr] warning: never type fallback affects this call to an `unsafe` function [INFO] [stderr] --> src/vm_hooks/vh_dispatcher.rs:63:13 [INFO] [stderr] | [INFO] [stderr] 63 | / mem_conv::with_bytes(message_offset, message_length, |message| { [INFO] [stderr] 64 | | self.handler.signal_error(message); [INFO] [stderr] 65 | | }); [INFO] [stderr] | |______________^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the type explicitly [INFO] [stderr] = note: `#[warn(never_type_fallback_flowing_into_unsafe)]` on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 63 | mem_conv::with_bytes::<_, ()>(message_offset, message_length, |message| { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: struct `MigrateUserName` is never constructed [INFO] [stderr] --> src/tx_execution/builtin_function_mocks/general/migrate_username_mock.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct MigrateUserName; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `BlockchainResult` is never used [INFO] [stderr] --> src/tx_execution/builtin_function_mocks/general/migrate_username_mock.rs:9:6 [INFO] [stderr] | [INFO] [stderr] 9 | type BlockchainResult = Result<(TxResult, BlockchainUpdate), TxResult>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `execute_with_result` is never used [INFO] [stderr] --> src/tx_execution/builtin_function_mocks/general/migrate_username_mock.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 31 | impl MigrateUserName { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] 32 | #[allow(clippy::result_large_err)] [INFO] [stderr] 33 | fn execute_with_result(&self, tx_input: TxInput, tx_cache: TxCache) -> BlockchainResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/tx_mock/tx_context.rs:128:25 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn m_types_lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 128 | pub fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/tx_mock/tx_context.rs:132:32 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 132 | pub fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/tx_mock/tx_context.rs:136:24 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn result_lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 136 | pub fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/tx_mock/tx_context.rs:144:21 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn rng_lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 144 | pub fn rng_lock(&self) -> MutexGuard<'_, BlockchainRng> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/vm_hooks/vh_impl/vh_debug_api.rs:38:21 [INFO] [stderr] | [INFO] [stderr] 38 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 38 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/vm_hooks/vh_impl/vh_debug_api.rs:59:20 [INFO] [stderr] | [INFO] [stderr] 59 | fn result_lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 59 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/vm_hooks/vh_impl/vh_debug_api.rs:86:28 [INFO] [stderr] | [INFO] [stderr] 86 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 86 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/vm_hooks/vh_impl/vh_single_tx_api.rs:58:21 [INFO] [stderr] | [INFO] [stderr] 58 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 58 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/vm_hooks/vh_impl/vh_single_tx_api.rs:74:20 [INFO] [stderr] | [INFO] [stderr] 74 | fn result_lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 74 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/vm_hooks/vh_impl/vh_single_tx_api.rs:98:28 [INFO] [stderr] | [INFO] [stderr] 98 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 98 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/vm_hooks/vh_impl/vh_static_api.rs:29:21 [INFO] [stderr] | [INFO] [stderr] 29 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 29 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/vm_hooks/vh_impl/vh_static_api.rs:49:20 [INFO] [stderr] | [INFO] [stderr] 49 | fn result_lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 49 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/vm_hooks/vh_impl/vh_static_api.rs:73:28 [INFO] [stderr] | [INFO] [stderr] 73 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stderr] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 73 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/vm_hooks/vh_source.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | fn m_types_lock(&self) -> MutexGuard; [INFO] [stderr] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 13 | fn m_types_lock(&self) -> MutexGuard<'_, TxManagedTypes>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/vm_hooks/vh_source.rs:34:20 [INFO] [stderr] | [INFO] [stderr] 34 | fn result_lock(&self) -> MutexGuard; [INFO] [stderr] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 34 | fn result_lock(&self) -> MutexGuard<'_, TxResult>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/vm_hooks/vh_source.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | fn back_transfers_lock(&self) -> MutexGuard; [INFO] [stderr] | ^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 52 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/world_mock/dcdt_data.rs:149:17 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn iter(&self) -> Iter, DcdtData> { [INFO] [stderr] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 149 | pub fn iter(&self) -> Iter<'_, Vec, DcdtData> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `dharitri-chain-vm` (lib) generated 21 warnings (run `cargo fix --lib -p dharitri-chain-vm` to apply 18 suggestions) [INFO] [stderr] warning: `dharitri-chain-vm` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: dharitri-chain-vm v1.17.2 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/dharitri_chain_vm-a6584ee3055f7d0d) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test tx_execution::system_sc::system_sc_issue::tests::test_first_token_identifier_with_ticker_ok ... ok [INFO] [stdout] test mem_conv::test::test_mem_ptr_mut ... ok [INFO] [stdout] test tx_mock::tx_managed_types::tx_managed_buffer::tests::test_vec_of_bytes ... ok [INFO] [stdout] test tx_mock::tx_managed_types::tx_managed_buffer::tests::test_vec_of_dcdt_payments ... ok [INFO] [stdout] test with_shared::shareable::test::test_shareable_mut_1 ... ok [INFO] [stdout] test with_shared::shareable::test::test_shareable_mut_2 ... ok [INFO] [stdout] test with_shared::with_shared_mut_ref::test::test_with_shared_mut_ref_1 ... ok [INFO] [stdout] test mem_conv::test::test_mem_ptr_conversion ... ok [INFO] [stdout] test tx_execution::system_sc::system_sc_issue::tests::test_first_token_identifier_with_ticker_is_none ... ok [INFO] [stdout] test with_shared::with_shared_mut_ref::test::test_with_shared_mut_ref_2 ... ok [INFO] [stdout] test with_shared::shareable::test::test_shareable_mut_fail - should panic ... ok [INFO] [stderr] Running tests/test_crypto.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/test_crypto-25ca62c270feda3c) [INFO] [stdout] test with_shared::with_shared_mut_ref::test::test_with_shared_mut_ref_fail - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_verify_ed25519_invalid_args ... ok [INFO] [stdout] test test_verify_ed25519_basic ... ok [INFO] [stdout] test test_verify_ed25519_bad_sig ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5ee6d81fb869bfac50866d59fdd2f845371a6459f2512991dbb38ed1a12ecff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ee6d81fb869bfac50866d59fdd2f845371a6459f2512991dbb38ed1a12ecff9", kill_on_drop: false }` [INFO] [stdout] 5ee6d81fb869bfac50866d59fdd2f845371a6459f2512991dbb38ed1a12ecff9