[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasad-kumkar%2Fsolana-flashloan" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 50% (5005/9867) Updating files: 51% (5033/9867) Updating files: 52% (5131/9867) Updating files: 53% (5230/9867) Updating files: 54% (5329/9867) Updating files: 55% (5427/9867) Updating files: 56% (5526/9867) Updating files: 57% (5625/9867) Updating files: 58% (5723/9867) Updating files: 59% (5822/9867) Updating files: 60% (5921/9867) Updating files: 61% (6019/9867) Updating files: 62% (6118/9867) Updating files: 63% (6217/9867) Updating files: 64% (6315/9867) Updating files: 65% (6414/9867) Updating files: 66% (6513/9867) Updating files: 67% (6611/9867) Updating files: 68% (6710/9867) Updating files: 69% (6809/9867) Updating files: 70% (6907/9867) Updating files: 71% (7006/9867) Updating files: 72% (7105/9867) Updating files: 73% (7203/9867) Updating files: 74% (7302/9867) Updating files: 75% (7401/9867) Updating files: 76% (7499/9867) Updating files: 77% (7598/9867) Updating files: 78% (7697/9867) Updating files: 79% (7795/9867) Updating files: 80% (7894/9867) Updating files: 81% (7993/9867) Updating files: 82% (8091/9867) Updating files: 83% (8190/9867) Updating files: 84% (8289/9867) Updating files: 85% (8387/9867) Updating files: 86% (8486/9867) Updating files: 87% (8585/9867) Updating files: 88% (8683/9867) Updating files: 89% (8782/9867) Updating files: 90% (8881/9867) Updating files: 91% (8979/9867) Updating files: 92% (9078/9867) Updating files: 93% (9177/9867) Updating files: 94% (9275/9867) Updating files: 95% (9374/9867) Updating files: 96% (9473/9867) Updating files: 96% (9500/9867) Updating files: 97% (9571/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 a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-8/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4642d46b00c40646521d3b01db7b622c97d9069fac89c2d446d32afca45bd610 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4642d46b00c40646521d3b01db7b622c97d9069fac89c2d446d32afca45bd610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4642d46b00c40646521d3b01db7b622c97d9069fac89c2d446d32afca45bd610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4642d46b00c40646521d3b01db7b622c97d9069fac89c2d446d32afca45bd610", kill_on_drop: false }` [INFO] [stdout] 4642d46b00c40646521d3b01db7b622c97d9069fac89c2d446d32afca45bd610 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9b3c6340a6ba99321e15f336838855286fc5ec34641632fee7e9b011c264a86f [INFO] running `Command { std: "docker" "start" "-a" "9b3c6340a6ba99321e15f336838855286fc5ec34641632fee7e9b011c264a86f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [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 semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [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 regex-syntax v0.6.22 [INFO] [stderr] Compiling rustversion v1.0.4 [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 humantime v2.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [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 rand v0.7.3 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling solana-logger v1.5.11 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.1 [INFO] [stderr] Compiling borsh-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 bv v0.11.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling sha2 v0.9.3 [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, [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 is never used: `unpack_u8` [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 2m 06s [INFO] running `Command { std: "docker" "inspect" "9b3c6340a6ba99321e15f336838855286fc5ec34641632fee7e9b011c264a86f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b3c6340a6ba99321e15f336838855286fc5ec34641632fee7e9b011c264a86f", kill_on_drop: false }` [INFO] [stdout] 9b3c6340a6ba99321e15f336838855286fc5ec34641632fee7e9b011c264a86f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b489792a8448b745706e1ab1b6dbfcbe9d8c8593e3f32d8ca50b600d380ae03 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b489792a8448b745706e1ab1b6dbfcbe9d8c8593e3f32d8ca50b600d380ae03", kill_on_drop: false }` [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, [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 is never used: `unpack_u8` [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, [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 is never used: `unpack_u8` [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 2.15s [INFO] running `Command { std: "docker" "inspect" "0b489792a8448b745706e1ab1b6dbfcbe9d8c8593e3f32d8ca50b600d380ae03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b489792a8448b745706e1ab1b6dbfcbe9d8c8593e3f32d8ca50b600d380ae03", kill_on_drop: false }` [INFO] [stdout] 0b489792a8448b745706e1ab1b6dbfcbe9d8c8593e3f32d8ca50b600d380ae03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e482a99925c88ca327db9ecab248effe7067e2f456a0da653dadc051624c112 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1e482a99925c88ca327db9ecab248effe7067e2f456a0da653dadc051624c112", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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, [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 is never used: `unpack_u8` [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.72s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/solana_flashloan_template-bf537ba79e9db24d) [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-04574a70ffc5cb28) [INFO] [stdout] [INFO] [stderr] Doc-tests solana-flashloan-template [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] [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] [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" "1e482a99925c88ca327db9ecab248effe7067e2f456a0da653dadc051624c112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e482a99925c88ca327db9ecab248effe7067e2f456a0da653dadc051624c112", kill_on_drop: false }` [INFO] [stdout] 1e482a99925c88ca327db9ecab248effe7067e2f456a0da653dadc051624c112