[INFO] cloning repository https://github.com/cryptoservices115200/solana-nft-breeding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cryptoservices115200/solana-nft-breeding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcryptoservices115200%2Fsolana-nft-breeding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcryptoservices115200%2Fsolana-nft-breeding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2246c60d386c200e780be65654a1e2bfc70b8e6 [INFO] checking cryptoservices115200/solana-nft-breeding against try#50b21af28e291c419ae81eebcb7705fb4200dc90 for pr-135167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcryptoservices115200%2Fsolana-nft-breeding" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cryptoservices115200/solana-nft-breeding on toolchain 50b21af28e291c419ae81eebcb7705fb4200dc90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cryptoservices115200/solana-nft-breeding [INFO] finished tweaking git repo https://github.com/cryptoservices115200/solana-nft-breeding [INFO] tweaked toml for git repo https://github.com/cryptoservices115200/solana-nft-breeding written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cryptoservices115200/solana-nft-breeding 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" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "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] 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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc6a32d6e7bc19ca7c6311de5673e6f097272c9e217435aeef638b6f16676fdb [INFO] running `Command { std: "docker" "start" "-a" "fc6a32d6e7bc19ca7c6311de5673e6f097272c9e217435aeef638b6f16676fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc6a32d6e7bc19ca7c6311de5673e6f097272c9e217435aeef638b6f16676fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc6a32d6e7bc19ca7c6311de5673e6f097272c9e217435aeef638b6f16676fdb", kill_on_drop: false }` [INFO] [stdout] fc6a32d6e7bc19ca7c6311de5673e6f097272c9e217435aeef638b6f16676fdb [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+50b21af28e291c419ae81eebcb7705fb4200dc90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23de6b706b6fa6fba1ed2dafd6a3ffe32bc04ba940fc7294df7199ab26b515ab [INFO] running `Command { std: "docker" "start" "-a" "23de6b706b6fa6fba1ed2dafd6a3ffe32bc04ba940fc7294df7199ab26b515ab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.135 [INFO] [stderr] Compiling serde v1.0.135 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.5 [INFO] [stderr] Compiling solana-frozen-abi v1.9.5 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling solana-program v1.9.5 [INFO] [stderr] Checking memmap2 v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking zeroize v1.5.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling blake3 v1.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking solana-logger v1.9.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.9.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crypto-common v0.1.1 [INFO] [stderr] Checking block-buffer v0.10.0 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking digest v0.10.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling anchor-syn v0.20.1 [INFO] [stderr] Checking borsh v0.9.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.20.1 [INFO] [stderr] Compiling anchor-attribute-interface v0.20.1 [INFO] [stderr] Compiling anchor-attribute-event v0.20.1 [INFO] [stderr] Compiling anchor-attribute-program v0.20.1 [INFO] [stderr] Compiling anchor-attribute-state v0.20.1 [INFO] [stderr] Compiling anchor-attribute-account v0.20.1 [INFO] [stderr] Compiling anchor-attribute-error v0.20.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.20.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.20.1 [INFO] [stderr] Checking anchor-lang v0.20.1 [INFO] [stderr] Checking mysolanaapp v0.1.0 (/opt/rustwide/workdir/programs/mysolanaapp) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anchor_spl` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | anchor_spl::token::Token, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `anchor_spl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anchor_spl` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | anchor_spl::token::Token, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `anchor_spl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spl_associated_token_account` [INFO] [stdout] --> programs/mysolanaapp/src/utils.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | spl_associated_token_account::get_associated_token_address, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `spl_associated_token_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mpl_token_metadata::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | spl_token::state::Mint, [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spl_associated_token_account` [INFO] [stdout] --> programs/mysolanaapp/src/utils.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | spl_associated_token_account::get_associated_token_address, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `spl_associated_token_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arrayref` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | arrayref::array_ref, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `arrayref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mpl_token_metadata::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | spl_token::state::Mint, [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arrayref` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | arrayref::array_ref, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `arrayref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/utils.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | &spl_token::instruction::transfer( [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/utils.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | &spl_token::instruction::burn( [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_gateway` in the list of imported crates [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | let gateway_token = ::solana_gateway::borsh::try_from_slice_incomplete::< [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `solana_gateway` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_gateway` in the list of imported crates [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | ::solana_gateway::state::GatewayToken, [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `solana_gateway` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_gateway` in the list of imported crates [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | ::solana_gateway::Gateway::verify_and_expire_token( [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `solana_gateway` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_gateway` in the list of imported crates [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | ::solana_gateway::Gateway::verify_gateway_token_account_info( [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `solana_gateway` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/utils.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | &spl_token::instruction::transfer( [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/utils.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | &spl_token::instruction::burn( [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/utils.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | ) -> core::result::Result { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::instruction::state; [INFO] [stdout] | [INFO] [stdout] help: if you import `state`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 106 - ) -> core::result::Result { [INFO] [stdout] 106 + ) -> core::result::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/utils.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | let ata_account: spl_token::state::Account = assert_initialized(ata)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::instruction::state; [INFO] [stdout] | [INFO] [stdout] help: if you import `state`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 108 - let ata_account: spl_token::state::Account = assert_initialized(ata)?; [INFO] [stdout] 108 + let ata_account: state::Account = assert_initialized(ata)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_gateway` in the list of imported crates [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | let gateway_token = ::solana_gateway::borsh::try_from_slice_incomplete::< [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `solana_gateway` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_gateway` in the list of imported crates [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | ::solana_gateway::state::GatewayToken, [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `solana_gateway` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_gateway` in the list of imported crates [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | ::solana_gateway::Gateway::verify_and_expire_token( [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `solana_gateway` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `solana_gateway` in the list of imported crates [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | ::solana_gateway::Gateway::verify_gateway_token_account_info( [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `solana_gateway` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/utils.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | ) -> core::result::Result { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::instruction::state; [INFO] [stdout] | [INFO] [stdout] help: if you import `state`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 106 - ) -> core::result::Result { [INFO] [stdout] 106 + ) -> core::result::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/utils.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | let ata_account: spl_token::state::Account = assert_initialized(ata)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::instruction::state; [INFO] [stdout] | [INFO] [stdout] help: if you import `state`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 108 - let ata_account: spl_token::state::Account = assert_initialized(ata)?; [INFO] [stdout] 108 + let ata_account: state::Account = assert_initialized(ata)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:276:31 [INFO] [stdout] | [INFO] [stdout] 276 | let mut creators: Vec = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 37 + use crate::instruction::state; [INFO] [stdout] | [INFO] [stdout] help: if you import `state`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 276 - let mut creators: Vec = [INFO] [stdout] 276 + let mut creators: Vec = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:277:18 [INFO] [stdout] | [INFO] [stdout] 277 | vec![mpl_token_metadata::state::Creator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 37 + use crate::instruction::state; [INFO] [stdout] | [INFO] [stdout] help: if you import `state`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 277 - vec![mpl_token_metadata::state::Creator { [INFO] [stdout] 277 + vec![state::Creator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | creators.push(mpl_token_metadata::state::Creator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 37 + use crate::instruction::state; [INFO] [stdout] | [INFO] [stdout] help: if you import `state`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 284 - creators.push(mpl_token_metadata::state::Creator { [INFO] [stdout] 284 + creators.push(state::Creator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:564:32 [INFO] [stdout] | [INFO] [stdout] 564 | let token_account: spl_token::state::Account = [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 37 + use crate::instruction::state; [INFO] [stdout] | [INFO] [stdout] help: if you import `state`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 564 - let token_account: spl_token::state::Account = [INFO] [stdout] 564 + let token_account: state::Account = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:276:31 [INFO] [stdout] | [INFO] [stdout] 276 | let mut creators: Vec = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 37 + use crate::instruction::state; [INFO] [stdout] | [INFO] [stdout] help: if you import `state`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 276 - let mut creators: Vec = [INFO] [stdout] 276 + let mut creators: Vec = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:277:18 [INFO] [stdout] | [INFO] [stdout] 277 | vec![mpl_token_metadata::state::Creator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 37 + use crate::instruction::state; [INFO] [stdout] | [INFO] [stdout] help: if you import `state`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 277 - vec![mpl_token_metadata::state::Creator { [INFO] [stdout] 277 + vec![state::Creator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | creators.push(mpl_token_metadata::state::Creator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 37 + use crate::instruction::state; [INFO] [stdout] | [INFO] [stdout] help: if you import `state`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 284 - creators.push(mpl_token_metadata::state::Creator { [INFO] [stdout] 284 + creators.push(state::Creator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:564:32 [INFO] [stdout] | [INFO] [stdout] 564 | let token_account: spl_token::state::Account = [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 37 + use crate::instruction::state; [INFO] [stdout] | [INFO] [stdout] help: if you import `state`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 564 - let token_account: spl_token::state::Account = [INFO] [stdout] 564 + let token_account: state::Account = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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-heap` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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/mysolanaapp/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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/mysolanaapp/src/lib.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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/mysolanaapp/src/lib.rs:675:10 [INFO] [stdout] | [INFO] [stdout] 675 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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/mysolanaapp/src/lib.rs:683:10 [INFO] [stdout] | [INFO] [stdout] 683 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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/mysolanaapp/src/lib.rs:692:10 [INFO] [stdout] | [INFO] [stdout] 692 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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/mysolanaapp/src/lib.rs:741:10 [INFO] [stdout] | [INFO] [stdout] 741 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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/mysolanaapp/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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/mysolanaapp/src/lib.rs:662:10 [INFO] [stdout] | [INFO] [stdout] 662 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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/mysolanaapp/src/lib.rs:675:10 [INFO] [stdout] | [INFO] [stdout] 675 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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/mysolanaapp/src/lib.rs:683:10 [INFO] [stdout] | [INFO] [stdout] 683 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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/mysolanaapp/src/lib.rs:692:10 [INFO] [stdout] | [INFO] [stdout] 692 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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/mysolanaapp/src/lib.rs:741:10 [INFO] [stdout] | [INFO] [stdout] 741 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 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: use of deprecated function `anchor_lang::solana_program::sysvar::recent_blockhashes::id` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:721:53 [INFO] [stdout] | [INFO] [stdout] 721 | #[account(address = sysvar::recent_blockhashes::id())] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `anchor_lang::solana_program::sysvar::recent_blockhashes::id` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:721:53 [INFO] [stdout] | [INFO] [stdout] 721 | #[account(address = sysvar::recent_blockhashes::id())] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/utils.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | assert_owned_by(ata, &spl_token::id())?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/utils.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | assert_owned_by(ata, &spl_token::id())?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:404:34 [INFO] [stdout] | [INFO] [stdout] 404 | && program_id != spl_token::id() [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:404:34 [INFO] [stdout] | [INFO] [stdout] 404 | && program_id != spl_token::id() [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:567:48 [INFO] [stdout] | [INFO] [stdout] 567 | assert_owned_by(&token_mint_info, &spl_token::id())?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:568:52 [INFO] [stdout] | [INFO] [stdout] 568 | assert_owned_by(&ctx.accounts.wallet, &spl_token::id())?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:567:48 [INFO] [stdout] | [INFO] [stdout] 567 | assert_owned_by(&token_mint_info, &spl_token::id())?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:568:52 [INFO] [stdout] | [INFO] [stdout] 568 | assert_owned_by(&ctx.accounts.wallet, &spl_token::id())?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:715:25 [INFO] [stdout] | [INFO] [stdout] 715 | #[account(address = mpl_token_metadata::id())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] --> programs/mysolanaapp/src/lib.rs:715:25 [INFO] [stdout] | [INFO] [stdout] 715 | #[account(address = mpl_token_metadata::id())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `mpl_token_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mysolanaapp` (lib) due to 22 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mysolanaapp` (lib test) due to 22 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "23de6b706b6fa6fba1ed2dafd6a3ffe32bc04ba940fc7294df7199ab26b515ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23de6b706b6fa6fba1ed2dafd6a3ffe32bc04ba940fc7294df7199ab26b515ab", kill_on_drop: false }` [INFO] [stdout] 23de6b706b6fa6fba1ed2dafd6a3ffe32bc04ba940fc7294df7199ab26b515ab