[INFO] cloning repository https://github.com/dskydiver/batch_staking_tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dskydiver/batch_staking_tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdskydiver%2Fbatch_staking_tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdskydiver%2Fbatch_staking_tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db882a90789942a7cfe4d6390a9ff7ff3b222385 [INFO] checking dskydiver/batch_staking_tool against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdskydiver%2Fbatch_staking_tool" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dskydiver/batch_staking_tool on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dskydiver/batch_staking_tool [INFO] finished tweaking git repo https://github.com/dskydiver/batch_staking_tool [INFO] tweaked toml for git repo https://github.com/dskydiver/batch_staking_tool written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dskydiver/batch_staking_tool already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc2/source/programs/staking-tool/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64c252f195e218604fd5efe13d9ee4255cd2f5b3ab6cb53d0cc0120ba73529af [INFO] running `Command { std: "docker" "start" "-a" "64c252f195e218604fd5efe13d9ee4255cd2f5b3ab6cb53d0cc0120ba73529af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64c252f195e218604fd5efe13d9ee4255cd2f5b3ab6cb53d0cc0120ba73529af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64c252f195e218604fd5efe13d9ee4255cd2f5b3ab6cb53d0cc0120ba73529af", kill_on_drop: false }` [INFO] [stdout] 64c252f195e218604fd5efe13d9ee4255cd2f5b3ab6cb53d0cc0120ba73529af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5834a999bfb34defd5a776b5ab23b2dcfbcf2dbb2eb0dc3c75c9ead97639dbfc [INFO] running `Command { std: "docker" "start" "-a" "5834a999bfb34defd5a776b5ab23b2dcfbcf2dbb2eb0dc3c75c9ead97639dbfc", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/programs/staking-tool/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.17 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling solana-frozen-abi v1.9.17 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking memmap2 v0.5.3 [INFO] [stderr] Compiling solana-program v1.9.17 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Checking solana-logger v1.9.17 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.1.0 [INFO] [stderr] Compiling solana-sdk-macro v1.9.17 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling anchor-syn v0.24.2 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stderr] Compiling anchor-attribute-constant v0.24.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.24.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.24.2 [INFO] [stderr] Compiling anchor-attribute-state v0.24.2 [INFO] [stderr] Compiling anchor-attribute-account v0.24.2 [INFO] [stderr] Compiling anchor-attribute-error v0.24.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.24.2 [INFO] [stderr] Compiling anchor-attribute-event v0.24.2 [INFO] [stderr] Compiling anchor-attribute-program v0.24.2 [INFO] [stderr] Checking spl-token v3.3.0 [INFO] [stderr] Checking anchor-lang v0.24.2 [INFO] [stderr] Checking spl-associated-token-account v1.0.5 [INFO] [stderr] Checking anchor-spl v0.24.2 [INFO] [stderr] Checking staking-tool v0.1.0 (/opt/rustwide/workdir/programs/staking-tool) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> programs/staking-tool/src/structures/cancel_staking.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `id`, `state` [INFO] [stdout] --> programs/staking-tool/src/processor/create_stake.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{error, id, state, utils}; [INFO] [stdout] | ^^^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MintTo`, `SetAuthority`, `Transfer` [INFO] [stdout] --> programs/staking-tool/src/processor/create_stake.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | MintTo, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Transfer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | SetAuthority, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_token::instruction::AuthorityType` [INFO] [stdout] --> programs/staking-tool/src/processor/create_stake.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use spl_token::instruction::AuthorityType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `id`, `state` [INFO] [stdout] --> programs/staking-tool/src/processor/enter_staking.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{error, id, state, utils}; [INFO] [stdout] | ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MintTo`, `SetAuthority`, `Transfer` [INFO] [stdout] --> programs/staking-tool/src/processor/enter_staking.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | MintTo, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Transfer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | SetAuthority, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `id`, `state` [INFO] [stdout] --> programs/staking-tool/src/processor/claim_rewards.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{error, id, state, utils}; [INFO] [stdout] | ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StakeStatus`, `StakeType` [INFO] [stdout] --> programs/staking-tool/src/processor/claim_rewards.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | StakeStatus, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | StakeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MintTo`, `SetAuthority` [INFO] [stdout] --> programs/staking-tool/src/processor/claim_rewards.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | MintTo, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Transfer, [INFO] [stdout] 13 | SetAuthority, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `id`, `state` [INFO] [stdout] --> programs/staking-tool/src/processor/cancel_staking.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{error, id, state, utils}; [INFO] [stdout] | ^^^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StakeStatus`, `StakeType` [INFO] [stdout] --> programs/staking-tool/src/processor/cancel_staking.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | StakeStatus, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | StakeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MintTo`, `SetAuthority` [INFO] [stdout] --> programs/staking-tool/src/processor/cancel_staking.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | MintTo, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Transfer, [INFO] [stdout] 13 | SetAuthority, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenAccount`, `Token` [INFO] [stdout] --> programs/staking-tool/src/lib.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use anchor_spl::token::{Token, TokenAccount}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> programs/staking-tool/src/structures/cancel_staking.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `id`, `state` [INFO] [stdout] --> programs/staking-tool/src/processor/create_stake.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{error, id, state, utils}; [INFO] [stdout] | ^^^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MintTo`, `SetAuthority`, `Transfer` [INFO] [stdout] --> programs/staking-tool/src/processor/create_stake.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | MintTo, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Transfer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | SetAuthority, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_token::instruction::AuthorityType` [INFO] [stdout] --> programs/staking-tool/src/processor/create_stake.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use spl_token::instruction::AuthorityType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `id`, `state` [INFO] [stdout] --> programs/staking-tool/src/processor/enter_staking.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{error, id, state, utils}; [INFO] [stdout] | ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MintTo`, `SetAuthority`, `Transfer` [INFO] [stdout] --> programs/staking-tool/src/processor/enter_staking.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | MintTo, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Transfer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | SetAuthority, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `id`, `state` [INFO] [stdout] --> programs/staking-tool/src/processor/claim_rewards.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{error, id, state, utils}; [INFO] [stdout] | ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StakeStatus`, `StakeType` [INFO] [stdout] --> programs/staking-tool/src/processor/claim_rewards.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | StakeStatus, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | StakeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MintTo`, `SetAuthority` [INFO] [stdout] --> programs/staking-tool/src/processor/claim_rewards.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | MintTo, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Transfer, [INFO] [stdout] 13 | SetAuthority, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `id`, `state` [INFO] [stdout] --> programs/staking-tool/src/processor/cancel_staking.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{error, id, state, utils}; [INFO] [stdout] | ^^^^^ ^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StakeStatus`, `StakeType` [INFO] [stdout] --> programs/staking-tool/src/processor/cancel_staking.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | StakeStatus, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | StakeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MintTo`, `SetAuthority` [INFO] [stdout] --> programs/staking-tool/src/processor/cancel_staking.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | MintTo, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Transfer, [INFO] [stdout] 13 | SetAuthority, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenAccount`, `Token` [INFO] [stdout] --> programs/staking-tool/src/lib.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use anchor_spl::token::{Token, TokenAccount}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> programs/staking-tool/src/processor/cancel_staking.rs:47:90 [INFO] [stdout] | [INFO] [stdout] 47 | let cpi_ctx = CpiContext::new_with_signer(cpi_program, cpi_accounts, signer_seeds.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `staking-tool` (lib test) due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> programs/staking-tool/src/processor/cancel_staking.rs:47:90 [INFO] [stdout] | [INFO] [stdout] 47 | let cpi_ctx = CpiContext::new_with_signer(cpi_program, cpi_accounts, signer_seeds.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `staking-tool` (lib) due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5834a999bfb34defd5a776b5ab23b2dcfbcf2dbb2eb0dc3c75c9ead97639dbfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5834a999bfb34defd5a776b5ab23b2dcfbcf2dbb2eb0dc3c75c9ead97639dbfc", kill_on_drop: false }` [INFO] [stdout] 5834a999bfb34defd5a776b5ab23b2dcfbcf2dbb2eb0dc3c75c9ead97639dbfc