[INFO] fetching crate xavax-avalanche 0.2.0... [INFO] checking xavax-avalanche-0.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate xavax-avalanche 0.2.0 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xavax-avalanche 0.2.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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 228 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 generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding hex-literal v0.3.4 (available: v1.1.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70a530ca8f6b1382bfab1e04815b351aff950313698fd67c53f56e686e353cd3 [INFO] running `Command { std: "docker" "start" "-a" "70a530ca8f6b1382bfab1e04815b351aff950313698fd67c53f56e686e353cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70a530ca8f6b1382bfab1e04815b351aff950313698fd67c53f56e686e353cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70a530ca8f6b1382bfab1e04815b351aff950313698fd67c53f56e686e353cd3", kill_on_drop: false }` [INFO] [stdout] 70a530ca8f6b1382bfab1e04815b351aff950313698fd67c53f56e686e353cd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80e5031a298fd2e95d8c8cd9a1c1a8fd0263964732e36cd5097426355095bb1f [INFO] running `Command { std: "docker" "start" "-a" "80e5031a298fd2e95d8c8cd9a1c1a8fd0263964732e36cd5097426355095bb1f", kill_on_drop: false }` [INFO] [stderr] Checking any_ascii v0.1.7 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking lexical-sort v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking 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: `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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/primitives/address.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | result.address_bytes = Vec::::from_base32(&bech32::decode(&new_address) [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 34 | | .expect("Incorrect Bech32 Address!").1) [INFO] [stdout] 35 | | .expect("Not Base32!")[..].try_into().expect("Slice with incorrect length!"); [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/primitives/address.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | result.address_bytes = Vec::::from_base32(&bech32::decode(&address) [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 40 | | .expect("Incorrect Bech32 Address!").1) [INFO] [stdout] 41 | | .expect("Not Base32!")[..].try_into().expect("Slice with incorrect length!"); [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | address_bytes: raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | address_bytes: raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:213:32 [INFO] [stdout] | [INFO] [stdout] 213 | address_bytes: raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | self.payload = raw_payload[offset..=(offset + payload_len - 1)].try_into().expect("Slice with incorrect length!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:269:32 [INFO] [stdout] | [INFO] [stdout] 269 | address_bytes: raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:318:32 [INFO] [stdout] | [INFO] [stdout] 318 | address_bytes: raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:516:34 [INFO] [stdout] | [INFO] [stdout] 516 | self.signatures.push(raw_payload[offset..=(offset + 64)].try_into().expect("Slice with incorrect Length!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:688:24 [INFO] [stdout] | [INFO] [stdout] 688 | self.payload = raw_payload[offset..=(offset + payload_len - 1)].try_into().expect("Slice with incorrect length!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pvm/tx_format_impl.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | address_bytes: raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pvm/tx_format_impl.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | self.node_id = raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | self.address.address_bytes = raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length! diinki pls fix"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | self.address.address_bytes = raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length! diinki pls fix"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [stderr] error: could not compile `xavax-avalanche` (lib test) due to 14 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/primitives/address.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | result.address_bytes = Vec::::from_base32(&bech32::decode(&new_address) [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 34 | | .expect("Incorrect Bech32 Address!").1) [INFO] [stdout] 35 | | .expect("Not Base32!")[..].try_into().expect("Slice with incorrect length!"); [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/primitives/address.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | result.address_bytes = Vec::::from_base32(&bech32::decode(&address) [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 40 | | .expect("Incorrect Bech32 Address!").1) [INFO] [stdout] 41 | | .expect("Not Base32!")[..].try_into().expect("Slice with incorrect length!"); [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | address_bytes: raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | address_bytes: raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:213:32 [INFO] [stdout] | [INFO] [stdout] 213 | address_bytes: raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | self.payload = raw_payload[offset..=(offset + payload_len - 1)].try_into().expect("Slice with incorrect length!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:269:32 [INFO] [stdout] | [INFO] [stdout] 269 | address_bytes: raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:318:32 [INFO] [stdout] | [INFO] [stdout] 318 | address_bytes: raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:516:34 [INFO] [stdout] | [INFO] [stdout] 516 | self.signatures.push(raw_payload[offset..=(offset + 64)].try_into().expect("Slice with incorrect Length!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/avm/tx_format_impl.rs:688:24 [INFO] [stdout] | [INFO] [stdout] 688 | self.payload = raw_payload[offset..=(offset + payload_len - 1)].try_into().expect("Slice with incorrect length!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pvm/tx_format_impl.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | address_bytes: raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/pvm/tx_format_impl.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | self.node_id = raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | self.address.address_bytes = raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length! diinki pls fix"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | self.address.address_bytes = raw_payload[offset..=(offset + 19)].try_into().expect("Slice with incorrect length! diinki pls fix"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xavax-avalanche` (lib) due to 14 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "80e5031a298fd2e95d8c8cd9a1c1a8fd0263964732e36cd5097426355095bb1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80e5031a298fd2e95d8c8cd9a1c1a8fd0263964732e36cd5097426355095bb1f", kill_on_drop: false }` [INFO] [stdout] 80e5031a298fd2e95d8c8cd9a1c1a8fd0263964732e36cd5097426355095bb1f