[INFO] fetching crate dharitri-chain-vm 1.19.0... [INFO] checking dharitri-chain-vm-1.19.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate dharitri-chain-vm 1.19.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate dharitri-chain-vm 1.19.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dharitri-chain-vm 1.19.0 [INFO] tweaked toml for crates.io crate dharitri-chain-vm 1.19.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dharitri-chain-vm 1.19.0 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dharitri-chain-vm 1.19.0 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63ba7886eca4bb03a1fc4f93e10bc30caf0c9e61fa84b1646e36877e7df293fc [INFO] running `Command { std: "docker" "start" "-a" "63ba7886eca4bb03a1fc4f93e10bc30caf0c9e61fa84b1646e36877e7df293fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63ba7886eca4bb03a1fc4f93e10bc30caf0c9e61fa84b1646e36877e7df293fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ba7886eca4bb03a1fc4f93e10bc30caf0c9e61fa84b1646e36877e7df293fc", kill_on_drop: false }` [INFO] [stdout] 63ba7886eca4bb03a1fc4f93e10bc30caf0c9e61fa84b1646e36877e7df293fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 808f4d2e4655e82e031ea82408bb7e5f4fb5a50d68c17b8ad1b1ea85ad445a31 [INFO] running `Command { std: "docker" "start" "-a" "808f4d2e4655e82e031ea82408bb7e5f4fb5a50d68c17b8ad1b1ea85ad445a31", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking toml_write v0.1.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking winnow v0.7.10 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking unwrap-infallible v0.1.5 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking rand_seeder v0.3.0 [INFO] [stderr] Checking hex-literal v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling dharitri-sc-codec-derive v1.19.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking dharitri-sc-codec v1.19.0 [INFO] [stderr] Checking dharitri-chain-core v1.19.0 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml_edit v0.22.26 [INFO] [stderr] Checking toml v0.8.22 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking dharitri-vm-executor v1.0.5 [INFO] [stderr] Checking dharitri-chain-vm v1.19.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MigrateUserName` is never constructed [INFO] [stdout] --> src/builtin_functions/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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BlockchainResult` is never used [INFO] [stdout] --> src/builtin_functions/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/builtin_functions/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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockchain/state/dcdt_data.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn iter(&self) -> Iter, DcdtData> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn iter(&self) -> Iter<'_, Vec, DcdtData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/context/tx_context.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn m_types_lock(&self) -> MutexGuard<'_, ManagedTypeContainer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/context/tx_context.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/context/tx_context.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/context/tx_context.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn rng_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn rng_lock(&self) -> MutexGuard<'_, BlockchainRng> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/vm_hooks/vh_context.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | fn m_types_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn m_types_lock(&self) -> MutexGuard<'_, ManagedTypeContainer>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/vm_hooks/vh_context.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | fn result_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | fn result_lock(&self) -> MutexGuard<'_, TxResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/vm_hooks/vh_context.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | fn back_transfers_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/vm_hooks/vh_tx_context.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | fn m_types_lock(&self) -> MutexGuard<'_, ManagedTypeContainer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/vm_hooks/vh_tx_context.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 98 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/vm_hooks/vh_tx_context.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/with_shared/shareable.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl Deref for Shareable { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 45 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/with_shared/shareable.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 44 | impl Deref for Shareable { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 45 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn with_shared(&mut self, f: F) -> R [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dharitri-chain-vm` (lib) due to 2 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `MigrateUserName` is never constructed [INFO] [stdout] --> src/builtin_functions/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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BlockchainResult` is never used [INFO] [stdout] --> src/builtin_functions/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/builtin_functions/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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockchain/state/dcdt_data.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn iter(&self) -> Iter, DcdtData> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn iter(&self) -> Iter<'_, Vec, DcdtData> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/context/tx_context.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn m_types_lock(&self) -> MutexGuard<'_, ManagedTypeContainer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/context/tx_context.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/context/tx_context.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/context/tx_context.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn rng_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn rng_lock(&self) -> MutexGuard<'_, BlockchainRng> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/vm_hooks/vh_context.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | fn m_types_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn m_types_lock(&self) -> MutexGuard<'_, ManagedTypeContainer>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/vm_hooks/vh_context.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | fn result_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | fn result_lock(&self) -> MutexGuard<'_, TxResult>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/vm_hooks/vh_context.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | fn back_transfers_lock(&self) -> MutexGuard; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/vm_hooks/vh_tx_context.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | fn m_types_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | fn m_types_lock(&self) -> MutexGuard<'_, ManagedTypeContainer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/vm_hooks/vh_tx_context.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | fn result_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 98 | fn result_lock(&self) -> MutexGuard<'_, TxResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/host/vm_hooks/vh_tx_context.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | fn back_transfers_lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | fn back_transfers_lock(&self) -> MutexGuard<'_, BackTransfers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/with_shared/shareable.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | impl Deref for Shareable { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 45 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/with_shared/shareable.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 44 | impl Deref for Shareable { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 45 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn with_shared(&mut self, f: F) -> R [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dharitri-chain-vm` (lib test) due to 2 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "808f4d2e4655e82e031ea82408bb7e5f4fb5a50d68c17b8ad1b1ea85ad445a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "808f4d2e4655e82e031ea82408bb7e5f4fb5a50d68c17b8ad1b1ea85ad445a31", kill_on_drop: false }` [INFO] [stdout] 808f4d2e4655e82e031ea82408bb7e5f4fb5a50d68c17b8ad1b1ea85ad445a31