[INFO] cloning repository https://github.com/prasad-kumkar/solana-flashloan
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prasad-kumkar/solana-flashloan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasad-kumkar%2Fsolana-flashloan", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasad-kumkar%2Fsolana-flashloan'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 119336701198d8f2d519b0f28f862c872f7e8be4
[INFO] testing prasad-kumkar/solana-flashloan against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasad-kumkar%2Fsolana-flashloan" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  97% (9578/9867)
Updating files:  98% (9670/9867)
Updating files:  99% (9769/9867)
Updating files: 100% (9867/9867)
Updating files: 100% (9867/9867), done.
[INFO] validating manifest of git repo https://github.com/prasad-kumkar/solana-flashloan on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/prasad-kumkar/solana-flashloan
[INFO] finished tweaking git repo https://github.com/prasad-kumkar/solana-flashloan
[INFO] tweaked toml for git repo https://github.com/prasad-kumkar/solana-flashloan written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/prasad-kumkar/solana-flashloan already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c9815dbd1660a217cd51f1c9180f6d91c93d998017f18d9a5d7c749ce6e80dab
[INFO] running `Command { std: "docker" "start" "-a" "c9815dbd1660a217cd51f1c9180f6d91c93d998017f18d9a5d7c749ce6e80dab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9815dbd1660a217cd51f1c9180f6d91c93d998017f18d9a5d7c749ce6e80dab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9815dbd1660a217cd51f1c9180f6d91c93d998017f18d9a5d7c749ce6e80dab", kill_on_drop: false }`
[INFO] [stdout] c9815dbd1660a217cd51f1c9180f6d91c93d998017f18d9a5d7c749ce6e80dab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0fff1f229945e7bc80ebac0b5d39b610415be7fb563c61ee07970ac95f230586
[INFO] running `Command { std: "docker" "start" "-a" "0fff1f229945e7bc80ebac0b5d39b610415be7fb563c61ee07970ac95f230586", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling once_cell v1.7.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling feature-probe v0.1.1
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling rustversion v1.0.4
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling ahash v0.4.7
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling zeroize v1.2.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling subtle v2.4.0
[INFO] [stderr]    Compiling hex v0.4.2
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.5.11
[INFO] [stderr]    Compiling solana-frozen-abi v1.5.11
[INFO] [stderr]    Compiling solana-program v1.5.11
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling memmap2 v0.1.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling curve25519-dalek v2.1.2
[INFO] [stderr]    Compiling env_logger v0.8.3
[INFO] [stderr]    Compiling solana-logger v1.5.11
[INFO] [stderr]    Compiling borsh-derive-internal v0.8.1
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.8.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling solana-sdk-macro v1.5.11
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling serde_bytes v0.11.5
[INFO] [stderr]    Compiling bincode v1.3.2
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.3
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling borsh-derive v0.8.1
[INFO] [stderr]    Compiling num_enum_derive v0.5.1
[INFO] [stderr]    Compiling borsh v0.8.1
[INFO] [stderr]    Compiling num_enum v0.5.1
[INFO] [stderr]    Compiling spl-token v3.1.0
[INFO] [stderr]    Compiling solana-flashloan-template v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `borrow::BorrowMut`
[INFO] [stdout]  --> src/instruction.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{convert::TryInto, mem::size_of, borrow::BorrowMut};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rest`
[INFO] [stdout]   --> src/instruction.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let (amount, rest) = Self::unpack_u64(rest)?;
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_rest`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `execute_operation_ix_data_borrowed`
[INFO] [stdout]    --> src/instruction.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let mut execute_operation_ix_data_borrowed = execute_operation_ix_data;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute_operation_ix_data_borrowed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accounts`
[INFO] [stdout]   --> src/processor.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |         accounts: &[AccountInfo],
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> src/processor.rs:98:3
[INFO] [stdout]    |
[INFO] [stdout] 98 |         amount: u64,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `program_id`
[INFO] [stdout]   --> src/processor.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         program_id: &Pubkey,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accounts`
[INFO] [stdout]    --> src/processor.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |         accounts: &[AccountInfo],
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> src/processor.rs:119:3
[INFO] [stdout]     |
[INFO] [stdout] 119 |         amount: u64,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `execute_operation_ix_data`
[INFO] [stdout]    --> src/processor.rs:120:3
[INFO] [stdout]     |
[INFO] [stdout] 120 |         execute_operation_ix_data: Vec<u8>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute_operation_ix_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `program_id`
[INFO] [stdout]    --> src/processor.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |         program_id: &Pubkey,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/instruction.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let mut execute_operation_ix_data_borrowed = execute_operation_ix_data;
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unpack_u8` is never used
[INFO] [stdout]   --> src/instruction.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn unpack_u8(input: &[u8]) -> Result<(u8, &[u8]), ProgramError> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 40.63s
[INFO] running `Command { std: "docker" "inspect" "0fff1f229945e7bc80ebac0b5d39b610415be7fb563c61ee07970ac95f230586", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fff1f229945e7bc80ebac0b5d39b610415be7fb563c61ee07970ac95f230586", kill_on_drop: false }`
[INFO] [stdout] 0fff1f229945e7bc80ebac0b5d39b610415be7fb563c61ee07970ac95f230586
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 12edf9ffe7e1a7a6a889f49df3d0e2874ebd9828a0e96b28f185eb8ad00042f0
[INFO] running `Command { std: "docker" "start" "-a" "12edf9ffe7e1a7a6a889f49df3d0e2874ebd9828a0e96b28f185eb8ad00042f0", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `borrow::BorrowMut`
[INFO] [stdout]  --> src/instruction.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{convert::TryInto, mem::size_of, borrow::BorrowMut};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rest`
[INFO] [stdout]   --> src/instruction.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let (amount, rest) = Self::unpack_u64(rest)?;
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_rest`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `execute_operation_ix_data_borrowed`
[INFO] [stdout]    --> src/instruction.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let mut execute_operation_ix_data_borrowed = execute_operation_ix_data;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute_operation_ix_data_borrowed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accounts`
[INFO] [stdout]   --> src/processor.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |         accounts: &[AccountInfo],
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> src/processor.rs:98:3
[INFO] [stdout]    |
[INFO] [stdout] 98 |         amount: u64,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `program_id`
[INFO] [stdout]   --> src/processor.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         program_id: &Pubkey,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accounts`
[INFO] [stdout]    --> src/processor.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |         accounts: &[AccountInfo],
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling solana-flashloan-template v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> src/processor.rs:119:3
[INFO] [stdout]     |
[INFO] [stdout] 119 |         amount: u64,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `execute_operation_ix_data`
[INFO] [stdout]    --> src/processor.rs:120:3
[INFO] [stdout]     |
[INFO] [stdout] 120 |         execute_operation_ix_data: Vec<u8>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute_operation_ix_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `program_id`
[INFO] [stdout]    --> src/processor.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |         program_id: &Pubkey,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/instruction.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let mut execute_operation_ix_data_borrowed = execute_operation_ix_data;
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unpack_u8` is never used
[INFO] [stdout]   --> src/instruction.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn unpack_u8(input: &[u8]) -> Result<(u8, &[u8]), ProgramError> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::BorrowMut`
[INFO] [stdout]  --> src/instruction.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{convert::TryInto, mem::size_of, borrow::BorrowMut};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rest`
[INFO] [stdout]   --> src/instruction.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let (amount, rest) = Self::unpack_u64(rest)?;
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_rest`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `execute_operation_ix_data_borrowed`
[INFO] [stdout]    --> src/instruction.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let mut execute_operation_ix_data_borrowed = execute_operation_ix_data;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute_operation_ix_data_borrowed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accounts`
[INFO] [stdout]   --> src/processor.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |         accounts: &[AccountInfo],
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> src/processor.rs:98:3
[INFO] [stdout]    |
[INFO] [stdout] 98 |         amount: u64,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `program_id`
[INFO] [stdout]   --> src/processor.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         program_id: &Pubkey,
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accounts`
[INFO] [stdout]    --> src/processor.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |         accounts: &[AccountInfo],
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> src/processor.rs:119:3
[INFO] [stdout]     |
[INFO] [stdout] 119 |         amount: u64,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `execute_operation_ix_data`
[INFO] [stdout]    --> src/processor.rs:120:3
[INFO] [stdout]     |
[INFO] [stdout] 120 |         execute_operation_ix_data: Vec<u8>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute_operation_ix_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `program_id`
[INFO] [stdout]    --> src/processor.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |         program_id: &Pubkey,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/instruction.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let mut execute_operation_ix_data_borrowed = execute_operation_ix_data;
[INFO] [stdout]     |                     ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `unpack_u8` is never used
[INFO] [stdout]   --> src/instruction.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn unpack_u8(input: &[u8]) -> Result<(u8, &[u8]), ProgramError> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.74s
[INFO] running `Command { std: "docker" "inspect" "12edf9ffe7e1a7a6a889f49df3d0e2874ebd9828a0e96b28f185eb8ad00042f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12edf9ffe7e1a7a6a889f49df3d0e2874ebd9828a0e96b28f185eb8ad00042f0", kill_on_drop: false }`
[INFO] [stdout] 12edf9ffe7e1a7a6a889f49df3d0e2874ebd9828a0e96b28f185eb8ad00042f0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cf211b8f0902354fcff7fe86086ddb39ff20f1ea90ac105584177978f6e96e64
[INFO] running `Command { std: "docker" "start" "-a" "cf211b8f0902354fcff7fe86086ddb39ff20f1ea90ac105584177978f6e96e64", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `borrow::BorrowMut`
[INFO] [stderr]  --> src/instruction.rs:4:43
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::{convert::TryInto, mem::size_of, borrow::BorrowMut};
[INFO] [stderr]   |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rest`
[INFO] [stderr]   --> src/instruction.rs:52:18
[INFO] [stderr]    |
[INFO] [stderr] 52 |                 let (amount, rest) = Self::unpack_u64(rest)?;
[INFO] [stderr]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_rest`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `execute_operation_ix_data_borrowed`
[INFO] [stderr]    --> src/instruction.rs:118:13
[INFO] [stderr]     |
[INFO] [stderr] 118 |                 let mut execute_operation_ix_data_borrowed = execute_operation_ix_data;
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute_operation_ix_data_borrowed`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `accounts`
[INFO] [stderr]   --> src/processor.rs:97:9
[INFO] [stderr]    |
[INFO] [stderr] 97 |         accounts: &[AccountInfo],
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `amount`
[INFO] [stderr]   --> src/processor.rs:98:3
[INFO] [stderr]    |
[INFO] [stderr] 98 |         amount: u64,
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `program_id`
[INFO] [stderr]   --> src/processor.rs:99:9
[INFO] [stderr]    |
[INFO] [stderr] 99 |         program_id: &Pubkey,
[INFO] [stderr]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `accounts`
[INFO] [stderr]    --> src/processor.rs:118:9
[INFO] [stderr]     |
[INFO] [stderr] 118 |         accounts: &[AccountInfo],
[INFO] [stderr]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accounts`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `amount`
[INFO] [stderr]    --> src/processor.rs:119:3
[INFO] [stderr]     |
[INFO] [stderr] 119 |         amount: u64,
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `execute_operation_ix_data`
[INFO] [stderr]    --> src/processor.rs:120:3
[INFO] [stderr]     |
[INFO] [stderr] 120 |         execute_operation_ix_data: Vec<u8>,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execute_operation_ix_data`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `program_id`
[INFO] [stderr]    --> src/processor.rs:121:9
[INFO] [stderr]     |
[INFO] [stderr] 121 |         program_id: &Pubkey,
[INFO] [stderr]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_id`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/instruction.rs:118:9
[INFO] [stderr]     |
[INFO] [stderr] 118 |                 let mut execute_operation_ix_data_borrowed = execute_operation_ix_data;
[INFO] [stderr]     |                     ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `unpack_u8` is never used
[INFO] [stderr]   --> src/instruction.rs:85:5
[INFO] [stderr]    |
[INFO] [stderr] 85 |     fn unpack_u8(input: &[u8]) -> Result<(u8, &[u8]), ProgramError> {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `solana-flashloan-template` (lib) generated 12 warnings
[INFO] [stderr] warning: `solana-flashloan-template` (lib test) generated 12 warnings (12 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/solana_flashloan_template-31154cd758187a0c)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-798e7606f9e1c16d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests solana-flashloan-template
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "cf211b8f0902354fcff7fe86086ddb39ff20f1ea90ac105584177978f6e96e64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf211b8f0902354fcff7fe86086ddb39ff20f1ea90ac105584177978f6e96e64", kill_on_drop: false }`
[INFO] [stdout] cf211b8f0902354fcff7fe86086ddb39ff20f1ea90ac105584177978f6e96e64
