[INFO] fetching crate multiversx-sc 0.64.1... [INFO] checking multiversx-sc-0.64.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate multiversx-sc 0.64.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate multiversx-sc 0.64.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate multiversx-sc 0.64.1 [INFO] tweaked toml for crates.io crate multiversx-sc 0.64.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate multiversx-sc 0.64.1 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 multiversx-sc 0.64.1 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b04f8ae464ea3a0f9dc0e2f335922afbc8ab5a3c97206a0fe284b5fbe1ffad1 [INFO] running `Command { std: "docker" "start" "-a" "6b04f8ae464ea3a0f9dc0e2f335922afbc8ab5a3c97206a0fe284b5fbe1ffad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b04f8ae464ea3a0f9dc0e2f335922afbc8ab5a3c97206a0fe284b5fbe1ffad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b04f8ae464ea3a0f9dc0e2f335922afbc8ab5a3c97206a0fe284b5fbe1ffad1", kill_on_drop: false }` [INFO] [stdout] 6b04f8ae464ea3a0f9dc0e2f335922afbc8ab5a3c97206a0fe284b5fbe1ffad1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] d27ca467056c4bc0f2518e5553de11a6d291c06074f6fdf613ae12a8f0a27f82 [INFO] running `Command { std: "docker" "start" "-a" "d27ca467056c4bc0f2518e5553de11a6d291c06074f6fdf613ae12a8f0a27f82", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking unwrap-infallible v1.0.0 [INFO] [stderr] Compiling endian-type v0.2.0 [INFO] [stderr] Checking hex-literal v1.1.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling radix_trie v0.3.0 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Checking generic-array v1.3.5 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling multiversx-sc-codec-derive v0.24.0 [INFO] [stderr] Compiling multiversx-sc-derive v0.64.1 [INFO] [stderr] Checking multiversx-sc-codec v0.24.0 [INFO] [stderr] Checking multiversx-chain-core v0.21.1 [INFO] [stderr] Checking multiversx-sc v0.64.1 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/types/managed/wrapped/managed_ref.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_raw_handle_of_ref(self) -> T::OwnHandle { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | / impl Deref for ManagedRef<'_, M, T> [INFO] [stdout] 79 | | where [INFO] [stdout] 80 | | M: ManagedTypeApi, [INFO] [stdout] 81 | | T: ManagedType, [INFO] [stdout] | |______________________- trait implemented here [INFO] [stdout] 82 | { [INFO] [stdout] 83 | 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/types/managed/wrapped/managed_ref.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn clone_value(&self) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | / impl Deref for ManagedRef<'_, M, T> [INFO] [stdout] 79 | | where [INFO] [stdout] 80 | | M: ManagedTypeApi, [INFO] [stdout] 81 | | T: ManagedType, [INFO] [stdout] | |______________________- trait implemented here [INFO] [stdout] 82 | { [INFO] [stdout] 83 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/types/managed/wrapped/managed_ref.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn clone_ref(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | / impl Deref for ManagedRef<'_, M, T> [INFO] [stdout] 79 | | where [INFO] [stdout] 80 | | M: ManagedTypeApi, [INFO] [stdout] 81 | | T: ManagedType, [INFO] [stdout] | |______________________- trait implemented here [INFO] [stdout] 82 | { [INFO] [stdout] 83 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/types/managed/wrapped/managed_ref_mut.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn clone_value(&self) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | / impl Deref for ManagedRefMut<'_, M, T> [INFO] [stdout] 74 | | where [INFO] [stdout] 75 | | M: ManagedTypeApi, [INFO] [stdout] 76 | | T: ManagedType, [INFO] [stdout] | |______________________- trait implemented here [INFO] [stdout] 77 | { [INFO] [stdout] 78 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multiversx-sc` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/types/managed/wrapped/managed_ref.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_raw_handle_of_ref(self) -> T::OwnHandle { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | / impl Deref for ManagedRef<'_, M, T> [INFO] [stdout] 79 | | where [INFO] [stdout] 80 | | M: ManagedTypeApi, [INFO] [stdout] 81 | | T: ManagedType, [INFO] [stdout] | |______________________- trait implemented here [INFO] [stdout] 82 | { [INFO] [stdout] 83 | 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/types/managed/wrapped/managed_ref.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn clone_value(&self) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | / impl Deref for ManagedRef<'_, M, T> [INFO] [stdout] 79 | | where [INFO] [stdout] 80 | | M: ManagedTypeApi, [INFO] [stdout] 81 | | T: ManagedType, [INFO] [stdout] | |______________________- trait implemented here [INFO] [stdout] 82 | { [INFO] [stdout] 83 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/types/managed/wrapped/managed_ref.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn clone_ref(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | / impl Deref for ManagedRef<'_, M, T> [INFO] [stdout] 79 | | where [INFO] [stdout] 80 | | M: ManagedTypeApi, [INFO] [stdout] 81 | | T: ManagedType, [INFO] [stdout] | |______________________- trait implemented here [INFO] [stdout] 82 | { [INFO] [stdout] 83 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/types/managed/wrapped/managed_ref_mut.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn clone_value(&self) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | / impl Deref for ManagedRefMut<'_, M, T> [INFO] [stdout] 74 | | where [INFO] [stdout] 75 | | M: ManagedTypeApi, [INFO] [stdout] 76 | | T: ManagedType, [INFO] [stdout] | |______________________- trait implemented here [INFO] [stdout] 77 | { [INFO] [stdout] 78 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multiversx-sc` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "d27ca467056c4bc0f2518e5553de11a6d291c06074f6fdf613ae12a8f0a27f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d27ca467056c4bc0f2518e5553de11a6d291c06074f6fdf613ae12a8f0a27f82", kill_on_drop: false }` [INFO] [stdout] d27ca467056c4bc0f2518e5553de11a6d291c06074f6fdf613ae12a8f0a27f82