[INFO] fetching crate xavax-avalanche 0.2.0... [INFO] building xavax-avalanche-0.2.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate xavax-avalanche 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate xavax-avalanche 0.2.0 [INFO] finished tweaking crates.io crate xavax-avalanche 0.2.0 [INFO] tweaked toml for crates.io crate xavax-avalanche 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xavax-avalanche 0.2.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 225 packages to latest compatible versions [INFO] [stderr] Adding bech32 v0.8.1 (available: v0.11.0) [INFO] [stderr] Adding bs58 v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding hex-literal v0.3.4 (available: v1.0.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding tiny-bip39 v0.8.2 (available: v2.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a5144f5186d846bb1bda8050065f1a6dce8ba5dac51cb76790d1c1a0dfbf7ce [INFO] running `Command { std: "docker" "start" "-a" "6a5144f5186d846bb1bda8050065f1a6dce8ba5dac51cb76790d1c1a0dfbf7ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a5144f5186d846bb1bda8050065f1a6dce8ba5dac51cb76790d1c1a0dfbf7ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a5144f5186d846bb1bda8050065f1a6dce8ba5dac51cb76790d1c1a0dfbf7ce", kill_on_drop: false }` [INFO] [stdout] 6a5144f5186d846bb1bda8050065f1a6dce8ba5dac51cb76790d1c1a0dfbf7ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d86fbbbe9a3b7a106d5ef7976b45bda06c4825311fd7bb4041ca08ddb077cac6 [INFO] running `Command { std: "docker" "start" "-a" "d86fbbbe9a3b7a106d5ef7976b45bda06c4825311fd7bb4041ca08ddb077cac6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling any_ascii v0.1.7 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling lexical-sort v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling xavax-avalanche v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `raw_payload` [INFO] [stdout] --> src/avm/tx_format_impl.rs:833:30 [INFO] [stdout] | [INFO] [stdout] 833 | fn from_bytes(&mut self, raw_payload: &[u8], offset_to_change: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_to_change` [INFO] [stdout] --> src/avm/tx_format_impl.rs:833:50 [INFO] [stdout] | [INFO] [stdout] 833 | fn from_bytes(&mut self, raw_payload: &[u8], offset_to_change: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_to_change` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_payload` [INFO] [stdout] --> src/avm/tx_format_impl.rs:862:30 [INFO] [stdout] | [INFO] [stdout] 862 | fn from_bytes(&mut self, raw_payload: &[u8], offset_to_change: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_to_change` [INFO] [stdout] --> src/avm/tx_format_impl.rs:862:50 [INFO] [stdout] | [INFO] [stdout] 862 | fn from_bytes(&mut self, raw_payload: &[u8], offset_to_change: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_to_change` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:64:50 [INFO] [stdout] | [INFO] [stdout] 64 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:187:50 [INFO] [stdout] | [INFO] [stdout] 187 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding/cb58.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | let input_sha256 = get_sha256_digest(input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding/cb58.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let mut check: Vec = input.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.79s [INFO] running `Command { std: "docker" "inspect" "d86fbbbe9a3b7a106d5ef7976b45bda06c4825311fd7bb4041ca08ddb077cac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d86fbbbe9a3b7a106d5ef7976b45bda06c4825311fd7bb4041ca08ddb077cac6", kill_on_drop: false }` [INFO] [stdout] d86fbbbe9a3b7a106d5ef7976b45bda06c4825311fd7bb4041ca08ddb077cac6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b229738572f1414c110b935d87914ac2a1fa09804be54543dd4b30776154731 [INFO] running `Command { std: "docker" "start" "-a" "9b229738572f1414c110b935d87914ac2a1fa09804be54543dd4b30776154731", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `raw_payload` [INFO] [stdout] --> src/avm/tx_format_impl.rs:833:30 [INFO] [stdout] | [INFO] [stdout] 833 | fn from_bytes(&mut self, raw_payload: &[u8], offset_to_change: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_to_change` [INFO] [stdout] --> src/avm/tx_format_impl.rs:833:50 [INFO] [stdout] | [INFO] [stdout] 833 | fn from_bytes(&mut self, raw_payload: &[u8], offset_to_change: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_to_change` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_payload` [INFO] [stdout] --> src/avm/tx_format_impl.rs:862:30 [INFO] [stdout] | [INFO] [stdout] 862 | fn from_bytes(&mut self, raw_payload: &[u8], offset_to_change: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_to_change` [INFO] [stdout] --> src/avm/tx_format_impl.rs:862:50 [INFO] [stdout] | [INFO] [stdout] 862 | fn from_bytes(&mut self, raw_payload: &[u8], offset_to_change: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_to_change` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xavax-avalanche v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:64:50 [INFO] [stdout] | [INFO] [stdout] 64 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:187:50 [INFO] [stdout] | [INFO] [stdout] 187 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding/cb58.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | let input_sha256 = get_sha256_digest(input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding/cb58.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let mut check: Vec = input.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_payload` [INFO] [stdout] --> src/avm/tx_format_impl.rs:833:30 [INFO] [stdout] | [INFO] [stdout] 833 | fn from_bytes(&mut self, raw_payload: &[u8], offset_to_change: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_to_change` [INFO] [stdout] --> src/avm/tx_format_impl.rs:833:50 [INFO] [stdout] | [INFO] [stdout] 833 | fn from_bytes(&mut self, raw_payload: &[u8], offset_to_change: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_to_change` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_payload` [INFO] [stdout] --> src/avm/tx_format_impl.rs:862:30 [INFO] [stdout] | [INFO] [stdout] 862 | fn from_bytes(&mut self, raw_payload: &[u8], offset_to_change: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_to_change` [INFO] [stdout] --> src/avm/tx_format_impl.rs:862:50 [INFO] [stdout] | [INFO] [stdout] 862 | fn from_bytes(&mut self, raw_payload: &[u8], offset_to_change: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_to_change` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:64:50 [INFO] [stdout] | [INFO] [stdout] 64 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:187:50 [INFO] [stdout] | [INFO] [stdout] 187 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding/cb58.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | let input_sha256 = get_sha256_digest(input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding/cb58.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let mut check: Vec = input.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "9b229738572f1414c110b935d87914ac2a1fa09804be54543dd4b30776154731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b229738572f1414c110b935d87914ac2a1fa09804be54543dd4b30776154731", kill_on_drop: false }` [INFO] [stdout] 9b229738572f1414c110b935d87914ac2a1fa09804be54543dd4b30776154731