[INFO] fetching crate xavax-avalanche 0.2.0... [INFO] checking xavax-avalanche-0.2.0 against master#e4106065bf1bb515935d5d024e8d9c86454e2b22 for pr-112160 [INFO] extracting crate xavax-avalanche 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate xavax-avalanche 0.2.0 on toolchain e4106065bf1bb515935d5d024e8d9c86454e2b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lexical-sort v0.3.1 [INFO] [stderr] Downloaded tiny-hderive v0.3.0 [INFO] [stderr] Downloaded bech32 v0.8.1 [INFO] [stderr] Downloaded any_ascii v0.1.7 [INFO] [stderr] Downloaded memzero v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6be5cb6cae10a42b16655356fff659afaf205b06cdd3ef36bb34930d6285a248 [INFO] running `Command { std: "docker" "start" "-a" "6be5cb6cae10a42b16655356fff659afaf205b06cdd3ef36bb34930d6285a248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6be5cb6cae10a42b16655356fff659afaf205b06cdd3ef36bb34930d6285a248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6be5cb6cae10a42b16655356fff659afaf205b06cdd3ef36bb34930d6285a248", kill_on_drop: false }` [INFO] [stdout] 6be5cb6cae10a42b16655356fff659afaf205b06cdd3ef36bb34930d6285a248 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c98fd01c2b6123e21dad8bd9e0a4f276395a7e6ea17e14788bc817c0b1182546 [INFO] running `Command { std: "docker" "start" "-a" "c98fd01c2b6123e21dad8bd9e0a4f276395a7e6ea17e14788bc817c0b1182546", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking any_ascii v0.1.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking lexical-sort v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling tracing-attributes v0.1.24 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking serde_json v1.0.96 [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)]` 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)]` 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: 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: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:35:78 [INFO] [stdout] | [INFO] [stdout] 35 | let output_type: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:97:70 [INFO] [stdout] | [INFO] [stdout] 97 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:100:69 [INFO] [stdout] | [INFO] [stdout] 100 | self.amount = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:103:71 [INFO] [stdout] | [INFO] [stdout] 103 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:106:73 [INFO] [stdout] | [INFO] [stdout] 106 | self.threshhold = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:109:73 [INFO] [stdout] | [INFO] [stdout] 109 | let address_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:151:70 [INFO] [stdout] | [INFO] [stdout] 151 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:153:71 [INFO] [stdout] | [INFO] [stdout] 153 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:155:73 [INFO] [stdout] | [INFO] [stdout] 155 | self.threshhold = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:158:73 [INFO] [stdout] | [INFO] [stdout] 158 | let address_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:198:70 [INFO] [stdout] | [INFO] [stdout] 198 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:200:71 [INFO] [stdout] | [INFO] [stdout] 200 | self.group_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:202:71 [INFO] [stdout] | [INFO] [stdout] 202 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:204:73 [INFO] [stdout] | [INFO] [stdout] 204 | self.threshhold = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:207:73 [INFO] [stdout] | [INFO] [stdout] 207 | let address_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:248:70 [INFO] [stdout] | [INFO] [stdout] 248 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:250:71 [INFO] [stdout] | [INFO] [stdout] 250 | self.group_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:253:73 [INFO] [stdout] | [INFO] [stdout] 253 | let payload_len = extract_u32(raw_payload[offset..=(offset + 3)].borrow()) as usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:258:71 [INFO] [stdout] | [INFO] [stdout] 258 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:260:73 [INFO] [stdout] | [INFO] [stdout] 260 | self.threshhold = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:263:73 [INFO] [stdout] | [INFO] [stdout] 263 | let address_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:307:71 [INFO] [stdout] | [INFO] [stdout] 307 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:309:73 [INFO] [stdout] | [INFO] [stdout] 309 | self.threshhold = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:312:78 [INFO] [stdout] | [INFO] [stdout] 312 | let address_num: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:353:71 [INFO] [stdout] | [INFO] [stdout] 353 | self.codec_id = extract_u16(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:359:75 [INFO] [stdout] | [INFO] [stdout] 359 | self.output_index = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | let output_type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:435:73 [INFO] [stdout] | [INFO] [stdout] 435 | self.utxo_index = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:468:70 [INFO] [stdout] | [INFO] [stdout] 468 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:470:69 [INFO] [stdout] | [INFO] [stdout] 470 | self.amount = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:474:79 [INFO] [stdout] | [INFO] [stdout] 474 | let address_index_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:479:85 [INFO] [stdout] | [INFO] [stdout] 479 | self.address_indices.push(extract_u32(raw_payload[offset..=(offset + 3)].borrow())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:508:70 [INFO] [stdout] | [INFO] [stdout] 508 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:511:84 [INFO] [stdout] | [INFO] [stdout] 511 | let signature_length: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:548:68 [INFO] [stdout] | [INFO] [stdout] 548 | self.fx_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:551:82 [INFO] [stdout] | [INFO] [stdout] 551 | let output_length: usize = extract_u32(raw_payload[offset..=(offset + 3)].borrow()) as usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:556:85 [INFO] [stdout] | [INFO] [stdout] 556 | let output_type_id: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:626:70 [INFO] [stdout] | [INFO] [stdout] 626 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:629:79 [INFO] [stdout] | [INFO] [stdout] 629 | let address_index_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:634:85 [INFO] [stdout] | [INFO] [stdout] 634 | self.address_indices.push(extract_u32(raw_payload[offset..=(offset + 3)].borrow())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:670:70 [INFO] [stdout] | [INFO] [stdout] 670 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:673:79 [INFO] [stdout] | [INFO] [stdout] 673 | let address_index_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:678:85 [INFO] [stdout] | [INFO] [stdout] 678 | self.address_indices.push(extract_u32(raw_payload[offset..=(offset + 3)].borrow())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:683:71 [INFO] [stdout] | [INFO] [stdout] 683 | self.group_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:686:73 [INFO] [stdout] | [INFO] [stdout] 686 | let payload_len = extract_u32(raw_payload[offset..=(offset + 3)].borrow()) as usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:723:70 [INFO] [stdout] | [INFO] [stdout] 723 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:726:79 [INFO] [stdout] | [INFO] [stdout] 726 | let address_index_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:731:85 [INFO] [stdout] | [INFO] [stdout] 731 | self.address_indices.push(extract_u32(raw_payload[offset..=(offset + 3)].borrow())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:766:70 [INFO] [stdout] | [INFO] [stdout] 766 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:768:73 [INFO] [stdout] | [INFO] [stdout] 768 | self.network_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:773:77 [INFO] [stdout] | [INFO] [stdout] 773 | let output_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:784:76 [INFO] [stdout] | [INFO] [stdout] 784 | let input_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:795:75 [INFO] [stdout] | [INFO] [stdout] 795 | let memo_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:799:75 [INFO] [stdout] | [INFO] [stdout] 799 | self.memo = raw_payload[offset..=(offset + memo_len as usize)].borrow().to_vec(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:898:76 [INFO] [stdout] | [INFO] [stdout] 898 | let input_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:941:77 [INFO] [stdout] | [INFO] [stdout] 941 | let output_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:975:71 [INFO] [stdout] | [INFO] [stdout] 975 | self.codec_id = extract_u16(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:978:77 [INFO] [stdout] | [INFO] [stdout] 978 | let tx_type_id: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:1010:75 [INFO] [stdout] | [INFO] [stdout] 1010 | let cred_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:35:78 [INFO] [stdout] | [INFO] [stdout] 35 | let output_type: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:97:70 [INFO] [stdout] | [INFO] [stdout] 97 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:100:69 [INFO] [stdout] | [INFO] [stdout] 100 | self.amount = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:103:71 [INFO] [stdout] | [INFO] [stdout] 103 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:106:73 [INFO] [stdout] | [INFO] [stdout] 106 | self.threshhold = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:37:70 [INFO] [stdout] | [INFO] [stdout] 37 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:109:73 [INFO] [stdout] | [INFO] [stdout] 109 | let address_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:40:71 [INFO] [stdout] | [INFO] [stdout] 40 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:151:70 [INFO] [stdout] | [INFO] [stdout] 151 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:43:72 [INFO] [stdout] | [INFO] [stdout] 43 | self.threshold = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:153:71 [INFO] [stdout] | [INFO] [stdout] 153 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:46:73 [INFO] [stdout] | [INFO] [stdout] 46 | let address_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:155:73 [INFO] [stdout] | [INFO] [stdout] 155 | self.threshhold = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:91:78 [INFO] [stdout] | [INFO] [stdout] 91 | let output_type: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:158:73 [INFO] [stdout] | [INFO] [stdout] 158 | let address_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:165:73 [INFO] [stdout] | [INFO] [stdout] 165 | self.start_time = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:198:70 [INFO] [stdout] | [INFO] [stdout] 198 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:167:70 [INFO] [stdout] | [INFO] [stdout] 167 | self.endtime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:200:71 [INFO] [stdout] | [INFO] [stdout] 200 | self.group_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:202:71 [INFO] [stdout] | [INFO] [stdout] 202 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:169:69 [INFO] [stdout] | [INFO] [stdout] 169 | self.weight = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:204:73 [INFO] [stdout] | [INFO] [stdout] 204 | self.threshhold = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:199:77 [INFO] [stdout] | [INFO] [stdout] 199 | let output_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:207:73 [INFO] [stdout] | [INFO] [stdout] 207 | let address_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:233:71 [INFO] [stdout] | [INFO] [stdout] 233 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:236:77 [INFO] [stdout] | [INFO] [stdout] 236 | let sig_indices_len = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:248:70 [INFO] [stdout] | [INFO] [stdout] 248 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:241:81 [INFO] [stdout] | [INFO] [stdout] 241 | self.sig_indices.push(extract_u32(raw_payload[offset..=(offset + 3)].borrow())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:277:51 [INFO] [stdout] | [INFO] [stdout] 277 | validator.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:250:71 [INFO] [stdout] | [INFO] [stdout] 250 | self.group_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:280:47 [INFO] [stdout] | [INFO] [stdout] 280 | stake.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:253:73 [INFO] [stdout] | [INFO] [stdout] 253 | let payload_len = extract_u32(raw_payload[offset..=(offset + 3)].borrow()) as usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:258:71 [INFO] [stdout] | [INFO] [stdout] 258 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:283:55 [INFO] [stdout] | [INFO] [stdout] 283 | rewards_owner.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:260:73 [INFO] [stdout] | [INFO] [stdout] 260 | self.threshhold = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:263:73 [INFO] [stdout] | [INFO] [stdout] 263 | let address_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:285:69 [INFO] [stdout] | [INFO] [stdout] 285 | self.shares = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:307:71 [INFO] [stdout] | [INFO] [stdout] 307 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:316:51 [INFO] [stdout] | [INFO] [stdout] 316 | validator.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:309:73 [INFO] [stdout] | [INFO] [stdout] 309 | self.threshhold = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:318:61 [INFO] [stdout] | [INFO] [stdout] 318 | self.subnet_id = raw_payload[offset..=(offset + 31)].borrow().to_vec(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:312:78 [INFO] [stdout] | [INFO] [stdout] 312 | let address_num: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:353:71 [INFO] [stdout] | [INFO] [stdout] 353 | self.codec_id = extract_u16(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:322:53 [INFO] [stdout] | [INFO] [stdout] 322 | subnet_auth.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:353:51 [INFO] [stdout] | [INFO] [stdout] 353 | validator.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:359:75 [INFO] [stdout] | [INFO] [stdout] 359 | self.output_index = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:356:47 [INFO] [stdout] | [INFO] [stdout] 356 | stake.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:365:76 [INFO] [stdout] | [INFO] [stdout] 365 | let output_type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:435:73 [INFO] [stdout] | [INFO] [stdout] 435 | self.utxo_index = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:359:55 [INFO] [stdout] | [INFO] [stdout] 359 | rewards_owner.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:468:70 [INFO] [stdout] | [INFO] [stdout] 468 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:390:81 [INFO] [stdout] | [INFO] [stdout] 390 | let chain_name_len: u16 = extract_u16(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&u8` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:395:54 [INFO] [stdout] | [INFO] [stdout] 395 | self.chain_name.push(*raw_payload[offset].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:470:69 [INFO] [stdout] | [INFO] [stdout] 470 | self.amount = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:474:79 [INFO] [stdout] | [INFO] [stdout] 474 | let address_index_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:403:77 [INFO] [stdout] | [INFO] [stdout] 403 | let fx_ids_len: u32 = extract_u32(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:413:83 [INFO] [stdout] | [INFO] [stdout] 413 | let genesis_data_len: u32 = extract_u32(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&u8` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:418:54 [INFO] [stdout] | [INFO] [stdout] 418 | self.chain_name.push(*raw_payload[offset].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:479:85 [INFO] [stdout] | [INFO] [stdout] 479 | self.address_indices.push(extract_u32(raw_payload[offset..=(offset + 3)].borrow())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:462:55 [INFO] [stdout] | [INFO] [stdout] 462 | rewards_owner.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:508:70 [INFO] [stdout] | [INFO] [stdout] 508 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:487:70 [INFO] [stdout] | [INFO] [stdout] 487 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:511:84 [INFO] [stdout] | [INFO] [stdout] 511 | let signature_length: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:489:71 [INFO] [stdout] | [INFO] [stdout] 489 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:548:68 [INFO] [stdout] | [INFO] [stdout] 548 | self.fx_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:493:50 [INFO] [stdout] | [INFO] [stdout] 493 | trans_in.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:551:82 [INFO] [stdout] | [INFO] [stdout] 551 | let output_length: usize = extract_u32(raw_payload[offset..=(offset + 3)].borrow()) as usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:516:70 [INFO] [stdout] | [INFO] [stdout] 516 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:556:85 [INFO] [stdout] | [INFO] [stdout] 556 | let output_type_id: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:518:71 [INFO] [stdout] | [INFO] [stdout] 518 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:626:70 [INFO] [stdout] | [INFO] [stdout] 626 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:522:51 [INFO] [stdout] | [INFO] [stdout] 522 | trans_out.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:629:79 [INFO] [stdout] | [INFO] [stdout] 629 | let address_index_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:547:71 [INFO] [stdout] | [INFO] [stdout] 547 | self.codec_id = extract_u16(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:634:85 [INFO] [stdout] | [INFO] [stdout] 634 | self.address_indices.push(extract_u32(raw_payload[offset..=(offset + 3)].borrow())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:550:77 [INFO] [stdout] | [INFO] [stdout] 550 | let tx_type_id: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:597:75 [INFO] [stdout] | [INFO] [stdout] 597 | let cred_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:670:70 [INFO] [stdout] | [INFO] [stdout] 670 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:673:79 [INFO] [stdout] | [INFO] [stdout] 673 | let address_index_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:678:85 [INFO] [stdout] | [INFO] [stdout] 678 | self.address_indices.push(extract_u32(raw_payload[offset..=(offset + 3)].borrow())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:683:71 [INFO] [stdout] | [INFO] [stdout] 683 | self.group_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:686:73 [INFO] [stdout] | [INFO] [stdout] 686 | let payload_len = extract_u32(raw_payload[offset..=(offset + 3)].borrow()) as usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:723:70 [INFO] [stdout] | [INFO] [stdout] 723 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:726:79 [INFO] [stdout] | [INFO] [stdout] 726 | let address_index_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:731:85 [INFO] [stdout] | [INFO] [stdout] 731 | self.address_indices.push(extract_u32(raw_payload[offset..=(offset + 3)].borrow())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:766:70 [INFO] [stdout] | [INFO] [stdout] 766 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:768:73 [INFO] [stdout] | [INFO] [stdout] 768 | self.network_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:773:77 [INFO] [stdout] | [INFO] [stdout] 773 | let output_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:784:76 [INFO] [stdout] | [INFO] [stdout] 784 | let input_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:795:75 [INFO] [stdout] | [INFO] [stdout] 795 | let memo_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:799:75 [INFO] [stdout] | [INFO] [stdout] 799 | self.memo = raw_payload[offset..=(offset + memo_len as usize)].borrow().to_vec(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:898:76 [INFO] [stdout] | [INFO] [stdout] 898 | let input_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:941:77 [INFO] [stdout] | [INFO] [stdout] 941 | let output_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:975:71 [INFO] [stdout] | [INFO] [stdout] 975 | self.codec_id = extract_u16(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:978:77 [INFO] [stdout] | [INFO] [stdout] 978 | let tx_type_id: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/avm/tx_format_impl.rs:1010:75 [INFO] [stdout] | [INFO] [stdout] 1010 | let cred_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:20:69 [INFO] [stdout] | [INFO] [stdout] 20 | self.amount = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:42:69 [INFO] [stdout] | [INFO] [stdout] 42 | self.amount = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:46:68 [INFO] [stdout] | [INFO] [stdout] 46 | self.nonce = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:66:70 [INFO] [stdout] | [INFO] [stdout] 66 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:68:73 [INFO] [stdout] | [INFO] [stdout] 68 | self.network_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:75:77 [INFO] [stdout] | [INFO] [stdout] 75 | let inputs_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:87:77 [INFO] [stdout] | [INFO] [stdout] 87 | let output_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:129:73 [INFO] [stdout] | [INFO] [stdout] 129 | self.network_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:136:76 [INFO] [stdout] | [INFO] [stdout] 136 | let input_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:148:86 [INFO] [stdout] | [INFO] [stdout] 148 | let imported_inputs_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:189:71 [INFO] [stdout] | [INFO] [stdout] 189 | self.codec_id = extract_u16(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:192:77 [INFO] [stdout] | [INFO] [stdout] 192 | let tx_type_id: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:210:75 [INFO] [stdout] | [INFO] [stdout] 210 | let cred_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:37:70 [INFO] [stdout] | [INFO] [stdout] 37 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:40:71 [INFO] [stdout] | [INFO] [stdout] 40 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:43:72 [INFO] [stdout] | [INFO] [stdout] 43 | self.threshold = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:46:73 [INFO] [stdout] | [INFO] [stdout] 46 | let address_num = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:91:78 [INFO] [stdout] | [INFO] [stdout] 91 | let output_type: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:165:73 [INFO] [stdout] | [INFO] [stdout] 165 | self.start_time = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:167:70 [INFO] [stdout] | [INFO] [stdout] 167 | self.endtime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:169:69 [INFO] [stdout] | [INFO] [stdout] 169 | self.weight = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:199:77 [INFO] [stdout] | [INFO] [stdout] 199 | let output_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:233:71 [INFO] [stdout] | [INFO] [stdout] 233 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:236:77 [INFO] [stdout] | [INFO] [stdout] 236 | let sig_indices_len = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:241:81 [INFO] [stdout] | [INFO] [stdout] 241 | self.sig_indices.push(extract_u32(raw_payload[offset..=(offset + 3)].borrow())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:277:51 [INFO] [stdout] | [INFO] [stdout] 277 | validator.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:280:47 [INFO] [stdout] | [INFO] [stdout] 280 | stake.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:283:55 [INFO] [stdout] | [INFO] [stdout] 283 | rewards_owner.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:285:69 [INFO] [stdout] | [INFO] [stdout] 285 | self.shares = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:316:51 [INFO] [stdout] | [INFO] [stdout] 316 | validator.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:318:61 [INFO] [stdout] | [INFO] [stdout] 318 | self.subnet_id = raw_payload[offset..=(offset + 31)].borrow().to_vec(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:322:53 [INFO] [stdout] | [INFO] [stdout] 322 | subnet_auth.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:353:51 [INFO] [stdout] | [INFO] [stdout] 353 | validator.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:356:47 [INFO] [stdout] | [INFO] [stdout] 356 | stake.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:359:55 [INFO] [stdout] | [INFO] [stdout] 359 | rewards_owner.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:390:81 [INFO] [stdout] | [INFO] [stdout] 390 | let chain_name_len: u16 = extract_u16(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&u8` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:395:54 [INFO] [stdout] | [INFO] [stdout] 395 | self.chain_name.push(*raw_payload[offset].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:403:77 [INFO] [stdout] | [INFO] [stdout] 403 | let fx_ids_len: u32 = extract_u32(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:413:83 [INFO] [stdout] | [INFO] [stdout] 413 | let genesis_data_len: u32 = extract_u32(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&u8` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:418:54 [INFO] [stdout] | [INFO] [stdout] 418 | self.chain_name.push(*raw_payload[offset].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:462:55 [INFO] [stdout] | [INFO] [stdout] 462 | rewards_owner.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:487:70 [INFO] [stdout] | [INFO] [stdout] 487 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:489:71 [INFO] [stdout] | [INFO] [stdout] 489 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:493:50 [INFO] [stdout] | [INFO] [stdout] 493 | trans_in.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:516:70 [INFO] [stdout] | [INFO] [stdout] 516 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:518:71 [INFO] [stdout] | [INFO] [stdout] 518 | self.locktime = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:522:51 [INFO] [stdout] | [INFO] [stdout] 522 | trans_out.from_bytes(raw_payload[offset..].borrow(), Some(&mut offset)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:547:71 [INFO] [stdout] | [INFO] [stdout] 547 | self.codec_id = extract_u16(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:550:77 [INFO] [stdout] | [INFO] [stdout] 550 | let tx_type_id: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/pvm/tx_format_impl.rs:597:75 [INFO] [stdout] | [INFO] [stdout] 597 | let cred_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:20:69 [INFO] [stdout] | [INFO] [stdout] 20 | self.amount = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:42:69 [INFO] [stdout] | [INFO] [stdout] 42 | self.amount = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:46:68 [INFO] [stdout] | [INFO] [stdout] 46 | self.nonce = extract_u64(raw_payload[offset..=(offset + 7)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:66:70 [INFO] [stdout] | [INFO] [stdout] 66 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:68:73 [INFO] [stdout] | [INFO] [stdout] 68 | self.network_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:75:77 [INFO] [stdout] | [INFO] [stdout] 75 | let inputs_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:87:77 [INFO] [stdout] | [INFO] [stdout] 87 | let output_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:127:70 [INFO] [stdout] | [INFO] [stdout] 127 | self.type_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:129:73 [INFO] [stdout] | [INFO] [stdout] 129 | self.network_id = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:136:76 [INFO] [stdout] | [INFO] [stdout] 136 | let input_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:148:86 [INFO] [stdout] | [INFO] [stdout] 148 | let imported_inputs_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:189:71 [INFO] [stdout] | [INFO] [stdout] 189 | self.codec_id = extract_u16(raw_payload[offset..=(offset + 1)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:192:77 [INFO] [stdout] | [INFO] [stdout] 192 | let tx_type_id: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&[u8]` instead of borrowing the inner type [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:210:75 [INFO] [stdout] | [INFO] [stdout] 210 | let cred_len: u32 = extract_u32(raw_payload[offset..=(offset + 3)].borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 119 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 119 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.55s [INFO] running `Command { std: "docker" "inspect" "c98fd01c2b6123e21dad8bd9e0a4f276395a7e6ea17e14788bc817c0b1182546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98fd01c2b6123e21dad8bd9e0a4f276395a7e6ea17e14788bc817c0b1182546", kill_on_drop: false }` [INFO] [stdout] c98fd01c2b6123e21dad8bd9e0a4f276395a7e6ea17e14788bc817c0b1182546