[INFO] cloning repository https://github.com/alizeeshan1234/decentralized-lending-borrowing-pinocchio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alizeeshan1234/decentralized-lending-borrowing-pinocchio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falizeeshan1234%2Fdecentralized-lending-borrowing-pinocchio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falizeeshan1234%2Fdecentralized-lending-borrowing-pinocchio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ab2109c984c29d7d339031f0b430dad5a02a0fe [INFO] testing alizeeshan1234/decentralized-lending-borrowing-pinocchio against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falizeeshan1234%2Fdecentralized-lending-borrowing-pinocchio" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 72% (2572/3541) Updating files: 73% (2585/3541) Updating files: 74% (2621/3541) Updating files: 75% (2656/3541) Updating files: 76% (2692/3541) Updating files: 77% (2727/3541) Updating files: 78% (2762/3541) Updating files: 79% (2798/3541) Updating files: 80% (2833/3541) Updating files: 80% (2850/3541) Updating files: 81% (2869/3541) Updating files: 82% (2904/3541) Updating files: 83% (2940/3541) Updating files: 84% (2975/3541) Updating files: 85% (3010/3541) Updating files: 86% (3046/3541) Updating files: 87% (3081/3541) Updating files: 88% (3117/3541) Updating files: 89% (3152/3541) Updating files: 90% (3187/3541) Updating files: 91% (3223/3541) Updating files: 92% (3258/3541) Updating files: 93% (3294/3541) Updating files: 94% (3329/3541) Updating files: 95% (3364/3541) Updating files: 96% (3400/3541) Updating files: 97% (3435/3541) Updating files: 97% (3436/3541) Updating files: 98% (3471/3541) Updating files: 99% (3506/3541) Updating files: 100% (3541/3541) Updating files: 100% (3541/3541), done. [INFO] started tweaking git repo https://github.com/alizeeshan1234/decentralized-lending-borrowing-pinocchio [INFO] finished tweaking git repo https://github.com/alizeeshan1234/decentralized-lending-borrowing-pinocchio [INFO] tweaked toml for git repo https://github.com/alizeeshan1234/decentralized-lending-borrowing-pinocchio written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alizeeshan1234/decentralized-lending-borrowing-pinocchio on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alizeeshan1234/decentralized-lending-borrowing-pinocchio 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aacfdc74958a95051e3f5edab2bf71c9c4ecfb9a7abe0ed1f6f1ded972c3bb96 [INFO] running `Command { std: "docker" "start" "-a" "aacfdc74958a95051e3f5edab2bf71c9c4ecfb9a7abe0ed1f6f1ded972c3bb96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aacfdc74958a95051e3f5edab2bf71c9c4ecfb9a7abe0ed1f6f1ded972c3bb96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aacfdc74958a95051e3f5edab2bf71c9c4ecfb9a7abe0ed1f6f1ded972c3bb96", kill_on_drop: false }` [INFO] [stdout] aacfdc74958a95051e3f5edab2bf71c9c4ecfb9a7abe0ed1f6f1ded972c3bb96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 909cce4a42391c8f11ccf44e988329a1eeb2f443800beea6ea6b9be4c389c6e0 [INFO] running `Command { std: "docker" "start" "-a" "909cce4a42391c8f11ccf44e988329a1eeb2f443800beea6ea6b9be4c389c6e0", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling five8_core v0.1.2 [INFO] [stderr] Compiling pinocchio v0.9.0 [INFO] [stderr] Compiling sha2-const-stable v0.1.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling five8_const v0.1.4 [INFO] [stderr] Compiling pinocchio-pubkey v0.3.0 [INFO] [stderr] Compiling pinocchio-token v0.4.0 [INFO] [stderr] Compiling pinocchio-system v0.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling pinocchio-log-macro v0.5.0 [INFO] [stderr] Compiling pinocchio-log v0.5.0 [INFO] [stderr] Compiling shank_macro_impl v0.4.3 [INFO] [stderr] Compiling shank_render v0.4.3 [INFO] [stderr] Compiling shank_macro v0.4.3 [INFO] [stderr] Compiling shank v0.4.3 [INFO] [stderr] Compiling pinocchio-decentralized-lending v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_panic_handler` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `instruction::Instruction` and `sysvars::instructions::Instructions` [INFO] [stdout] --> src/lib.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | ...:AccountInfo, instruction::Instruction, program_error::ProgramError, pubkey::Pubkey, sysvars::instructions::Instructions, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pinocchio_system::*` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pinocchio_system::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `init_liquidity_pool` [INFO] [stdout] --> src/lib.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::instructions::{borrow_funds, init_liquidity_pool, initialize_liquidity_pool, initialize_liquidity_provider, liquidate_collater... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/states/liquidity_provider_info.rs:1:89 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::AccountInfo, pubkey::Pubkey, program_error::ProgramError, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/states/borrow.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::AccountInfo, pubkey::Pubkey, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pubkey` [INFO] [stdout] --> src/instructions/init_liquidity_pool.rs:1:88 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::AccountInfo, program_error::ProgramError, pubkey::{self, Pubkey}, sysvars::{clock::Clock, rent::Rent, Sysva... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `liquidity_pool` [INFO] [stdout] --> src/instructions/init_liquidity_pool.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::states::{liquidity_pool, LiquidityPool}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pubkey` and `clock::Clock` [INFO] [stdout] --> src/instructions/init_liquidity_provider.rs:1:88 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::AccountInfo, program_error::ProgramError, pubkey::{self, Pubkey}, sysvars::{clock::Clock, rent::Rent, Sysva... [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MintToChecked` and `TokenAccount` [INFO] [stdout] --> src/instructions/borrow.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | instructions::{MintToChecked, TransferChecked}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | state::{Mint, TokenAccount}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MintToChecked` [INFO] [stdout] --> src/instructions/liquidate.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | instructions::{MintToChecked, TransferChecked}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LiquidityProviderInfo` and `liquidity_pool` [INFO] [stdout] --> src/instructions/liquidate.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::states::{liquidity_pool, BorrowDuration, BorrowInfo, LiquidityPool, LiquidityProviderInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MintToChecked` [INFO] [stdout] --> src/instructions/repay_funds.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | instructions::{MintToChecked, TransferChecked}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LiquidityProviderInfo` [INFO] [stdout] --> src/instructions/repay_funds.rs:8:48 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::states::{BorrowInfo, LiquidityPool, LiquidityProviderInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system_program` [INFO] [stdout] --> src/instructions/init_liquidity_pool.rs:10:134 [INFO] [stdout] | [INFO] [stdout] 10 | ...ault_a, fee_vault_b, system_program, token_program, rent_sysvar] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lp_token_mint_bump` [INFO] [stdout] --> src/instructions/init_liquidity_pool.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | let (lp_token_mint_pda, lp_token_mint_bump) = pubkey::find_program_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lp_token_mint_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system_program` [INFO] [stdout] --> src/instructions/init_liquidity_provider.rs:6:59 [INFO] [stdout] | [INFO] [stdout] 6 | let [provider, liquidity_pool, provider_info_account, system_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bump` [INFO] [stdout] --> src/instructions/init_liquidity_provider.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | let (expected_pda, bump) = pubkey::find_program_address( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `liquidity_pool_bump` [INFO] [stdout] --> src/instructions/init_liquidity_provider.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let (liquidity_pool_pda, liquidity_pool_bump) = pubkey::find_program_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liquidity_pool_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system_program` [INFO] [stdout] --> src/instructions/borrow.rs:13:154 [INFO] [stdout] | [INFO] [stdout] 13 | ...lt_a, token_vault_b, system_program, token_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_program` [INFO] [stdout] --> src/instructions/borrow.rs:13:170 [INFO] [stdout] | [INFO] [stdout] 13 | ...lt_b, system_program, token_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/instructions/liquidate.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | _ => 10 [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/instructions/liquidate.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 43 | BorrowDuration::TenDays => 10, [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 44 | BorrowDuration::TwentyDays => 20, [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] 45 | BorrowDuration::ThirtyDays => 30, [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] 46 | _ => 10 [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loan_mint` [INFO] [stdout] --> src/instructions/liquidate.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | let [liquidator, borrower, loan_mint, collateral_mint, borrower_account_info, liquidity_pool, token_vault_a, token_vault_b, fee_vault... [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loan_mint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_vault_a` [INFO] [stdout] --> src/instructions/liquidate.rs:12:99 [INFO] [stdout] | [INFO] [stdout] 12 | ...info, liquidity_pool, token_vault_a, token_vault_b, fee_vault_a, fee_vault_b, borrower_collateral_ata, liquidator_collateral_ata, toke... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_vault_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_vault_b` [INFO] [stdout] --> src/instructions/liquidate.rs:12:114 [INFO] [stdout] | [INFO] [stdout] 12 | ..._pool, token_vault_a, token_vault_b, fee_vault_a, fee_vault_b, borrower_collateral_ata, liquidator_collateral_ata, token_program, asso... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_vault_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fee_vault_a` [INFO] [stdout] --> src/instructions/liquidate.rs:12:129 [INFO] [stdout] | [INFO] [stdout] 12 | ...vault_a, token_vault_b, fee_vault_a, fee_vault_b, borrower_collateral_ata, liquidator_collateral_ata, token_program, associated_token_... [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fee_vault_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fee_vault_b` [INFO] [stdout] --> src/instructions/liquidate.rs:12:142 [INFO] [stdout] | [INFO] [stdout] 12 | ...n_vault_b, fee_vault_a, fee_vault_b, borrower_collateral_ata, liquidator_collateral_ata, token_program, associated_token_program, syst... [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fee_vault_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_program` [INFO] [stdout] --> src/instructions/liquidate.rs:12:207 [INFO] [stdout] | [INFO] [stdout] 12 | ...dator_collateral_ata, token_program, associated_token_program, system_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `associated_token_program` [INFO] [stdout] --> src/instructions/liquidate.rs:12:222 [INFO] [stdout] | [INFO] [stdout] 12 | ...n_program, associated_token_program, system_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_associated_token_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system_program` [INFO] [stdout] --> src/instructions/liquidate.rs:12:248 [INFO] [stdout] | [INFO] [stdout] 12 | ...iated_token_program, system_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_program` [INFO] [stdout] --> src/instructions/repay_funds.rs:12:180 [INFO] [stdout] | [INFO] [stdout] 12 | ...rower_collateral_ata, token_program, associated_token_program, system_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `associated_token_program` [INFO] [stdout] --> src/instructions/repay_funds.rs:12:195 [INFO] [stdout] | [INFO] [stdout] 12 | ...n_program, associated_token_program, system_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_associated_token_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system_program` [INFO] [stdout] --> src/instructions/repay_funds.rs:12:221 [INFO] [stdout] | [INFO] [stdout] 12 | ...iated_token_program, system_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wanted_mint_info` [INFO] [stdout] --> src/instructions/repay_funds.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let wanted_mint_info = Mint::from_account_info(wanted_mint)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wanted_mint_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collateral_decimals` [INFO] [stdout] --> src/instructions/repay_funds.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | let (collateral_vault, collateral_mint, collateral_decimals) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collateral_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.54s [INFO] running `Command { std: "docker" "inspect" "909cce4a42391c8f11ccf44e988329a1eeb2f443800beea6ea6b9be4c389c6e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "909cce4a42391c8f11ccf44e988329a1eeb2f443800beea6ea6b9be4c389c6e0", kill_on_drop: false }` [INFO] [stdout] 909cce4a42391c8f11ccf44e988329a1eeb2f443800beea6ea6b9be4c389c6e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1243e8d13830f599b0f8e3645a7890123697fea4bc1d5718aaa8cde266685b8e [INFO] running `Command { std: "docker" "start" "-a" "1243e8d13830f599b0f8e3645a7890123697fea4bc1d5718aaa8cde266685b8e", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling five8 v0.2.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling solana-sanitize v2.2.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling solana-msg v2.2.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling solana-program-memory v2.3.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling solana-decode-error v2.3.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling solana-precompile-error v2.2.2 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-src v300.5.1+3.5.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling solana-time-utils v2.2.1 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling solana-native-token v2.3.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling solana-svm-feature-set v2.3.6 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling solana-seed-phrase v2.2.1 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/b83b707f97d809763b7861afa7638871f3339a33/bin/rustc --crate-name syn --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.104/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="fold"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="visit"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=eb29080493495b94 -C extra-filename=-03a10d391cb0970f --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-09040b10b620fa15.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-bff949ffe258c67d.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-b3925cc8f83e9ac1.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1243e8d13830f599b0f8e3645a7890123697fea4bc1d5718aaa8cde266685b8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1243e8d13830f599b0f8e3645a7890123697fea4bc1d5718aaa8cde266685b8e", kill_on_drop: false }` [INFO] [stdout] 1243e8d13830f599b0f8e3645a7890123697fea4bc1d5718aaa8cde266685b8e