[INFO] cloning repository https://github.com/taprwhiz/solana-nft-farming-program
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/taprwhiz/solana-nft-farming-program" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaprwhiz%2Fsolana-nft-farming-program", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaprwhiz%2Fsolana-nft-farming-program'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a8711f6cd26bda42e27b6ca4d63fd52a74ab7406
[INFO] checking taprwhiz/solana-nft-farming-program against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaprwhiz%2Fsolana-nft-farming-program" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/taprwhiz/solana-nft-farming-program
[INFO] finished tweaking git repo https://github.com/taprwhiz/solana-nft-farming-program
[INFO] tweaked toml for git repo https://github.com/taprwhiz/solana-nft-farming-program written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/taprwhiz/solana-nft-farming-program on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/taprwhiz/solana-nft-farming-program 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded solana-sdk-macro v1.8.7
[INFO] [stderr]   Downloaded proc-macro2 v1.0.33
[INFO] [stderr]   Downloaded zeroize v1.4.3
[INFO] [stderr]   Downloaded spl-token v3.2.0
[INFO] [stderr]   Downloaded solana-frozen-abi-macro v1.8.7
[INFO] [stderr]   Downloaded solana-logger v1.8.7
[INFO] [stderr]   Downloaded anchor-attribute-access-control v0.18.2
[INFO] [stderr]   Downloaded borsh-derive-internal v0.9.1
[INFO] [stderr]   Downloaded anchor-attribute-program v0.18.2
[INFO] [stderr]   Downloaded anchor-attribute-account v0.18.2
[INFO] [stderr]   Downloaded borsh-derive v0.9.1
[INFO] [stderr]   Downloaded borsh v0.9.1
[INFO] [stderr]   Downloaded borsh-schema-derive-internal v0.9.1
[INFO] [stderr]   Downloaded solana-frozen-abi v1.8.7
[INFO] [stderr]   Downloaded anchor-syn v0.18.2
[INFO] [stderr]   Downloaded anchor-attribute-error v0.18.2
[INFO] [stderr]   Downloaded anchor-attribute-event v0.18.2
[INFO] [stderr]   Downloaded anchor-attribute-interface v0.18.2
[INFO] [stderr]   Downloaded anchor-attribute-state v0.18.2
[INFO] [stderr]   Downloaded anchor-derive-accounts v0.18.2
[INFO] [stderr]   Downloaded anchor-lang v0.18.2
[INFO] [stderr]   Downloaded anchor-spl v0.18.2
[INFO] [stderr]   Downloaded solana-program v1.8.7
[INFO] [stderr]   Downloaded libc v0.2.109
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6e3236de0f85a82d96a945455ce14ed4efb760128860c69b61182e7c0e54c01a
[INFO] running `Command { std: "docker" "start" "-a" "6e3236de0f85a82d96a945455ce14ed4efb760128860c69b61182e7c0e54c01a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6e3236de0f85a82d96a945455ce14ed4efb760128860c69b61182e7c0e54c01a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e3236de0f85a82d96a945455ce14ed4efb760128860c69b61182e7c0e54c01a", kill_on_drop: false }`
[INFO] [stdout] 6e3236de0f85a82d96a945455ce14ed4efb760128860c69b61182e7c0e54c01a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] afa75b7bcf3ba8b1d56e23e948bb7df967c97ca62870a8e4728191cc54cfb99c
[INFO] running `Command { std: "docker" "start" "-a" "afa75b7bcf3ba8b1d56e23e948bb7df967c97ca62870a8e4728191cc54cfb99c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.33
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling libc v0.2.109
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling ryu v1.0.6
[INFO] [stderr]    Compiling serde_json v1.0.72
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling anyhow v1.0.51
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling yansi v0.5.0
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.8.7
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]    Compiling solana-frozen-abi v1.8.7
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking ahash v0.4.7
[INFO] [stderr]    Compiling solana-program v1.8.7
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking keccak v0.1.0
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking zeroize v1.4.3
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling quote v1.0.10
[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.5.4
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling blake3 v0.3.8
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking curve25519-dalek v2.1.3
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking solana-logger v1.8.7
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.1
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling bytemuck_derive v1.0.1
[INFO] [stderr]    Compiling solana-sdk-macro v1.8.7
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking bytemuck v1.7.2
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]     Checking bv v0.11.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking serde_bytes v0.11.5
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking sha2 v0.9.8
[INFO] [stderr]     Checking libsecp256k1-core v0.2.2
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling proc-macro-crate v1.1.0
[INFO] [stderr]    Compiling anchor-syn v0.18.2
[INFO] [stderr]    Compiling num_enum_derive v0.5.4
[INFO] [stderr]    Compiling borsh-derive v0.9.1
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]     Checking borsh v0.9.1
[INFO] [stderr]    Compiling libsecp256k1 v0.5.0
[INFO] [stderr]     Checking num_enum v0.5.4
[INFO] [stderr]    Compiling anchor-attribute-program v0.18.2
[INFO] [stderr]    Compiling anchor-attribute-event v0.18.2
[INFO] [stderr]    Compiling anchor-attribute-error v0.18.2
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.18.2
[INFO] [stderr]    Compiling anchor-attribute-state v0.18.2
[INFO] [stderr]    Compiling anchor-derive-accounts v0.18.2
[INFO] [stderr]    Compiling anchor-attribute-account v0.18.2
[INFO] [stderr]    Compiling anchor-attribute-interface v0.18.2
[INFO] [stderr]     Checking spl-token v3.2.0
[INFO] [stderr]     Checking anchor-lang v0.18.2
[INFO] [stderr]     Checking spl-associated-token-account v1.0.3
[INFO] [stderr]     Checking anchor-spl v0.18.2
[INFO] [stderr]     Checking nftfarming v0.1.0 (/opt/rustwide/workdir/programs/nftfarming)
[INFO] [stdout] error: payer must be provided when initializing an account
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         init,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: payer must be provided when initializing an account
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         init,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:227:33
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pool_signer: Account<'info, Signer>,
[INFO] [stdout]     |                                 ^^^^^^ expected named lifetime parameter
[INFO] [stdout]     |
[INFO] [stdout] help: consider using the `'info` lifetime
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pool_signer: Account<'info, Signer<'info>>,
[INFO] [stdout]     |                                       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:227:33
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pool_signer: Account<'info, Signer>,
[INFO] [stdout]     |                                 ^^^^^^ expected named lifetime parameter
[INFO] [stdout]     |
[INFO] [stdout] help: consider using the `'info` lifetime
[INFO] [stdout]     |
[INFO] [stdout] 227 |     pool_signer: Account<'info, Signer<'info>>,
[INFO] [stdout]     |                                       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap`
[INFO] [stdout]   --> programs/nftfarming/src/lib.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[program]
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[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::custom_heap_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic`
[INFO] [stdout]   --> programs/nftfarming/src/lib.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[program]
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[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::custom_panic_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::constants::*`
[INFO] [stdout]  --> programs/nftfarming/src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::constants::*;
[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: `sysvar`
[INFO] [stdout]  --> programs/nftfarming/src/lib.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anchor_lang::solana_program::{sysvar, clock, program_option::COption};
[INFO] [stdout]   |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap`
[INFO] [stdout]   --> programs/nftfarming/src/lib.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[program]
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[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::custom_heap_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug`
[INFO] [stdout]   --> programs/nftfarming/src/lib.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[program]
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `program` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:237:10
[INFO] [stdout]     |
[INFO] [stdout] 237 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic`
[INFO] [stdout]   --> programs/nftfarming/src/lib.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[program]
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[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::custom_panic_default` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::constants::*`
[INFO] [stdout]  --> programs/nftfarming/src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::constants::*;
[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: `sysvar`
[INFO] [stdout]  --> programs/nftfarming/src/lib.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anchor_lang::solana_program::{sysvar, clock, program_option::COption};
[INFO] [stdout]   |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug`
[INFO] [stdout]   --> programs/nftfarming/src/lib.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[program]
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `program` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:237:10
[INFO] [stdout]     |
[INFO] [stdout] 237 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:317:10
[INFO] [stdout]     |
[INFO] [stdout] 317 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:341:10
[INFO] [stdout]     |
[INFO] [stdout] 341 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:317:10
[INFO] [stdout]     |
[INFO] [stdout] 317 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:341:10
[INFO] [stdout]     |
[INFO] [stdout] 341 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl`
[INFO] [stdout]     = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `InitializePool<'info>` in the current scope
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:51:1
[INFO] [stdout]     |
[INFO] [stdout]  51 | #[program]
[INFO] [stdout]     | ^^^^^^^^^^ function or associated item not found in `InitializePool<'_>`
[INFO] [stdout] ...
[INFO] [stdout] 209 | pub struct InitializePool<'info> {
[INFO] [stdout]     | -------------------------------- function or associated item `try_accounts` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `try_accounts`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `anchor_lang::Accounts`
[INFO] [stdout]     = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `InitializePool<'info>` in the current scope
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:51:1
[INFO] [stdout]     |
[INFO] [stdout]  51 | #[program]
[INFO] [stdout]     | ^^^^^^^^^^ function or associated item not found in `InitializePool<'_>`
[INFO] [stdout] ...
[INFO] [stdout] 209 | pub struct InitializePool<'info> {
[INFO] [stdout]     | -------------------------------- function or associated item `try_accounts` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `try_accounts`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `anchor_lang::Accounts`
[INFO] [stdout]     = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `InitializePool<'_>: anchor_lang::Accounts<'_>` is not satisfied
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:51:1
[INFO] [stdout]     |
[INFO] [stdout]  51 | #[program]
[INFO] [stdout]     | ^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `anchor_lang::Accounts<'_>` is not implemented for `InitializePool<'_>`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:209:1
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub struct InitializePool<'info> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::Accounts<'info>`:
[INFO] [stdout]               AccountLoader<'info, T>
[INFO] [stdout]               AddNFT<'info>
[INFO] [stdout]               Approve<'info>
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Burn<'info>
[INFO] [stdout]               ClaimNFT<'info>
[INFO] [stdout]               CloseAccount<'info>
[INFO] [stdout]               CpiAccount<'info, T>
[INFO] [stdout]             and 22 others
[INFO] [stdout] note: required by a bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.18.2/src/context.rs:17:28
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl<'a, 'b, 'c, 'info, T: Accounts<'info>> Context<'a, 'b, 'c, 'info, T> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new`
[INFO] [stdout]  18 |     pub fn new(
[INFO] [stdout]     |            --- required by a bound in this associated function
[INFO] [stdout]     = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `InitializePool<'_>: anchor_lang::Accounts<'_>` is not satisfied
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:51:1
[INFO] [stdout]     |
[INFO] [stdout]  51 | #[program]
[INFO] [stdout]     | ^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `anchor_lang::Accounts<'_>` is not implemented for `InitializePool<'_>`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:209:1
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub struct InitializePool<'info> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::Accounts<'info>`:
[INFO] [stdout]               AccountLoader<'info, T>
[INFO] [stdout]               AddNFT<'info>
[INFO] [stdout]               Approve<'info>
[INFO] [stdout]               Box<T>
[INFO] [stdout]               Burn<'info>
[INFO] [stdout]               ClaimNFT<'info>
[INFO] [stdout]               CloseAccount<'info>
[INFO] [stdout]               CpiAccount<'info, T>
[INFO] [stdout]             and 22 others
[INFO] [stdout] note: required by a bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.18.2/src/context.rs:17:28
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl<'a, 'b, 'c, 'info, T: Accounts<'info>> Context<'a, 'b, 'c, 'info, T> {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new`
[INFO] [stdout]  18 |     pub fn new(
[INFO] [stdout]     |            --- required by a bound in this associated function
[INFO] [stdout]     = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `key` on type `anchor_lang::Account<'_, Mint>`
[INFO] [stdout]   --> programs/nftfarming/src/lib.rs:65:56
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pool.staking_mint = *ctx.accounts.staking_mint.key;
[INFO] [stdout]    |                                                        ^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pool.staking_mint = *ctx.accounts.staking_mint.key();
[INFO] [stdout]    |                                                           ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `key` on type `anchor_lang::Account<'_, Mint>`
[INFO] [stdout]   --> programs/nftfarming/src/lib.rs:65:56
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pool.staking_mint = *ctx.accounts.staking_mint.key;
[INFO] [stdout]    |                                                        ^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pool.staking_mint = *ctx.accounts.staking_mint.key();
[INFO] [stdout]    |                                                           ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `key` on type `anchor_lang::Account<'_, TokenAccount>`
[INFO] [stdout]   --> programs/nftfarming/src/lib.rs:66:58
[INFO] [stdout]    |
[INFO] [stdout] 66 |         pool.staking_vault = *ctx.accounts.staking_vault.key;
[INFO] [stdout]    |                                                          ^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 66 |         pool.staking_vault = *ctx.accounts.staking_vault.key();
[INFO] [stdout]    |                                                             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `key` on type `anchor_lang::Account<'_, TokenAccount>`
[INFO] [stdout]   --> programs/nftfarming/src/lib.rs:66:58
[INFO] [stdout]    |
[INFO] [stdout] 66 |         pool.staking_vault = *ctx.accounts.staking_vault.key;
[INFO] [stdout]    |                                                          ^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 66 |         pool.staking_vault = *ctx.accounts.staking_vault.key();
[INFO] [stdout]    |                                                             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `ArithmeticOverflow` found for enum `ErrorCode` in the current scope
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:83:113
[INFO] [stdout]     |
[INFO] [stdout]  83 |         ctx.accounts.pool.user_stake_count = ctx.accounts.pool.user_stake_count.checked_add(1).ok_or(ErrorCode::ArithmeticOverflow)?;
[INFO] [stdout]     |                                                                                                                 ^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ErrorCode`
[INFO] [stdout] ...
[INFO] [stdout] 438 | pub enum ErrorCode {
[INFO] [stdout]     | ------------------ variant or associated item `ArithmeticOverflow` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `ArithmeticOverflow` found for enum `ErrorCode` in the current scope
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:83:113
[INFO] [stdout]     |
[INFO] [stdout]  83 |         ctx.accounts.pool.user_stake_count = ctx.accounts.pool.user_stake_count.checked_add(1).ok_or(ErrorCode::ArithmeticOverflow)?;
[INFO] [stdout]     |                                                                                                                 ^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ErrorCode`
[INFO] [stdout] ...
[INFO] [stdout] 438 | pub enum ErrorCode {
[INFO] [stdout]     | ------------------ variant or associated item `ArithmeticOverflow` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `ArithmeticUnderflow` found for enum `ErrorCode` in the current scope
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:97:122
[INFO] [stdout]     |
[INFO] [stdout]  97 |         ctx.accounts.user.balance_staked = ctx.accounts.user.balance_staked.checked_sub(amount as u128).ok_or(ErrorCode::ArithmeticUnderflow)?;
[INFO] [stdout]     |                                                                                                                          ^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ErrorCode`
[INFO] [stdout] ...
[INFO] [stdout] 438 | pub enum ErrorCode {
[INFO] [stdout]     | ------------------ variant or associated item `ArithmeticUnderflow` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `ArithmeticUnderflow` found for enum `ErrorCode` in the current scope
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:97:122
[INFO] [stdout]     |
[INFO] [stdout]  97 |         ctx.accounts.user.balance_staked = ctx.accounts.user.balance_staked.checked_sub(amount as u128).ok_or(ErrorCode::ArithmeticUnderflow)?;
[INFO] [stdout]     |                                                                                                                          ^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ErrorCode`
[INFO] [stdout] ...
[INFO] [stdout] 438 | pub enum ErrorCode {
[INFO] [stdout]     | ------------------ variant or associated item `ArithmeticUnderflow` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:100:46
[INFO] [stdout]     |
[INFO] [stdout] 100 |         ctx.accounts.user.last_update_time = clock.unix_timestamp;
[INFO] [stdout]     |         ----------------------------------   ^^^^^^^^^^^^^^^^^^^^ expected `u128`, found `i64`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected due to the type of this binding
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:100:46
[INFO] [stdout]     |
[INFO] [stdout] 100 |         ctx.accounts.user.last_update_time = clock.unix_timestamp;
[INFO] [stdout]     |         ----------------------------------   ^^^^^^^^^^^^^^^^^^^^ expected `u128`, found `i64`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected due to the type of this binding
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `ArithmeticUnderflow` found for enum `ErrorCode` in the current scope
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:131:118
[INFO] [stdout]     |
[INFO] [stdout] 131 |         ctx.accounts.user.balance_staked = ctx.accounts.user.balance_staked.checked_sub(spt_amount).ok_or(ErrorCode::ArithmeticUnderflow)?;
[INFO] [stdout]     |                                                                                                                      ^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ErrorCode`
[INFO] [stdout] ...
[INFO] [stdout] 438 | pub enum ErrorCode {
[INFO] [stdout]     | ------------------ variant or associated item `ArithmeticUnderflow` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `ArithmeticUnderflow` found for enum `ErrorCode` in the current scope
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:131:118
[INFO] [stdout]     |
[INFO] [stdout] 131 |         ctx.accounts.user.balance_staked = ctx.accounts.user.balance_staked.checked_sub(spt_amount).ok_or(ErrorCode::ArithmeticUnderflow)?;
[INFO] [stdout]     |                                                                                                                      ^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ErrorCode`
[INFO] [stdout] ...
[INFO] [stdout] 438 | pub enum ErrorCode {
[INFO] [stdout]     | ------------------ variant or associated item `ArithmeticUnderflow` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:134:46
[INFO] [stdout]     |
[INFO] [stdout] 134 |         ctx.accounts.user.last_update_time = clock.unix_timestamp;
[INFO] [stdout]     |         ----------------------------------   ^^^^^^^^^^^^^^^^^^^^ expected `u128`, found `i64`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected due to the type of this binding
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:134:46
[INFO] [stdout]     |
[INFO] [stdout] 134 |         ctx.accounts.user.last_update_time = clock.unix_timestamp;
[INFO] [stdout]     |         ----------------------------------   ^^^^^^^^^^^^^^^^^^^^ expected `u128`, found `i64`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected due to the type of this binding
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `key` on type `Box<anchor_lang::Account<'_, Mint>>`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:166:50
[INFO] [stdout]     |
[INFO] [stdout] 166 |             nft_mint: *ctx.accounts.staking_mint.key,
[INFO] [stdout]     |                                                  ^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 166 |             nft_mint: *ctx.accounts.staking_mint.key(),
[INFO] [stdout]     |                                                     ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `key` on type `Box<anchor_lang::Account<'_, TokenAccount>>`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:167:52
[INFO] [stdout]     |
[INFO] [stdout] 167 |             nft_vault: *ctx.accounts.staking_vault.key,
[INFO] [stdout]     |                                                    ^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 167 |             nft_vault: *ctx.accounts.staking_vault.key(),
[INFO] [stdout]     |                                                       ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `key` on type `Box<anchor_lang::Account<'_, TokenAccount>>`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:182:76
[INFO] [stdout]     |
[INFO] [stdout] 182 |         if pool.nfts[nft_id as usize].nft_vault != *ctx.accounts.nft_vault.key {
[INFO] [stdout]     |                                                                            ^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 182 |         if pool.nfts[nft_id as usize].nft_vault != *ctx.accounts.nft_vault.key() {
[INFO] [stdout]     |                                                                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `key` on type `Box<anchor_lang::Account<'_, Mint>>`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:166:50
[INFO] [stdout]     |
[INFO] [stdout] 166 |             nft_mint: *ctx.accounts.staking_mint.key,
[INFO] [stdout]     |                                                  ^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 166 |             nft_mint: *ctx.accounts.staking_mint.key(),
[INFO] [stdout]     |                                                     ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `key` on type `Box<anchor_lang::Account<'_, TokenAccount>>`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:167:52
[INFO] [stdout]     |
[INFO] [stdout] 167 |             nft_vault: *ctx.accounts.staking_vault.key,
[INFO] [stdout]     |                                                    ^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 167 |             nft_vault: *ctx.accounts.staking_vault.key(),
[INFO] [stdout]     |                                                       ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `key` on type `Box<anchor_lang::Account<'_, TokenAccount>>`
[INFO] [stdout]    --> programs/nftfarming/src/lib.rs:182:76
[INFO] [stdout]     |
[INFO] [stdout] 182 |         if pool.nfts[nft_id as usize].nft_vault != *ctx.accounts.nft_vault.key {
[INFO] [stdout]     |                                                                            ^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 182 |         if pool.nfts[nft_id as usize].nft_vault != *ctx.accounts.nft_vault.key() {
[INFO] [stdout]     |                                                                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0277, E0308, E0599, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0277, E0308, E0599, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nftfarming` (lib) due to 14 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `nftfarming` (lib test) due to 14 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "afa75b7bcf3ba8b1d56e23e948bb7df967c97ca62870a8e4728191cc54cfb99c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afa75b7bcf3ba8b1d56e23e948bb7df967c97ca62870a8e4728191cc54cfb99c", kill_on_drop: false }`
[INFO] [stdout] afa75b7bcf3ba8b1d56e23e948bb7df967c97ca62870a8e4728191cc54cfb99c
