[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] checking prasad-kumkar/solana-flashloan against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasad-kumkar%2Fsolana-flashloan" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 97% (9576/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 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.7.0 [INFO] [stderr] Downloaded spl-token v3.1.0 [INFO] [stderr] Downloaded borsh-derive v0.8.1 [INFO] [stderr] Downloaded borsh v0.8.1 [INFO] [stderr] Downloaded borsh-derive-internal v0.8.1 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.8.1 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.5.11 [INFO] [stderr] Downloaded solana-logger v1.5.11 [INFO] [stderr] Downloaded solana-sdk-macro v1.5.11 [INFO] [stderr] Downloaded solana-frozen-abi v1.5.11 [INFO] [stderr] Downloaded solana-program v1.5.11 [INFO] [stderr] Downloaded curve25519-dalek v2.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2e0b703bceed1779171066efb4f4aedd132caf2b4c4e7eccb05226a93920b82 [INFO] running `Command { std: "docker" "start" "-a" "d2e0b703bceed1779171066efb4f4aedd132caf2b4c4e7eccb05226a93920b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2e0b703bceed1779171066efb4f4aedd132caf2b4c4e7eccb05226a93920b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e0b703bceed1779171066efb4f4aedd132caf2b4c4e7eccb05226a93920b82", kill_on_drop: false }` [INFO] [stdout] d2e0b703bceed1779171066efb4f4aedd132caf2b4c4e7eccb05226a93920b82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c9c5104ade7d09e6a3c8cb57e8ccba3bf682e5cdf19b5c9c2786c593afabe38 [INFO] running `Command { std: "docker" "start" "-a" "7c9c5104ade7d09e6a3c8cb57e8ccba3bf682e5cdf19b5c9c2786c593afabe38", kill_on_drop: false }` [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] Checking once_cell v1.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.5.11 [INFO] [stderr] Compiling solana-frozen-abi v1.5.11 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling solana-program v1.5.11 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking 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 derivative v2.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.5.11 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking 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] Checking borsh v0.8.1 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking spl-token v3.1.0 [INFO] [stderr] Checking 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 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: `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: 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: 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: 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: 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: `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: `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: 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: associated function `unpack_u8` is never used [INFO] [stdout] --> src/instruction.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 44 | impl MyFlashloanProgramInstruction { [INFO] [stdout] | ---------------------------------- associated function in this implementation [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: 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: associated function `unpack_u8` is never used [INFO] [stdout] --> src/instruction.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 44 | impl MyFlashloanProgramInstruction { [INFO] [stdout] | ---------------------------------- associated function in this implementation [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.82s [INFO] running `Command { std: "docker" "inspect" "7c9c5104ade7d09e6a3c8cb57e8ccba3bf682e5cdf19b5c9c2786c593afabe38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c9c5104ade7d09e6a3c8cb57e8ccba3bf682e5cdf19b5c9c2786c593afabe38", kill_on_drop: false }` [INFO] [stdout] 7c9c5104ade7d09e6a3c8cb57e8ccba3bf682e5cdf19b5c9c2786c593afabe38 [INFO] checking prasad-kumkar/solana-flashloan against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasad-kumkar%2Fsolana-flashloan" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 84% (8346/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: 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 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebbbf25c670b87702e64251f2c21b889a1965ab0bd6120f4b7fabdf90ea5af5a [INFO] running `Command { std: "docker" "start" "-a" "ebbbf25c670b87702e64251f2c21b889a1965ab0bd6120f4b7fabdf90ea5af5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebbbf25c670b87702e64251f2c21b889a1965ab0bd6120f4b7fabdf90ea5af5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebbbf25c670b87702e64251f2c21b889a1965ab0bd6120f4b7fabdf90ea5af5a", kill_on_drop: false }` [INFO] [stdout] ebbbf25c670b87702e64251f2c21b889a1965ab0bd6120f4b7fabdf90ea5af5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56e00c70a8af64bdce8b7d279df705fe84d6c1c641a2f2252357177147143a9a [INFO] running `Command { std: "docker" "start" "-a" "56e00c70a8af64bdce8b7d279df705fe84d6c1c641a2f2252357177147143a9a", kill_on_drop: false }` [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] Checking once_cell v1.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.5.11 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling solana-frozen-abi v1.5.11 [INFO] [stderr] Compiling solana-program v1.5.11 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking 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 solana-sdk-macro v1.5.11 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Compiling toml v0.5.8 [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] Checking borsh v0.8.1 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking spl-token v3.1.0 [INFO] [stderr] Checking 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 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: 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: 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: `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: associated function `unpack_u8` is never used [INFO] [stdout] --> src/instruction.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 44 | impl MyFlashloanProgramInstruction { [INFO] [stdout] | ---------------------------------- associated function in this implementation [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: 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: 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: 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: associated function `unpack_u8` is never used [INFO] [stdout] --> src/instruction.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 44 | impl MyFlashloanProgramInstruction { [INFO] [stdout] | ---------------------------------- associated function in this implementation [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.86s [INFO] running `Command { std: "docker" "inspect" "56e00c70a8af64bdce8b7d279df705fe84d6c1c641a2f2252357177147143a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56e00c70a8af64bdce8b7d279df705fe84d6c1c641a2f2252357177147143a9a", kill_on_drop: false }` [INFO] [stdout] 56e00c70a8af64bdce8b7d279df705fe84d6c1c641a2f2252357177147143a9a