[INFO] fetching crate xavax-avalanche 0.2.0... [INFO] checking xavax-avalanche-0.2.0 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate xavax-avalanche 0.2.0 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xavax-avalanche 0.2.0 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tiny-hderive v0.3.0 [INFO] [stderr] Downloaded libsecp256k1 v0.7.2 [INFO] [stderr] Downloaded libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Downloaded memzero v0.1.0 [INFO] [stderr] Downloaded libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Downloaded bech32 v0.8.1 [INFO] [stderr] Downloaded libsecp256k1-core v0.3.0 [INFO] [stderr] Downloaded ripemd v0.1.3 [INFO] [stderr] Downloaded brotli-decompressor v5.0.0 [INFO] [stderr] Downloaded blake3 v1.8.2 [INFO] [stderr] Downloaded brotli v8.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29a59a6aece133d367cead30c829d753301067ec420b437ce945ca660a94fc17 [INFO] running `Command { std: "docker" "start" "-a" "29a59a6aece133d367cead30c829d753301067ec420b437ce945ca660a94fc17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29a59a6aece133d367cead30c829d753301067ec420b437ce945ca660a94fc17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29a59a6aece133d367cead30c829d753301067ec420b437ce945ca660a94fc17", kill_on_drop: false }` [INFO] [stdout] 29a59a6aece133d367cead30c829d753301067ec420b437ce945ca660a94fc17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1bc1735a978cfd82552988144fd69aa76e5b5d02a10a743eee7d1ba3657e374 [INFO] running `Command { std: "docker" "start" "-a" "e1bc1735a978cfd82552988144fd69aa76e5b5d02a10a743eee7d1ba3657e374", kill_on_drop: false }` [INFO] [stderr] Checking any_ascii v0.1.7 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking bs58 v0.4.0 [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 tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.228 [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] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding/cb58.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | let input_sha256 = get_sha256_digest(input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding/cb58.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let mut check: Vec = input.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:64:50 [INFO] [stdout] | [INFO] [stdout] 64 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/evm_atomic/tx_format_impl.rs:187:50 [INFO] [stdout] | [INFO] [stdout] 187 | fn from_bytes(&mut self, raw_payload: &[u8], offset: Option<&mut usize>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding/cb58.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | let input_sha256 = get_sha256_digest(input.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/encoding/cb58.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let mut check: Vec = input.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.31s [INFO] running `Command { std: "docker" "inspect" "e1bc1735a978cfd82552988144fd69aa76e5b5d02a10a743eee7d1ba3657e374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1bc1735a978cfd82552988144fd69aa76e5b5d02a10a743eee7d1ba3657e374", kill_on_drop: false }` [INFO] [stdout] e1bc1735a978cfd82552988144fd69aa76e5b5d02a10a743eee7d1ba3657e374